filesystem vs google-drive-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | google-drive-mcp by piotr-agier | |
|---|---|---|
| Stars | ★ 85,748 | ★ 151 |
| 30天用量 | — | — |
| 综合分 | 77 | 49 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 本地文件系统云存储效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
google-drive-mcp · 概述
一个功能全面的 MCP 服务器,可通过 OAuth 认证管理 Google Drive 文件、文档、表格、幻灯片和日历。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
google-drive-mcp · 使用场景
- 自动创建和组织 Google Drive 中的项目文档
- 通过 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 中安装。
google-drive-mcp · 安装
安装
选项 1:使用 npx(推荐)
# 运行服务器(首次运行时自动进行身份验证)
npx @piotr-agier/google-drive-mcp
# 可选:如需要,手动运行身份验证
npx @piotr-agier/google-drive-mcp auth选项 2:本地安装
- 克隆并安装:
``bash git clone https://github.com/piotr-agier/google-drive-mcp.git cd google-drive-mcp npm install ``
- 设置凭据:
```bash # 复制示例文件 cp gcp-oauth.keys.example.json gcp-oauth.keys.json
# 编辑 gcp-oauth.keys.json 并添加您的 OAuth 客户端 ID ```
- 身份验证(可选):
``bash npm run auth ``
Claude Desktop 配置
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": ["@piotr-agier/google-drive-mcp"]
}
}
}