
Vibe编码应该有人工参与!interactive-mcp:本地跨平台MCP服务器,用于与你的AI代理交互
概览
一个以 Node.js/TypeScript 实现的 MCP 服务器,促进 LLM 与用户之间的交互式通信。该服务器设计为与 MCP 客户端(例如 Claude Desktop、VS Code)本地运行,因为它需要直接访问用户操作系统以显示通知和命令行提示。 (注:该项目仍处于早期阶段。) 请查看介绍性博客文章:阻止你的AI助手猜测——介绍interactive-mcp 该服务器通过模型上下文协议(MCP)发布以下工具: - request_user_input:向用户提问并返回其回答。可显示预设选项。- message_complete_notification:发送简单的操作系统通知。- start_intensive_chat:发起持久命令行聊天会话。- ask_intensive_chat:在活跃的密集聊天会话中提问。- stop_intensive_chat:关闭活跃的密集聊天会话。
概述(AI 翻译)
一个以 Node.js/TypeScript 实现的 MCP 服务器,促进 LLM 与用户之间的交互式通信。** 注:** 该服务器设计为与 MCP 客户端(例如 Claude Desktop、VS Code)本地运行,因为它需要直接访问用户操作系统以显示通知和命令行提示。
(注:该项目处于早期阶段。)
想要快速概述吗? 查看介绍博客文章:阻止你的AI助手猜测——介绍互动-mcp
演示视频
工具
该服务器通过模型上下文协议(MCP)发布以下工具:
request_user_input:向用户提问并返回其回答。可显示预定义选项。message_complete_notification:发送简单的操作系统通知。start_intensive_chat:发起持久命令行聊天会话。ask_intensive_chat:在活跃的密集聊天会话中提问。stop_intensive_chat:关闭一个活跃的密集聊天会话。
演示
以下是交互功能的演示:
|普通问题 |完成通知 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
interactive-mcp
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
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 |
|---|
安装
npx -y interactive-mcp配置
{
"mcpServers": {
"interactive": {
"command": "npx",
"args": ["-y", "interactive-mcp"]
}
}
}