# google-drive [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/us-all/google-drive-mcp-server  
**GitHub Stars:** 2  
**npm Downloads (last month):** 2294  
**Views:** 10  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/google-drive-5

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

## Tools
Capabilities this server exposes over MCP:

- **get-about**
- **list-files**
- **get-file**
- **read-file**
- **create-file**
- **update-file**
- **copy-file**
- **delete-file**
- **search-files**
- **create-folder**
- **move-file**
- **get-folder-tree**
- **list-permissions**
- **share-file**
- **remove-permission**
- **export-file**
- **get-download-link**
- **list-comments**
- **get-comment**
- **create-comment**
- **resolve-comment**
- **list-revisions**
- **get-revision**
- **get-activity**
- **list-shared-drives**
- **get-shared-drive**
- **create-shared-drive**
- **audit-shared-drive-permissions**
- **list-file-labels**
- **apply-label**
- **remove-label**
- **list-approvals**
- **get-approval**
- **summarize-spreadsheet**
- **summarize-doc**
- **audit-external-shares**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "google-drive": {
    "command": "npx",
    "args": ["-y","@us-all/google-drive-mcp"],
    "env": {
      "GOOGLE_CLIENT_ID": "",
      "GOOGLE_CLIENT_SECRET": "",
      "GOOGLE_REFRESH_TOKEN": "",
      "GOOGLE_SERVICE_ACCOUNT_KEY_PATH": "",
      "GOOGLE_IMPERSONATE_USER": "",
      "GOOGLE_DRIVE_ALLOW_WRITE": "",
      "MCP_TRANSPORT": "",
      "MCP_HTTP_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REFRESH_TOKEN`, `GOOGLE_SERVICE_ACCOUNT_KEY_PATH`, `GOOGLE_IMPERSONATE_USER`, `GOOGLE_DRIVE_ALLOW_WRITE`, `MCP_TRANSPORT`, `MCP_HTTP_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/google-drive-5/readme_

