Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect with an API key

By default you connect to the Birdie MCP Server by signing in with your own Birdie account (OAuth). Some setups cannot do that, or should not depend on one person's session:

  • a shared assistant or an internal agent your team runs,

  • a client or gateway that cannot open a browser sign-in,

  • an automation that must keep working when somebody leaves or logs out.

For these, Birdie issues an API key that belongs to a service account of your organization instead of a person. The client sends the key with every request, and there is no sign-in and no session to expire.

Getting a key

Your Birdie contact creates the service account and its key. See Service accounts for what to ask for, how keys are shown and revoked, and how to manage the account on the Users page.

You receive the key once, so keep it in a password manager or secret store.

Setup

Every client needs the same two things:

  • Server URL: https://app-api.birdie.ai/mcp

  • Header: Authorization: Bearer brd_… (the word Bearer, a space, then your key)

Where a client can read the key from an environment variable, prefer that, and never commit the key to a repository.

Claude Code (CLI)

Or in a project's .mcp.json, with the key in the BIRDIE_API_KEY environment variable:

Start a new session after changing the configuration. A running session keeps the one it started with. /mcp shows whether Birdie is connected.

Claude Desktop

Claude Desktop reaches remote servers through mcp-remote, which needs Node.js installed. Open Settings > Developer > Edit Config and add:

Quit Claude Desktop completely and open it again. Settings > Developer should show birdie as running.

If the server fails to start with spawn npx ENOENT, Claude Desktop cannot find Node.js. This is common when Node is installed with a version manager such as nvm. Use the full path to npx as command, for example /Users/you/.nvm/versions/node/v24.12.0/bin/npx.

Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

VS Code (GitHub Copilot)

.vscode/mcp.json. VS Code asks for the key once and stores it encrypted:

Codex CLI

~/.codex/config.toml, with the key in the BIRDIE_API_KEY environment variable:

Gemini CLI

~/.gemini/settings.json:

Other clients and gateways

Any MCP client or gateway that can send a fixed Authorization header over Streamable HTTP works with the URL and header above.

Claude.ai (web) and ChatGPT connectors cannot send a fixed header. Connect them with your Birdie account as described in Setup.

Check that the key works

A working key answers with "serverInfo":{"name":"Birdie MCP Server", …}.

Troubleshooting

401 with "Missing or invalid Authorization header"

The header is missing, or its value does not start with Bearer (with the space). Check the header name and value in your client's configuration.

403 "API key is unknown, revoked or expired"

The key is not valid: mistyped, revoked, expired, or its service account was disabled, blocked or removed. Ask your Birdie contact whether it is still active, or for a new one.

The client opens a browser sign-in, or reports "Dynamic Client Registration rejected"

The key did not reach Birdie, so the client fell back to signing in. Do not sign in. That would connect as you, not as the service account. Fix the header as described in the 401 above. With mcp-remote, also delete its saved sign-in state (~/.mcp-auth) and restart the client.

403 "no access to the requested organization"

A key belongs to one organization. Use the plain URL https://app-api.birdie.ai/mcp, not one that names another organization.

Connected, but answers are empty

The service account can see several workspaces and none at organization level, so each question must name a workspace. Ask the assistant to list the workspaces and pick one, or limit the service account to a single workspace.

Connected, but something you expected is missing

The key sees what its service account's access allows, and nothing more. Ask the assistant what it can see, and talk to your Birdie contact if something is missing.

Last updated