Liveblocks integration
Liveblocks is a real-time collaboration infrastructure platform that enables developers to add collaborative features like presence, cursors, comments, and real-time sync to applications. Build multiplayer experiences with conflict-free data structures, presence awareness, and room-based communication. Perfect for collaborative documents, whiteboards, design tools, and any application requiring real-time multi-user interaction.
Common Liveblocks use cases
- backing up room data
- cleaning up unused rooms
- resetting rooms for reuse
- changing room access levels
- checking room configuration
- displaying presence avatars
- initializing rooms with templates
- building room management dashboards
- sending notifications to room users
- creating document collaboration rooms
What you can do with Liveblocks
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Room, 5 operations
- POSTcreate_room
Creates a new Liveblocks room for real-time collaboration. Rooms are isolated spaces with presence, storage, and access control.
- DELETEdelete_room
Permanently deletes a Liveblocks room and all associated data. This action cannot be undone.
- GETget_room
Retrieves details of a Liveblocks room including metadata, access permissions, and configuration.
- GETlist_rooms
Lists all Liveblocks rooms in the project with filtering and pagination. Returns room IDs, metadata, and access configurations.
- POSTupdate_room
Updates Liveblocks room settings including metadata and access permissions. Allows modifying room configuration without recreating.
Storage, 3 operations
- DELETEdelete_storage
Deletes all storage data from a Liveblocks room. Resets the room to an empty collaborative state.
- GETget_storage
Retrieves the storage state of a Liveblocks room. Returns the current collaborative data structure as JSON.
- POSTinitialize_storage
Initializes Liveblocks room storage with provided data. Sets the initial collaborative state or replaces existing storage.
Event, 1 operation
- POSTbroadcast_event
Broadcasts a custom event to all users in a Liveblocks room. Events are delivered in real-time but not persisted.
User, 1 operation
- GETget_active_users
Retrieves active users in a Liveblocks room. Returns connected users with their presence data and connection information.
Use Liveblocks from Claude Code, Cursor or Codex
Connect Liveblocks in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Liveblocks operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Liveblocks
Create your workspace
Sign up free. Nothing to install.
Connect Liveblocks once
Add your Liveblocks connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Liveblocks integration FAQ
- What can you do with the Liveblocks integration?
- LiveContext exposes 10 operations on Liveblocks, covering room, storage, event and user. Common uses include backing up room data, cleaning up unused rooms and resetting rooms for reuse.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…