
You ask your AI assistant to refactor a function. It confidently rewrites half the file, breaking...
You ask your AI assistant to refactor a function. It confidently rewrites half the file, breaking tests and introducing bugs. If only it had asked which optimization you wanted! That simple question could have saved an hour of debugging. We've all been there: the powerful LLM just... guesses.
Standard LLM interactions are often one-way command lines: request in, response out. This model doesn't easily let the AI pause its work and ask you, the user on your local machine, for real-time clarification.
You are now part of the MCP tool
To bridge this, tools like Cursor use the Model Context Protocol (MCP). MCP allows richer communication between dev tools and AI models, including requests for user interaction.
interactive-mcp: The BridgeThis frustration led me to build interactive-mcp: a small, open-source Node.js/TypeScript server that acts as an MCP endpoint for interaction.
When an MCP-compatible AI assistant needs your input, it requests it via interactive-mcp. My server then presents the prompt or notification directly to you on your machine.
{% embed https://youtu.be/ebwDZdfgSHo %}
interactive-mcp exposes several MCP tools:
request_user_inputAsks you simple questions directly in a terminal window. The LLM sends a message (and optional predefined answers), interactive-mcp shows a command line prompt, and your typed response goes back to the LLM.
start/ask/stop_intensive_chatFor multi-step interactions (like configurations):
start_intensive_chat: Opens a persistent terminal chat session.ask_intensive_chat: Asks follow-up questions in the same window.stop_intensive_chat: Closes the session.message_complete_notificationLets the AI send a simple OS notification, useful for confirming when tasks finish.
(Powered by node-notifier for cross-platform support: Win/Mac/Linux).
Why use interactive-mcp?
Getting started is simple via npx (no global install needed). Just configure your MCP client:
Cursor (mcp.json):
{
"mcpServers": {
"interactive": {
"command": "npx",
"args": ["-y", "interactive-mcp"]
}
}
}
Custom Timeout (Optional):
Prompts default to 30s. Change it via the -t or --timeout flag (after --):
// Example: 60 second timeout
"args": ["-y", "interactive-mcp", "--", "-t", "60"]
Your client can now use the interactive tools!
Ready to make your AI assistant less of a guesser?
Give interactive-mcp a try!
This project is young (just POC), and feedback is crucial:
Please open an issue or start a discussion on GitHub. Contributions welcome!
Let's make our AI tools work better with us. Cheers!
cursorCursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and...
aiThe specs exist. The AI just can't see them. I've always been the type who builds hobby...
amazonbedrockConnect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026) Summary. On 5...
aiThere is a weird uncanny valley with LLM-generated UI right now. The code functions perfectly, but if...
aiI went down a rabbit hole this morning reading the late-2025 Juejin AI roundups side by side, and the...
mcpInstall guide and config at curatedmcp.com Zendesk MCP: Let Claude Handle Your Support...
Workflows from the Neura Market marketplace related to this Cursor resource