Streamable HTTP
The endpoint is POST /mcp. Each connection handles one stateless request and
closes after its response. The implementation validates:
- method, endpoint, bounded headers,
Content-Length, and complete body; Content-Type: application/json;Acceptcontaining bothapplication/jsonandtext/event-stream;MCP-Protocol-VersionandMcp-Methodon every request;Mcp-Namefor named operations and all header/body equality;Originagainst the configured exact allow value (an unconfigured server rejects requests that carryOrigin);- request size and a five-second receive timeout.
Notifications receive 202 Accepted with no body. JSON-RPC protocol errors use
the status required by MCP where defined. There is no session header.
The current server always chooses a single application/json response. It does
not yet emit SSE, request-scoped progress notifications, or
subscriptions/listen streams.