LL

liveblocks/liveblocks-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 11 forks 质量 85 趋势 42Apache-2.0

MCP server for Liveblocks.

概览

This MCP server allows AI to use a number of functions from our REST API. For example, it can create, modify, and delete different aspects of Liveblocks such as rooms, threads, comments, notifications, and more. It also has read access to Storage and Yjs. Learn more in our docs. You'll need a secret key from a project in your dashboard. Replace sk_xxxxxxxxxxxx with it in the examples below, then connect in one of two ways: - – connect to https://mcp.liveblocks.io/mcp. Nothing to install. - – run on your machine with npx. Add https://mcp.liveblocks.io/mcp to your client, passing your secret key as a bearer token in the Authorization header. 1. Go to File → Cursor Settings → MCP → Add new server. 2. Add the following, inserting your secret key: Run the following command in the terminal, inserting your secret key: Claude Desktop can't send custom headers to remote servers yet, so connect through mcp-remote: 1. Go to Settings → Developer → Edit Config.

README

以下为原文 README 节选,完整内容请查看原文。

liveblocks-mcp-server

This MCP server allows AI to use a number of functions from our REST API. For example, it can create, modify, and delete different aspects of Liveblocks such as rooms, threads, comments, notifications, and more. It also has read access to Storage and Yjs. Learn more in our docs.

Setup

You’ll need a secret key from a project in your dashboard. Replace sk_xxxxxxxxxxxx with it in the examples below, then connect in one of two ways:

  • Hosted server – connect to https://mcp.liveblocks.io/mcp. Nothing to install.
  • Local server – run on your machine with npx.

Hosted server

Add https://mcp.liveblocks.io/mcp to your client, passing your secret key as a bearer token in the Authorization header.

Cursor

Claude Code

Claude Desktop

Codex

Local server

在 GitHub 查看完整 README

安装

npx -y mcp-remote https://mcp.liveblocks.io/mcp --header Authorization: Bearer sk_xxxxxxxxxxxx
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "liveblocks": { "url": "https://mcp.liveblocks.io/mcp", "headers": { "Authorization": "Bearer sk_xxxxxxxxxxxx" } } } }