json-response

June 26, 2026 · View on GitHub

createMcpHandler({ responseMode: 'json' }) — a single application/json body per request instead of an SSE stream. Useful for serverless / edge runtimes that can't hold a stream open. Mid-call notifications are dropped.

HTTP-only by definition.