Назад к каталогу
interactive-mcp

interactive-mcp

Сообщество

от ttommyth

0.0
0 отзывов

Vibe coding should have human in the loop! interactive-mcp: Local, cross-platform MCP server for interact with your AI Agent

Установка

{

Описание

# interactive-mcp [![npm version](https://img.shields.io/npm/v/interactive-mcp)](https://www.npmjs.com/package/interactive-mcp) [![npm downloads](https://img.shields.io/npm/dm/interactive-mcp)](https://www.npmjs.com/package/interactive-mcp) [![smithery badge](https://smithery.ai/badge/@ttommyth/interactive-mcp)](https://smithery.ai/server/@ttommyth/interactive-mcp) [![GitHub license](https://img.shields.io/github/license/ttommyth/interactive-mcp)](https://github.com/ttommyth/interactive-mcp/blob/main/LICENSE) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Platforms](https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-blue)](https://github.com/ttommyth/interactive-mcp) [![GitHub last commit](https://img.shields.io/github/last-commit/ttommyth/interactive-mcp)](https://github.com/ttommyth/interactive-mcp/commits/main) [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=interactive&config=eyJjb21tYW5kIjoibnB4IC15IGludGVyYWN0aXZlLW1jcCJ9) ![Screenshot 2025-05-13 213745](https://github.com/user-attachments/assets/40208534-5910-4eb2-bfbc-58f7d93aec95) A MCP Server implemented in Node.js/TypeScript, facilitating interactive communication between LLMs and users. **Note:** This server is designed to run locally alongside the MCP client (e.g., Claude Desktop, VS Code), as it needs direct access to the user's operating system to display notifications and command-line prompts. _(Note: This project is in its early stages.)_ **Want a quick overview?** Check out the introductory blog post: [Stop Your AI Assistant From Guessing — Introducing interactive-mcp](https://medium.com/@ttommyth/stop-your-ai-assistant-from-guessing-introducing-interactive-mcp-b42ac6d9b0e2) [Demo Video](https://youtu.be/ebwDZdfgSHo) <div align="center"> <a href="https://glama.ai/mcp/servers/@ttommyth/interactive-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@ttommyth/interactive-mcp/badge" alt="interactive-mcp MCP server" /> </a> </div> ## Tools This server exposes the following tools via the Model Context Protocol (MCP): - `request_user_input`: Asks the user a question and returns their answer. Can display predefined options. - `message_complete_notification`: Sends a simple OS notification. - `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. ## Demo Here are demonstrations of the interactive features: | Normal Question | Completion Notification | | :--------------------------------------------------------: | :-----------------------------------------------------------------: | | ![Normal Question Demo](./docs/assets/normal-question.gif) | ![Completion Notification Demo](./docs/assets/end-notification.gif) | | Intensive Chat Start | Intensive Chat End | | :------------------------------------------------------------------: | :--------------------------------------------------------------: | | ![Start Intensive Chat Demo](./docs/assets/start-intensive-chat.gif) | ![End Intensive Chat Demo](./docs/assets/end-intensive-chat.gif) | ## Usage Scenarios This server is ideal for scenarios where an LLM needs to interact directly with the user on their local machine, such as: - Interactive setup or configuration processes. - Gathering feedback during code generation or modification. - Clarifying instructions or confirming actions in pair programming. - Any workflow requiring user input or confirmation during LLM operation. ## Client Configuration This section explains how to configure MCP clients to use the `interactive-mcp` server. By default, user prompts will time out after 30 seconds. You can customize server options like timeout or disabled tools by adding command-line flags directly to the `args` array when configuring your client. Please make sure you have the `npx` command available. ### Usage with Claude Desktop / Cursor Add the following minimal configuration to your `claude_desktop_config.json` (Claude Desktop) or `mcp.json` (Cursor): ```json { "mcpServers": { "interactive": { "command": "npx", "args": ["-y", "interactive-mcp"] } } } ``` **With specific version** ```json { "mcpServers": { "interactive": { "command": "npx", "args": ["-y", "interactive-mcp@1.9.0"] } } } ``` **Example with Custom Timeout (30s):** ```json { "mcpServers": { "interactive": { "command": "npx", "args": ["-y", "interactive-mcp", "-t", "30"] } } } ``` ### Usage with VS Code Add the following minimal configuration to your User S

Отзывы (0)

Пока нет отзывов. Будьте первым!