Operation Kit Operation Kit

How do you connect Claude, ChatGPT and Cursor to one company knowledge base?

short answer

Run the knowledge base as an MCP server and give each AI app its own key. Each app (Claude Code, Claude Desktop, the OpenAI and xAI APIs, Codex, Cursor) uses the same address, reads the same pages and saves answers there. Scope each key to the workspaces and actions that app needs, and revoke it if a laptop goes missing.

Why use one knowledge base across your AI apps

Many teams use more than one AI app. Engineers live in Cursor or Claude Code, operators use Claude or ChatGPT, someone likes Grok. If each app has its own uploaded files and memory, each one gives a slightly different answer about your pricing, your clients or your process, and every new fact has to be added in several places.

The fix is to keep company knowledge in one place and let every app reach it through the same door. That door is the Model Context Protocol (MCP), the open standard Anthropic open-sourced in November 2024 for connecting AI apps to outside tools and data. A wide range of AI apps support it, including Claude, ChatGPT and Cursor.

What you need

  • A knowledge base that runs an MCP server. In Operation Kit that address is https://<your address>/api/mcp on your own server.
  • One key per app and per person. Give each key a name and only the permissions it needs, so you can revoke it on its own. Don't share one admin key across apps.
  • The AI apps you already use. There is no new app to learn.

Step 1: make a scoped key for each app

In Operation Kit, open Settings → API & MCP and press New agent key. Name it after the app and the person (for example "Claude: Office") so you can tell keys apart. Every card the key creates says who made it. Then tick only what it needs:

PermissionLets the appPersonal assistant?
vault:readSearch and read the knowledge baseYes
vault:writeSave notes and answers back to the wikiYes
board:readSee cards, progress and resultsYes
board:writeCreate cards and message themYes
board:done, board:deleteSign off or delete workNo. That is your signature.

Also choose which workspaces the key can see. A key limited to one workspace cannot see any other, and no key can read stored secrets. Full details: Use your bots from Claude, ChatGPT, Grok and Cursor.

Step 2: connect each 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.

Cursor (and any app that takes a remote MCP server)

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

Claude Desktop

The desktop app's "Add custom connector" screen is built around a sign-in flow. Its Request headers option for fixed keys is in beta for a limited set of organizations and shares one key across the organization, so use the config file (Settings → Developer → Edit Config) with the small mcp-remote bridge instead. The bridge needs Node.js.

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

ChatGPT, through the OpenAI API

The ChatGPT app's connector screen offers sign-in (OAuth) or no authentication, with no field for a key, so use the Responses API from your own scripts and add the server as a tool:

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

Grok, through the xAI API

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

Codex CLI

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

Step 3: test it with three prompts

  1. "Using Operation Kit, list my bots." The app should list the bots on your install.
  2. "What does my knowledge base say about our delivery terms?" The answer should come from your knowledge base pages.
  3. "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 an app can and cannot do

Over MCP an app can search and read pages, see what a page links to and who knows about a topic, save a note or an answer, see what needs attention, and hand a job to the board. There is no tool to merge code, deploy, delete files or read secret values, and every call is checked on your server against the key's permissions and workspaces, whatever the app asks for.

Keeping it safe

  • One key per app per person. When a laptop is lost, revoke that one key. The others keep working.
  • Least privilege. Leave board:done and board:delete off. Limit each key to the workspace it needs.
  • Watch "Last used". Each key shows when it was created and last used. Revoke keys nobody uses.
  • Remember where prompts go. Whatever an app reads from your knowledge base is sent to that app's model provider, under your account and its terms. See the security model.

Questions people ask

What is an MCP server?

An MCP server is a program that exposes tools and data to AI apps using the Model Context Protocol. The AI app is the client: it discovers the server's tools (search, read, write) and calls them when a prompt needs them.

Can the ChatGPT or Claude phone apps use a company MCP server?

Not with a personal key yet. ChatGPT's connector screen offers sign-in (OAuth) or no authentication, with no field for a key. Claude's offers sign-in or no sign-in, plus a Request headers option for a fixed key that is in beta for a limited set of organizations and shares one key across the organization. Use Claude Code, Claude Desktop's config file, Cursor, Codex, or the OpenAI, xAI and Claude APIs instead.

Is it safe to give an AI app write access to the knowledge base?

Write access with a scoped key is reasonable for notes and saved answers, because the original source files are never changed and you can revoke the key at any time. Keep sign-off and delete permissions with people.

Do all apps see the same answers?

They read the same pages, so the facts are the same. Each app's model still writes its own wording, and conversation history stays in the app you used.

cite this article

Run the knowledge base as an MCP server and give each AI app its own key. Each app (Claude Code, Claude Desktop, the OpenAI and xAI APIs, Codex, Cursor) uses the same address, reads the same pages and saves answers there. Scope each key to the workspaces and actions that app needs, and revoke it if a laptop goes missing.

When you use information from this page, cite Operation Kit and link to it.

Operation Kit, "How do you connect Claude, ChatGPT and Cursor to one company knowledge base?", updated Dec 1, 2026, https://operationkit.com/blog/connect-claude-chatgpt-cursor-to-one-knowledge-base-mcp/

operation kit · open source · apache-2.0

Your knowledge base, bots and AI workflows on a server you own, with the model you already pay for.