affine-mcp-server vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
affine-mcp-server by DAWNCR0W | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 166 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 50 | 77 |
| 官方 | — | ✓ |
| 分类 | 效率工具知识库 / RAG开发者工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
affine-mcp-server · 概述
全面的 AFFiNE MCP 服务器,通过 stdio 或 HTTP 提供 84 个工作区、文档和数据库操作工具。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
affine-mcp-server · 使用场景
- 将 Claude Desktop、Cursor 或其他 AI 客户端连接到 AFFiNE 工作区,以增强文档创建和管理
- 通过 AI 工作流中的 MCP 工具调用自动化 AFFiNE 中的数据库操作
- 为浏览器连接的客户端创建远程 HTTP 端点,以便通过标准化工具与 AFFiNE 交互
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
affine-mcp-server · 安装
安装
- 全局安装 CLI:
npm i -g affine-mcp-server
affine-mcp --version- 或临时运行:
npx -y -p affine-mcp-server affine-mcp -- --version- 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:latestClaude Desktop 配置
添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"affine": {
"command": "affine-mcp"
}
}
}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 中安装。