Connect Claude Desktop, Cursor and other MCP clients
Every Blokkio project has an MCP server. Assistants such as Claude.ai, Claude Desktop, Claude Code, Cursor and VS Code can connect to it and call the tools you choose — for example a tool that runs one of your workflows.
1. Choose the tools
The server offers items from What AI can use: building blocks and app actions with Let AI use this on, quick tools, workflows and knowledge base searches. To offer a workflow, add it under What AI can use → Add → A workflow (its inputs describe what the workflow needs).
Turn an item on with Offer through the MCP server on its page, or in Settings → MCP server → Tools offered. Items whose Let AI use this switch is off are never offered. Mark tools that change nothing as Only reads data; all others are announced as making changes, so well-behaved clients ask before calling them.
2. Sign in (Claude.ai and Claude Desktop) — no key needed
Clients that support OAuth sign-in for remote MCP servers connect with your Blokkio account instead of a key.
Claude.ai and Claude Desktop (custom connector)
- In Claude, open Settings → Connectors and click Add custom connector.
- Name it (e.g. Blokkio) and paste the server URL from Settings → MCP server, e.g.
https://api.blokkio.com/mcp. Leave the advanced OAuth fields empty — Claude registers itself with Blokkio automatically. - Click Connect. A Blokkio page opens: sign in if asked, choose the project and click Allow access.
- Back in Claude, enable the connector in a chat (the tools menu) and ask it to use your tools.
The connector only sees the project you chose. To use another project, add a second connector and pick that project. Custom connectors added in Claude.ai also appear in Claude Desktop (same account). On Team and Enterprise plans an owner adds the connector for the organisation first.
Other clients that implement the MCP authorization spec (for example npx mcp-remote https://api.blokkio.com/mcp
without a header, or Claude Code with claude mcp add --transport http blokkio <url> and /mcp → Authenticate)
use the same sign-in.
What the app can do: list the tools this project offers through its MCP server and run them as you. It can't
read anything else in Blokkio. Access needs the Run workflows permission in the workspace (Administrators and
Contributors); Blokkio re-checks it on every request, so removing someone from the workspace — or making them a
Viewer — cuts the app off at once. The app is also refused while the workspace requires two-factor authentication and
you haven't turned it on, or while your account (or the workspace) is scheduled for deletion; the error says what to
do, then connect the app again. Each sign-in is recorded in the
audit log as mcp.client_authorized.
How it works (for developers): /mcp answers 401 with
WWW-Authenticate: Bearer resource_metadata="…/.well-known/oauth-protected-resource/mcp" (RFC 9728). That document
names Blokkio's authorization server, which publishes /.well-known/oauth-authorization-server (RFC 8414), dynamic
client registration at /connect/register (RFC 7591), the authorization code flow with PKCE (S256 only) and
refresh tokens. Tokens are bound to the MCP server (resource / audience, RFC 8707), carry the mcp:tools scope and
one project, and are not accepted by the rest of the Blokkio API.
3. Or create an API key
For clients without sign-in. In Settings → MCP server, click Create MCP key (or create a key under
Settings → API keys with the scope Call MCP tools — mcp:tools). Copy the key — it is shown only once. The
key decides the project: an assistant with this key sees only this project's offered tools.
4. Add the server to your assistant (API key)
The server URL is shown on Settings → MCP server, for example https://api.blokkio.com/mcp. Replace
bk_live_your_key with your key in the snippets below.
Claude Desktop
With an API key, Claude Desktop connects through mcp-remote (needs
Node.js). Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"blokkio": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.blokkio.com/mcp", "--header", "Authorization:${BLOKKIO_AUTH}"],
"env": { "BLOKKIO_AUTH": "Bearer bk_live_your_key" }
}
}
}
Restart Claude Desktop. The tools appear under the tools (hammer) menu.
Cursor
Cursor Settings → MCP → Add new MCP server, or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"blokkio": {
"url": "https://api.blokkio.com/mcp",
"headers": { "Authorization": "Bearer bk_live_your_key" }
}
}
}
Claude Code
claude mcp add --transport http blokkio https://api.blokkio.com/mcp \
--header "Authorization: Bearer bk_live_your_key"
VS Code
{
"inputs": [
{ "type": "promptString", "id": "blokkio-key", "description": "Blokkio API key", "password": true }
],
"servers": {
"blokkio": {
"type": "http",
"url": "https://api.blokkio.com/mcp",
"headers": { "Authorization": "Bearer ${input:blokkio-key}" }
}
}
}
Any other client
| Setting | Value |
|---|---|
| Transport | Streamable HTTP |
| URL | https://api.blokkio.com/mcp |
| Header | Authorization: Bearer bk_live_… (or X-Api-Key: bk_live_…) |
How calls behave
- HTTP, App action and Code tools answer as soon as they finish (within the tool's timeout).
- Workflow tools start a normal run (visible under Executions) and wait up to 60 seconds. If the workflow is
still running, the assistant gets
{ "status": "running", "executionId": "…" }and the run continues in Blokkio. - Results come back as text and, for JSON objects, as structured content. Secret values are masked as
••••. - Failures are returned as tool errors with a readable message (e.g. "'order_number' is required.").
- Every call is recorded in the audit log as
mcp.tool_called.
Limits and errors
| Situation | Response |
|---|---|
| No key or token, or an invalid one | 401 with WWW-Authenticate: Bearer resource_metadata="…" |
Key without the mcp:tools scope, or whose creator's role no longer allows running tools | 403 |
| Too many calls | 429 — 60 requests per minute per key by default |
| A tool that isn't offered | Error Unknown tool |
A token from OAuth sign-in works the same way; when it expires the client renews it with its refresh token.