Feedback

Interactive Terminal MCP Server — by ttommyth

@ttommyth Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
ttommyth
Submitted by
Community
Quality
70
Stars
351

About Interactive Terminal MCP Server

Interactive Terminal enhances AI interactions with user input, notifications, and cross-platform support for complex task management.

Interactive Terminal is a MCP server in the Productivity category listed in the AddMCP.net directory, published by ttommyth. It exposes 5 tools, including request_user_input, message_complete_notification, start_intensive_chat, ask_intensive_chat and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 351 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, mcp, mcp-server, productivity.

Setup

{
    "mcpServers": {
        "interactive": {
            "command": "npx",
            "args": [
                "-y",
                "interactive-mcp"
            ]
        }
    }
}

Interactive Terminal MCP Server — by ttommyth config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "interactive": {
            "command": "npx",
            "args": [
                "-y",
                "interactive-mcp"
            ]
        }
    }
}

Interactive Terminal MCP Server — by ttommyth tools

  • request_user_input — <description> Send a question to the user via a pop-up command prompt. **Crucial for clarifying requirements, confirming plans, or resolving ambiguity.** You should call this tool whenever it has **any** uncertainty or needs clarification or confirmation, even for trivial or silly questions. Feel free to ask anything! **Proactive questioning is preferred over making assumptions.** </description> <importantNotes> - (!important!) **Use this tool FREQUENTLY** for any question that requires user input or confirmation. - (!important!) Continue to generate existing messages after user answers. - (!important!) Provide predefined options for quick selection if applicable. - (!important!) **Essential for validating assumptions before proceeding with significant actions (e.g., code edits, running commands).** </importantNotes> <whenToUseThisTool> - When you need clarification on user requirements or preferences - When multiple implementation approaches are possible and user input is needed - **Before making potentially impactful changes (code edits, file operations, complex commands)** - When you need to confirm assumptions before proceeding - When you need additional information not available in the current context - When validating potential solutions before implementation - When facing ambiguous instructions that require clarification - When seeking feedback on generated code or solutions - When needing permission to modify critical files or functionality - **Whenever you feel even slightly unsure about the user's intent or the correct next step.** </whenToUseThisTool> <features> - Pop-up command prompt display for user input - Returns user response or timeout notification (timeout defaults to 60 seconds)) - Maintains context across user interactions - Handles empty responses gracefully - Properly formats prompt with project context </features> <bestPractices> - Keep questions concise and specific - Provide clear options when applicable - Do not ask the question if you have another tool that can answer the question - e.g. when you searching file in the current repository, do not ask the question "Do you want to search for a file in the current repository?" - e.g. prefer to use other tools to find the answer (Cursor tools or other MCP Server tools) - Limit questions to only what's necessary **to resolve the uncertainty** - Format complex questions into simple choices - Reference specific code or files when relevant - Indicate why the information is needed - Use appropriate urgency based on importance </bestPractices> <parameters> - projectName: Identifies the context/project making the request (used in prompt formatting) - message: The specific question for the user (appears in the prompt) - predefinedOptions: Predefined options for the user to choose from (optional) </parameters> <examples> - "Should I implement the authentication using JWT or OAuth?" - "Do you want to use TypeScript interfaces or type aliases for this component?" - "I found three potential bugs. Should I fix them all or focus on the critical one first?" - "Can I refactor the database connection code to use connection pooling?" - "Is it acceptable to add React Router as a dependency?" - "I plan to modify function X in file Y. Is that correct?" </examples>
  • message_complete_notification — <description> Notify when a response has completed. Use this tool **once** at the end of **each and every** message to signal completion to the user. </description> <importantNotes> - (!important!) **MANDATORY:** ONLY use this tool exactly once per message to signal completion. **Do not forget this step.** </importantNotes> <whenToUseThisTool> - When you've completed answering a user's query - When you've finished executing a task or a sequence of tool calls - When a multi-step process is complete - When you want to provide a summary of completed actions just before ending the response </whenToUseThisTool> <features> - Cross-platform OS notifications (Windows, macOS, Linux) - Reusable tool to signal end of message - Should be called exactly once per LLM response </features> <bestPractices> - Keep messages concise - Use projectName consistently to group notifications by context </bestPractices> <parameters> - projectName: Identifies the context/project making the notification (appears in notification title) - message: The specific notification text (appears in the body) </parameters> <examples> - { "projectName": "MyApp", "message": "Feature implementation complete. All tests passing." } - { "projectName": "MyLib", "message": "Analysis complete: 3 issues found and fixed." } </examples>
  • start_intensive_chat
  • ask_intensive_chat — <description> Ask a new question in an active intensive chat session previously started with 'start_intensive_chat'. </description> <importantNotes> - (!important!) Requires a valid session ID from 'start_intensive_chat'. - (!important!) Supports predefined options for quick selection. - (!important!) Returns the user's answer or indicates if they didn't respond. - (!important!) **Use this repeatedly within the same response message** after 'start_intensive_chat' until all questions are asked. </importantNotes> <whenToUseThisTool> - When continuing a series of questions in an intensive chat session. - When you need the next piece of information in a multi-step process initiated via 'start_intensive_chat'. - When offering multiple choice options to the user within the session. - When gathering sequential information from the user within the session. </whenToUseThisTool> <features> - Adds a new question to an existing chat session - Supports predefined options for quick selection - Returns the user's response - Maintains the chat history in the console </features> <bestPractices> - Ask one clear question at a time - Provide predefined options when applicable - Don't ask overly complex questions - Keep questions focused on a single piece of information </bestPractices> <parameters> - sessionId: ID of the intensive chat session (from start_intensive_chat) - question: The question text to display to the user - predefinedOptions: Array of predefined options for the user to choose from (optional) </parameters> <examples> - Simple question: { "sessionId": "abcd1234", "question": "What is your project named?" } - With predefined options: { "sessionId": "abcd1234", "question": "Would you like to use TypeScript?", "predefinedOptions": ["Yes", "No"] } </examples>
  • stop_intensive_chat — <description> Stop and close an active intensive chat session. **Must be called** after all questions have been asked using 'ask_intensive_chat'. </description> <importantNotes> - (!important!) Closes the console window for the intensive chat. - (!important!) Frees up system resources. - (!important!) **Should always be called** as the final step when finished with an intensive chat session, typically at the end of the response message where 'start_intensive_chat' was called. </importantNotes> <whenToUseThisTool> - When you've completed gathering all needed information via 'ask_intensive_chat'. - When the multi-step process requiring intensive chat is complete. - When you're ready to move on to processing the collected information. - When the user indicates they want to end the session (if applicable). - As the final action related to the intensive chat flow within a single response message. </whenToUseThisTool> <features> - Gracefully closes the console window - Cleans up system resources - Marks the session as complete </features> <bestPractices> - Always stop sessions when you're done to free resources - Provide a summary of the information collected before stopping </bestPractices> <parameters> - sessionId: ID of the intensive chat session to stop </parameters> <examples> - { "sessionId": "abcd1234" } </examples>

