filesystem vs magg
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | magg by sitbon | |
|---|---|---|
| Stars | ★ 85,748 | ★ 133 |
| 30天用量 | — | — |
| 综合分 | 77 | 46 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | AI / LLM 工具开发者工具效率工具 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 本月 | 9 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
magg · 概述
MCP 聚合器服务器,可管理多个 MCP 服务器,实现动态工具发现和配置。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
magg · 使用场景
- 根据特定任务需求动态添加 MCP 服务器来扩展 LLM 能力
- 创建模块化 AI 系统,按需加载/卸载工具
- 为多智能体系统构建集中式工具管理
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 中安装。
magg · 安装
安装
推荐的安装方式是使用 uv:
# 安装为工具
uv tool install magg
# 使用 stdio 传输方式运行
magg serve
# 使用 HTTP 传输方式运行
magg serve --http对于 Claude Desktop 配置,添加到 claude_desktop_config.json:
{
"mcpServers": {
"magg": {
"command": "uv",
"args": ["tool", "run", "magg", "serve"]
}
}
}