FastMCP v2 – now defaults to streamable HTTP with SSE fallback

3 days ago 2

Features

BREAKING CHANGES

  • SSE is no longer available as a separate option, but instead is a default fallback of streamable HTTP

Migration

If you had SSE server, simply replace "sse" with "httpStream" and drop endpoint setting:

server.start({ - transportType: "sse", + transportType: "httpStream", - sse: { + httpStream: { - endpoint: "/sse", port: 8080, }, });

If you already had streamable HTTP server, simply drop endpoint (it already defaults to /stream for streamable HTTP and /sse for SSE):

server.start({ transportType: "httpStream", httpStream: { - endpoint: "/stream", port: 8080, }, });

Note

This change is also being rolled out to all servers hosted by Glama.

Read Entire Article