McpResponseBody
Types
Link copied to clipboard
Empty body (e.g. HTTP 202 Accepted for notifications).
Link copied to clipboard
text/event-stream: flow of SSE data: payloads. Each payload is normally a JSON-RPC message; unrelated notifications may be interleaved.
Link copied to clipboard
application/json (or anything not recognized as SSE/empty): the whole body as raw text.