|
Some checks are pending
Build Images / build-server-docker (push) Waiting to run
Build Images / build-mcp-docker (push) Blocked by required conditions
Build Images / build-agents-docker (push) Blocked by required conditions
Build Images / build-frontend-docker (push) Blocked by required conditions
Build Images / build-server-k8s (push) Blocked by required conditions
Build Images / build-mcp-k8s (push) Blocked by required conditions
Build Images / build-agents-k8s (push) Blocked by required conditions
Build Images / build-frontend-k8s (push) Blocked by required conditions
Fixed the health endpoint implementation using the correct FastMCP API:
- Use @mcp.custom_route('/health', methods=['GET']) instead of mcp.create_app()
- Returns 200 when healthy, 503 when starting/degraded
- Provides full health status (api_service, agents_service, uptime)
The previous attempt used mcp.create_app() which doesn't exist in FastMCP 1.12.2.
FastMCP's correct API for custom HTTP endpoints is @mcp.custom_route().
Fixes frontend getting 404 errors on GET /health
|
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile.agents | ||
| Dockerfile.k8s.agents | ||
| Dockerfile.k8s.mcp | ||
| Dockerfile.k8s.server | ||
| Dockerfile.mcp | ||
| Dockerfile.server | ||
| package-lock.json | ||
| pyproject.toml | ||
| pyrightconfig.json | ||
| pytest.ini | ||
| uv.lock | ||