Skip to content
appsgit

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)

Install Google Drive MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "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-mcp

Cursor

.cursor/mcp.json
{
  "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

.vscode/mcp.json
{
  "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.

NameRequiredDescription
GOOGLE_DRIVE_OAUTH_CREDENTIALSsecretYesPath 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

FAQ

Google Drive MCP FAQ

Still curious? Email info@appsgit.com.

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.