feat: add subscription listen streams (SEP-2575) (#1000)
* feat: add subscription listen streams * refactor: reuse legacy request helper
This commit is contained in:
parent
8ee9ee68f1
commit
ff1a715b6e
1 changed files with 3617 additions and 223 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue