filesystem vs agent-toolkit
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | agent-toolkit by sanity-io | |
|---|---|---|
| Stars | ★ 85,748 | ★ 137 |
| 30天用量 | — | — |
| 综合分 | 77 | 49 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具数据库 |
| 实现语言 | TypeScript | JavaScript |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
agent-toolkit · 概述
提供对 Sanity 项目直接访问的 MCP 服务器,包含内容管理工具和开发最佳实践。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
agent-toolkit · 使用场景
- 通过 MCP 工具使用 AI 代理创建和管理 Sanity 内容
- 以编程方式部署和更新 Sanity 模式
- 在开发过程中自动应用最佳实践
- 在 Sanity 内容中生成和转换图像
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 中安装。
agent-toolkit · 安装
快速安装
对于大多数兼容的 MCP 客户端:
npx sanity@latest mcp configure手动安装
添加到您的 MCP 配置(格式因客户端而异):
{
"mcpServers": {
"Sanity": {
"type": "http",
"url": "https://mcp.sanity.io"
}
}
}Claude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"Sanity": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.sanity.io", "--transport", "http-only"]
}
}
}