TTypeScript SDKSource ↗
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.

json-response

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.


Source: examples/json-response/README.md

Generated by smolify with deterministic-repository-import-v1 · 1 source file
json-response — TypeScript SDK · Smolify