You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clarify streamable_http_path configuration when mounting servers
- Add StreamableHTTP servers section mirroring SSE servers structure
- Start with simple mounting examples, then explain path composition
- Document how to configure streamable_http_path for different scenarios
- Add inline comments in Starlette mounting example
This addresses confusion around endpoint paths when mounting
FastMCP servers as sub-applications in ASGI frameworks.
@@ -1002,6 +1007,89 @@ By default, SSE servers are mounted at `/sse` and Streamable HTTP servers are mo
1002
1007
1003
1008
For more information on mounting applications in Starlette, see the [Starlette documentation](https://www.starlette.io/routing/#submounting-routes).
1004
1009
1010
+
#### StreamableHTTP servers
1011
+
1012
+
You can mount the StreamableHTTP server to an existing ASGI server using the `streamable_http_app` method. This allows you to integrate the StreamableHTTP server with other ASGI applications.
> **Note**: SSE transport is being superseded by [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http).
0 commit comments