trackmcp
Back to directory
liveblocks

liveblocks-mcp-server

View on GitHub

MCP server for Liveblocks.

11 stars TypeScriptAI & Machine Learning Updated May 1, 2025
aiai-agentsai-copilotcollaborationcommenting-systemcommentscrdtliveblocksmcpmcp-serverreal-timetoolkitwebsocketsyjs

Documentation

`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

To install, copy your Liveblocks secret key from a project in your dashboard and run one of the following commands, replacing `sk_xxxxxxxxxxxx` with your secret key.

Cursor

Read more

1. Go to File → Cursor Settings → MCP → Add new server.

2. Add the following, inserting your secret key:

json
{
  "mcpServers": {
    "liveblocks": {
      "command": "npx",
      "args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
      "env": {
        "LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
      }
    }
  }
}

Claude Code

Read more

Run the following command in the terminal, inserting your secret key:

bash
claude mcp add liveblocks -e LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx -- npx -y github:liveblocks/liveblocks-mcp-server

Claude Desktop

Read more

1. Go to Settings → Developer → Edit Config.

2. Open the JSON file, `claude_desktop_config.json`.

3. Add the following to the JSON, inserting your secret key:

json
{
  "mcpServers": {
    "liveblocks": {
      "command": "npx",
      "args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
      "env": {
        "LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
      }
    }
  }
}

4. Restart Claude Desktop to apply the changes.

Codex

Read more

1. Ensure the Codex CLI is installed:

bash
npm i -g @openai/codex

2. Run the following command in the terminal, inserting your secret key:

bash
codex mcp add liveblocks \
  --env LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx \
  -- npx -y github:liveblocks/liveblocks-mcp-server

Frequently asked questions

What is liveblocks-mcp-server?

liveblocks-mcp-server is MCP server for Liveblocks.

How do I install liveblocks-mcp-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is liveblocks-mcp-server open source?

Yes — it is hosted on GitHub at https://github.com/liveblocks/liveblocks-mcp-server and has 11 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP