liveblocks-mcp-server

The liveblocks-mcp-server is an MCP server for Liveblocks that allows AI to utilize various functions through its REST API. It can create, modify, and delete elements such as rooms, threads, comments, and notifications, while also providing read access to Storage and Yjs. This server enables real-time collaboration, making it a valuable tool for developers building interactive applications.

GitHub Stars

7

User Rating

Not Rated

Forks

4

Issues

2

Views

1

Favorites

0

README

Liveblocks Liveblocks

liveblocks-mcp-server

smithery badge

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.

Automatic setup

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

Cursor
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client cursor --key [key]
Claude Desktop
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client claude --key [key]
VS Code
npx -y @smithery/cli install @liveblocks/liveblocks-mcp-server --client vscode --key [key]
Other clients

Find installation information for other clients on Smithery.

Manual setup
Read more

  1. Clone this repo.
git clone https://github.com/liveblocks/liveblocks-mcp-server.git
  1. Build the project.
npm install
npm run build
  1. Get your Liveblocks secret key from the dashboard.
sk_dev_Ns35f5G...
Cursor
  1. Go to File → Cursor Settings → MCP → Add new server.

  2. Add the following, with the full path to the repo and your secret key:

{
  "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. Check it's enabled in the MCP menu.
Claude Desktop
  1. Go to File → Settings → Developer → Edit Config.

  2. Open the JSON file, claude_desktop_config.json.

  3. Add the following, with the full path to the repo and your secret key:

{
  "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..."
      }
    }
  }
}
Author Information
Liveblocks

Turn your product into the space where people and AI collaborate

220

Followers

18

Repositories

0

Gists

27

Total Contributions

Top Contributors

Threads