mcpField
G
gogcli-mcp-drive

gogcli-mcp-drive

Local
github.com/chrischallFiles & Storage1Updated 3d ago

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

  1. 01Search, list, and manage files
  2. 02Upload, download, and copy files
  3. 03Push local directories recursively
  4. 04Inspect and remove file permissions
  5. 05Manage comments and shared drives

Use cases

  1. 01Transfer files between local storage and Drive
  2. 02Push directory contents into a Drive folder
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"chrischall-gogcli-mcp-drive": {
"command": "npx",
"args": [
"-y",
"gogcli-mcp-drive"
],
"env": {
"GOG_ACCOUNT": "<GOG_ACCOUNT>",
"GOG_PATH": "<GOG_PATH>",
"DISPLAY_TZ": "<DISPLAY_TZ>",
"GOG_READONLY": "<GOG_READONLY>",
"GOG_TIMEZONE": "<GOG_TIMEZONE>"
}
}
}
}
Run commandnpx -y gogcli-mcp-drive
Environment variables to set
GOG_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_York
GOG_READONLYblock all mutating gog API requests (injects gog's --readonly); set to 0/false/no/off (or unset) to allow writes
GOG_TIMEZONEzone gog formats naive dates in; unset, runner.ts hands gog DISPLAY_TZ so the two cannot diverge

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmgogcli-mcp-drive4.8.1

Tools

50

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project 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 [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.

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

License

MIT

Comments

Markdown supported

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.