BakedBrie docs

Connect Claude Code

BakedBrie's MCP server is a remote HTTP server. Claude Code connects to it with a bearer token in the Authorization header.

ItemValue
Server namebakedbrie
URLhttps://api.bakedbrie.com/mcp
Transporthttp
HeaderAuthorization: Bearer ${BAKEDBRIE_TOKEN}

Before you start

You need a BakedBrie API token (bbk_prd_...). If you do not have one, see Tokens and the runner. A Full control token can do everything the user can do on the boards they can open. A Read only token can only read.

Step 1: put the token in an environment variable

The user sets it in their own shell. Never write the token into a file you commit, and never paste it into chat.

export BAKEDBRIE_TOKEN='bbk_prd_...'

To keep it across sessions, the user can add that line to their shell profile (for example ~/.zshrc) or load it from their keychain. Start Claude Code from a shell where BAKEDBRIE_TOKEN is set.

Create .mcp.json in the project root. Claude Code expands ${BAKEDBRIE_TOKEN} from the environment when it starts, so the file never holds the token itself and is safe to commit.

{
  "mcpServers": {
    "bakedbrie": {
      "type": "http",
      "url": "https://api.bakedbrie.com/mcp",
      "headers": {
        "Authorization": "Bearer ${BAKEDBRIE_TOKEN}"
      }
    }
  }
}

This is the same snippet the web app shows under Settings, Apps and API, Connect Claude Code.

In an interactive session, Claude Code asks the user to approve a project server from .mcp.json the first time. Until then /mcp shows it as pending approval. claude -p runs skip that prompt.

Step 2 (alternative): claude mcp add

claude mcp add stores the header value literally in ~/.claude.json. Environment variable expansion works only in .mcp.json, so with this command the token itself is saved in plain text in that file. Prefer .mcp.json. If the user still wants the server in every project:

claude mcp add --transport http bakedbrie https://api.bakedbrie.com/mcp \
  --header "Authorization: Bearer $BAKEDBRIE_TOKEN" --scope user

Order matters: --transport first, then the name, then the URL, then --header. --scope takes local (default, this project only), project (writes .mcp.json) or user (all projects).

Step 3: check the connection

claude mcp list
claude mcp get bakedbrie

Inside Claude Code, run /mcp. The bakedbrie server should show as connected.

Then call the whoami tool. It returns the workspace, your role, the token preset and which capabilities are on. See whoami.

If it does not connect

What you seeLikely causeWhat to do
/mcp says the server needs authentication, or calls fail with UNAUTHENTICATEDBAKEDBRIE_TOKEN was empty or wrong when Claude Code started, or the token was revoked or expiredSet the variable in the same shell, restart Claude Code. If the token was revoked or is older than 90 days, mint a new one.
MCP_DISABLEDMCP is turned off on this BakedBrie serverNothing to fix on your side. Tell the user.
API_TOKENS_DISABLEDAPI tokens are turned off on this serverTell the user.
INTERACTIVE_SESSION_REQUIREDThe request did not carry an API tokenCheck the header is exactly Authorization: Bearer bbk_....
TOKEN_RUNNER_ONLYYou used a runner keyRunner keys work only with bakedbrie-runner. Mint a Full control or Read only token.
TOKEN_WORKSPACE_MISMATCHA request named a workspace the token does not belong toDo not send X-Workspace-Id, or send the token's own workspace.

More codes: Refusals.

Remove it

claude mcp remove bakedbrie

Or delete the bakedbrie entry from .mcp.json. To stop the token working everywhere, revoke it in Settings, Apps and API.

Next step

Read Concepts, then call whoami.

View as Markdown