v2.2.0 — FastMCP 4 migration, 12 new tools, type tightening, dep bumps
Minor release — additive (new tools, FastMCP 4 migration, type tightening) with no breaking changes to the public MCP tool API.
Highlights
- FastMCP 4 beta migration — SecurityMiddleware, DI, resources, prompts, elicitation gate, background tasks, built-in middleware
- 12 new tools — subgraphs, model preview, settings read/write, batch cancel, model validation, progress notifications
- Workflow inspector — subgraph recursion + server-side node replacement warnings
- 135 first-party cloud API nodes flagged in dangerous-nodes list
- Type tightening —
PaginationEnvelope,Workflow/WorkflowNode, 10 per-tool result TypedDicts (173 → 142Anyoccurrences) - fastmcp 4.0.0b1 → 4.0.0b3
- Docker artifacts moved to
deploy/docker/, Dockerfile Python 3.12 fix - 6 dependabot PRs applied (setup-uv 9, docker actions, pypi-publish)
- Stale artifacts cleaned (.git.broken-backup, .worktrees, dist, evals)
- PyPI publish fixed — moved from self-hosted to ubuntu-latest runner (OIDC timeout)
Install
pip install comfyui-mcp-secure==2.2.0
# or
docker pull ghcr.io/hybridindie/comfyui_mcp:v2.2.0Verification
- 638 tests pass
- ruff + mypy clean
- wheel + sdist built and published to PyPI
- multi-arch Docker image (amd64 + arm64) published to ghcr.io
Full changelog: see CHANGELOG.md