JSON-RPC endpoint
Send POST requests to MCP root:POST /mcp/on API hostPOST /on MCP host
GET and DELETE on MCP root return 405 Method Not Allowed.
Example: initialize
Example: list tools
Example: call capability tool
Example: list workspaces via MCP capability tool
Error behavior
- Missing bearer token for protected method: JSON-RPC unauthorized error
- Unknown tool name: JSON-RPC invalid params error
- Capability execution failure: tool response includes error text
- OAuth failures include
WWW-Authenticate: Bearer ...challenge headers