filesystem vs go-playground-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | go-playground-mcp by samber | |
|---|---|---|
| Stars | ★ 85,748 | ★ 5 |
| 30天用量 | — | — |
| 综合分 | 77 | 40 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具其它 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
go-playground-mcp · 概述
一个可以在 Go Playground 中执行 Go 代码并生成可分享链接的 MCP 服务器。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
go-playground-mcp · 使用场景
- 需要执行 Go 代码的 AI 助手用于代码示例或调试
- 学习 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 中安装。
go-playground-mcp · 安装
通过 npm 安装:npm install -g go-playground-mcp
对于 Claude Desktop,添加到 config.json:
{
"mcpServers": {
"go-playground": {
"command": "npx",
"args": ["-y", "go-playground-mcp"]
}
}
}