About gogcli-mcp-drive
gogcli-mcp-drive is an MCP server for managing Google Drive through gogcli, for users handling cloud files with Claude. Its tools cover file transfers, permissions, shared drives, and comments, including recursive pushes of local directories.
Key features
- 01Search, list, and manage files
- 02Upload, download, and copy files
- 03Push local directories recursively
- 04Inspect and remove file permissions
- 05Manage comments and shared drives
Use cases
- 01Transfer files between local storage and Drive
- 02Push directory contents into a Drive folder
- 03Review sharing permissions and handle file comments
MCP support
The MCP server exposes Google Drive tools to MCP clients, including authentication, file operations, transfers, permissions, comments, and shared-drive management.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y gogcli-mcp-driveGOG_ACCOUNTEmail address of the Google account to use (matches gogcli auth)GOG_PATHOverride path to the gogcli binary (auto-discovered otherwise)DISPLAY_TZzone for *Display fields and for interpreting naive gog values; defaults to America/New_YorkGOG_READONLYblock all mutating gog API requests (injects gog's --readonly); set to 0/false/no/off (or unset) to allow writesGOG_TIMEZONEzone gog formats naive dates in; unset, runner.ts hands gog DISPLAY_TZ so the two cannot divergeLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
50Saved tool list · updated 2w ago
This tool takes no parameters.
Details
From the project READMEgogcli-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 [email protected] --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": "[email protected]"
}
}
}
}
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 |
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.