Google Drive MCP
Google Drive MCP is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP. It has 223 GitHub stars, is released under the MIT license and runs locally with npx -y @piotr-agier/google-drive-mcp.
github.com/piotr-agier/google-drive-mcp (opens in a new tab)
- Needs API key
- Productivity
- MIT
- Actively maintained
Install Google Drive MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"google-drive-mcp": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env GOOGLE_DRIVE_OAUTH_CREDENTIALS=your-value --transport stdio google-drive-mcp -- npx -y @piotr-agier/google-drive-mcpCursor
{
"mcpServers": {
"google-drive-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "google_drive_oauth_credentials",
"description": "GOOGLE_DRIVE_OAUTH_CREDENTIALS",
"password": true
}
],
"servers": {
"google-drive-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "${input:google_drive_oauth_credentials}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
GOOGLE_DRIVE_OAUTH_CREDENTIALSsecret | Yes | Path to a Google OAuth 2.0 Desktop app credentials JSON file. |
About Google Drive MCP
Connect an MCP client to Google Drive, Docs, Sheets, Slides, and Calendar through one self-hosted server. Search and organize files, create and edit Workspace content, manage sharing, and automate multi-step workflows while keeping control of the Google identity and credentials used for every call.
- mcp
- mcp-server
Similar MCP servers
More productivity MCP servers
Kaneo
usekaneo/kaneo
Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients.
OfficialProductivityTypeScriptPraisonAI
MervinPraison/PraisonAI
AI Agents Framework with Self Reflection and MCP support.
ProductivityPythonWindows MCP
CursorTouch/Windows-MCP
An MCP Server for computer-use in Windows OS.
ProductivityPythonExcel MCP Server
haris-musa/excel-mcp-server
Create, read and edit Excel workbooks without Microsoft Excel.
ProductivityPythonBasic Memory
basicmachines-co/basic-memory
Local-first knowledge management with bi-directional LLM sync via Markdown files.
ProductivityPythonRevoGrid DataGrid MCP
revolist/revogrid
Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval.
ProductivityTypeScript
What is Google Drive MCP?
Google Drive MCP is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP. It has 223 GitHub stars, is released under the MIT license and runs locally with npx -y @piotr-agier/google-drive-mcp. The source code is at github.com/piotr-agier/google-drive-mcp.
How do I install the Google Drive MCP MCP server?
Add the command npx -y @piotr-agier/google-drive-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Google Drive MCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (GOOGLE_DRIVE_OAUTH_CREDENTIALS) for the service it connects to, which may require a paid account.
Is Google Drive MCP actively maintained?
The most recent commit was on Oct 1, 2026. The latest release is v2.12.0, published Sep 25, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.