mcpbeat Sign in

Google Drive MCP Server

by piotr-agier Your server? Claim it
local only

Google Drive MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 7 403 installs a week from npm. Last commit 29 Nov 2026.

Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.

Installs per day peak 3 175 · avg 876 · +40% w/w
a month agotoday
7 403
Installs / week
npm · @piotr-agier/google-drive-mcp
246
Stars
3 open issues
29 Nov 2026
Last commit
9 releases in 90 days
MIT
License
TypeScript

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add google-drive-mcp -e 'GOOGLE_DRIVE_OAUTH_CREDENTIALS=<GOOGLE_DRIVE_OAUTH_CREDENTIALS>' -- npx -y @piotr-agier/google-drive-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.google-drive-mcp]
command = "npx"
args = ["-y", "@piotr-agier/google-drive-mcp"]
env = { GOOGLE_DRIVE_OAUTH_CREDENTIALS = "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>" }
.cursor/mcp.json
{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "google-drive-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@piotr-agier/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "<GOOGLE_DRIVE_OAUTH_CREDENTIALS>"
      }
    }
  }
}

Put your own value in place of <GOOGLE_DRIVE_OAUTH_CREDENTIALS> (Path to a Google OAuth 2.0 Desktop app credentials JSON file). The author’s registry entry marks it as required.

What the code does

We read the source, 2 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation src/tools/docs.ts:3016
          `To update it, use updateGoogleDoc with documentId: ${existingFileId}`
Secret passed into the image build Dockerfile:22
ENV GOOGLE_DRIVE_MCP_TOKEN_PATH=/config/tokens.json
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Touches key and credential files .github/workflows/publish.yml:31
          rm -f .npmrc || true

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to Google Drive MCP

same job, measured the same way
W
Workspace MCP
by taylorwilsdon

Google Workspace MCP server for Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Chat.

77 814 installs/wk local only
MCP Gee Sweet
by khuisman

MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.

26 983 installs/wk local only
Google Workspace
by mindstone

Google Workspace MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and more

1 342 installs/wk local only
Google Workspace (gsuite-sdk)
by pabloalaniz

Gmail, Calendar, Drive, Sheets, Tasks and Contacts for agents, with your own Google login

793 installs/wk local only
Google Drive
by us-all

Google Drive + Workspace MCP — Docs, Sheets, Slides, Shared Drives, Labels, Approvals, DWD

712 installs/wk local only
G-Krusch Workspace MCP
by krusch

Local-first Google Workspace MCP server with hybrid FTS5 Drive RAG, Docs, Calendar, and Gmail.

183 installs/wk local only
Bigquery MCP
by snowleopard-ai

A SnowLeopardAI-managed MCP server that provides access to Google BigQuery data.

163 installs/wk local only
Colab Drive MCP
by yummytastycode

Synchronize Colab notebook files through Google Drive without executing notebook code.

136 installs/wk local only

Google Drive MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Google Drive MCP?
Google Drive MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @piotr-agier/google-drive-mcp was installed 7 403 times last week.
How do I connect Google Drive MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @piotr-agier/google-drive-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Google Drive MCP?
The npm package @piotr-agier/google-drive-mcp was installed 7 403 times in the last week. Week over week that is +40%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Google Drive MCP open source?
Yes — it is published under the MIT licence, written in TypeScript, 246 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.