API Overview
Authentication
Use a Brainbase API key to authenticate API requests and connect MCP clients to Brainbase. Keep API keys private and pass them as bearer tokens.
How to connect Claude to Brainbase MCP
- 01Open your Brainbase API key settings.
- 02Create a new API key.
- 03Copy the token and store it somewhere safe.
API keys
Create an API key from Brainbase, then use it anywhere the docs show $BRAINBASE_API_KEY or <token>. For direct API requests, send the key in the Authorization header.
curl "https://api.brainbaselabs.com/v2/agents" \
-H "Authorization: Bearer $BRAINBASE_API_KEY"
Connect Claude to the MCP server
Claude can connect to the Brainbase MCP server over SSE. Replace <token> with the API key you created.
claude mcp add --transport sse brainbase https://api.brainbaselabs.com/mcp \
--header "Authorization: Bearer <token>"