refactor: mount FastMCP app at / and remove health_check from root to avoid overlap
Some checks failed
Build and Push Monarch MCP Docker Image / build (push) Has been cancelled

This commit is contained in:
Ben
2025-12-24 04:52:17 +00:00
parent 748cc5c711
commit 8fc4312685

View File

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