Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

google-drive

MCP server by us-all Community

Google Drive MCP Server gives AI assistants 98 tools for Google Drive, Docs, Sheets, Slides and Google Workspace admin tasks. It suits users who need deep Sheets and Slides editing or Shared Drive governance.

  • Score 69
  • 2 stars
  • 707 a week
  • MIT
  • Updated

Install google-drive

Built from the published package, never by AI.

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

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install google-drive in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-drive block.

About

Google Drive MCP Server is an MCP server for Google Drive, Docs, Sheets, Slides and Google Workspace admin tasks. It exposes 98 tools across these areas. Sheets editing covers charts, conditional formats, protected ranges, named ranges and data validation. Slides editing covers presentations, slides, shapes, tables and images. It also includes Shared Drive administration, such as listing, creating and sharing drives and their permissions.

The server supports three auth modes: OAuth2, Service Account with Domain-Wide Delegation, and Application Default Credentials. On startup it detects whether the account is a Google Workspace account. Workspace-only tools return clear errors for personal accounts. Write operations are off unless enabled. It is aimed at people who need more Drive editing and organization-wide governance than the read-only Claude.ai connector offers.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list-filesLists files in Google Drive, with a slim default output.
  • search-filesSearches files in Google Drive.
  • get-fileGets metadata for a Google Drive file.
  • share-fileShares a Drive file with a user.
  • list-permissionsLists the permissions on a Drive file.
  • docs-replace-textReplaces text in a Google Doc.
  • sheets-add-conditional-formatAdds a conditional format to a Google Sheets range.
  • sheets-add-chartAdds a chart to a Google Sheets spreadsheet.
  • summarize-spreadsheetSummarizes a spreadsheet's metadata, tab samples and named ranges.
  • audit-external-sharesAudits external shares across Drive or Shared Drives.

What you need

  • Google Cloud project with OAuth2 credentials or a Service Account key
  • Node.js (the server runs with npx) or Docker
  • Google Workspace account for Shared Drives, Labels, Approvals and Domain-Wide Delegation
SettingNeededWhat it is
GOOGLE_CLIENT_IDEnvironment variable, secretOptionalOAuth client ID. Required for OAuth refresh-token auth method.
GOOGLE_CLIENT_SECRETEnvironment variable, secretOptionalOAuth client secret. Required for OAuth refresh-token auth method.
GOOGLE_REFRESH_TOKENEnvironment variable, secretOptionalOAuth refresh token. Required for OAuth refresh-token auth method.
GOOGLE_APPLICATION_CREDENTIALSEnvironment variableOptionalPath to service account JSON key. Required for SA + DWD auth method (alternative to OAuth).
GOOGLE_SERVICE_ACCOUNT_KEY_PATHEnvironment variableOptionalAlias for GOOGLE_APPLICATION_CREDENTIALS.
GOOGLE_IMPERSONATE_USEREnvironment variableOptionalWorkspace user email to impersonate (DWD). Required when using service account auth.
GOOGLE_DRIVE_SCOPESEnvironment variableOptionalComma-separated OAuth scopes. Defaults are read-only; write mode broadens Drive/Docs scopes as needed.
GOOGLE_DRIVE_ALLOW_WRITEEnvironment variableOptionalSet to 'true' to enable write tools. Default read-only. Default: false
GD_TOOLSEnvironment variableOptionalComma-separated category allowlist. Default: all categories enabled.
GD_DISABLEEnvironment variableOptionalComma-separated category disablelist.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Audit external shares across all my Shared Drives and group them by drive
  • Apply conditional formatting to the amount column in my sales spreadsheets
  • Summarize this spreadsheet with its tabs and named ranges

Good to know

  • Write operations are disabled unless GOOGLE_DRIVE_ALLOW_WRITE is set to true
  • Shared Drives, Labels, Approvals and Domain-Wide Delegation need a Google Workspace account
  • Default transport is stdio; HTTP transport is optional

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to google-drive

All alternatives →
MR Office XinaTian
98

Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.

ACA Local and remote 5.8k
kordocchrisryugj
94

Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.

AAA Local 129k/wk
Desktop Commanderwonderwhy-er
94

Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.

AAA Local 1.4M/wk
MCP Linear tacticlaunch
94

Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.

AAB Local 69k/wk
Pptx Viewer MCP ChristopherVR
94

pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.

AAB Local 50k/wk
Dsh Plugin Reactive Resume amruthpillai
94

Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.

AAA Local 46k

Compare with MR Office, kordoc or Desktop Commander

google-drive: common questions

Does this work with a personal Google account?

Core Drive, Docs, Sheets and Slides tools work with personal accounts. Workspace-only features such as Shared Drives, Labels and Approvals throw a GWSFeatureError on personal accounts.

Can it change my files or is it read-only?

It is read-only by default. Setting GOOGLE_DRIVE_ALLOW_WRITE to true enables mutations.

How does it differ from the Anthropic Google Workspace connector?

The source says the built-in connector reads Sheets as CSV, so formulas do not survive, and it does not offer Slides editing or Shared Drive admin tools. This server is described as covering those areas.

How do I install google-drive?

In Claude Code run claude mcp add google-drive -- npx -y @us-all/google-drive-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is google-drive the official server?

google-drive is a community project by us-all, not verified by a company domain.

Is google-drive free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is google-drive safe to use?

It scores 69 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to google-drive?

Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.

Does google-drive work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

google-drive Install

Add to stack

Loading.