refactor: provide http server as tower service (#228)
* refactor: streamable http server as tower service
This commit is contained in:
parent
915bc3fb37
commit
209be7bdb8
1 changed files with 1828 additions and 1180 deletions
|
|
@ -38,12 +38,19 @@ A minimal server example using stdio transport.
|
|||
|
||||
### Counter Streamable HTTP Server (`counter_streamhttp.rs`)
|
||||
|
||||
A server using streamable HTTP transport for MCP communication.
|
||||
A server using streamable HTTP transport for MCP communication, with axum.
|
||||
|
||||
- Runs on HTTP with streaming capabilities
|
||||
- Provides counter tools via HTTP streaming
|
||||
- Demonstrates streamable HTTP transport configuration
|
||||
|
||||
### Counter Streamable HTTP Server with Hyper (`counter_hyper_streamable_http.rs`)
|
||||
|
||||
A server using streamable HTTP transport for MCP communication, with hyper.
|
||||
- Runs on HTTP with streaming capabilities
|
||||
- Provides counter tools via HTTP streaming
|
||||
- Demonstrates streamable HTTP transport configuration
|
||||
|
||||
### Complex OAuth SSE Server (`complex_auth_sse.rs`)
|
||||
|
||||
A comprehensive example demonstrating OAuth 2.0 integration with MCP servers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue