
liveblocks/liveblocks-mcp-server
Developer toolsMCP server for Liveblocks.
Overview
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
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
Install by running one of the following commands, replacing sk_xxxxxxxxxxxx with your secret key.
Cursor
Claude Code
Claude Desktop
Codex
Install
npx -y mcp-remote https://mcp.liveblocks.io/mcp --header Authorization: Bearer sk_xxxxxxxxxxxxConfiguration
{
"mcpServers": {
"liveblocks": {
"url": "https://mcp.liveblocks.io/mcp",
"headers": {
"Authorization": "Bearer sk_xxxxxxxxxxxx"
}
}
}
}