All MCP Servers
Web & SearchMCP RegistrynpmB · 79

Google Drive MCP

io.github.A1-x-Tech · Updated

MCP server for the Google Drive API: search, upload, download, organize and share files.

At a glance

Google Drive MCP is an MCP server in the Web & Search category. It runs locally over stdio via `npx -y @a1-x-tech/mcp-google-drive`, and needs GOOGLE_DRIVE_CLIENT_SECRET, GOOGLE_DRIVE_REFRESH_TOKEN and GOOGLE_DRIVE_ACCESS_TOKEN. It scores B (79/100) on the MCP Skills Hub health score as of Oct 28, 2026.

Source 0GitHub stars

One-click install

Opens your editor and pre-fills the config. Your editor will ask before adding it.

How to install Google Drive MCP in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install Google Drive MCP in Claude CodeAnthropic's agentic CLI

  1. Add the server

    bash
    claude mcp add mcp-google-drive -e 'GOOGLE_DRIVE_CLIENT_SECRET=<GOOGLE_DRIVE_CLIENT_SECRET>' -e 'GOOGLE_DRIVE_REFRESH_TOKEN=<GOOGLE_DRIVE_REFRESH_TOKEN>' -e 'GOOGLE_DRIVE_ACCESS_TOKEN=<GOOGLE_DRIVE_ACCESS_TOKEN>' -- npx -y @a1-x-tech/mcp-google-drive
  2. Fill in your credentials

    Replace <GOOGLE_DRIVE_CLIENT_SECRET>, <GOOGLE_DRIVE_REFRESH_TOKEN>, <GOOGLE_DRIVE_ACCESS_TOKEN> with your real values. Keep secrets out of any config file you commit.

  3. Verify it's connected

    bash
    claude mcp list
  4. Sharing it with your team?

    Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

  5. Use it in a session

    Ask Claude to use the tools this server exposes. It discovers them automatically.

What does Google Drive MCP need from you?

API key — Google OAuth2 client secret (refresh-token flow). Treat it as a secret.

  • GOOGLE_DRIVE_CLIENT_IDoptionalEnvironment variable

    Google OAuth2 client id (refresh-token flow).

  • GOOGLE_DRIVE_CLIENT_SECREToptionalsecretEnvironment variable

    Google OAuth2 client secret (refresh-token flow). Treat it as a secret.

  • GOOGLE_DRIVE_REFRESH_TOKENoptionalsecretEnvironment variable

    Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.

  • GOOGLE_DRIVE_ACCESS_TOKENoptionalsecretEnvironment variable

    Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.

  • GOOGLE_DRIVE_OAUTH_PORToptionalEnvironment variable

    Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.

  • GOOGLE_DRIVE_API_BASEoptionalEnvironment variable

    API root override.

  • GOOGLE_DRIVE_TIMEOUT_MSoptionalEnvironment variable

    Per-request timeout in milliseconds.

  • GOOGLE_DRIVE_MAX_RETRIESoptionalEnvironment variable

    Retries on transient errors (429 always; 5xx/network for reads).

Pass secrets through your shell environment rather than committing them into a config file.

What tools does Google Drive MCP expose?

This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.

What the code can do

Read from the published package source — never executed. Parsed 14 of 14 source files.

This server can read and write files, make network requests and read your environment variables.

How it was published

  • No provenance attestation — there is nothing linking this published artifact to a specific source commit.
  • 1 npm maintainer — a single point of compromise · last published by gistrec.

Maintainer of this package and think something here is wrong? Tell us and we'll correct it.

Before you install

Signals gathered from the source repo and package registry — not a safety verdict.

What it can reach

  • Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
  • Downloads at launch — The package is fetched from its registry each run unless you pin a version.
  • Last commit 25 days ago — Actively maintained.
  • Repository created 2 months ago — Very new project with little track record yet.
  • 0 GitHub stars — Very little community usage so far.
  • 76 weekly downloads — Very few installs — you would be an early user.

Client compatibility

Claude Code: NativeClaude Desktop: NativeCursor: NativeCodex CLI: NativeWindsurf: NativeCline: NativeVS Code: Native

Health score

B · 79

Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated

  • Maintenance30%100%

    Last commit 25 days ago.

  • Adoption20%22%

    0 stars, 76 weekly downloads.

  • Transparency20%75%

    3/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✗ discoverable tool list.

  • Provenance15%100%

    Package and registry entry point at the same repository.

  • Packaging15%100%

    Publishes a pinned version (1.0.0).

Documentation

Full README

Google Drive MCP

English | Русский

A1 Google Drive MCP lets an AI app work with your Google Drive in plain language. Find a file, tidy up folders, upload and download content, export a Doc as Markdown, share it with the right people — and keep the trash between you and permanent deletion.

It uses the Google Drive API with your Google account. It sees My Drive and shared drives alike, treats “delete” as the reversible trash and makes the limits of the Drive API explicit instead of implying that every file task is possible.

  • 21 tools. Search and metadata, folders and moving, upload and download, export of Docs/Sheets/Slides, the trash, sharing and comments.
  • Connects from the conversation. Say "connect Google Drive": the server walks you through the OAuth client, catches Google's redirect on 127.0.0.1 with PKCE and keeps the tokens itself — no config files, no restart.
  • The trash comes first. “Delete” means the reversible trash; permanent deletion is a deliberately separate tool that cannot be picked by accident.
  • Documents stay intact. Docs, Sheets and Slides move, copy, export and convert as whole files — the server never edits the text inside them.
  • You choose the scope. drive.readonly covers every read and drive.file limits access to app-created files; the full tool surface needs drive.

Start with a read-only question:

Find the project roadmap doc in my Drive, export it to Markdown and summarize it.

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: Show me what’s in the “Contracts 2025” folder, newest first. Assistant: Lists the files with their types, owners and modification dates. Nothing changes. You: Prepare an “Archive” subfolder and move everything older than a year into it. Assistant: Shows the folder it would create and the files it would move, then asks for confirmation. You: Confirm. Assistant: Creates the folder and moves the files. Nothing is shared, trashed or deleted unless you ask separately.

Contents

  • Quick start
  • What you can ask it to do
  • How your Drive changes
  • What can change
  • Getting access
  • Configuration
  • Data, limits and background work
  • Technical documentation
  • Support

Quick start

Excerpt — the full document is on GitHub.

Maintain Google Drive MCP? Add a badge to your README

Shows its health grade, and links readers to install steps for every client.

markdown
[![Google Drive MCP on MCP Skills Hub](https://mcp-skills-hub.vercel.app/badge/io-github-a1-x-tech-mcp-google-drive)](https://mcp-skills-hub.vercel.app/mcps/io-github-a1-x-tech-mcp-google-drive)

Catalog data refreshed . Something wrong? Report it.