How to Use the Liveblocks (Collaborative) MCP in Cursor
Generate working collaborative code in Cursor using real Liveblocks data via this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Liveblocks (Collaborative) MCP to Cursor
Create your Vinkius account to connect Liveblocks (Collaborative) to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Draft real-time code with live room context
The `get_storage` tool retrieves the entire LSON or JSON storage tree of a live room directly into your editor context. Instead of guessing how your database schema maps to your frontend components, your agent reads the live state to write perfect TypeScript definitions. It gives you actual production data structures to build against. If the room storage is empty or needs a reset, the agent runs `initialize_storage` to bootstrap the data structure. This lets you scaffold new collaborative features in your codebase and immediately test them with real room states. You get working code on the first try because this MCP Server prevents hallucinations.
Debug Yjs synchronization directly in the editor
The `get_ydoc` tool fetches the raw Yjs document state so your editor agent can analyze conflict resolution issues. When real-time sync breaks, you don't have to guess which client sent a bad update. The agent inspects the state tree and writes the exact fix your client needs. You can also use `list_versions` to pull the version history snapshots of your shared document. This lets your agent compare historical states, track down when a bug was introduced, and write code to revert or patch the state safely. It turns a nightmare debugging session into a quick chat command.
Test room events without leaving your code
The `broadcast_event` tool sends custom JSON payloads to any active room directly from your editor chat. This allows you to test how your frontend handles custom multiplayer events, like hand-raising or reactions, without manually clicking around multiple browser tabs. To make testing even faster, the agent can run `list_rooms` to find your active testing environments. You can quickly switch between different rooms, inspect their current states, and verify that your event listeners are working properly. It cuts your feedback loop down from minutes to seconds.
Set up Liveblocks (Collaborative) MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Liveblocks (Collaborative) MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Liveblocks (Collaborative) transactions." If the MCP tools are loaded correctly, Cursor will call the Liveblocks (Collaborative) tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"liveblocks-collaborative-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Liveblocks. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Liveblocks (Collaborative) MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Liveblocks (Collaborative) MCP today
We host it, we monitor it, we maintain it. You just paste one token.