Google Drive MCP
local MCP serverGoogle Drive MCP is a local MCP server: Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP. Install it from npm as @piotr-agier/google-drive-mcp.
Installation
Terminal
claude mcp add io-github-piotr-agier-google-drive-mcp -e GOOGLE_DRIVE_OAUTH_CREDENTIALS=... -- npx -y @piotr-agier/google-drive-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"io-github-piotr-agier-google-drive-mcp": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
GOOGLE_DRIVE_OAUTH_CREDENTIALS
Summary
Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.
Google Drive MCP vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| Google Drive MCP | 222 | Local | Yes | npm |
| Google Workspace MCP Server | 10 | Local | No | npm |
| Google Workspace | 189 | Local | Yes | npm |
| Agent-Native Calendar | 6,874 | Hosted | No | None |
| Agent-Native Slides | 6,874 | Hosted | No | None |
Questions
It reads one environment variable: GOOGLE_DRIVE_OAUTH_CREDENTIALS. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
Google Drive MCP is a local MCP server distributed as the npm package @piotr-agier/google-drive-mcp.
Run: claude mcp add io-github-piotr-agier-google-drive-mcp -e GOOGLE_DRIVE_OAUTH_CREDENTIALS=... -- npx -y @piotr-agier/google-drive-mcp
Run: codex mcp add io-github-piotr-agier-google-drive-mcp --env GOOGLE_DRIVE_OAUTH_CREDENTIALS=... -- npx -y @piotr-agier/google-drive-mcp
Similar MCP servers
NameStars
- Google Workspace MCP Serverio.github.conorbronsdon/gws-mcp-server10
- Google Workspaceio.github.aaronsb/google-workspace189
- Agent-Native Calendario.github.BuilderIO/agent-native-calendar6,874
- Agent-Native Slidesio.github.BuilderIO/agent-native-slides6,874
- sec-edgar-mcpio.github.stefanoamorelli/sec-edgar-mcp359
- gflow-cliio.github.ffroliva/gflow-cli234
- Yahoo Financeio.github.narumiruna/yfinance-mcp196
- mcp-gsheetsio.github.freema/mcp-gsheets100