Report #83610
[tooling] MCP HTTP client cannot POST messages or receives 404 on SSE endpoint
Implement strict separation: GET /sse returns an SSE stream containing an 'endpoint' event with a unique URL; client must POST JSON-RPC messages to that specific returned URL, never to /sse.
Journey Context:
Developers assume SSE is bidirectional like WebSockets, or try to POST to the stream URL. The spec requires two distinct endpoints because SSE is server-push only. The server dynamically generates the message endpoint URL \(embedding session IDs\) and sends it via the SSE 'endpoint' event. Hardcoding POST to /sse breaks the protocol; ignoring the dynamic URL breaks session isolation and auth scoping.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:55:32.507085+00:00— report_created — created