Liveblocks
OfficialThe Liveblocks MCP server allows AI to interact with Liveblocks services via the REST API, enabling comprehensive management of collaborative features:
Room Management: Create, get, modify, delete rooms, update room IDs and permissions, and retrieve recent rooms based on various criteria
Thread Management: Create, retrieve, edit, delete threads, mark as resolved/unresolved, and manage thread subscriptions
Comment Management: Create, retrieve, edit, delete comments, and manage comment reactions
Notification Management: Retrieve, create, trigger, delete inbox notifications, and manage notification settings
Storage Access: Retrieve Storage and Yjs documents
User Activity: Get active users in a room, manage user room subscription settings
Event Broadcasting: Broadcast events to rooms
Thread Participation: Manage thread participants and subscriptions
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Liveblockscreate a new room for our team brainstorming session"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Go to File → Cursor Settings → MCP → Add new server.
Add the following, inserting your secret key:
{
"mcpServers": {
"liveblocks": {
"command": "npx",
"args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
"env": {
"LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
}
}
}
}Claude Code
Run the following command in the terminal, inserting your secret key:
claude mcp add liveblocks -e LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx -- npx -y github:liveblocks/liveblocks-mcp-serverClaude Desktop
Go to Settings → Developer → Edit Config.
Open the JSON file,
claude_desktop_config.json.Add the following to the JSON, inserting your secret key:
{
"mcpServers": {
"liveblocks": {
"command": "npx",
"args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
"env": {
"LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop to apply the changes.
Codex
Ensure the Codex CLI is installed:
npm i -g @openai/codexRun the following command in the terminal, inserting your secret key:
codex mcp add liveblocks \
--env LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx \
-- npx -y github:liveblocks/liveblocks-mcp-serverResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/liveblocks/liveblocks-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server