INNER CODE UNIT · Python
health
openchoreo/openchoreo · agents/sre-agent/src/main.py:136
async def health():
return {"status": "healthy"}
app.include_router(agent_router)
app.include_router(report_router)
# Mount the MCP server (streamable HTTP) so other agents — e.g. the
# control-plane assistant-agent — can call list_rca_reports /
# get_rca_report / analyze_runtime_state via MCP. The mounted app
# enforces JWT auth on every request via its own middleware.
app.mount("/mcp", make_mcp_app())