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: