v0.22.1 — Fix MCP server crash, init fallback for headless environments
Overview
Patch release fixing two issues that prevented fw-context from working
in minimal environments (Docker, CI, headless servers) where no AI
assistants are installed.
Changes
Fixes
- MCP server crash on uninitialized project — server no longer crashes
at startup whenfw-context inithasn't been run. Catches
ProjectNotInitializedErrorand starts without database support. - Init fallback for headless environments —
fw-context initnow
falls back to Claude Code configuration when no AI assistants are
detected, ensuring full project initialization succeeds in Docker
containers, CI, and headless build servers.
| File | Change |
|---|---|
src/fw_context_mcp/mcp/server.py |
Wrap _db_path() in try/except, catch ProjectNotInitializedError |
src/fw_context_mcp/cli.py |
Fall back to Claude Code when no AI tools detected |
glama.json, pyproject.toml, server.json |
Version bump 0.22.0 → 0.22.1 |
Breaking changes
None.