mcp response models
Generated file — do not edit by hand. Regenerate from the repo root with
CGO_ENABLED=0 go run scripts/gen-response-models-md.go.
Part of the API response model reference, which explains the Response model and Origin columns. Route inventory: routes.md. Named payload structs: payload-shapes.md.
| Method | Path | Response model | Origin |
|---|---|---|---|
DELETE | /api/mcp | MCP transport — empty 204 on session teardown (Mcp-Session-Id required) | annotation |
GET | /api/mcp | MCP transport — the standalone SSE stream for server-initiated messages (Mcp-Session-Id required; nothing is pushed on it today) | annotation |
POST | /api/mcp | MCP transport — a JSON-RPC response (application/json) or an SSE stream, per the streamable-HTTP spec. Spoken by an MCP client SDK, not by pkg/apiclient; requires the mcp entitlement | annotation |
GET | /api/method/shc.mcp.gate | MethodResponse[GateResponse] | handler |
shc@docs:~$