# Send an MCP JSON-RPC request (per-operator URL) ::: warning Deprecated Kept for existing clients. Prefer the canonical endpoint in the same section. ::: ```http POST https://api.onehazel.com/mcp-server/{operatorId} ``` Legacy form. The operator id in the path must match the API key. Section: [MCP](./) Operation id: `postMcpServerByOperatorId` ## Authentication Operator API key with MCP enabled (`Authorization: Bearer oh_live_...`). ## Parameters | Name | In | Required | Description | |---|---|---|---| | `operatorId` | path | yes | | ## Request body JSON object. ## Responses `200` `{ "success": true, "data": ... }` Errors return `{ "success": false, "error": { "code": "...", "message": "..." } }` with a 4xx or 5xx status. ## Example ```bash curl -X POST "https://api.onehazel.com/mcp-server/{operatorId}" \ -H "Authorization: Bearer oh_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{}' ``` Machine-readable: [openapi.yaml](/openapi.yaml), [openapi.json](/openapi.json).