
Google Drive MCP Server
by piotr-agierio.github.piotr-agier/google-drive-mcpv2.12.0
Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.
context tax
queued
security
queued
cold start
queued
freshness
Active8d ago
Install Google Drive MCP server
Install in Claude Code
claude mcp add google-drive-piotr-agier -e GOOGLE_DRIVE_OAUTH_CREDENTIALS='<google-drive-oauth-credentials>' -- npx -y @piotr-agier/google-drive-mcpInstall in Cursor
{
"mcpServers": {
"google-drive-piotr-agier": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<google-drive-oauth-credentials>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"google-drive-piotr-agier": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<google-drive-oauth-credentials>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"google-drive-piotr-agier": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<google-drive-oauth-credentials>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"google-drive-piotr-agier": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<google-drive-oauth-credentials>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_DRIVE_OAUTH_CREDENTIALS | yes | yes | Path to a Google OAuth 2.0 Desktop app credentials JSON file. |
Freshness
Active — last maintenance signal 8d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-01 · 8d ago · GitHub
Latest release
2026-09-25 · 14d ago · GitHub · v2.12.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-25 · 14d ago · official registry · v2.12.0
FAQ
›How do I install the Google Drive MCP server in Claude Code?
Run: claude mcp add google-drive-piotr-agier -e GOOGLE_DRIVE_OAUTH_CREDENTIALS='<google-drive-oauth-credentials>' -- npx -y @piotr-agier/google-drive-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Google Drive require an API key?
Yes. It expects GOOGLE_DRIVE_OAUTH_CREDENTIALS, of which 1 is a secret.
›Can I use Google Drive as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Google Drive in the official MCP registry?
Yes, as io.github.piotr-agier/google-drive-mcp.
Alternatives to Google Drive
Other calendar & scheduling MCP servers.