Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Liveblocks.Built from the 10 Liveblocks tools below, on the connection you add once.

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.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Room, 5 operations

  • create_roomCreate roomPOSTAgents: ask firstCreates a new Liveblocks room for real-time collaboration. Rooms are isolated spaces with presence, storage, and access control.
  • delete_roomDelete roomDELETEAgents: ask firstPermanently deletes a Liveblocks room and all associated data. This action cannot be undone.
  • get_roomGet roomGETAgents: ask firstRetrieves details of a Liveblocks room including metadata, access permissions, and configuration.
  • list_roomsList roomsGETAgents: ask firstLists all Liveblocks rooms in the project with filtering and pagination. Returns room IDs, metadata, and access configurations.
  • update_roomUpdate roomPOSTAgents: ask firstUpdates Liveblocks room settings including metadata and access permissions. Allows modifying room configuration without recreating.

Storage, 3 operations

  • delete_storageDelete storageDELETEAgents: ask firstDeletes all storage data from a Liveblocks room. Resets the room to an empty collaborative state.
  • get_storageGet storageGETAgents: ask firstRetrieves the storage state of a Liveblocks room. Returns the current collaborative data structure as JSON.
  • initialize_storageInitialize storagePOSTAgents: ask firstInitializes Liveblocks room storage with provided data. Sets the initial collaborative state or replaces existing storage.

Event, 1 operation

  • broadcast_eventBroadcast eventPOSTAgents: ask firstBroadcasts a custom event to all users in a Liveblocks room. Events are delivered in real-time but not persisted.

User, 1 operation

  • get_active_usersGet active usersGETAgents: ask firstRetrieves 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 Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Liveblocks

  1. Create your workspace

    Sign up free. Nothing to install.

  2. 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.

  3. 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

Browse the whole catalog