filesystem vs github-to-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | github-to-mcp by nirholas | |
|---|---|---|
| Stars | ★ 85,748 | ★ 28 |
| 30天用量 | — | — |
| 综合分 | 77 | 45 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具GitHub 集成 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
github-to-mcp · 概述
将 GitHub 仓库转换为 MCP 服务器,从 OpenAPI、GraphQL 和 REST API 中提取工具。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
github-to-mcp · 使用场景
- 使 AI 助手能够以编程方式探索和交互代码库
- 从现有 API 文档自动生成 MCP 服务器
- 将 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 中安装。
github-to-mcp · 安装
Web 界面(最简单)
访问 [github-to-mcp.vercel.app](https://github-to-mcp.vercel.app) — 粘贴任何 GitHub URL,点击生成,下载您的 MCP 服务器。
CLI(一键命令)
npx @nirholas/github-to-mcp https://github.com/stripe/stripe-nodeClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": ["@nirholas/github-to-mcp", "https://github.com/your/repo"],
"env": {}
}
}
}