mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-12 09:47:20 +08:00
Deleting these with the multi-file runtime set threw away properties that do not depend on how many files publish: two wrappers racing to publish the SAME cache still must serialize, a killed publisher still must be reconciled by locked readiness rather than trusted, a failed publication still must restore the prior binary, and a complete foreign winner still must never be deleted. Restored from main and adapted: the staging fixtures publish one binary instead of binary+integrations+pack, and the assertions that read sidecar bytes are gone with the sidecars. Each surviving test keeps its lock/race logic intact (7/10/5/3 assertions respectively, all still reading published binary bytes). Revert-checked against production, not just green: disabling _runtime_backup_target_name makes test_publication_failure_restores... fail and restoring it passes. pypi suite: 28 tests, OK. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
codebase-memory-mcp
mcp-name: io.github.DeusData/codebase-memory-mcp
Fast code intelligence engine for AI coding agents. Indexes an average repository in milliseconds, the Linux kernel (28M LOC) in 3 minutes. Answers structural queries in under 1ms.
This Python wrapper downloads the selected codebase-memory-mcp runtime set from GitHub Releases on first run and verifies it before publishing it in your OS cache directory. The standard set contains the native executable and authenticated integration asset; CBM_VARIANT=ui additionally selects the content-addressed UI pack.
Installation
pip install codebase-memory-mcp
# or
pipx install codebase-memory-mcp
To use the UI variant, set CBM_VARIANT=ui when invoking the wrapper (and consistently for any package-managed update or reinstall).
Usage
codebase-memory-mcp install # configure your coding agents
codebase-memory-mcp --help
Supported platforms
| OS | Architecture |
|---|---|
| macOS | arm64, amd64 |
| Linux | arm64, amd64 |
| Windows | arm64, amd64 |