1 v0.1.6 更新于 2026-10-30

codeagent-memory MCP Server

Local code graph and solution memory for coding agents via CLI and MCP.

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端

安装配置

本地运行(docker)
{
  "mcpServers": {
    "codeagent-memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hanochzhu/codeagent-memory:0.1.6"
      ]
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 5 个工具

cam_ls
以虚拟文件系统方式列出已索引的文件和符号。
cam_read
对指定文件或符号进行精准读取(surgical read)。
cam_ref
查询符号的一跳调用者/被调用者引用关系。
cam_recall
通过向量+BM25混合检索召回项目记忆。
cam_add
向记忆树添加总结性记忆内容。