gogcli-mcp-drive
MCP server by chrischall Community
Connects Claude to Google Drive through the gogcli command-line tool. It exposes Drive tools for uploading files, sharing, deleting, and commenting on Drive items.
Install gogcli-mcp-drive
Built from the published package, never by AI.
claude mcp add gogcli-mcp-drive -- npx -y gogcli-mcp-driveRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"gogcli-mcp-drive": {
"args": [
"-y",
"gogcli-mcp-drive"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"gogcli-mcp-drive": {
"args": [
"-y",
"gogcli-mcp-drive"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"gogcli-mcp-drive": {
"args": [
"-y",
"gogcli-mcp-drive"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add gogcli-mcp-drive -- npx -y gogcli-mcp-drive{
"mcpServers": {
"gogcli-mcp-drive": {
"args": [
"-y",
"gogcli-mcp-drive"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add gogcli-mcp-drive npx -y gogcli-mcp-driveGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the gogcli-mcp-drive block.
About
gogcli-mcp is a set of Model Context Protocol servers that give Claude natural-language access to Google Workspace through the gogcli command-line tool. The base package covers Sheets, Docs, Gmail, Calendar, Drive, Tasks, Contacts, and Auth. Its Drive tools include upload, share, delete, and comments. The server uses OAuth with your own Google account, and the source states that it does not ship its own OAuth client.
The project is intended for personal, single-user use on your own Google account. Tools that grant access, delete permanently, or reach other people ask you to confirm a preview first. Tools that read or write local files only work inside the directories listed in GOG_FILE_ROOTS. The README describes the project as AI-developed and advises reviewing code and tool permissions before use.
Written from the project's README and checked against it.
Tools it gives your assistant
gog_drive_uploadUploads a file to Google Drive. Local paths must be inside GOG_FILE_ROOTS.gog_drive_shareGrants access to a Drive file. Always asks the user to confirm first.gog_drive_deleteDeletes a Drive file. Moving to trash does not ask. Permanent delete asks first.gog_drive_comments_addAdds a comment to a Drive file. Asks the user to confirm first.gog_drive_comments_replyReplies to a comment thread on a Drive file. Asks the user to confirm first.
What you need
- gogcli installed (Homebrew, Scoop, or a binary from its releases)
- A Google account authenticated with gog auth add
- Your own OAuth client registered in Google Cloud Console
- Node.js 22 or later
| Setting | Needed | What it is |
|---|---|---|
GOG_Environment variable | Optional | Email address of the Google account to use (matches gogcli auth) |
GOG_Environment variable | Optional | Override path to the gogcli binary (auto-discovered otherwise) |
DISPLAY_Environment variable | Optional | zone for *Display fields and for interpreting naive gog values; defaults to America/New_York |
GOG_Environment variable | Optional | block all mutating gog API requests (injects gog's --readonly); set to 0/false/no/off (or unset) to allow writes |
GOG_Environment variable | Optional | zone gog formats naive dates in; unset, runner.ts hands gog DISPLAY_TZ so the two cannot diverge |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Upload this report from my Downloads folder to Google Drive
- Share this Drive file with my colleague
- Add a comment to the project document in Drive
Good to know
- The source describes an AI-developed project. Review code and tool permissions before use.
- Intended for personal, single-user use on your own Google account only.
- Local file access is limited to directories listed in GOG_FILE_ROOTS, which defaults to ~/gogcli-mcp-files.
- The README describes the all-services package. A Drive-only package named gogcli-mcp-drive is not described in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gogcli-mcp-drive
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
gogcli-mcp-drive: common questions
Does gogcli-mcp include its own Google OAuth client?
No. The README says it does not ship a client_secret.json, and users must register their own OAuth client in Google Cloud Console.
Can the server read any file on my computer?
No. Local paths for uploads and downloads must be inside the directories listed in GOG_FILE_ROOTS, which defaults to ~/gogcli-mcp-files.
Will Claude share my Drive files without asking?
No. The README says gog_drive_share always asks the user to confirm a preview through an MCP elicitation prompt.
How do I install gogcli-mcp-drive?
In Claude Code run claude mcp add gogcli-mcp-drive -- npx -y gogcli-mcp-drive. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is gogcli-mcp-drive the official server?
gogcli-mcp-drive is a community project by chrischall, not verified by a company domain.
Is gogcli-mcp-drive free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gogcli-mcp-drive safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gogcli-mcp-drive?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does gogcli-mcp-drive work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
