
MCP的持久代码智能,有原生图,矢量,全文,并交叉存储器搜索.
概览
一个本地的 MCP 服务器, 将一个代码库索引为您的编码代理可以查询的知识图 。 代码基-memory-mcp 将您的寄存器与树护和类型意识解析器,存储函数,类,调用,路径,以及一个本地数据库中的交叉服务链接,并通过15个MCP工具将其曝光. 您的代理人询问“ 程序命令 ” , 然后从图表中获取答案, 而不是通过文件复制文件 。 这是DeusData/codebase-memory-mcp的分叉. 它有选择地采用上游固定和特征。 它不映射上游发行,它的存储也不同:每个寄存器都生活在一个共享的Zova数据库中,而不是每个项目一个SQLite文件. 如果PowerShell拒绝运行脚本,使用PowerShell - Execution Policy Bypass - File\install.ps1. 安装者为您的平台下载发布归档, 对照发布校验和. txt进行校验, 将二进制安装到 ~/. local/ bin, 并配置它检测到的每个编码代理 .
概述(AI 翻译)
一个本地的 MCP 服务器, 将一个代码库索引为您的编码代理可以查询的知识图 。
代码库 - 记忆 - mcp 将您的寄存器与树护工和有类型意识的解析器, 存储 一个本地数据库中的函数、类、呼叫、路线和交叉服务链接,并显示它们 通过15个MCP工具。 你的经纪人问"什么电话[T0]" 然后从图中得到答案 而不是通过文件复制文件 。
[有价值]
这是DeusData/codebase-memory-mcp的分叉. 它有选择地采用上游修正和特征。 它不反映上游的释放,及其 存储不同: 每个寄存器生活在一个共享的 Zova 数据库而不是每个项目的 SQLite 文件。
□ 目录
- 安装
- 快开始
- 升级到2.0
- 如何运作
- 我们能做什么?
- MCP工具
- 图表数据模型
- 探员
- CLI(英语:CLI)
- 配置
- 储存和Zova作业
- 从源头建造
- 诊断和解决问题
- 当前边界
- 警卫
- 执照
□ 安装
macOS/Linux:
** 窗户(PowerShell):**
如果PowerShell拒绝运行脚本,则使用[[T1].
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
codebase-memory-mcp
A local MCP server that indexes a codebase into a knowledge graph your coding agent can query.
codebase-memory-mcp parses your repositories with tree-sitter and type-aware resolvers, stores
functions, classes, calls, routes, and cross-service links in one local database, and exposes them
through 15 MCP tools. Your agent asks “what calls ProcessOrder?” and gets the answer from the graph
instead of grepping file by file.
[!IMPORTANT] This is a fork of DeusData/codebase-memory-mcp. It adopts upstream fixes and features selectively. It does not mirror upstream releases, and its storage is different: every repository lives in one shared Zova database instead of a SQLite file per project.
Contents
- Install
- Quick start
- Upgrading to 2.0
- How it works
- What it can do
- MCP tools
- Graph data model
- Agents
- CLI
- Configuration
- Storage and Zova operations
- Build from source
- Diagnostics and troubleshooting
- Current boundaries
- Security
- License
Install
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/octacity-org/codebase-memory-mcp/main/install.sh | bash
Windows (PowerShell):
Invoke-WebRequest -Uri https://raw.githubusercontent.com/octacity-org/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1
Unblock-File .\install.ps1
.\install.ps1
If PowerShell refuses to run the script, use PowerShell -ExecutionPolicy Bypass -File .\install.ps1.
The installer downloads the release archive for your platform, verifies it against the release
checksums.txt, installs the binary to ~/.local/bin, and configures every coding agent it detects.
It does not overwrite an existing different binary or MCP entry unless you ask it to.
| Option | Effect |
|---|---|
--dir= |
Install somewhere other than ~/.local/bin |
--skip-config |
Install the binary only; leave agent configuration alone |
--replace |
Replace a different existing binary |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"codebase-memory-mcp": {
"command": "/absolute/path/to/codebase-memory-mcp",
"args": []
}
}
}