Google Drive MCP MCP Server
io.github.A1-x-Tech/mcp-google-drive
What this kind of tool is for
- Create, search, or update items in a notes, docs, or tasks service from your agent.
- Turn a meeting transcript or a long document into a structured summary.
- Keep a daily log or standup digest without leaving the terminal.
How to compare servers like this
- Service scope:
- Confirm the tool covers the exact service and surfaces (pages, tasks, calendars) you need.
- Auth model:
- See whether it uses an API token you control and what permissions that token grants.
- Read vs write:
- Start with read-only workflows; give write access only after the first results look right.
- Maintenance signal:
- For anything tied to a third-party API, prefer tools that track that API's changes.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Google Drive MCP MCP server?
MCP server for the Google Drive API: search, upload, download, organize and share files.
How to install Google Drive MCP
Copy-paste configuration for popular MCP clients.
GOOGLE_DRIVE_CLIENT_IDGoogle OAuth2 client id (refresh-token flow).
GOOGLE_DRIVE_CLIENT_SECRETsecretGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_DRIVE_REFRESH_TOKENsecretGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_DRIVE_ACCESS_TOKENsecretStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_DRIVE_OAUTH_PORTFixed 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_BASEAPI root override.
GOOGLE_DRIVE_TIMEOUT_MSPer-request timeout in milliseconds.
GOOGLE_DRIVE_MAX_RETRIESRetries on transient errors (429 always; 5xx/network for reads).
{
"mcpServers": {
"mcp-google-drive": {
"command": "npx",
"args": [
"-y",
"@a1-x-tech/mcp-google-drive"
],
"env": {
"GOOGLE_DRIVE_CLIENT_ID": "<YOUR_GOOGLE_DRIVE_CLIENT_ID>",
"GOOGLE_DRIVE_CLIENT_SECRET": "<YOUR_GOOGLE_DRIVE_CLIENT_SECRET>",
"GOOGLE_DRIVE_REFRESH_TOKEN": "<YOUR_GOOGLE_DRIVE_REFRESH_TOKEN>",
"GOOGLE_DRIVE_ACCESS_TOKEN": "<YOUR_GOOGLE_DRIVE_ACCESS_TOKEN>",
"GOOGLE_DRIVE_OAUTH_PORT": "<YOUR_GOOGLE_DRIVE_OAUTH_PORT>",
"GOOGLE_DRIVE_API_BASE": "<YOUR_GOOGLE_DRIVE_API_BASE>",
"GOOGLE_DRIVE_TIMEOUT_MS": "<YOUR_GOOGLE_DRIVE_TIMEOUT_MS>",
"GOOGLE_DRIVE_MAX_RETRIES": "<YOUR_GOOGLE_DRIVE_MAX_RETRIES>"
}
}
}
}Related MCP servers

Google Forms MCP
MCP server for the Google Forms API: create forms, manage questions, read responses and watches.

Gmail MCP
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

MCP server for Google Merchant Center (Merchant API v1): products, promotions, reports, issues.

MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.

Google Sheets MCP
MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.

Google Slides MCP
MCP server for the Google Slides API: presentations, slides, text, shapes, images and tables.