{"openapi":"3.1.0","info":{"title":"Roadbook MCP API","version":"1.0.0","description":"JSON-RPC 2.0 endpoint implementing the Model Context Protocol (MCP). See /docs/mcp for connection instructions and the list of available tools."},"externalDocs":{"description":"MCP tool reference: every tool, its input fields, and its access","url":"https://roadbook.us/docs/mcp#tools"},"servers":[{"url":"https://roadbook.us"}],"paths":{"/mcp":{"post":{"operationId":"mcpJsonRpc","summary":"MCP JSON-RPC 2.0 dispatch","description":"Accepts a single JSON-RPC 2.0 request object, or a batch (array) of up to 50, and dispatches by `method` (e.g. initialize, tools/list, tools/call).","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/JsonRpcRequest"},{"type":"array","items":{"$ref":"#/components/schemas/JsonRpcRequest"},"maxItems":50}]}}}},"responses":{"200":{"description":"JSON-RPC response (or batch of responses)","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/JsonRpcResponse"},{"type":"array","items":{"$ref":"#/components/schemas/JsonRpcResponse"}}]}}}},"401":{"description":"Missing or invalid bearer token"},"429":{"description":"Rate limited"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 access token (see /.well-known/oauth-authorization-server) or a personal MCP token minted from the account settings page."}},"schemas":{"JsonRpcRequest":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"method":{"type":"string"},"params":{"type":"object"}}},"JsonRpcResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"result":{},"error":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}}