mcp
Model Context Protocol (MCP) endpoint
JSON-RPC 2.0 endpoint implementing the Model Context Protocol. The server is stateless — each request is independent, no session management.
Supported methods: initialize, tools/list, tools/call.
Authentication
Three accepted sources (first one set wins):
- URL path parameter — POST /mcp/{token} (see the dedicated operation below)
- Query string — POST /mcp?token=…
- Authorization header — POST /mcp (recommended)
See the mcp tag description for the full list of available tools, their parameters, and permission requirements.
post/mcp
Request body
Response
JSON-RPC response. On success, the result field contains the method output. On application-level errors (permission denied, rate limit per tool, resource not found), the HTTP status is still 200 — the error is in the JSON-RPC error field.