Context Fabric is a local-first MCP server that captures Git-backed project state, detects drift, ranks relevant files, applies a token budget, and returns structured briefings to AI coding agents.
No. Context Fabric is designed to run locally without outbound network traffic for its core behavior.
Committed Git objects. Watcher reads from Git, not from the mutable working tree.
They can affect drift detection, but they are not indexed as the new source of truth until they are committed and captured.
Context Fabric writes:
.context-fabric/cf.db.context-fabric/runtime/**.context-fabric/bin/post-commit.git/hooks/post-commit
It does not write user project files from MCP tool calls.
Yes, on a single developer machine. The current design is local-scale, not multi-tenant or distributed.
No. It indexes bounded structural context such as file paths, exports, summaries, and outlines. It does not index full implementation bodies for deep semantic search.
Not completely. It reduces the need for manual session-memory documents, but it should not replace product specs, onboarding material, or stakeholder-facing documentation.
Do not use it if you need:
- a hosted team knowledge platform
- cross-repo or organization-wide search
- multi-machine synchronization
- full-code semantic indexing
- project-file mutation or code execution from MCP tools
Run:
npx context-fabric doctorThis reports schema version, integrity state, capture backlog, and hook/runtime readiness.
Run:
npx context-fabric doctor --repairThis refreshes the local runtime bundle, reinstalls the stable hook wrapper, validates .gitignore, and rebuilds the search index when the database is healthy.
Use this order:
- Finish code, tests, docs, and version alignment.
- Run
npm pack --dry-run. - Manually run
npm publish. - Create and push the matching Git tag.
- Let GitHub Actions publish the MCP registry metadata.