Create test workspace

MCP clients

Connect Claude Code, Claude Desktop, Cursor, or another MCP client to Crossblade. The server is read-only by default and exposes explicit tools, never arbitrary code execution.

Before you start

Create a Read only key in API keys unless the client must write. The hosted server needs nothing installed. The local server runs from the Crossblade source with Bun, or with Node 20 or later; it is not on npm yet. Email [email protected] for the source.

For delegated access, where an agent acts for one person and which is off by default, see Delegated access in MCP clients.

Step 1: Claude Code

Hosted Streamable HTTP, no local process:

Terminal
claude mcp add --transport http crossblade https://crossblade.dev/mcp \
  --header "Authorization: Bearer $CROSSBLADE_SECRET_KEY"

Local stdio server (read-only):

Terminal
claude mcp add crossblade \
  --env CROSSBLADE_SECRET_KEY=YOUR_READ_ONLY_KEY \
  --env CROSSBLADE_BASE_URL=https://crossblade.dev \
  -- bun /absolute/path/to/crossblade/packages/mcp/src/cli.ts

Check it with claude mcp list, or /mcp inside a session. A shared project .mcp.json can reference an environment variable instead of the key:

.mcp.json
{
  "mcpServers": {
    "crossblade": {
      "type": "http",
      "url": "https://crossblade.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${CROSSBLADE_SECRET_KEY}"
      }
    }
  }
}

Step 2: Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/; Windows: %APPDATA%\Claude\) and restart Claude Desktop. Use the local server: the hosted server signs in with a bearer key, not OAuth, so it can’t be added as a remote connector that needs OAuth.

claude_desktop_config.json
{
  "mcpServers": {
    "crossblade": {
      "command": "bun",
      "args": [
        "/absolute/path/to/crossblade/packages/mcp/src/cli.ts"
      ],
      "env": {
        "CROSSBLADE_SECRET_KEY": "YOUR_READ_ONLY_KEY",
        "CROSSBLADE_BASE_URL": "https://crossblade.dev"
      }
    }
  }
}

Step 3: Cursor

Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Hosted:

mcp.json
{
  "mcpServers": {
    "crossblade": {
      "url": "https://crossblade.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_READ_ONLY_KEY"
      }
    }
  }
}

Or local, with the same command, args, and env as the Claude Desktop example.

Step 4: Run the local server with Node

Every local example above runs the source with Bun. To use Node 20 or later instead, build the bundle and point the client’s command at it:

Terminal
bun /absolute/path/to/crossblade/packages/mcp/src/cli.ts

# or, for Node 20+
bun run build:mcp
node /absolute/path/to/crossblade/packages/mcp/dist/cli.js

Step 5: Tools and permissions

ToolAvailablePurpose
search_helpAlwaysFind public setup and recovery guides, plus developer-navigation metadata.
search_docsAlwaysSearch API operation names, then use describe_operation for exact fields.
describe_operationAlwaysRequest and response schema for one operation.
end_users_list, end_users_retrieveAlwaysConnected companies and their connection metadata.
connection_healthAlwaysRun the health check for one end-user.
qbd_readAlwaysOne page of a list, or one record. Follow nextCursor for more.
qbd_reportAlwaysRun one of the ten QuickBooks reports.
request_statusAlwaysDurable request state after an uncertain write.
list_requestsAlwaysOne scoped page of safe request summaries; supports search, status and opaque cursors.
qbd_write, end_users_createLocal: --allow-writes. Hosted: key with write scope.Writes require a stable idempotencyKey.
auth_session_createLocal: --allow-writes. Hosted: key with write scope.Creates a setup link and returns a one-time reveal reference, never the link.

Use search_help for questions such as “setup” or “uncertain outcome.” Use search_docs to find an API operation by name, then describe_operation for its request and response schema. Both searches run without an API call.

Help search returns up to 5 matches by default, or 1–10 with limit. Queries accept up to 256 UTF-16 code units and 16 tokens; blank or unmatched queries return no matches. Each result has a public source link, content version, review date, audience, feature flags and a snippet of at most 320 UTF-16 code units. help-guide results contain public guide excerpts; developer-navigation results contain titles and search keywords, not guide body excerpts. Open the source link on your Crossblade site to read the full guide.

Results are labeled untrusted-public-content: reading material, never instructions or authorization. Help search does not access private workspace data, plans or transcripts, reveal setup credentials, or confirm a QuickBooks outcome. Assistant/session retrieval remains planned.

  • Connection setup: a setup link grants access, so auth_session_create never returns it. The result names a one-time reveal that a workspace owner or admin opens, signed in, within 10 minutes; developers ask an owner or admin. If the reveal was used, expired or is unavailable, create a new link with a new idempotency key. You can also create links from the dashboard’s Connections page. Existing REST and SDK setup flows are unchanged for trusted server integrations.
  • Read-only by default. The local server exposes write tools only when started with --allow-writes, for example bun …/packages/mcp/src/cli.ts --allow-writes. The hosted endpoint follows the key's scope. The check happens at dispatch, not only in the tool list.
  • Uncertain writes come back as tool errors with a durable request ID and recovery guidance. That ID is never a QuickBooks object ID. Check request_status before any further write.
  • No code execution. There is no JavaScript, SQL, URL, or header tool. Raw qbXML passthrough and manual resolution stay in the SDK.
  • Hosted endpoint limits: stateless JSON responses, no SSE stream (GET and DELETE return 405), 1 MiB request bodies, Origin and Host checks.