ChatBlocks hosts a single MCP endpoint:Documentation Index
Fetch the complete documentation index at: https://docs.chatblocks.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
Mint a key
Open /settings
Workspace admin only. Free workspaces can mint keys (no plan gate on key creation); the gate is on what the tools do.
API Keys panel → 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.”
Connect from clients
- Claude
- Codex
- Cursor
- Windsurf
- 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.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) 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.
Errors and limits
JSON-RPC error codes, HTTP statuses, and per-plan rate limits.