Compatible with every major AI agent and IDE
What is the Liveblocks MCP Server?
Connect your Liveblocks account to any AI agent to orchestrate multiplayer experiences and real-time collaboration features through natural language.
What you can do
- Room Management — List, create, update, and delete rooms to manage your application's collaborative spaces.
- User Authentication — Generate access tokens and identify users with specific permissions using
authorize_userandidentify_user. - Collaborative Storage — Inspect and patch room storage state or manage Yjs documents for shared editing.
- Comments & Threads — Query, create, and resolve comment threads to keep track of team discussions within rooms.
- Real-time Presence — List active users in a room or broadcast custom events to connected clients.
How it works
- Subscribe to this server
- Enter your Liveblocks Secret Key
- Start managing your real-time infrastructure from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Full-stack Developers — quickly debug room storage, manage user permissions, or clear stale rooms without leaving the terminal or IDE.
- Product Managers — monitor active collaboration sessions and review comment threads across different project rooms.
- DevOps Engineers — automate the provisioning of collaborative environments and manage access rules programmatically.
Built-in capabilities (18)
Obtain an access token for a client to enter a room
Broadcast a JSON event to a room
Create a new room
Create a thread and the first comment
Delete a room
Retrieve room details
Get the room's Storage tree
Get a specific thread
Get a JSON representation of the Yjs document
Permissions are managed on the backend. Obtain an ID token for a client
Initialize or reinitialize Storage
List users currently in the room
Can be filtered by metadata or access. List rooms with filtering and pagination
List threads in a room
Apply JSON Patch operations to Storage
Resolve a thread
Update room properties
Send a binary Yjs update
Why Vercel AI SDK?
The Vercel AI SDK gives every Liveblocks tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 18 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Liveblocks integration everywhere
- —
Built-in streaming UI primitives let you display Liveblocks tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Liveblocks in Vercel AI SDK
Liveblocks and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Liveblocks to Vercel AI SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Liveblocks in Vercel AI SDK
The Liveblocks MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 18 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Vercel AI SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Liveblocks for Vercel AI SDK
Every tool call from Vercel AI SDK to the Liveblocks MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I filter rooms by specific metadata using the AI?
You can ask the agent to use the list_rooms tool and provide a JSON string in the metadata parameter. For example, ask to 'List rooms where the project metadata is alpha'.
Can I generate a temporary access token for a user to join a room?
Yes. Use the authorize_user tool. Provide the Room ID and User ID, and the agent will return a token that grants access to that specific room.
Is it possible to permanently delete a room and its data?
Yes, the delete_room tool allows you to permanently remove a room and all associated storage, comments, and metadata. Use this with caution as it is irreversible.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Omnitracs Fleet Intelligence
10 toolsManage your fleet and logistics via Omnitracs — track vehicles, drivers, and shipments directly from your AI agent.

Arcadia Plug
6 toolsAccess and manage utility data with Arcadia Plug — track accounts, statements, and meters via AI.

Codacy
8 toolsManage code quality and automated reviews via Codacy — track grades, monitor issues, and audit repository analysis directly from any AI agent.

Cloudflare
25 toolsAI edge infrastructure: manage Workers, KV, D1, R2, routes, and deployments via agents.
