Creates, edits and deletes Liveblocks rooms, threads, comments and notifications, and reads room Storage and Yjs data.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add liveblocks --env LIVEBLOCKS_SECRET_KEY='<LIVEBLOCKS_SECRET_KEY>' -- node /full/path/to/the/repo/liveblocks-mcp-server/build/index.js~/.codex/config.toml
[mcp_servers.liveblocks]
command = "node"
args = ["/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"]
env = { LIVEBLOCKS_SECRET_KEY = "<LIVEBLOCKS_SECRET_KEY>" }
# codex mcp add liveblocks --env LIVEBLOCKS_SECRET_KEY='<LIVEBLOCKS_SECRET_KEY>' -- node /full/path/to/the/repo/liveblocks-mcp-server/build/index.js~/.cursor/mcp.json
{
"mcpServers": {
"liveblocks": {
"command": "node",
"args": [
"/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"
],
"env": {
"LIVEBLOCKS_SECRET_KEY": "<LIVEBLOCKS_SECRET_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"liveblocks": {
"type": "stdio",
"command": "node",
"args": [
"/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"
],
"env": {
"LIVEBLOCKS_SECRET_KEY": "<LIVEBLOCKS_SECRET_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"liveblocks": {
"command": "node",
"args": [
"/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"
],
"env": {
"LIVEBLOCKS_SECRET_KEY": "<LIVEBLOCKS_SECRET_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"liveblocks": {
"command": "node",
"args": [
"/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"
],
"env": {
"LIVEBLOCKS_SECRET_KEY": "<LIVEBLOCKS_SECRET_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"liveblocks": {
"command": "node",
"args": [
"/full/path/to/the/repo/liveblocks-mcp-server/build/index.js"
],
"env": {
"LIVEBLOCKS_SECRET_KEY": "<LIVEBLOCKS_SECRET_KEY>"
}
}
}
}Environment variables
LIVEBLOCKS_SECRET_KEY
Replace the placeholders with your own credentials and keep them out of version control.