- SESSION
- ACCESS
- DATA
- HUMAN
Short answer
How can my AI manage Liveblocks rooms?
Your AI uses specific tools to spin up new collaborative rooms, change room metadata, and manage who can join. It handles the heavy lifting of user authorization and identity management. You get full programmatic control over your real-time environments.
Where every action lands.
Room orchestration outcomes
The AI directs its actions into these specific Liveblocks states.
SESSION
New room creation
The AI uses create_room to launch fresh collaborative spaces. You get a ready-to-use environment for real-time interaction.
ACCESS
User permission control
Your agent uses authorize_user to grant or revoke entry. This keeps your collaborative sessions secure and private.
DATA
Metadata updates
The AI uses update_room to change room settings on the fly. This keeps your session state in sync with your application logic.
HUMAN
Manual oversight
You retain the ability to manually override any room settings. The AI handles the repetitive setup, but you stay in control of the high-level architecture.
The workflow
What your AI does when a request arrives.
Your agent follows a logical sequence to move from a request to a live, secured room.
Initialize the space
The AI starts by spinning up a new collaborative environment with the necessary parameters.
create_roomSet room properties
Once the room exists, the AI adjusts the metadata to match your specific session needs.
update_roomVerify user identity
The agent identifies the user to ensure the session data maps to the right person.
identify_userGrant entry
The AI finalizes access by confirming the user has the right permissions to join the room.
authorize_user
Try it
Copy these to start.
Use these prompts to trigger Liveblocks actions immediately.
Starting points
These are templates. Swap out the room names and user IDs with your actual data.
Liveblocks Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_v2FU0vtTfzUrtsk5QcSuOhhoPhdk0tcyNdn6k4Ay/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Liveblocks capabilities are ready to use.
{
"mcpServers": {
"liveblocks-collaborative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_v2FU0vtTfzUrtsk5QcSuOhhoPhdk0tcyNdn6k4Ay/mcp"
}
}
}Create a new room called 'project-alpha-sync' and set its metadata.
Authorize user 'user_99' to join the 'design-critique' room.
Update the metadata for the 'marketing-brainstorm' room to include a new status.
Identify 'user_456' and then authorize them for the 'dev-sandbox' room.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Liveblocks once, then ask.
One connection gives your agent full access to these tools. Your credentials stay encrypted and secure.
Connect Liveblocks to your AIFAQ
How the orchestration works
- 01
Can the AI delete a room?
No. The current tools only allow for creating, updating, and managing access.
- 02
Does the AI manage my billing?
No. The AI only interacts with room orchestration and user permissions.
- 03
Can I restrict a user from a room?
Yes. You can tell your agent to use the authorization tool to manage user access.
- 04
Can the AI change room names?
Yes, by using the tool designed to update room metadata.
- 05
Will the AI automatically add every new user?
No. The AI only performs authorization when you specifically instruct it to do so.
More questions about Liveblocks? The Connector page answers them. See everything the Liveblocks Connector can do
Connect Liveblocks to Claude, Cursor, ChatGPT & more
