Expand description
Shapes that belong to a protocol rather than to the read model: the error body every non-success answer carries, and the JSON-RPC frames of the MCP endpoint.
The MCP frames are modelled because they are response schemas of a sealed operation and the gate accounts for every one of those. Typing a frame is not the same as offering an MCP session, and this crate does not offer one.
Structsยง
- Error
Response - An error body, as every non-success tapes response spells one.
- McpError
- A JSON-RPC 2.0 error object.
- McpRequest
- A JSON-RPC 2.0 request to the streamable MCP endpoint.
- McpResponse
- A JSON-RPC 2.0 response from the streamable MCP endpoint.