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
Some checks failed
Build and Push Monarch MCP Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user