mcp-ipfs vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-ipfs by alexbakers | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 16 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 35 | 77 |
| 官方 | — | ✓ |
| 分类 | 云存储开发者工具本地文件系统 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 13 个月前 | 本月 |
mcp-ipfs · 概述
一个MCP服务器,包装w3 CLI,使语言模型能够通过storacha.network与IPFS交互。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-ipfs · 使用场景
- 让AI助手管理IPFS空间和上传文件
- 使语言模型能够生成和分享w3s链接
- 为AI提供管理Web3存储委托和证明的能力
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-ipfs · 安装
安装
- 安装先决条件:
- Node.js 22.0.0或更高版本 - w3 CLI:npm install -g @web3-storage/w3cli - 配置w3:w3 login <your-email@example.com>
- 设置环境变量:
export W3_LOGIN_EMAIL="your-email@example.com"
- 配置您的MCP客户端:
{
"mcpServers": {
"ipfs": {
"command": "npx",
"args": ["-y", "mcp-ipfs"],
"env": {
"W3_LOGIN_EMAIL": "your-email@example.com"
}
}
}
}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 中安装。