Skip to main content
Glama
liveblocks
by liveblocks

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上查找其他客户端的安装信息。

Related MCP server: Currents

手动设置

  1. 克隆这个 repo。

git clone https://github.com/liveblocks/liveblocks-mcp-server.git
  1. 构建项目。

npm install npm run build
  1. 仪表板获取您的 Liveblocks 密钥。

sk_dev_Ns35f5G...

光标

  1. 转到文件 → 光标设置 → MCP → 添加新服务器。

  2. 添加以下内容,包括 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..." } } } }
  1. 检查它是否在 MCP 菜单中启用。

克劳德桌面

  1. 转到文件 → 设置 → 开发人员 → 编辑配置。

  2. 打开 JSON 文件claude_desktop_config.json

  3. 添加以下内容,包括 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..." } } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liveblocks/liveblocks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server