MCP Catalogs
首页

memory vs masquerade

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

memory
by modelcontextprotocol
masquerade
by postralai
Stars★ 85,748★ 76
30天用量
综合分7743
官方
分类
知识库 / RAGAI / LLM 工具效率工具
安全AI / LLM 工具本地文件系统
实现语言TypeScriptPython
最近提交本月9 个月前

memory · 概述

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

masquerade · 概述

Masquerade MCP 是 LLM 的隐私防火墙,在处理前从 PDF 中删除敏感数据。

memory · 使用场景

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

masquerade · 使用场景

  • 在 AI 分析前处理包含敏感客户信息的法律合同
  • 在 LLM 审查前从医疗记录中删除个人健康信息
  • 在使用 AI 助手时保护内部文档中的机密商业数据

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"]
    }
  }
}

masquerade · 安装

安装选项

**选项 1: 自动安装**

curl -O https://raw.githubusercontent.com/postralai/masquerade/main/setup.sh && bash setup.sh

**选项 2: 手动安装**

  1. 使用 Python 3.10-3.12 创建虚拟环境
python3.12 -m venv pdfmcp
source pdfmcp/bin/activate
  1. 安装仓库:
pip install git+https://github.com/postralai/masquerade@main
  1. 配置 Claude:
python -m masquerade.configure_claude
  1. 将以下内容添加到您的 claude_desktop_config.json 中:
{
  "mcpServers": {
    "pdf-redaction": {
      "command": "/path/to/python",
      "args": ["/path/to/mcp_pdf_redaction.py"],
      "env": {
        "TINFOIL_API_KEY": "your_api_key"
      }
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。