Hello,
I want to develop a Cursor extension that can send prompts to Cursor Chat and execute them directly. Is there any API or VSCode command available for this purpose?
Hello,
I want to develop a Cursor extension that can send prompts to Cursor Chat and execute them directly. Is there any API or VSCode command available for this purpose?
Check GitHub - MarkShawn2020/oh-my-prompt: ✨ AI IDE 专用多 prompt 管理系统,支持跨 IDE、一键切换、智能同步 Global / Project Prompt! ✨ which is a vscode extension to input template prompts
Thank you! It is not perfect but a clever way.
Hey @benlau - totally different usecase but you can look at my source code for GitHub - taggartbg/vibeframe: VSCode Extension to enable UIs for MCP Servers (SSE). It creates an extension, looks through all your MCPs for a specific endpoint /vibeframe
and then hits it + loads it into the webview panel. You could just hit your /doWhatever
endpoint and have the MCP then SSE to the Agent.
Feel free to fork / ask questions.
Cool, let’s me study it first. thx~
Hello.
In your example video it looks like its a one way interaction.
Then how would it be possible to force the Agent to constantly listen and execute commands from the MCP server like if they were sent directly from the chat box (if this is what you’re referring to)?
Do you mean like to say in the chat something like: “Listen to this MCP server continuously and perform all its requests as they go”?
In my example the MCP server is stateful and holds the source of truth. The UI allows for 2-way interaction with the server over HTTP2, but currently you have to ask the agent to use an MCP tool. However, it is my understanding that MCP SSE transport allows for the server to send commands to the client…just Cursor doesn’t support receiving them. Can anyone confirm that for me?
In any event, some creative UX in designing a system where the Agent can get the data it needs out using some tool call is what my demo shows.