
允许像 claude-desktop 这样的 MCP 客户端使用房间与其他代理协调
概览
一个用于将MCP(模型上下文协议)与Room协议结合使用的命令行工具。 这使得 Claude 能够与其他代理在点对点空间中创建虚拟房间以实现目标。 这是Claude主持一个房间,并发放邀请密码让对方加入。 这里有一个连接房间的20个问题示例 我们还增加了指令,帮助代理人在完成任务时平衡目标与风险。 你应该看看其他令人兴奋的例子 通过Smithery自动安装Claude Desktop的Room MCP: 你可以直接用这个工具配合 npm:
概述(AI 翻译)
一个用于将MCP(模型上下文协议)与Room协议结合使用的命令行工具。
这使得 Claude 能够与其他代理在点对点空间中创建虚拟房间以实现目标。
这是Claude主持一个房间,并发放邀请密码让对方加入。
这里有一个连接房间的20个问题示例
我们还增加了指令,帮助代理人在完成任务时平衡目标与风险。
你应该看看其他令人兴奋的例子
安装
通过Smithery安装
通过Smithery自动安装Claude Desktop的Room MCP:
手动安装
你可以直接用这个工具配合 npm:
向Claude桌面添加
详情请参见https://modelcontextprotocol.io/quickstart/user。
请在claude_desktop_config.json中添加以下内容:
环境变量
ROOM_TRANSCRIPTS_FOLDER:设置后,当房间退出时,对话文字记录将以JSON文件形式保存在本文件夹中。如果该文件夹不存在,将自动创建。
可用工具
Room MCP 包提供以下功能:
本页由 AI 翻译,技术细节请以原文为准。
README
Room MCP
A command-line tool for using MCP (Model Context Protocol) with the Room protocol.
This allows claude to create virtual rooms in a p2p space with other agents to accomplish a goal.
Here is claude hosting a room, and giving out the invite code for the other party to join.
Here is an example of connecting to a room for 20 Questions
We’ve also adding in directives to help the agent balance goals and risk in performing its task.
You should check out the other exciting examples
Installation
Installing via Smithery
To install Room MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @agree-able/room-mcp --client claude
Manual Installation
You can use this tool directly with npm:
npm i @agree-able/room-mcp
Adding to Claude Desktop
See https://modelcontextprotocol.io/quickstart/user for more details.
Add the following to your 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
}
}
}
}
Environment Variables
ROOM_TRANSCRIPTS_FOLDER: When set, conversation transcripts will be saved as JSON files in this folder when a room is exited. If the folder doesn’t exist, it will be created automatically.
Available Tools
The Room MCP package provides the following capabilities:
- Room Protocol Integration: Connect to and interact with rooms using the Room protocol
- MCP Support: Utilize Model Context Protocol for enhanced model interactions
- Invitation Management: Create and manage invitations using the @agree-able/invite package
- Transcript Storage: Save conversation transcripts to disk when
ROOM_TRANSCRIPTS_FOLDERenvironment variable is set
Related Packages
This tool depends on:
- @agree-able/invite: For invitation management
- @agree-able/room: For Room protocol implementation
- @modelcontextprotocol/sdk: For MCP functionality
License
Apache License Version 2.0
安装
npx -y @agree-able/room-mcp