liveblocks-mcp-server
此 MCP 服务器允许 AI 使用我们REST API中的多项功能。例如,它可以创建、修改和删除 Liveblocks 的各个方面,例如房间、主题、评论、通知等。它还拥有对存储和 Yjs 的读取权限。更多信息,请参阅我们的文档。
自动设置
要自动安装,请从仪表板中的项目复制 Liveblocks 密钥,然后运行以下命令之一,将[key]替换为您的密钥。
光标
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client cursor --key [key]
克劳德桌面
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client claude --key [key]
VS 代码
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client vscode --key [key]
其他客户
在Smithery上查找其他客户端的安装信息。
手动设置
克隆这个 repo。
git clone https://github.com/liveblocks/liveblocks-mcp-server.git
构建项目。
npm install
npm run build
从仪表板获取您的 Liveblocks 密钥。
sk_dev_Ns35f5G...
光标
转到文件 → 光标设置 → MCP → 添加新服务器。
添加以下内容,包括 repo 的完整路径和您的密钥:
{
"mcpServers": {
"liveblocks-mcp-server": {
"command": "node",
"args": ["/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"],
"env": {
"LIVEBLOCKS_SECRET_KEY": "sk_dev_Ns35f5G..."
}
}
}
}
检查它是否在 MCP 菜单中启用。
克劳德桌面
转到文件 → 设置 → 开发人员 → 编辑配置。
打开 JSON 文件
claude_desktop_config.json。添加以下内容,包括 repo 的完整路径和您的密钥:
{
"mcpServers": {
"liveblocks-mcp-server": {
"command": "node",
"args": ["/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"],
"env": {
"LIVEBLOCKS_SECRET_KEY": "sk_dev_Ns35f5G..."
}
}
}
}
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
活块
Related Resources
Related MCP Servers
- MIT License
- MIT License