Files
komodo-mcp-custom/pyproject.toml
Ben e2fa72ea15
All checks were successful
Build and Push Komodo MCP Docker Image / build (push) Successful in 12s
feat: add /health endpoint and switch to fastmcp 2.0
- Switch from mcp package to fastmcp>=2.0 for Streamable HTTP support
  - Fixes 405 Method Not Allowed for MCP clients like Gemini CLI
  - MCP endpoint now at /mcp (POST) instead of /sse (GET)
  - Removes MCP_ALLOWED_HOSTS (handled at reverse proxy level)

- Add /health endpoint for Docker health checks
  - Returns {"status": "ok"} (200) or {"status": "degraded"} (503)
  - Enables health checks without transport security issues

- 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
2025-12-20 23:11:28 +00:00

19 lines
342 B
TOML

[project]
name = "komodo-mcp"
version = "0.1.0"
description = "MCP Server for Komodo Docker Management"
dependencies = [
"fastmcp>=2.0",
"httpx",
"uvicorn",
"python-dotenv",
]
requires-python = ">=3.11"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.uv]
python-version = "3.11"