ttommyth/interactive-mcp
Free通过在 MCP 循环中直接添加本地用户提示和聊天功能,实现交互式 LLM 工作流。
FreeFree tier
Inputs: text
About ttommyth/interactive-mcp
interactive-mcp is an open-source MCP (Model Context Protocol) server built with Node.js/TypeScript that enables direct, interactive communication between LLMs and local users. It adds a human-in-the-loop to AI workflows, allowing AI agents to request user input, send OS notifications, and manage persistent chat sessions. Designed to run locally alongside MCP clients like Claude Desktop, VS Code, and Cursor, it is ideal for interactive setup, code review feedback, and any workflow requiring real-time user confirmation.
Key Features
request_user_input: Asks the user a question and returns their answer, with optional predefined options
message_complete_notification: Sends a simple OS notification to the user
start_intensive_chat: Initiates a persistent command-line chat session
ask_intensive_chat: Asks a question within an active intensive chat session
stop_intensive_chat: Closes an active intensive chat session
Configurable timeout (default 30 seconds) and tool disabling via command-line flags
Supports integration with Claude Desktop, VS Code, Cursor, and other MCP clients
Pros & Cons
Pros
- Keeps a human in the loop for vibe coding workflows
- Local, cross-platform, and open source (free)
- Provides multiple interaction modes: input prompts, OS notifications, and persistent chat
- Easy to configure with popular MCP clients via npx
- Customizable timeout and tool options
Cons
- Early-stage project (note in README: 'This project is in its early stages.')
- Requires local machine with direct OS access; not suitable for remote/server deployment
- Default timeout of 30 seconds may interrupt longer workflows
- Depends on npx and Node.js runtime
Best For
Interactive setup or configuration processesGathering feedback during code generation or modificationClarifying instructions or confirming actions in pair programmingAny workflow requiring user input or confirmation during LLM operation
FAQ
How do I configure interactive-mcp with Claude Desktop or Cursor?
Add the minimal JSON configuration to your claude_desktop_config.json (Claude Desktop) or mcp.json (Cursor) with command 'npx' and args ['-y', 'interactive-mcp']. You can also specify a version or custom timeout with additional flags.
What is the default timeout for user prompts?
By default, user prompts will time out after 30 seconds. You can customize this by adding the '-t' flag with a desired number of seconds to the args array when configuring your client.
Can I disable specific tools?
Yes, you can disable tools by adding the appropriate command-line flags to the args array when configuring the MCP client. Check the server documentation for available options.