Skip to main content
POST
MCP JSON-RPC gateway

Authorizations

Authorization
string
header
required

Session JWT. After nasiko auth login, print it with jq -r '.clusters[.active].token' ~/.nasiko/config.json. API keys aren't supported.

Headers

Authorization
string
required

Bearer <MCP_GATEWAY_TOKEN> — the per-agent gateway credential injected into the container env at deploy time

traceparent
string | null

W3C trace context naming the flow this call belongs to. Required for tools/call, except for a local coding agent bound with nasiko connect, whose calls run as its owner.

MCP-Protocol-Version
string | null

Negotiated MCP protocol version; an unsupported value is rejected with 400 on implemented methods

Body

application/json

JSON-RPC 2.0 request: tools/list or tools/call

The body is of type object.

Response

JSON-RPC 2.0 response (result or error object)

The response is of type object.