MCP Catalogs
首页

codex-agent-mem vs filesystem

并排对比,帮你在这两个 MCP server 之间做选择。

codex-agent-mem
by MarceloCaporale
filesystem
by modelcontextprotocol
Stars★ 21★ 85,748
30天用量
综合分4377
官方
分类
AI / LLM 工具开发者工具效率工具
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交本月本月

codex-agent-mem · 概述

本地优先的 MCP 内存层,使用 SQLite + FTS5 压缩上下文包,支持多种 AI 编程工作流。

filesystem · 概述

功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。

codex-agent-mem · 使用场景

  • 通过本地持久化内存改善长时间运行 AI 编程工作流的上下文连续性
  • 通过将重复的操作上下文压缩为更小的包来减少 AI 代理的令牌使用
  • 为敏感的开发项目创建可审计的内存系统,避免数据外传

filesystem · 使用场景

  • 使 AI 模型能够读取和写入项目文件进行开发
  • 允许 Claude 或其他 MCP 客户端浏览和分析代码库
  • 为内容生成提供对特定目录的安全沙盒访问

codex-agent-mem · 安装

通过 pip 安装 codex-agent-mem:

pip install codex-agent-mem

对于 Claude Desktop,添加到 config.json:

{
  "mcpServers": {
    "codex-agent-mem": {
      "command": "codex-agent-mem",
      "args": ["--read-only", "--profile", "minimal"]
    }
  }
}

该服务器还支持 stdio 模式,可为其他 MCP 兼容客户端提供多种运行时配置文件(minimal、standard、full)和配置选项。

filesystem · 安装

安装

使用 NPX

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory"
      ]
    }
  }
}

使用 Docker

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
        "mcp/filesystem",
        "/projects"
      ]
    }
  }
}

VS Code 扩展

点击 README 中的安装按钮直接在 VS Code 中安装。

对比内容由 README + GitHub 公开数据自动生成,定期更新。