Skip to content

Conversation

@domdomegg
Copy link
Member

Summary

  • Moves SSE transport examples to a collapsed <details> section at the bottom of the example list
  • Removes SSE examples from the 'How to Run' section
  • Adds a note explaining that SSE has been removed from newer versions of the MCP spec and that streamable HTTP is preferred

SSE transport is less reliable than streamable HTTP and has been removed from newer versions of the MCP specification.

SSE transport has been removed from newer versions of the MCP spec.
Streamable HTTP is preferred as it is more reliable.

Moves SSE examples to a collapsed details section at the bottom of
the example list and removes them from the 'How to Run' section.
@github-actions github-actions bot added T-documentation Documentation improvements T-examples Example code changes labels Nov 25, 2025
@alexhancock alexhancock self-requested a review November 25, 2025 15:34
Copy link
Contributor

@alexhancock alexhancock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@domdomegg thoughts on timeline for full deletion?

@alexhancock alexhancock merged commit 94428d5 into modelcontextprotocol:main Nov 25, 2025
11 checks passed
@domdomegg
Copy link
Member Author

@domdomegg thoughts on timeline for full deletion?

@alexhancock I think we definitely could do this if you'd be open to it. SSE was removed from the spec quite some time ago now and I don't think anyone should be creating new SSE servers.

I can see it being useful for people maintaining older SSE servers. But there might just not really be any (from Claude.ai traffic I don't think there are any popular rust SSE servers AFAIK). Again, up to you!

Happy to put a PR up to remove if you think we can :)

@alexhancock
Copy link
Contributor

@domdomegg Yeah I am comfortable scorched-earthing SSE stuff now if you want - feels like time...

If someone really wants to do SSE in rust they can rely on an older version of the package until they switch to streamable http.

domdomegg added a commit that referenced this pull request Nov 25, 2025
SSE transport has been removed from the MCP specification in favor of
streamable HTTP. This removes all SSE-specific transport code:

- Remove `transport-sse-client` and `transport-sse-server` features
- Remove `SseClientTransport` and `SseServer` types
- Remove SSE-specific examples (`counter_sse`, `counter_sse_directly`)
- Migrate auth examples from SSE to streamable HTTP
- Update tests to remove SSE transport usage
- Update documentation

BREAKING CHANGE: The following have been removed:
- `transport-sse-client` feature
- `transport-sse-client-reqwest` feature
- `transport-sse-server` feature
- `SseClientTransport` type
- `SseServer` type
- `sse_client` and `sse_server` modules

Users should migrate to streamable HTTP transport which provides
equivalent functionality. See `StreamableHttpClientTransport` and
`StreamableHttpService` for the replacement APIs.

Ref: #561 (comment)
domdomegg added a commit that referenced this pull request Nov 25, 2025
SSE transport has been removed from the MCP specification in favor of
streamable HTTP. This removes all SSE-specific transport code:

- Remove `transport-sse-client` and `transport-sse-server` features
- Remove `SseClientTransport` and `SseServer` types
- Remove SSE-specific examples (`counter_sse`, `counter_sse_directly`)
- Migrate auth examples from SSE to streamable HTTP
- Update tests to remove SSE transport usage
- Update documentation

BREAKING CHANGE: The following have been removed:
- `transport-sse-client` feature
- `transport-sse-client-reqwest` feature
- `transport-sse-server` feature
- `SseClientTransport` type
- `SseServer` type
- `sse_client` and `sse_server` modules

Users should migrate to streamable HTTP transport which provides
equivalent functionality. See `StreamableHttpClientTransport` and
`StreamableHttpService` for the replacement APIs.

Ref: #561 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-documentation Documentation improvements T-examples Example code changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants