Get connected in 2 minutes
This guide gets you from zero to asking your AI assistant questions about your fleet data. The whole process takes about 2 minutes.Prerequisites
- A Bodha Route Planner account on the Pro or Enterprise plan
- An AI assistant that supports MCP (Claude Desktop, Cursor, Windsurf, or any MCP-compatible client)
Step 1: Generate an API key
1
Open API key settings
Log in to Bodha Route Planner and go to Settings → API Keys (or Integrations → MCP).
2
Create a new key
Click Create Key.
3
Name your key
Give it a descriptive name — for example, “Claude Desktop” or “Cursor IDE”. This helps you identify which key is used where if you create multiple keys later.
4
Choose scopes
Select a scope preset:
- Read-only (recommended) — Grants access to routes, stops, drivers, orders, analytics, and depots. This is everything you need for conversational queries.
- Custom — Pick individual scopes if you want to limit access further.
5
Copy the key
Click Create. Your key appears once — copy it immediately. It cannot be retrieved later.The key looks like this:
Step 2: Add the config to your AI assistant
Every MCP-compatible AI assistant uses the same connection format. Copy this JSON and paste it into your assistant’s MCP configuration file:bdk_live_YOUR_KEY_HERE with the actual key you copied in Step 1.
Where does this JSON go? Each AI assistant has its own config file. See the dedicated setup guides for exact locations:
Step 3: Test the connection
Open your AI assistant and type:“Show me today’s routes”If everything is configured correctly, the assistant will:
- Discover the Bodha Route Planner MCP tools
- Call
list_routeswith today’s date - Return your route data in plain language
“You have 5 routes today with 142 total stops. 3 routes are in progress, 2 are dispatched and waiting to start. Your fleet completion rate so far is 67%.”
Troubleshooting
'No tools found' or connection error
'No tools found' or connection error
Check your config file:
- Make sure the JSON is valid (no trailing commas, no missing quotes)
- Verify the URL is exactly
https://mcp.bodha.run/mcp - Confirm the
Authorizationheader starts withBearer(note the space) - Restart your AI assistant after saving the config
'Forbidden' or '403' error
'Forbidden' or '403' error
The key doesn’t have the required scope for that tool.
- Go to Settings → API Keys
- Check the scopes assigned to your key
- If you need more access, create a new key with Read-only preset (all scopes)
Slow first response (2-5 seconds)
Slow first response (2-5 seconds)
This is normal. The MCP server runs on serverless infrastructure, so the first request after a period of inactivity takes a few seconds to “warm up” (cold start). Subsequent requests in the same session are much faster.
'Rate limit exceeded'
'Rate limit exceeded'
The MCP server allows 60 read calls per minute per key, with a hard limit of 10 requests per second. Normal conversational use rarely hits this. If you do hit it, wait a minute and try again.
What’s next?
Explore all 14 tools
See every tool with parameters, return fields, and example questions.
Scopes & security
Understand how scopes, encryption, and audit logging protect your data.