MCP
The one JSON-RPC door — every tool this credential can reach, and the call that runs one.
The one JSON-RPC door — every tool this credential can reach, and the call that runs one.
| Base URL | https://api.hanzo.ai |
| Operations | 1 |
| Auth | Authorization: Bearer $HANZO_API_KEY |
MCP
JSON-RPC call
POST /v1/mcp
One request, one response, three methods. initialize reports the
protocol version and server capabilities; tools/list returns every
tool this credential can reach; tools/call runs one by name.
Read error before result, and result.isError before
result.content: both failure channels live inside a 200.
id is declared a string. The wire accepts a number too — JSON-RPC 2.0
allows either and this door echoes back the type it was given — but a
scalar oneOf generates an empty carrier class in every typed language,
so the document declares the one form all of them can send.
Request body — application/json (required)
| Field | Type | Required | Description |
|---|---|---|---|
jsonrpc | string | yes | Always 2.0. |
id | string | — | Echoed back on the response; a request without one is a notification. |
method | initialize \ | tools/list \ | tools/call |
params | mcp_Params | — |
How is this guide?