MCP Catalogs
首页

MegaMemory vs filesystem

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

MegaMemory
by 0xK3vin
filesystem
by modelcontextprotocol
Stars★ 168★ 85,748
30天用量
综合分5077
官方
分类
知识库 / RAG开发者工具AI / LLM 工具
本地文件系统开发者工具效率工具
实现语言TypeScriptTypeScript
最近提交1 个月前本月

MegaMemory · 概述

MegaMemory 是一个为编程代理创建持久项目知识图谱的 MCP 服务器,支持语义搜索。

filesystem · 概述

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

MegaMemory · 使用场景

  • 长期代码库维护,持久化架构理解
  • 团队协作,跨分支共享知识图谱
  • IDE/编辑器集成,实现上下文感知的编程辅助

filesystem · 使用场景

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

MegaMemory · 安装

安装

npm install -g megamemory

Claude Desktop 配置

添加到 Claude Desktop 配置文件中:

{
  "mcpServers": {
    "megamemory": {
      "command": "megamemory",
      "args": []
    }
  }
}

其他 MCP 客户端

megamemory install --target <客户端名称>

客户端名称可以是 opencode、claudecode、antigravity 或 codex。

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 公开数据自动生成,定期更新。