Using Toolbelt Assistants as MCP Servers

Connect any Toolbelt assistant to Claude Desktop, Cursor, Windsurf, or other MCP-compatible clients — and run conversations in the full context of the assistant's instructions.

Overview#

Every Toolbelt assistant doubles as an MCP server. Connect it to any MCP-compatible client — Claude Desktop, Cursor, Windsurf, or your own tooling — and get immediate access to all the tools that assistant has enabled, governed by its system instructions.

This opens up a practical working pattern: stay in your preferred AI client for day-to-day work, while routing tasks through a Toolbelt assistant that's already configured with the right services, memory, and instructions for the job.


Get your MCP connection info#

Each assistant exposes its connection details from the MCP Connection Info panel in its settings.

  1. Open the Toolbelt web UI.
  2. Navigate to the assistant you want to connect.
  3. Open its Settings.
  4. Expand the MCP Connection Info section.

You'll see two connection URLs and ready-to-paste config snippets for common clients. Use the Copy button to insert your real organization ID; the snippets show where to put your API key.

Authentication#

Every MCP request must include your API key in the Authorization header:

Authorization: Bearer <your-api-key>

Keep the key out of the URL. Query-string keys can appear in server logs, browser history, and referrer headers. Requests without the header return 401 Unauthorized.

Note:

The Toolbelt UI masks your API key by default. Use the eye icon to reveal it when you need to paste it into a client config.


Connection types#

Toolbelt assistants support three transport options.

Implements the MCP spec 2025-03-26. A single endpoint handles JSON-RPC over POST and server notifications over GET (SSE). Use this for any client that supports it.

URL:

https://toolbelt.apexti.com/api/workspaces/{workspace-id}/mcp

Send Authorization: Bearer <your-api-key> with each request.

Supported clients: Cursor, Claude Desktop

SSE (Server-Sent Events)#

The legacy SSE transport. Supported by a wider range of clients.

URL:

https://toolbelt.apexti.com/api/workspaces/{workspace-id}/sse

Send Authorization: Bearer <your-api-key> with each request.

Supported clients: Cursor, and any MCP client that supports the SSE transport

STDIO Gateway#

For clients that only support STDIO-based MCP servers — such as Windsurf and Claude Desktop's native config format — use the supergateway npm package to bridge the SSE connection. No local install is required; npx fetches it on first run.

Supported clients: Windsurf, Claude Desktop


Client configuration#

The MCP Client Configurations panel in Settings provides ready-to-use snippets. Copy and paste them directly into your client's config file.

Claude web and desktop#

Claude's web and desktop apps let you add a Toolbelt assistant directly from the chat interface — no config file editing required.

  1. Click the + button in the bottom-left corner of the Claude chat window.
  2. Select Connectors, then choose Manage Connectors (not "Add Connector").
  3. Inside the Manage Connectors panel, click the + Add Connector button in the Web section at the top.
  4. Paste your assistant's Streamable HTTP URL into the connection field.
Tip:

Get your Streamable HTTP URL from your assistant's Settings page in Toolbelt. Under MCP Connection Info, click Copy next to the Streamable HTTP option — it includes your organization ID and API key pre-filled.

Once connected, your Toolbelt assistant appears as an available MCP server inside Claude. You can then call any of its tools directly from a Claude conversation.

Tip:

After connecting, click Always allow for all tool permissions using the single button at the top of the permissions prompt. Toolbelt manages its own fine-grained permissions — Claude's per-tool prompts are redundant overhead.

Note:

Claude locks in the model when you start a chat — you can't switch to a more powerful model mid-conversation, and you can't change providers at all. If you need mid-conversation model switching, run the conversation inside Toolbelt directly where model swapping is available.

Cursor and Claude Desktop (HTTP)#

Add to your ~/.cursor/mcp.json or equivalent:

