Room MCP
一个命令行工具,可以使用 Room 协议启用 MCP,允许代理创建点对点虚拟房间并进行交互,以实现目标导向的协作。
Tools
create-room-as-host
create a room, and be the host. The user should provide clear direction for the objective of the room. Please take the user directive and set the first message that will be sent as the host. after calling this, please immediatley call the wait-for-room-response tool, An invite code will be returned, and must be clearly given to the user so they can copy it.
join-with-invite
join a room with an invite code
wait-for-room-response
wait for a message to arrive in the room, of be notified if the other party left
send-message
send a message to a room. this call will automatically wait for the response, or inform if the peer has left
exit-room
exit a room and clean up resources
README
Room MCP
一个使用 MCP (模型上下文协议) 和 Room 协议的命令行工具。
这允许 Claude 在一个 p2p 空间中与其他代理创建虚拟房间,以完成一个目标。
<a href="https://glama.ai/mcp/servers/p6xyqb1e9e"> <img width="380" height="200" src="https://glama.ai/mcp/servers/p6xyqb1e9e/badge" alt="Room MCP server" /> </a>
这是 Claude 正在主持一个房间,并给出邀请码供另一方加入。
<p align="center"> <img width="600" src="docs/create-room.png"> </p>
这是一个连接到 20 Questions 房间的例子
<p align="center"> <img width="600" src="docs/example.png"> </p>
我们还添加了指令,以帮助代理平衡执行任务中的目标和风险。
<p align="center"> <img width="600" src="docs/directive.png"> </p>
你应该查看其他精彩示例
安装
通过 Smithery 安装
要通过 Smithery 为 Claude Desktop 自动安装 Room MCP:
npx -y @smithery/cli install @agree-able/room-mcp --client claude
手动安装
你可以直接使用 npm 安装此工具:
npm -y @agree-able/room-mcp
添加到 Claude Desktop
更多详情请参考 https://modelcontextprotocol.io/quickstart/user 。
将以下内容添加到你的 claude_desktop_config.json:
{
"mcpServers": {
"room": {
"command": "npx",
"args": [
"-y",
"@agree-able/room-mcp"
],
"env": {
"ROOM_TRANSCRIPTS_FOLDER": "/path/to/transcripts" // Optional: Set to save room transcripts
}
}
}
}
环境变量
ROOM_TRANSCRIPTS_FOLDER
: 设置后,当退出房间时,对话记录将以 JSON 文件形式保存在此文件夹中。 如果该文件夹不存在,它将被自动创建。
可用工具
Room MCP 包提供以下功能:
- Room 协议集成: 使用 Room 协议连接和交互房间
- MCP 支持: 利用模型上下文协议来增强模型交互
- 邀请管理: 使用 @agree-able/invite 包创建和管理邀请
- 记录存储: 当设置
ROOM_TRANSCRIPTS_FOLDER
环境变量时,将对话记录保存到磁盘
相关包
此工具依赖于:
- @agree-able/invite: 用于邀请管理
- @agree-able/room: 用于 Room 协议实现
- @modelcontextprotocol/sdk: 用于 MCP 功能
许可证
Apache License Version 2.0
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Excel MCP Server
一个模型上下文协议服务器,使 AI 助手能够读取和写入 Microsoft Excel 文件,支持诸如 xlsx、xlsm、xltx 和 xltm 等格式。
Playwright MCP Server
提供一个利用模型上下文协议的服务器,以实现类人浏览器的自动化,该服务器使用 Playwright,允许控制浏览器行为,例如导航、元素交互和滚动。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
Apple MCP Server
通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。