article
README
🚀 MCP Rocket.Chat 安装指南
本指南将指导你在本地机器上设置和配置 MCP Rocket.Chat。
🚀 快速开始
📦 安装指南
1. 克隆仓库
git clone git@github.com:elieworkspace/mcp-rocketchat.git
cd mcp-rocketchat
2. 使用 Docker 启动 Rocket.Chat
docker compose up -d
启动后,你可以通过 http://localhost:3000 访问 Rocket.Chat。
3. 初始配置
- 保存你的管理员用户名和密码。
- 访问 http://localhost:3000/admin/settings/Accounts#:rbb: ,禁用双因素认证(2FA)并点击 保存。
4. 设置 Python 环境
uv venv
.venv\Scripts\activate
uv add mcp[cli] httpx
5. 客户端配置示例
将以下配置添加到你的客户端,并将 -username- 和 -password- 替换为你的凭证:
{
"mcpServers": {
"mcp-rocketchat": {
"command": "uv",
"args": [
"--directory",
"C:/Users/-username-/Desktop/mcp-rocketchat",
"run",
"rocketchat.py",
"--server-url", "http://localhost:3000",
"--username", "-username-",
"--password", "-password-"
]
}
}
}
💡 使用建议
💡 使用建议
在开始之前,请确保你的系统已经安装了 Docker 和 Python。如需更多详细信息,请参考 Rocket.Chat 文档。
Scan to contact