Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.
registry version 2.12.0
npm
npx -y @piotr-agier/google-drive-mcpnpm
npx -y @piotr-agier/google-drive-mcp@2.12.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp@2.12.0"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GOOGLE_DRIVE_OAUTH_CREDENTIALS=<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS> google-drive-mcp-3 -- npx -y @piotr-agier/google-drive-mcp
claude mcp add --env GOOGLE_DRIVE_OAUTH_CREDENTIALS=<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS> google-drive-mcp-3 -- npx -y @piotr-agier/google-drive-mcp@2.12.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp@2.12.0"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}{
"servers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp@2.12.0"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}{
"mcpServers": {
"google-drive-mcp-3": {
"command": "npx",
"args": [
"-y",
"@piotr-agier/google-drive-mcp@2.12.0"
],
"env": {
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
GOOGLE_DRIVE_OAUTH_CREDENTIALS required secret — Path to a Google OAuth 2.0 Desktop app credentials JSON file.⭐ 226 stars · 最近更新于 33 天前 · MIT license
Google Drive MCP Server 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 credentia…
Summary from the project README — github.com/piotr-agier/google-drive-mcp
Distributed as npm, listed under Files & Storage. Review our MCP security guide before granting access to real data.
Google Drive MCP Server 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 credentia
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/piotr-agier/google-drive-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/google-drive-mcp-3/)
HTML
<a href="https://mcpnav.net/server/google-drive-mcp-3/"><img src="https://mcpnav.net/badge/google-drive-mcp-3.svg" alt="Listed on MCPNav" height="20"></a>