Overview

What is Interactive Terminal?

interactive-mcp is a Node.js/TypeScript MCP server that enables LLMs to interact directly with users on their local machine through OS notifications and command-line prompts. It is designed for developers using MCP clients like Claude Desktop, Cursor, or VS Code who need the LLM to ask questions, confirm actions, or gather user feedback during execution.

How to use Interactive Terminal?

Add a minimal configuration to your MCP client’s JSON settings (Claude Desktop, Cursor, or VS Code) using npx -y interactive-mcp. Customize the default 30-second timeout or disable specific tools by appending command-line flags such as -t 30 or --disable-tools message_complete_notification,intensive_chat to the args array.

Key features of Interactive Terminal

  • Exposes five tools for user interaction
  • Request user input with predefined options
  • Send OS completion notifications
  • Start, ask in, and stop persistent chat sessions
  • Customizable timeout per prompt

Use cases of Interactive Terminal

  • Interactive setup or configuration processes guided by an LLM
  • Gathering user feedback during code generation or modification
  • Clarifying instructions or confirming actions in pair programming
  • Any workflow requiring user input or confirmation during LLM operation

Frequently asked questions

1 What runtime does interactive-mcp require?

Node.js is required. For development, pnpm is used for package management.

2 What platforms are supported?

Windows, macOS, and Linux are all supported.

3 Does interactive-mcp run remotely or locally?

It runs locally alongside the MCP client (e.g., Claude Desktop, VS Code) because it needs direct access to the user’s operating system for notifications and command-line prompts.

4 What tools does interactive-mcp provide?

Five tools: request_user_input (asks a question, can show options), message_complete_notification (sends an OS notification), start_intensive_chat (starts a persistent chat session), ask_intensive_chat (asks a question within that session), and stop_intensive_chat (closes the session).

5 Can I customize the prompt timeout?

Yes. Use the -t or --timeout flag followed by the number of seconds (default is 30 seconds).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