MCP Catalogs
首页

mem0-mcp-selfhosted vs filesystem

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

mem0-mcp-selfhosted
by elvismdev
filesystem
by modelcontextprotocol
Stars★ 84★ 85,748
30天用量
综合分4877
官方
分类
AI / LLM 工具开发者工具知识库 / RAG
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交2 个月前本月

mem0-mcp-selfhosted · 概述

一个自托管 mem0 MCP 服务器,与 Qdrant、Neo4j 和 Ollama 集成,为 Claude Code 提持久的记忆管理功能。

filesystem · 概述

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

mem0-mcp-selfhosted · 使用场景

  • 跨项目上下文的长时间编码会话中的持久化记忆管理
  • 用于复杂系统的基于知识图谱的实体关系跟踪
  • 使用 Ollama 作为 LLM 后端的本地优先 AI 应用程序

filesystem · 使用场景

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

mem0-mcp-selfhosted · 安装

# 添加带有默认 Anthropic 提供者的全局配置
claude mcp add --scope user --transport stdio mem0 \
  --env MEM0_USER_ID=your-user-id \
  -- uvx --from git+https://github.com/elvismdev/mem0-mcp-selfhosted.git mem0-mcp-selfhosted

# 添加完全本地的 Ollama 配置
claude mcp add --scope user --transport stdio mem0 \
  --env MEM0_PROVIDER=ollama \
  --env MEM0_LLM_MODEL=qwen3:14b \
  --env MEM0_USER_ID=your-user-id \
  -- uvx --from git+https://github.com/elvismdev/mem0-mcp-selfhosted.git mem0-mcp-selfhosted

# 项目特定设置,创建 .mcp.json
{
  "mcpServers": {
    "mem0": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/elvismdev/mem0-mcp-selfhosted.git", "mem0-mcp-selfhosted"],
      "env": {
        "MEM0_PROVIDER": "ollama",
        "MEM0_LLM_MODEL": "qwen3:14b",
        "MEM0_USER_ID": "your-user-id"
      }
    }
  }
}

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