Developer Platform
MCP Server Guide
Connect Claude Desktop, custom GPTs, or any Model Context Protocol client to your venue. Read schedule, members, passes, bookings, revenue, and alerts conversationally — using the same API key that powers the REST API.
Endpoint
POST https://bookingbible.com/api/mcpTransport: HTTP, JSON-RPC 2.0. Protocol version 2025-03-26. Single requests and batch arrays are both accepted. Authenticate every request with an X-API-Key: bb_live_… header. SSE / streaming is not yet supported.
Quick start — curl
curl -X POST https://bookingbible.com/api/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: bb_live_..." \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Claude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on Windows / Linux:
{
"mcpServers": {
"booking-bible": {
"transport": {
"type": "http",
"url": "https://bookingbible.com/api/mcp",
"headers": { "X-API-Key": "bb_live_..." }
}
}
}
}Restart Claude Desktop. The venue's resources and tools should appear automatically.
Resources (8)
MCP resources are read-only views over your venue's data. Each URI is templated; the client substitutes the path parameter and calls resources/read.
| URI | Name |
|---|---|
| venue://schedule/{date} | Daily schedule |
| venue://classes/{date_range} | Class instances by range |
| venue://members/{query} | Member search |
| venue://member/{id} | Member detail |
| venue://passes | Active pass types |
| venue://bookings/{date} | Bookings on date |
| venue://revenue/{period} | Revenue summary |
| venue://alerts | Active alerts |
Tools (6)
Tools are invokable functions. Inputs are validated against a JSON Schema returned by tools/list; call with tools/call.
| Name | Purpose |
|---|---|
| search_schedule | Find classes by date / type / instructor |
| check_availability | Capacity + remaining seats for a class instance |
| search_members | Find members by name / email / display ID |
| get_member_details | Profile + active passes + recent bookings |
| get_revenue_summary | Revenue totals by currency for a period |
| get_today_overview | Snapshot: today's classes, bookings, open alerts |
Plan + scope requirements
- Your venue's plan must include API access (Pro / Enterprise) AND the platform must have activated
feature_provisioning.api_enabled. - Issue an API key at
/admin/settings/api-keys. Grant the read scopes you want exposed (typicallyread:schedule,read:members,read:bookings,read:passes,read:reports,read:operations). - Rate limiting follows the same per-key window as the REST API (default 100/min).
Error codes
-32601Method not found / unknown tool-32602Invalid params (Zod validation failure)-32001Unauthorized (missing or bad X-API-Key)-32002Forbidden (API key missing required scope)-32003Rate limited-32004Plan does not include API access-32005Resource not found
Out of scope (v1)
- Write operations — read-only in v1; mutations stay on the REST API.
- Stdio transport — HTTP only.
- MCP prompts — resources + tools cover the v1 use cases.
- Real-time subscriptions — poll-based for now.