Google Drive logo

Google Drive

Edits Google Drive, Docs, Sheets, and Slides while supporting shared-drive audits, Workspace administration, and multiple authentication modes.

Install Google Drive

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "google-drive-5": {
      "command": "npx",
      "args": [
        "-y",
        "@us-all/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "YOUR_VALUE_HERE",
        "GOOGLE_CLIENT_SECRET": "YOUR_VALUE_HERE",
        "GOOGLE_REFRESH_TOKEN": "YOUR_VALUE_HERE",
        "GOOGLE_SERVICE_ACCOUNT_KEY_PATH": "YOUR_VALUE_HERE",
        "GOOGLE_IMPERSONATE_USER": "YOUR_VALUE_HERE",
        "GOOGLE_DRIVE_ALLOW_WRITE": "YOUR_VALUE_HERE",
        "MCP_TRANSPORT": "YOUR_VALUE_HERE",
        "MCP_HTTP_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @us-all/google-drive-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The google-drive MCP server connects AI agents to Google Drive and Workspace APIs for file operations, document editing, formula-aware Sheets work, Slides editing, and shared-drive administration. It runs over stdio by default, with optional Streamable HTTP, and supports OAuth2, service accounts with Domain-Wide Delegation, and Application Default Credentials. Reach for it when read access is not enough and you need Workspace mutations, permission audits, aggregation tools, or organization-scale automation.

Use cases

  • Audit external permissions across shared drives
  • Apply conditional formatting across spreadsheets
  • Convert a document outline into a presentation
  • Analyze document headings, links, and image alt text
  • Find old files shared with the user

Key features

  • Formula-aware Sheets editing
  • Full Slides editing
  • Shared-drive permission and activity audits
  • OAuth2, service-account, and ADC authentication
  • Document and spreadsheet aggregation tools
  • Configurable tool categories and HTTP transport

Tools36

What Google Drive lets your agent do. Expand a tool for its parameters.

Self-reported~123 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 82d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · @us-all/google-drive-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads2.3kPackage downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed36Callable tools this server registers over MCP.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How Google Drive works

What the google-drive MCP server does

The google-drive MCP server exposes Google Drive, Docs, Sheets, Slides, and selected Google Workspace administration functions through MCP. It supports both inspection and, when enabled, mutations across files, folders, spreadsheets, documents, presentations, shared drives, labels, and approvals.

Its Sheets coverage goes beyond reading tabular data. Supported operations include formulas, charts, conditional formatting, protected ranges, named ranges, data validation, borders, merged cells, sorting, and find-and-replace. Slides operations cover presentations, slides, shapes, tables, images, and formatting. Shared-drive features include drive and permission management, file activity, labels, and approvals.

How it works

The server communicates with Google APIs using one of three authentication approaches: OAuth2 for personal or Workspace accounts, a service account with Domain-Wide Delegation for organization-wide access, or Application Default Credentials detected from the local Google Cloud setup. Account capabilities are checked at startup, so Workspace-only operations can report a clear limitation for personal accounts.

Stdio is the default transport. An HTTP mode is also available, exposing /mcp for authenticated JSON-RPC requests and /health for liveness checks. Tool exposure can be narrowed by category, which reduces the number of schemas presented to the model. Categories include Drive, Sheets, Docs, Slides, shared drives, labels, and approvals.

Setup and configuration

Install with npx -y @us-all/google-drive-mcp, add it to Claude Desktop or Claude Code, or run the published Docker image. The repository also documents building from source with pnpm. OAuth setup requires a Google Cloud project with the relevant Drive, Docs, Sheets, Slides, Drive Activity, and Drive Labels APIs enabled, plus client credentials and a refresh token.

For service-account access, configure a JSON key path and, when impersonation is needed, the Workspace user email. Set GOOGLE_DRIVE_ALLOW_WRITE=true to enable mutations; the default is read-only behavior. GD_TOOLS allowlists tool categories, while GD_DISABLE excludes them. HTTP deployments can use MCP_HTTP_TOKEN, MCP_HTTP_PORT, and MCP_HTTP_HOST.

Tools and capabilities

The google-drive MCP server includes tools for:

  • Searching, listing, reading, exporting, creating, and updating Drive files.
  • Editing Docs content and inspecting document structure, comments, permissions, and links.
  • Reading and modifying Sheets data, formulas, formatting, charts, ranges, and metadata.
  • Creating and editing Slides, including shapes, tables, images, and presentation formatting.
  • Managing shared drives and reviewing permissions, activity, labels, and approvals.
  • Auditing external sharing and summarizing spreadsheets or documents.

Named MCP prompts support shared-with-me cleanup, document structure analysis, and bulk spreadsheet formatting.

Limitations and notes

Write operations are disabled unless explicitly enabled. Personal Google accounts do not provide shared-drive features, and Workspace-only tools depend on the account's available capabilities. HTTP authentication is required by default when HTTP transport is enabled, unless an external reverse proxy handles authentication. The server does not provide Gmail, Calendar, Forms, Chat, Tasks, or Contacts tools based on the documented scope.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Google Drive

google-drive is an MCP server that connects AI agents to Google Drive and Google Workspace through Drive, Docs, Sheets, Slides, shared-drive, labels, and approvals capabilities. Its main tools support file operations, document and spreadsheet editing, presentation editing, permission audits, and aggregation tasks such as spreadsheet and document summaries.

Install it with `npx -y @us-all/google-drive-mcp` and add the command to an MCP client configuration. The documented options also include Docker and building from source with pnpm. Claude Desktop and Claude Code setup examples are provided.

Use OAuth2, a service account with Domain-Wide Delegation, or Application Default Credentials. OAuth2 uses `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, and `GOOGLE_REFRESH_TOKEN`; service-account mode uses a key path and can impersonate a Workspace user.

Yes. Set `GOOGLE_DRIVE_ALLOW_WRITE=true` to enable mutations. Sheets tools cover formulas, charts, formatting, ranges, validation, and related features, while Slides tools support presentations, slides, shapes, tables, images, and formatting.

Yes. It uses the standard stdio MCP transport by default, so it can be configured in clients that support standard MCP servers, including Cursor. The README specifically provides configuration examples for Claude Desktop and Claude Code.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoogle Drive AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/google-drive-5?style=directory)](https://allmcps.com/mcp/google-drive-5)
HTML Embed
<a href="https://allmcps.com/mcp/google-drive-5"><img src="https://allmcps.com/api/badge/google-drive-5?style=directory" alt="Google Drive on AllMCPs" /></a>