"assistant-my-assistant-name": {
  "type": "http",
  "url": "https://toolbelt.apexti.com/api/workspaces/{workspace-id}/mcp",
  "headers": {
    "Authorization": "Bearer <your-api-key>"
  }
}

Cursor (SSE)#

"assistant-my-assistant-name": {
  "url": "https://toolbelt.apexti.com/api/workspaces/{workspace-id}/sse",
  "headers": {
    "Authorization": "Bearer <your-api-key>"
  }
}

Windsurf and Claude Desktop (STDIO)#

For clients that require a STDIO-based connection, use supergateway to bridge the SSE transport:

"assistant-my-assistant-name": {
  "command": "npx",
  "args": [
    "supergateway",
    "--sse",
    "https://toolbelt.apexti.com/api/workspaces/{workspace-id}/sse",
    "--oauth2Bearer",
    "<your-api-key>"
  ]
}

The service name is automatically derived from your assistant's name in lowercase with spaces replaced by hyphens (e.g., My Assistant becomes assistant-my-assistant). The UI generates the exact snippet — just copy it.


What you get in the third-party client#

Once connected, the client has access to all the tools that assistant has enabled: every service integration, wrench, and built-in Toolbelt capability. The assistant's system instructions are enforced server-side on every call.

What you don't get is the assistant's chat history or memory within the third-party client. Conversations happen in that client's own thread — Toolbelt's chat history, persistent memory, and conversation context only apply to chats running inside Toolbelt itself.


Running conversations in the assistant's full context#

If you want a prompt to fully execute inside a Toolbelt assistant — with its model, instructions, memory, and chat context — you can delegate to it from any third-party client using the toolbelt tool's create_sub_chat action.

Instead of calling individual tools directly, you send a prompt to the assistant itself. It processes the request in its own context and returns the response to your current session.

How to create a sub-chat#

Call the toolbelt tool with action: "create_sub_chat" and the following parameters:

Parameter Required Description
targetAssistantId Yes The ID of the Toolbelt assistant to send the message to. Find this in Settings > General for that assistant.
content Yes The message or task to send.
priority No "low", "normal" (default), "high", or "urgent".
provider No AI provider override: "openai", "gemini", "anthropic", "anthropic-vertex", or "toolbelt". Defaults to the assistant's configured provider.
model No Model override. For most tasks: gemini-3.8-flash, claude-sonnet-5-5, gpt-6.1-terra, or Crescent (toolbelt). For complex reasoning: claude-opus-5-5, gemini-4-argon, or gemini-3.8-flash.

create_sub_chat returns immediately with a correlationId. The assistant runs asynchronously.

Waiting for the response#

After creating a sub-chat, call toolbelt with action: "sleep" to wait for it:

{
  "action": "sleep",
  "params": {
    "timeoutSeconds": 30,
    "wakeOnAnyComplete": true
  }
}

When sleep returns with wokeReason: "sub_chat_complete", the assistant's full response is in subChats[].lastMessage. Use it directly — no further polling needed.

If sleep times out before the sub-chat finishes, call toolbelt with action: "get_pending_sub_chats" (no params required) to check status and retrieve completed responses.

What this enables#

The combination of MCP connectivity and create_sub_chat gives you the best of both worlds:

  • Your specialized assistants, anywhere. A code reviewer, data analyst, or documentation writer — accessible from Cursor or Claude, running with their full Toolbelt configuration.
  • No context switching. Stay in your preferred client and get Toolbelt-quality responses inline.
  • Responses come back to your session. The sub-chat runs inside Toolbelt's infrastructure, but the result is delivered to your current conversation thread.
Note:

Sub-chats created this way don't appear as top-level conversations in the Toolbelt UI. The target assistant must belong to the same Toolbelt organization as the API key you're using.


  • Sub-Chats — parallel delegation between assistants inside Toolbelt
  • Toolbelt Bridge — connect local MCP servers to your Toolbelt assistants
  • API Access — REST API, API keys, and finding organization IDs