WC

win4r/codebase-memory-mcp-pro

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

248 stars 48 forks 质量 71 趋势 22MIT

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-pro is 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 CALLS edges on incremental re-index; editing a file no longer orphans calls into its symbols.
  • Cypher / query_graph — populate node properties carried through WITH aggregation (#465); fix label-filtered traversal silently truncating at 10 rows (#412).
  • MCP tools — detect_changes honors since (#464); definition-preferred name resolution with ambiguity reporting (#466); valid UTF-8 in get_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 explore MCP 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 a query_graph/Cypher escape-hatch — built for AI agents to read like a Read. Plus idiomatic Swift type kinds — struct/enum/actor are distinct graph labels (Struct/Enum/Actor) instead of all being lumped as Class, and Swift enum cases are extracted as distinct EnumCase nodes (including multi-name case a, b, c lines) — and a Swift enum-static dedup fix (an enum’s static 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_changes blast radius (this fork) — the depth parameter now produces a transitive caller blast radius: impacted_symbols includes callers up to depth hops, each tagged with hop + transitive, alongside a deduped impacted_count.
在 GitHub 查看完整 README

安装

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": [] } } }