MCP Catalogs
首页

filesystem vs memory

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

filesystem
by modelcontextprotocol
memory
by modelcontextprotocol
Stars★ 85,748★ 85,748
30天用量
综合分7777
官方
分类
本地文件系统开发者工具效率工具
知识库 / RAGAI / LLM 工具效率工具
实现语言TypeScriptTypeScript
最近提交本月本月

filesystem · 概述

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

memory · 概述

一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。

filesystem · 使用场景

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

memory · 使用场景

  • 通过记住用户偏好、历史和关系来个性化 AI 助手交互
  • 构建维护对话历史的上下文感知聊天应用
  • 创建在 AI 模型会话间持久化的知识库

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 中安装。

memory · 安装

安装

Claude Desktop

添加到你的 claude_desktop_config.json 文件中:

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

VS Code

使用一键安装按钮或在 .vscode/mcp.json 中手动配置:

{
  "servers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

Docker

{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": ["run", "-i", "-v", "claude-memory:/app/dist", "--rm", "mcp/memory"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。