Setup & Connection
Connect your AI client to the Braking Lab MCP Server with step-by-step instructions.
The MCP Server uses OAuth 2.0 with PKCE for authentication. Most AI clients handle this automatically — you just paste the server URL and authorize with your Braking Lab account.
Server URL
https://mcp.brakinglab.com/mcp
Claude Desktop
- Open Claude Desktop settings
- Go to MCP Servers
- Click Add Server and paste the server URL
- When prompted, authorize with your Braking Lab account
- Start chatting — Claude now has access to your racing data
Configuration file (claude_desktop_config.json):
{
"mcpServers": {
"braking-lab": {
"url": "https://mcp.brakinglab.com/mcp"
}
}
}
Cursor
- Open Settings → MCP
- Click Add new MCP server
- Set type to streamable-http
- Paste the server URL:
https://mcp.brakinglab.com/mcp - Authorize when the OAuth window opens
Windsurf
- Open Settings → MCP Servers
- Add a new server with the URL:
https://mcp.brakinglab.com/mcp - Complete the OAuth authorization flow
ChatGPT
ChatGPT supports direct MCP connections via Developer Mode (Pro, Plus, Business, Enterprise, or Education accounts).
- Open Settings → Apps → Advanced settings
- Enable Developer mode
- Go to Settings → Connectors
- Click Create and paste the server URL:
https://mcp.brakinglab.com/mcp - Follow the OAuth flow to authorize with your Braking Lab account
- Start a new conversation — ChatGPT now has access to your racing data
Custom Clients
The server implements standard discovery endpoints:
| Endpoint | Purpose |
|---|---|
/.well-known/oauth-authorization-server | OAuth metadata (RFC 8414) |
/.well-known/oauth-protected-resource | Resource metadata (RFC 9728) |
/oauth/register | Dynamic client registration |
/oauth/authorize | Authorization endpoint |
/oauth/token | Token endpoint |
Any MCP client that follows the standard can discover and connect automatically.
Authentication Flow
- Client registers via
/oauth/register(one-time, automatic) - Authorization Code + PKCE: client redirects to Braking Lab consent page
- User approves: grants the AI access to their data
- Token exchange: client receives access + refresh tokens
- MCP connection: client calls
POST /mcpwith Bearer token
Tokens refresh automatically. You only need to authorize once per client.
Troubleshooting
”Unauthorized” or 401 errors
- Re-authorize your AI client — your token may have expired
- Check that you’re using the correct server URL (with
/mcppath)
“Connection refused”
- Verify you have an active internet connection
- Check the server status
”No data found”
- Ensure you have telemetry sessions synced via Capture
- The MCP Server only accesses data from your authenticated account
AI can’t find tools
- Some clients cache tool definitions. Try disconnecting and reconnecting
- Ensure the server is listed as active in your client’s MCP settings