gogcli-mcp-drive

v4.12.0
io.github.chrischall/gogcli-mcp-drive Checked 5 hours ago Published 22 days ago

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

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. Add to ~/Library/Application Support/Claude/claude_desktop_config.json: 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.

Summary extracted from the 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+
brew install gogcli
gog auth add your@gmail.com --services drive

Installation

npm install -g gogcli-mcp-drive

Claude Desktop

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

{
  "mcpServers": {
    "gogcli-drive": {
      "command": "gogcli-mcp-drive",
      "env": {
        "GOG_ACCOUNT": "you@gmail.com"
      }
    }
  }
}

Claude Code

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.

Tool Description
gog_drive_download Download a file (exports Google Docs formats: pdf, docx, xlsx, etc.)
gog_drive_upload Upload a local file, optionally replacing an existing file (unconditionally or only at a given version) or converting to Google format
gog_drive_sync_push Recursively push a local directory's contents into a Drive folder (additive; no remote deletes)
gog_drive_copy Copy a file to a new file with the given name
gog_drive_url Print shareable web URLs for one or more files
gog_drive_permissions List permissions on a file
gog_drive_unshare Remove a permission from a file
gog_drive_drives_list List shared drives (Team Drives)
gog_drive_comments_list List comments on a file
gog_drive_comments_get Get a single comment by ID
gog_drive_comments_add Add a new comment to a file
gog_drive_comments_update Update a comment's text
gog_drive_comments_delete Delete a comment
gog_drive_comments_reply Reply 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