Gogcli Mcp Drive

io.github.chrischall由 GitHub 账号 chrischall 发布v4.10.0更新于 Nov 7, 2026

Google Drive via gogcli for Claude — search, upload, download, permissions

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

通过 gogcli 让助手操作 Google 云端硬盘:搜索、上传、下载、复制、共享文件并管理评论。

可以做什么
  • 搜索、列出、获取文件,创建文件夹、重命名和移动
  • 上传本地文件(可替换或转换为 Google 格式)、下载并导出 Docs 格式、递归推送目录、复制文件
  • 列出、添加和移除共享权限;列出共享云端硬盘;生成可分享链接
  • 列出、读取、新增、修改、删除和回复文件评论
  • 执行基础 gog 云端硬盘命令并管理 gogcli 认证
适用场景
适合让助手在不离开对话的情况下查找、整理、共享或评论 Google 云端硬盘中的文件,也包括把本地文件夹批量上传到云端硬盘。
运行要求
以 npm 包 gogcli-mcp-drive 形式在本机运行,需要 Node.js 22 或更高版本,并已安装和认证 gogcli。需设置 GOG_ACCOUNT 为账号邮箱,可用 GOG_PATH 指定二进制路径;DISPLAY_TZ 和 GOG_TIMEZONE 可选,用于日期格式。
安装前请注意
README 说明该项目由 AI 开发,并要求先审查代码和工具权限。写入默认开启:可上传、移动、重命名、更改共享、编辑或删除评论,甚至永久删除;可将 GOG_READONLY 设为阻止修改类请求。它以你已认证的 Google 账号权限行事。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Gogcli Mcp Drive,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

gogcli-mcp-drive

[!WARNING] AI-developed project. This codebase was built and is actively maintained by Claude Code. Review all code and tool permissions before use.

Extended Google Drive MCP server via gogcli. Includes auth tools plus 13 additional dedicated Drive tools for upload/download, permissions, comments, shared drives, and more.

Requirements

  • gogcli installed and authenticated
  • Node.js 22+
bash
brew install gogcligog auth add [email protected] --services drive

Installation

bash
npm install -g gogcli-mcp-drive

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "gogcli-drive": {      "command": "gogcli-mcp-drive",      "env": {        "GOG_ACCOUNT": "[email protected]"      }    }  }}

Claude Code

bash
claude mcp add gogcli-drive -- gogcli-mcp-drive

Extra Drive Tools (13)

Plus 5 auth tools and 9 base Drive tools (ls, search, get, mkdir, rename, move, delete, share, run). Base gog_drive_delete accepts permanent=true for irreversible deletes.

ToolDescription
gog_drive_downloadDownload a file (exports Google Docs formats: pdf, docx, xlsx, etc.)
gog_drive_uploadUpload a local file, optionally replacing an existing file (unconditionally or only at a given version) or converting to Google format
gog_drive_sync_pushRecursively push a local directory's contents into a Drive folder (additive; no remote deletes)
gog_drive_copyCopy a file to a new file with the given name
gog_drive_urlPrint shareable web URLs for one or more files
gog_drive_permissionsList permissions on a file
gog_drive_unshareRemove a permission from a file
gog_drive_drives_listList shared drives (Team Drives)
gog_drive_comments_listList comments on a file
gog_drive_comments_getGet a single comment by ID
gog_drive_comments_addAdd a new comment to a file
gog_drive_comments_updateUpdate a comment's text
gog_drive_comments_deleteDelete a comment
gog_drive_comments_replyReply to an existing comment

Files on a hosted deployment

When this server is hosted (remote), it cannot read paths on your machine. Call gog_upload_slots with files: [{filename}], PUT each file to its uploadUrl with the slot's curl command, then pass the returned blobKeys to gog_drive_upload (instead of localPath or content). Files up to 25 MiB; each is deleted from the upload store after the call succeeds and kept if it fails. On a local install, pass a path as before.

License

MIT

来源:packages/gogcli-mcp-drive/README.md,提交 4302bf8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

22
  1. v4.10.0最新Nov 7, 2026
  2. v4.9.1Nov 5, 2026
  3. v4.8.1Oct 16, 2026
  4. v4.8.0Oct 12, 2026
  5. v4.7.1Oct 10, 2026
  6. v4.7.0Oct 7, 2026
  7. v4.6.3Oct 5, 2026
  8. v4.6.2Oct 5, 2026
  9. v4.6.1Oct 3, 2026
  10. v4.6.0Oct 2, 2026
  11. v4.5.2Sep 28, 2026
  12. v4.5.1Sep 25, 2026
  13. v4.5.0Sep 24, 2026
  14. v4.3.0Sep 23, 2026
  15. v4.2.5Sep 22, 2026
  16. v4.2.4Sep 21, 2026
  17. v4.2.3Sep 21, 2026
  18. v4.2.0Sep 20, 2026
  19. v4.1.0Sep 20, 2026
  20. v4.0.1Sep 18, 2026
  21. v3.0.0Sep 17, 2026
  22. v2.30.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分