What's New
detect_changes tool (NEW)
Map uncommitted git changes to affected graph symbols and their blast radius with risk classification. Supports multiple scopes:
unstaged— working directory changesstaged— staged changes onlyall(default) — both staged and unstagedbranch— diff against a base branch (e.g.main)
Returns changed files, changed symbols, impacted callers with risk scores, and an impact summary.
Risk scoring on trace_call_path
New risk_labels=true parameter adds depth-based impact classification to call chain traces:
- CRITICAL (hop 1) — direct callers/callees, will break
- HIGH (hop 2) — indirect, likely affected
- MEDIUM (hop 3) — may be affected
- LOW (hop 4+) — unlikely but possible
Includes impact_summary with counts per risk tier and has_cross_service flag.
Wider editor support
codebase-memory-mcp install now auto-registers MCP config for:
- Cursor (
~/.cursor/mcp.json) - Windsurf (
~/.codeium/windsurf/mcp_config.json)
In addition to existing Claude Code and Codex CLI support. uninstall cleans up all editors.
MCP SDK upgrade
Upgraded go-sdk from v1.3.1 to v1.4.0 — includes security fixes and MCP spec compliance improvements.
Improved tool descriptions
Inline regex examples on search parameters help AI agents craft precise single-query searches.
Tool Count
14 tools (was 13). Only 1 new tool added (detect_changes), 1 existing tool extended (trace_call_path + risk_labels).
Performance
Zero indexing overhead. Risk scoring is pure post-processing on existing BFS results. detect_changes runs git at tool-call time only — no new pipeline passes or storage.
Install / Upgrade
```bash
First install
go install github.com/DeusData/codebase-memory-mcp/cmd/codebase-memory-mcp@v0.3.1
codebase-memory-mcp install
Upgrade (existing users)
codebase-memory-mcp update
```