MCP server | Tools (original) (raw)
The Liveblocks MCP server allows you to inspect and modify your project with AI in compatible apps such as Cursor, VS Code, Claude Desktop, and more.
Features
Our MCP server features 39 different tools, enabling most features from ourREST API. You can use it to:
- Create and modify rooms, threads, comments, notifications, more.
- Read realtime Storage and Yjs values.
- Broadcast custom events to connected clients.
- Mark threads and notifications as read/unread.
AI will often string tool calls together—for example, if you ask it to fetch a room that doesn’t exist, it will ask if you’d like to create the room first, and then fetch it after.
Automatic setup
To install automatically, use one of the following commands, making sure to insert a secret key from your correct project in your dashboard.
Only for development
Don’t insert a secret key from your product application, as AI will have direct access to modify it.
Cursor
Run the following command to set up Cursor:
Claude
Run the following command to set upClaude Desktop:
VS Code
Run the following command to set up VS Code:
Other clients
Find installation information for other clients onSmithery.
Manual setup
- Clone theLiveblocks MCP serverrepo.
- Build the project.
Cursor
- Go to File → Cursor Settings → MCP → Add new server.
- Add the following, with the full path to the repo and the correct secret key from your dashboard:
- Check it's enabled in the MCP menu.
Claude Desktop
- Go to File → Settings → Developer → Edit Config.
- Open the JSON file,
claude_desktop_config.json
. - Add the following, with the full path to the repo and the correct secret key from your dashboard:
Source code
The source code is available in ourGitHub repository.