feat: add /health endpoint and switch to Streamable HTTP transport
All checks were successful
Build and Push Komodo MCP Docker Image / build (push) Successful in 14s
All checks were successful
Build and Push Komodo MCP Docker Image / build (push) Successful in 14s
- Switch from legacy SSE transport (sse_app) to Streamable HTTP (http_app)
- Fixes 405 Method Not Allowed for MCP clients like Gemini CLI
- MCP endpoint now at /mcp (POST) instead of /sse (GET)
- Add /health endpoint that bypasses MCP_ALLOWED_HOSTS validation
- Returns {"status": "ok"} (200) or {"status": "degraded"} (503)
- Enables Docker health checks without exposing to external hosts
- Add curl to Docker image for health checks
- Add healthcheck config to docker-compose files
- Add test-health and test-mcp Makefile targets
- Update documentation
This commit is contained in:
@@ -8,7 +8,7 @@ Technical documentation for the Komodo MCP Server.
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ MCP Client (AI Agent) │
|
||||
└─────────────────────────┬───────────────────────────────┘
|
||||
│ SSE
|
||||
│ HTTP (POST /mcp)
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ Docker Container (komodo-mcp) │
|
||||
|
||||
Reference in New Issue
Block a user