feat: deprecate the sse transport in favor of Streamable HTTP - #406
Merged
AutomateIP merged 1 commit intoAug 11, 2026
Merged
Conversation
Emit a one-time deprecation warning on sse startup and update all docs/CLI help to steer new deployments toward --transport http. The transport dispatch is intentionally unchanged: sse and http already resolve to the same spec-compliant Streamable HTTP output via http_app(), so this is a documentation/warning change only, not a wire-protocol change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Marks the
ssetransport as deprecated and steers new deployments toward theStreamable HTTP transport (
--transport http). No behavior in the transportdispatch changes — this adds a one-time startup warning plus documentation
updates only.
Changes
logging.warning(...)inServer.run(), guarded bytransport == "sse", pointing users at--transport http.--transportCLI help text and the config field description(the
Literal["stdio","sse","http"]choices are unchanged).the recommended web transport throughout.
docs/mcp.conf.exampleaccordingly.Note on sse vs. http routing (intentional, not an oversight)
A conformance audit found that
sseandhttpare wire-indistinguishable inthis server today: both resolve to the same
self.mcp.http_app()call with notransport=kwarg distinguishing them, and both already emit spec-compliantStreamable HTTP output. The explicit decision here is NOT to change that
routing — only to add the deprecation warning on top. This was empirically
validated live: a legacy HTTP+SSE client gets a 404 against this server, while
a Streamable HTTP client connects via either
--transportvalue. The dispatchcode is byte-for-byte unchanged in this PR.
Testing
make ci, 2836 passed)warning fires once on sse with exact text; no warning on http/stdio;
both sse and http transports function end-to-end (real get_health via a
real MCP client); live OAuth unaffected; legacy-SSE client 404s while
streamable-HTTP connects via either transport value.
Related Issues
WI-2 / G9 (0.14.0 decision table, Tier C #4 / Tier D1 #22).