From 57a225b7493127afd4737715a9fd7a871c0dfd8a Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 13 Jun 2026 16:34:59 +0000 Subject: [PATCH] Use streamable_http_app() instead of to_asgi_app() --- src/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.py b/src/server.py index 98a7476..6dce236 100644 --- a/src/server.py +++ b/src/server.py @@ -581,7 +581,7 @@ def main(): ) # Build ASGI app (FastMCP exposes to_asgi_app in current SDKs) - app = mcp.to_asgi_app() + app = mcp.streamable_http_app() # Apply API key auth if configured if api_key: