Improve Extension API for Cursor-specific things

Hi,
I’m an extension developer for VSCode & Cursor. I have an extension that sets up an MCP server for the user, which works nicely. Thanks for shipping the new MCP popup that allows ppl to enable a project-level MCP server! It makes a huge difference for UX.

Overall, though, I think there’s still a lot of work to be done in terms of empowering extension devs from Cursor.
For example:

  • being able to read the active agent mode and adjust the extension based on that (for example I have to make different DX assumptions in auto run mode vs regular)
  • being able to read the configured MCP servers (right now you have to manually parse mcp.json & there’s no way to read the manually set up ones)
  • being able to talk to the model directly vs only going through the MCP server (vscode does this and it allows for much more deeply integrated experiences)
  • being able to inspect the context keys that vscode & cursor set - super important for extension devs

I’d love to see some more love shown to extension devs :slight_smile: Lmk if there’s anything I can do to help.
Thanks,
Max