作者 DeusData · DeusData/codebase-memory-mcp
高性能代码智能 MCP 服务器。把代码库索引为持久化知识图谱——一般仓库毫秒级完成。支持 66 种语言,亚毫秒查询,token 用量减少 99%。单个静态二进制,零依赖。
高性能代码智能 MCP 服务器。把代码库索引为持久化知识图谱——一般仓库毫秒级完成。支持 66 种语言,亚毫秒查询,token 用量减少 99%。单个静态二进制,零依赖。
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"codebase-memory": {
"command": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
],
"_inferred": true
}
}
}
打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。
{
"mcpServers": {
"codebase-memory": {
"command": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
],
"_inferred": true
}
}
}
Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。
{
"mcpServers": {
"codebase-memory": {
"command": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
],
"_inferred": true
}
}
}
点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。
{
"mcpServers": {
"codebase-memory": {
"command": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
],
"_inferred": true
}
}
}
格式与 Claude Desktop 相同。重启 Windsurf 生效。
{
"mcpServers": [
{
"name": "codebase-memory",
"command": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
]
}
]
}
Continue 使用服务器对象数组,而非映射。
{
"context_servers": {
"codebase-memory": {
"command": {
"path": "TODO",
"args": [
"See README: https://github.com/DeusData/codebase-memory-mcp"
]
}
}
}
}
加入 context_servers。Zed 保存后热重载。
claude mcp add codebase-memory -- TODO 'See README: https://github.com/DeusData/codebase-memory-mcp'
一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。