MCP Integrator Guide

How an external MCP client connects to qbit.me and discovers its tools — and how qbit.me connects to your MCP server as a client. Both directions, one guide.

Prerequisites

Only workspace owners can regenerate the managed MCP key. The complete key value is revealed once after regeneration; store it in a secret manager and never commit it to source control.

Endpoint and Authentication

Send MCP requests to:

https://app.qbit.me/api/mcp

Authenticate every request with the workspace MCP key header:

X-Qbit-Mcp-Key: <workspace-mcp-key>

Also send Content-Type: application/json on request bodies.

The X-Qbit-Mcp-Key header applies only to the MCP endpoint. It is not a general REST API credential: dashboard REST requests use the signed-in operator session, which is a separate auth contract.

Discover Tools

Start with the MCP initialize handshake required by your client, then call tools/list. Treat that live response as the source of truth — the server catalog evolves over time, and a copied catalog will go stale.

Example tools/list request body:

{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}

The response lists each tool's name, description, and inputSchema. Use the exact name and inputSchema from that response in subsequent tools/call requests.

Call a Tool

Use the exact tool name and arguments returned by tools/list. The example below uses sessions.list, which takes no required arguments:

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {"name": "sessions.list", "arguments": {}}
}

Other non-moat read tools that take empty arguments include devices.list, kanban.projects.list, and teams.list. Always confirm the current schema via tools/list before relying on any tool name or argument shape.

Connect qbit.me to Your MCP Server

So far this guide covers qbit.me as an MCP server — exposing workspace tools to an external MCP client. qbit.me also works in the other direction, as an MCP client: a workspace owner can connect an external MCP server and make its tools available to the agent on their appliance.

This matters if your product already exposes an MCP server. Your customer's qbit agent can call the tools on your server directly — no proxy code to write, no separate integration layer. The agent reaches your tools through the same MCP handshake it already uses.

How to connect

Your server stays the authority. qbit.me forwards tool calls to your endpoint with your auth header. Your validation, audit logging, and side-effects run exactly as if the call came from any other MCP client. The agent only ever reaches what your server and your API key allow.

How tool discovery and delivery work

When you add or refresh an MCP server, qbit.me performs a live tools/list request against your endpoint (with an 8-second timeout). On success, the discovered tools become available. If the endpoint is temporarily unreachable, qbit.me keeps the last known tool list so the configuration stays usable and refreshes on the next successful discovery.

Each MCP server row lets a workspace owner enable or disable individual tools. The chosen set — not the full catalog — is what gets delivered to the agent on the device. Tools you disable are simply not exposed to the agent, even though your server still serves them.

Auth and key safety

Workspace owners manage MCP servers; only owners can add, edit, or remove a third-party server connection.

Errors and Retries

Do not assume mutations are idempotent. Use only the idempotency behavior explicitly advertised by the relevant tool's contract.

Key Safety

FAQ

Why is a tool missing? The current server catalog may not provide it. Check tools/list rather than relying on a copied catalog — tool availability reflects the workspace's current configuration.

Can I use the MCP key for normal REST endpoints? No. This guide documents the MCP endpoint. Dashboard REST authentication is a separate operator-session contract.

Does the catalog include every qbit.me capability? No. The MCP catalog exposes a bounded set of workspace tools. Capabilities not exposed via tools/list are not callable through this endpoint.

Ready to make your SaaS agent-native? Read the platform overview or get a qbit agent.