filesystem vs gospy
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | gospy by monsterxx03 | |
|---|---|---|
| Stars | ★ 85,748 | ★ 96 |
| 30天用量 | — | — |
| 综合分 | 77 | 44 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具可观测性运维基建 |
| 实现语言 | TypeScript | Go |
| 最近提交 | 本月 | 9 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
gospy · 概述
Go 进程检测器 MCP 服务器,提供协程分析、内存统计和二进制信息,可通过终端 UI 或 API 访问。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
gospy · 使用场景
- 通过检查协程状态和内存使用情况调试 Go 应用程序
- 监控生产环境中的 Go 服务以发现性能问题和资源泄漏
- 分析第三方 Go 二进制文件的运行时特征,无需源代码
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 中安装。
gospy · 安装
安装
go install github.com/monsterxx03/gospy@latestClaude Desktop 配置
添加到 Claude Desktop config.json:
{
"mcpServers": {
"gospy": {
"command": "sudo",
"args": ["gospy", "serve", "--enable-mcp", "--port", "8974"],
"env": {}
}
}
}