github-mcp-server vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
github-mcp-server by github | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 29,881 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 64 | 77 |
| 官方 | — | ✓ |
| 分类 | GitHub 集成开发者工具效率工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 本月 | 本月 |
github-mcp-server · 概述
GitHub 官方 MCP 服务器将 AI 工具连接到 GitHub 平台,实现仓库管理、问题自动化和代码分析。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
github-mcp-server · 使用场景
- 在 AI 助手中浏览和分析代码仓库
- 自动化创建和管理 GitHub 问题与拉取请求
- 监控和分析 CI/CD 管道和 GitHub Actions 工作流
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
github-mcp-server · 安装
安装选项
远程安装(推荐)
添加到您的 MCP 主机配置(例如 VS Code 1.101+)中:
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}对于 Claude Desktop,添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"github": {
"command": "http",
"args": ["https://api.githubcopilot.com/mcp/"]
}
}
}本地安装
使用 Docker:
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your_token ghcr.io/github/github-mcp-server或者克隆仓库后从源码安装。
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 中安装。