Bots › Use bots from other AI apps

Use your bots from Claude, ChatGPT, Grok and Cursor

About 5 minutes5 min read

The Bots screen is optional. The AI app you already use can reach the same knowledge base, the same bots and the same board through one MCP address and a key you control.

On this page
  1. The short version
  2. Before you start: the API door
  3. Step 1: make a key
  4. Step 2: connect your app
  5. Step 3: check it works
  6. What the app can do
  7. Revoke and troubleshoot

The short version

  • One address: https://<your Operation Kit address>/api/mcp. MCP is the standard way AI apps plug into other tools.
  • One key per app and person, made in Settings → API & MCP, with only the permissions and workspaces it needs. Revoke it any time.
  • Same memory, same board. A question asked in Claude, a request typed into Grok and a message to a bot all end up in the same notes and on the same board.
  • Works with Claude Code, Claude Desktop, the OpenAI and xAI APIs, the Claude API, Codex and Cursor.

Before you start: the API door

Cloudflare's sign-in sits in front of your whole site, which would also stop an AI app. The installer lets requests through to the bot-facing API routes, including /api/mcp, so the key is the one check there. Admin, secrets, internal, webhook and sign-in routes still need the Cloudflare sign-in. Details: Cloudflare sign-in and tunnel.

To confirm, run this. A 401 is what you want: the app answered and your key decides.

curl -si https://<your Operation Kit address>/api/objectives | head -1
# HTTP/2 401   good
# HTTP/2 302 ... cloudflareaccess.com   the bypass is missing

Step 1: make a key

  1. Open Agent keys

    Settings → API & MCP, then New agent key under Agent keys.

  2. Label it

    Name it after the app and the person so you can tell keys apart, for example Claude: Office. Every card the key creates says who made it.

  3. Tick only what it needs

    Under What it can do (see the table below). A new key starts with everything ticked except board:done and board:delete.

  4. Pick workspaces

    All my workspaces or Only some. A key limited to one workspace can't see any other.

  5. Pick connected accounts

    Whatever I can use, Pick specific accounts or No connected accounts. A key never gets more than you have, and never reads Settings → Secrets.

  6. Create and copy

    Press Create key and copy it. It starts with cc_live_ and is shown once. Paste it only into the app's connection settings, never into a chat message.

TickLets the app
vault:readSearch and read the knowledge base
vault:writeSave and update notes, and save answers to the wiki
board:readSee cards, their progress and their results
board:writeCreate cards and send them messages
board:startStart a card straight away
board:cancelRetire a card, for example a duplicate
board:doneSign a card off as done. Leave it off: that's your signature.
board:deleteDelete cards. Leave it off.

For a personal assistant, vault:read, vault:write, board:read and board:write are enough. The same tab also has an older full-access API key. Don't use it for AI apps: over MCP it's read-only.

Step 2: connect your app

Replace <address> with your Operation Kit address and <key> with the key.

Claude Code

claude mcp add --transport http operation-kit https://<address>/api/mcp \
  --header "Authorization: Bearer <key>"

Start claude and type /mcp. You should see operation-kit connected.

Claude Desktop

Its Add custom connector screen expects a sign-in flow, which Operation Kit doesn't offer yet. Use the config file instead: Settings → Developer → Edit Config, add this, save and restart. You need Node.js for the small mcp-remote bridge.

{ "mcpServers": { "operation-kit": {
  "command": "npx",
  "args": ["-y", "mcp-remote", "https://<address>/api/mcp",
           "--header", "Authorization:${OK_AUTH}"],
  "env": { "OK_AUTH": "Bearer <key>" } } } }

ChatGPT (OpenAI API)

The ChatGPT app's connector screen also expects a sign-in flow, so use the Responses API from your own scripts. Add this tool:

{ "type": "mcp", "server_label": "operation_kit",
  "server_url": "https://<address>/api/mcp",
  "headers": { "Authorization": "Bearer <key>" },
  "require_approval": "never" }

Grok (xAI API)

{ "type": "mcp", "server_label": "operation_kit",
  "server_url": "https://<address>/api/mcp",
  "authorization": "Bearer <key>" }

Claude API

Add an MCP server to your Messages API request with "type": "url", "url": "https://<address>/api/mcp", "name": "operation-kit" and "authorization_token": "<key>", plus a matching mcp_toolset tool.

Codex CLI

# ~/.codex/config.toml
[mcp_servers.operation-kit]
url = "https://<address>/api/mcp"
bearer_token_env_var = "OPERATION_KIT_KEY"

Then set OPERATION_KIT_KEY in the terminal where you run codex.

Cursor and other MCP apps

Any app that can add a remote, HTTP or streamable HTTP MCP server works. Give it the URL https://<address>/api/mcp and the header Authorization: Bearer <key>. In Cursor that goes in .cursor/mcp.json:

{ "mcpServers": { "operation-kit": {
  "url": "https://<address>/api/mcp",
  "headers": { "Authorization": "Bearer <key>" } } } }
Note

The "add a connector" screens in the Claude, ChatGPT and Grok phone and desktop apps only offer a sign-in flow, so they can't use a key yet. Use one of the routes above. If your install uses a Cloudflare service token instead of the built-in bypass, add its two CF-Access-… headers next to the key, as described in Cloudflare sign-in and tunnel.

Step 3: check it works

Ask the app: "Using Operation Kit, list my bots." It should list the bots on your install, for example Personal assistant, Knowledge librarian and Operator. Then try:

  • "Act as my Personal assistant from Operation Kit. What does my knowledge base say about our delivery terms?"
  • "Create an Operation Kit card: draft a one-page price sheet from the knowledge base."

The card appears on your board, labelled with the key's name.

What the app can do

You ask forTool the app usesKey needs
Your bots and their instructionslist_chat_agents, get_chat_agentvault:read
Something from your notessearch, read_file, list_foldersvault:read
What a page is connected to, who knows about a topickb_related, kb_who_knowsvault:read
A saved note or answerwrite_doc, file_answervault:write
What needs your attentionget_attention, get_changesboard:read
A job handed to the boardcreate_objectiveboard:write
How a job is going, and its resultget_objective, get_progress, get_outputboard:read

There's no tool to merge code, deploy, delete files or read secret values. Every call is checked on your server against the key's ticks and workspaces, whatever the app asks for.

Compared with the Bots screen: your conversation history stays in the app you used, email and calendar drafts with a Send button exist only on the Bots screen, and the app is told to stay inside a bot's knowledge folders but the hard limit is the key. Give each app a key limited to the workspace it needs.

Revoke and troubleshoot

Each key in the list shows when it was created and Last used. Press Revoke to cut one app off, for example after a lost laptop. Other keys keep working. Revoke keys nobody uses.

What you seeWhat to do
401 or "unauthorized"The key is wrong, revoked, or missing Bearer in front. Make a new key.
403 with missing_scopeThe key lacks a tick. The error names it. Make a new key with it.
403 with workspaceThe key isn't allowed in that workspace.
A Cloudflare sign-in page or HTML instead of a replyCloudflare stopped the request. See the API door.
Tools appear but every write failsYou used the older full-access API key. Use an agent key.
Last checked against Operation Kit main (f504a64), 11 Nov 2026Suggest an edit