WC 

win4r/codebase-memory-mcp-pro 是从 https://github.com/win4r/codebase-memory-mcp-pro. 导入的 MCP 服务器候选
概览
win4r/codebase-memory-mcp-pro 是从 https://github.com/win4r/codebase-memory-mcp-pro. 导入的 MCP 服务器候选
概述(AI 翻译)
** 🔱 分叉通知** —
codebase-memory-mcp-pro是 DeusData/codebase-memory-mcp(MIT许可证,© 2025 DeusData)的社区分支,由 @win4r 维护。它跟踪上游并整合了以下修复,以便上游合并:
- 增量重新索引正确性(#528)——在增量重新索引时保留入站的跨文件
CALLS边缘;编辑文件不再调用其符号。- Cypher /
query_graph— 填充通过WITH聚合的节点属性(#465);修正标签过滤遍历在10行处静默截断(#412)。- MCP工具 —
detect_changes尊重since(#464);定义优先名称解析及歧义报告(#466);有效UTF-8格式get_code_snippet(#526)。- 鲁棒性 / 构建 — 堆栈缓冲溢出修复
append_args_json(#475);JSON 控制字符转义(#527);在完整重新索引中保留 ADR(#539);libgit2 ≥ 1.8 构建修复(#512)。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
codebase-memory-mcp-pro
🔱 Fork notice —
codebase-memory-mcp-prois a community fork of DeusData/codebase-memory-mcp (MIT License, © 2025 DeusData), maintained by @win4r. It tracks upstream and integrates the following fixes ahead of their upstream merge:
- Incremental-reindex correctness (#528) — preserve inbound cross-file
CALLSedges on incremental re-index; editing a file no longer orphans calls into its symbols.- Cypher /
query_graph— populate node properties carried throughWITHaggregation (#465); fix label-filtered traversal silently truncating at 10 rows (#412).- MCP tools —
detect_changeshonorssince(#464); definition-preferred name resolution with ambiguity reporting (#466); valid UTF-8 inget_code_snippet(#526).- Robustness / build — stack-buffer-overflow fix in
append_args_json(#475); JSON control-character escaping (#527); preserve ADRs across a full re-index (#539); libgit2 ≥ 1.8 build fix (#512).- Agent-native enhancements (this fork) — a new
exploreMCP tool: one call returns the blast-radius (attributed callers + inline fan-in hotspot flags), nearby neighbors (1-hop callees + same-file siblings, so it covers the surrounding area), and the verbatim line-numbered source of the matched symbols grouped by file, with aquery_graph/Cypher escape-hatch — built for AI agents to read like aRead. Plus idiomatic Swift type kinds —struct/enum/actorare distinct graph labels (Struct/Enum/Actor) instead of all being lumped asClass, and Swift enum cases are extracted as distinctEnumCasenodes (including multi-namecase a, b, clines) — and a Swift enum-static dedup fix (anenum’sstatic funcs are no longer double-emitted as both a Method and a Function node).- Cypher aggregation fix (this fork) — a non-aggregate function mixed with an aggregate (e.g.
RETURN type(r), count(*)) now groups by the function value (one row per edge type) instead of collapsing every row into a single group.detect_changesblast radius (this fork) — thedepthparameter now produces a transitive caller blast radius:impacted_symbolsincludes callers up todepthhops, each tagged withhop+transitive, alongside a dedupedimpacted_count.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"codebase-memory-mcp": {
"command": "/path/to/codebase-memory-mcp",
"args": []
}
}
}