docs: clarify streamable_http_path configuration when mounting servers (#1172)

This commit is contained in:
Felix Weinberger 2025-08-21 14:15:37 +01:00 • committed by GitHub
commit ff02c596a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,3 +47,8 @@ app = Starlette(
],
lifespan=lifespan,
)
# Note: Clients connect to http://localhost:8000/echo/mcp and http://localhost:8000/math/mcp
# To mount at the root of each path (e.g., /echo instead of /echo/mcp):
# echo_mcp.settings.streamable_http_path = "/"
# math_mcp.settings.streamable_http_path = "/"