MCP Catalogs
首页

affine-mcp-server vs memory

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

affine-mcp-server
by DAWNCR0W
memory
by modelcontextprotocol
Stars★ 166★ 85,748
30天用量
综合分5077
官方
分类
效率工具知识库 / RAG开发者工具
知识库 / RAGAI / LLM 工具效率工具
实现语言TypeScriptTypeScript
最近提交本月本月

affine-mcp-server · 概述

全面的 AFFiNE MCP 服务器,通过 stdio 或 HTTP 提供 84 个工作区、文档和数据库操作工具。

memory · 概述

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

affine-mcp-server · 使用场景

  • 将 Claude Desktop、Cursor 或其他 AI 客户端连接到 AFFiNE 工作区,以增强文档创建和管理
  • 通过 AI 工作流中的 MCP 工具调用自动化 AFFiNE 中的数据库操作
  • 为浏览器连接的客户端创建远程 HTTP 端点,以便通过标准化工具与 AFFiNE 交互

memory · 使用场景

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

affine-mcp-server · 安装

安装

  1. 全局安装 CLI:
npm i -g affine-mcp-server
affine-mcp --version
  1. 或临时运行:
npx -y -p affine-mcp-server affine-mcp -- --version
  1. Docker 部署:
docker run -d 
  -p 3000:3000 
  -e MCP_TRANSPORT=http 
  -e AFFINE_BASE_URL=https://your-affine-instance.com 
  -e AFFINE_API_TOKEN=ut_your_token 
  -e AFFINE_MCP_AUTH_MODE=bearer 
  -e AFFINE_MCP_HTTP_TOKEN=your-strong-secret 
  ghcr.io/dawncr0w/affine-mcp-server:latest

Claude Desktop 配置

添加到您的 Claude Desktop 配置中:

{
  "mcpServers": {
    "affine": {
      "command": "affine-mcp"
    }
  }
}

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