Allow extensions to contribute custom menu items to the “Add Context” menu in the chat panel.

:memo: Use case:
I’m building an AI Prompt Manager extension, and I’d like to let users insert saved prompts, templates, or dynamic prompts directly from the “Add Context” menu in Cursor’s chat sidebar.

:gear: Proposed solution:

  • Expose a new contribution point in the Cursor extension API (similar to VS Code’s contributes.menus)
  • Allow extensions to register new menu items under the “Add Context” dropdown, with:
    • icon
    • label
    • command callback

:tada: Benefit:

  • Seamless integration into Cursor’s native UX
  • Users stay in flow without switching panels
  • Makes Cursor’s chat even more powerful & extensible

Hey, thanks for the feature request, we’ll consider it.