Authorization: Bearer cb_live_* header on the HTTPS request. The key is workspace-scoped — one key carries one workspace’s context, and you generate a key per agent (or per machine) so revocation is per-place.
If the agent needs to create the workspace before a human has signed up, use agent-created canvases. That flow returns a temporary MCP key immediately and emails the human a claim link.
Mint a key
1
Open /settings/api-keys
Settings → API keys tab. Workspace admin only. API keys are free on every plan — connect your agent and author blocks within your plan’s caps.
2
cb_live keys → New key
Pick a label (e.g. “Claude Desktop — my laptop”). The platform shows the plaintext once and stores only a hash. Copy it now — there’s no “show again.”
3
Paste into your agent's config
Snippets below.
Connect from clients
- Claude
- Codex
- Cursor
- Windsurf
- OpenClaw
- Poke
- Other
Run in your terminal:Works for both Claude Code and Claude Desktop on current Claude releases. To paste manually instead, write the standard
mcpServers JSON (see the Codex tab) into ~/.claude/mcp.json.Discovery for agents
If you are giving an agent current Chatblocks context, use these app-domain files:Direct HTTP usage
Anything that speaks JSON-RPC over HTTP can talk to the server directly. Example with curl:tools/call is the same envelope:
McpServer instance is built on every POST. There’s no session state to maintain client-side.
Streaming tools
A handful of tools return Server-Sent Events instead of a single JSON-RPC reply (blocks.create, blocks.build, dataSources.testConnection, dataSources.triggerRefresh, schedule.preview). When you call one of these, the response Content-Type switches to text/event-stream and the body streams progress notifications until the final result event.
Most MCP clients (Claude Code / Codex / Cursor / Windsurf / OpenClaw / Poke) handle this transparently. The stdio proxy bridges streaming responses but only forwards the final result to the stdio client today; intermediate progress isn’t bridged. From curl, append --no-buffer to see deltas as they arrive.
What’s next
Tool reference
The full list of tools, auto-generated from the server source.
Agent-created canvases
Let an agent create a temporary canvas first, then hand it to a human.
Platform integrations
OpenClaw, Poke, Context7, and other agent-discovery surfaces.
Errors and limits
JSON-RPC error codes, HTTP statuses, and per-plan rate limits.