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
Open API tokens
Go to Settings then API Tokens then New token.
Name it and create it
Give it a name that says where it’s used, like “Claude, Jane’s laptop”, and click Create token.
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:
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.
Name
Name it after your workspace, so each workspace you add gets its own connector:
Nameorcabase-your-workspaceFor example
orcabase-acmefor a workspace called Acme.Remote MCP server URL
URLhttps://api.orcabase.co/api/mcpAuthentication: 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.
Request header
Add a request header with this name:
Header namex-api-tokenand your token as its value (it starts with
tnd_):Header valueYOUR_TOKENMark it Required.
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:
URL: https://api.orcabase.co/api/mcp
Header: X-Api-Token: YOUR_TOKENMore 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:
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-tokenheader 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.