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.
Install google-drive
Built from the published package, never by AI.
claude mcp add google-drive -- npx -y @us-all/google-drive-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-drive": {
"args": [
"-y",
"@us-all/google-drive-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-drive": {
"args": [
"-y",
"@us-all/google-drive-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-drive": {
"args": [
"-y",
"@us-all/google-drive-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-drive -- npx -y @us-all/google-drive-mcp{
"mcpServers": {
"google-drive": {
"args": [
"-y",
"@us-all/google-drive-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-drive npx -y @us-all/google-drive-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable, secret | Optional | OAuth client ID. Required for OAuth refresh-token auth method. |
GOOGLE_Environment variable, secret | Optional | OAuth client secret. Required for OAuth refresh-token auth method. |
GOOGLE_Environment variable, secret | Optional | OAuth refresh token. Required for OAuth refresh-token auth method. |
GOOGLE_Environment variable | Optional | Path to service account JSON key. Required for SA + DWD auth method (alternative to OAuth). |
GOOGLE_Environment variable | Optional | Alias for GOOGLE_APPLICATION_CREDENTIALS. |
GOOGLE_Environment variable | Optional | Workspace user email to impersonate (DWD). Required when using service account auth. |
GOOGLE_Environment variable | Optional | Comma-separated OAuth scopes. Defaults are read-only; write mode broadens Drive/Docs scopes as needed. |
GOOGLE_Environment variable | Optional | Set to 'true' to enable write tools. Default read-only. Default: false |
GD_Environment variable | Optional | Comma-separated category allowlist. Default: all categories enabled. |
GD_Environment variable | Optional | Comma-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
ANo 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 →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.
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.
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.
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.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
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.
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.
