fix: mount FastMCP app at /mcp to correctly route SSE traffic
All checks were successful
Build and Push Monarch MCP Docker Image / build (push) Successful in 7s

This commit is contained in:
Ben
2025-12-24 04:50:48 +00:00
parent 75ba3433e8
commit 748cc5c711

View File

@@ -183,7 +183,7 @@ def create_app():
routes = [ routes = [
Route("/health", health_check, methods=["GET"]), Route("/health", health_check, methods=["GET"]),
Mount("/", app=mcp_app), Mount("/mcp", app=mcp_app),
] ]
return Starlette(routes=routes, lifespan=mcp_app.lifespan) return Starlette(routes=routes, lifespan=mcp_app.lifespan)