feat: add subscription listen streams (SEP-2575) (#1000)

* feat: add subscription listen streams

* refactor: reuse legacy request helper
This commit is contained in:
Dale Seo 2026-07-21 09:53:04 -04:00 • committed by GitHub
commit ff1a715b6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,13 @@ A server using streamable HTTP transport for MCP communication, with axum.
- Provides counter tools via HTTP streaming
- Demonstrates streamable HTTP transport configuration
### Modern Subscription Server (`subscriptions_streamhttp.rs`)
A stateless `2026-07-28` server that opens `subscriptions/listen` response
streams, acknowledges the accepted filter, and emits tagged tool-list changes.
- Run with `cargo run -p mcp-server-examples --example servers_subscriptions_streamhttp`
### Counter Streamable HTTP Server with Hyper (`counter_hyper_streamable_http.rs`)
A server using streamable HTTP transport for MCP communication, with hyper.