Skip to main content

Is SSE deprecated?

No. Server-sent events are a current part of the WHATWG HTML standard, and the EventSource API has worked in every major browser since January 2020. When people hear that SSE was deprecated, they are usually thinking of something nearby that was: HTTP/2 Server Push, which Chrome and Firefox removed, or the Model Context Protocol’s original HTTP+SSE transport, which MCP replaced in 2025.

Sending webhooks?
Svix is the enterprise-ready webhook sending service. It handles signing, retries, and delivery observability, so you can ship a reliable webhook platform in minutes instead of months. Start sending webhooks with Svix.

Where SSE stands in browsers and runtimes​

The specification lives in the HTML Living Standard, and no part of it is marked obsolete. MDN lists EventSource as Baseline, widely available, with support across browsers since January 2020. That date is when the last holdout caught up: Microsoft Edge gained EventSource when it moved to Chromium in version 79. Internet Explorer never supported it, which is part of why SSE spent its first decade looking like a niche feature.

Server runtimes are adding it, not dropping it. Node.js shipped a built-in, browser-compatible EventSource client in v22.3.0 and v20.18.0, behind the --experimental-eventsource flag. The streaming APIs from OpenAI and Anthropic both deliver tokens as text/event-stream, which is why ChatGPT streams over SSE rather than a WebSocket. Runtimes do not add APIs that are on their way out, and the newest large category of streaming traffic would not have standardized on one.

HTTP/2 Server Push was removed, not SSE​

The most common source of the confusion is a different feature with a similar name. HTTP/2 Server Push let a server send resources such as stylesheets before the browser asked for them, using PUSH_PROMISE frames. It was a page-load optimization: pushed responses went into the browser’s cache, and no JavaScript API could receive them as messages. Chrome disabled it by default in Chrome 106 in 2022, and Firefox removed it in Firefox 132 in October 2024. Chrome’s recommended replacement is 103 Early Hints.

Headlines about browsers “removing server push” read naturally as news about server-sent events, but the two features never shared a specification. Server Push was defined in the HTTP/2 RFC; SSE is defined in the HTML standard. An SSE stream over HTTP/2 is an ordinary response that stays open, and it kept working through both removals. The Push API behind browser notifications is a third, unrelated feature, and it is not deprecated either.

MCP retired its HTTP+SSE transport, but still uses SSE​

The second source is newer. Version 2024-11-05 of the Model Context Protocol defined an HTTP+SSE transport with two endpoints: the client opened an SSE stream with a GET, the server’s first event told it which URL to POST messages to, and responses came back over the stream. The 2025-03-26 revision replaced it with a transport called Streamable HTTP and labels the old one deprecated. Quoted out of context, “the SSE transport is deprecated” is easy to read as a verdict on SSE itself.

Read the new transport closely and SSE is still in it. Streamable HTTP uses a single endpoint that accepts both POST and GET. A server can answer a POST with Content-Type: text/event-stream to stream several messages back, a GET opens a standing SSE stream for messages the server initiates, and resuming after a dropped connection uses the standard Last-Event-ID header. MCP deprecated the two-endpoint design, not the event-stream format. If you maintain an MCP server on the old transport, migrate to Streamable HTTP, and expect your code to keep writing SSE frames.

The gaps that make SSE look abandoned​

The EventSource API has barely changed since the HTML5 era, and a few of its gaps are real. It only issues GET requests and cannot set headers, so bearer-token authentication needs a cookie, a short-lived token in the query string, or a fetch-based stream reader that gives up automatic reconnection. Over HTTP/1.1, a browser allows six connections per domain across all tabs, and both Chrome and Firefox have marked raising that as “Won’t fix”. Over HTTP/2 the limit is negotiated instead, with a default of 100 streams. Payloads are UTF-8 text, so binary data pays roughly a third extra for base64.

None of those is a deprecation signal. They are the edges of a deliberately small API, and each one has a standard workaround. Our guide to building an SSE endpoint in Express works through them in real code: cookie and CORS authentication, Last-Event-ID replay, and the proxy and compression settings that make a working stream look broken.

When a different transport fits better​

SSE not being deprecated does not make it right for every job. If the client sends messages as often as it receives them, as in chat, multiplayer state, or collaborative editing, use a WebSocket; WebSocket vs SSE walks through the tradeoffs, and what is replacing WebSockets covers where WebTransport fits.

If the receiver is another company’s backend rather than a browser, neither transport fits. Holding a stream open to every integrator is wasteful, and events are lost whenever one of them restarts. That job belongs to webhooks, one short HTTP request per event with retries when it fails; webhooks vs server-sent events covers the split. If you are building the sending side, Svix provides the retries, signatures, and per-endpoint delivery logs, so your browser stream and your outbound webhooks can share one event pipeline.

Frequently asked questions

Is EventSource deprecated in Chrome?

No. Chrome supports EventSource and has not announced any plan to remove it. What Chrome removed, starting in Chrome 106, was HTTP/2 Server Push, an unrelated page-load optimization that JavaScript could never read as a message stream.

Is the SSE transport deprecated in MCP?

Yes. The HTTP+SSE transport from MCP protocol version 2024-11-05 was replaced by Streamable HTTP in the 2025-03-26 revision. Streamable HTTP still streams server messages as text/event-stream and resumes with Last-Event-ID, so the SSE format remains part of MCP.

Does Node.js support server-sent events?

Serving SSE works on any Node.js version, since it is an HTTP response that stays open. For consuming streams, Node.js added a browser-compatible EventSource client in v22.3.0 and v20.18.0, behind the --experimental-eventsource flag.