Set up Claude and ChatGPT

Create an API token, then add Orcabase to Claude Code, Claude Desktop, claude.ai or ChatGPT as an MCP connector. Commands and settings included.

Setting up takes two steps: create a token in Orcabase, then add Orcabase to your assistant. The app has the same instructions, filled in for your workspace, under Settings then MCP.

1. Create a token

  1. Open API tokens

    Go to Settings then API Tokens then New token.

  2. Name it and create it

    Give it a name that says where it’s used, like “Claude, Jane’s laptop”, and click Create token.

  3. Copy it now

    Click Copy token. It starts with tnd_, and it’s shown only this once: Orcabase keeps a scrambled version it can check, not the token itself. Lost it? Revoke it and create another.

Treat it like a password

Anyone with the token can query your workspace’s data and create things in it. Keep it out of shared documents and code repositories. See API tokens.

2a. Claude Code

Run this once in a terminal, with your token in place of YOUR_TOKEN:

Terminal
claude mcp add --transport http orcabase-your-workspace \
  https://api.orcabase.co/api/mcp \
  --header "X-Api-Token: YOUR_TOKEN"

Check it with claude mcp list, then just ask: “What data sources do we have?” or “Chart daily signups for the last 30 days.” Replace orcabase-your-workspace with your workspace’s name, as below.

2b. Claude Desktop and claude.ai

In Claude, go to Settings then Connectors then Add custom connector and fill in the form. The app shows these values filled in for your workspace under Settings then MCP, each with a copy button.

  1. Name

    Name it after your workspace, so each workspace you add gets its own connector:

    Name
    orcabase-your-workspace

    For example orcabase-acme for a workspace called Acme.

  2. Remote MCP server URL

    URL
    https://api.orcabase.co/api/mcp
  3. Authentication: No sign-in

    Under Authentication, pick No sign-in, the option for servers that use an API key. Not Sign in now or Use your own OAuth client: Orcabase doesn’t use OAuth, so those ask for a client ID you don’t have.

  4. Request header

    Add a request header with this name:

    Header name
    x-api-token

    and your token as its value (it starts with tnd_):

    Header value
    YOUR_TOKEN

    Mark it Required.

  5. Add it

    Click Add, then ask Claude: “What data sources do we have?”

“Couldn’t connect to the server”

This is how Claude reports a missing or wrong token, not a wrong URL. Edit the connector and check that Authentication is No sign-in, the header is named x-api-token, and its value is the whole token and hasn’t been revoked. Then click Reconnect.

2c. ChatGPT

Whether ChatGPT can add a connector that uses a header token depends on your plan and ChatGPT’s current rollout. Where it can’t, the same endpoint and token work from a Custom GPT action, or from OpenAI’s Responses API with its built-in MCP support:

Connection details
URL:    https://api.orcabase.co/api/mcp
Header: X-Api-Token: YOUR_TOKEN

More than one workspace

A token only ever reaches one workspace. If you work in several, create a token in each and add one connection per workspace, named after it, so the second doesn’t replace the first:

Terminal
claude mcp add --transport http orcabase-acme https://api.orcabase.co/api/mcp \
  --header "X-Api-Token: ACME_TOKEN"
claude mcp add --transport http orcabase-globex https://api.orcabase.co/api/mcp \
  --header "X-Api-Token: GLOBEX_TOKEN"

Claude Code keeps every connection open, so you can say “using orcabase-acme…” and then “now the same for orcabase-globex” in one conversation.

If it doesn’t connect

  • 401 or “unauthorized”: the token is wrong, revoked, or missing its header. Check the header name (X-Api-Token) and that the whole token was pasted.
  • Claude says “Couldn’t connect to the server”: the token is missing or wrong. Check Authentication is No sign-in and the x-api-token header holds a valid token, then click Reconnect.
  • Claude asks for an OAuth client ID: go back and pick No sign-in under Authentication.
  • The assistant can’t find a table: the data source has to exist in Orcabase first. Tokens can’t add data sources.

Something unclear or missing? Troubleshooting covers the common errors, or message us.

Popular

    ↑↓ to move↵ to openesc to close