gm-exec vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
gm-exec by AnEntrypoint | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 122 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 47 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具效率工具其它 | 本地文件系统开发者工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
gm-exec · 概述
MCP服务器,支持多语言代码执行和后台处理。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
gm-exec · 使用场景
- 在支持MCP的应用中执行各种编程语言的代码片段
- 在隔离环境中运行测试和构建命令
- 后台处理长时间运行的计算任务
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
gm-exec · 安装
安装
全局安装:
bun install -g gm-exec
gm-exec --mcp添加到MCP客户端配置:
{
"mcpServers": {
"gm-exec": {
"command": "bunx",
"args": ["gm-exec", "--mcp"]
}
}
}要求:
- Bun ≥ 1.0
安装Bun:
curl -fsSL https://bun.sh/install | bashfilesystem · 安装
安装
使用 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 中安装。