@modelcontextprotocol/server-gdrive
Anthropic's official reference MCP server for Google Drive. Gives agents the ability to search, read, and access files stored in Google Drive, including Google Docs, Sheets, and Slides.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
OAuth2 with drive.readonly scope — strong auth model. Token stored in local file (credentials.json) — secure the host filesystem. Drive access limited to what the authenticating user can see.
⚡ Reliability
Best When
Your agent needs to read documents and files stored in Google Drive. OAuth authentication is well-handled, and the server understands Google Workspace file formats.
Avoid When
You need to create or write files to Drive — the server is primarily read-focused. For write operations, use the Google Drive API directly.
Use Cases
- • Agents searching and reading documents stored in Google Drive for research
- • Summarizing or extracting data from Google Docs in agent workflows
- • Reading Google Sheets data for analysis and reporting tasks
- • Finding and accessing team knowledge stored in shared Drive folders
- • Processing uploaded PDFs, images, and documents in Drive
Not For
- • Writing or creating new Google Drive files — this server is read-focused
- • Google Workspace Admin tasks (user management, domain-wide delegation)
- • Real-time collaboration features (comments, suggestions, version history)
Interface
Authentication
Google OAuth2 required. Set up via Google Cloud Console — create OAuth 2.0 credentials, download credentials.json. On first run, browser opens for user consent. Token cached locally after first auth. Scopes: drive.readonly.
Pricing
MCP server is MIT licensed/free. Google Drive API is free within quota limits (10K reads/100s, 1B reads/day). Google Cloud Console project required.
Agent Metadata
Known Gotchas
- ⚠ OAuth setup requires manual browser interaction on first run — not automatable in headless environments
- ⚠ Token expires after 1 hour — refresh is automatic but may fail if token file is deleted
- ⚠ Google Workspace files (Docs, Sheets, Slides) exported as text/PDF — formatting is lost on export
- ⚠ Large Sheets (many rows) are exported in full — may exceed context limits
- ⚠ Drive search uses Google's query syntax (fullText contains, name contains) — not keyword search
- ⚠ Shared drives (Team Drives) require additional API scope to access
Alternatives
Full Evaluation Report
Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for @modelcontextprotocol/server-gdrive.
AI-powered analysis · PDF + markdown · Delivered within 30 minutes
Package Brief
Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.
Delivered within 10 minutes
Score Monitoring
Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.
Continuous monitoring
Scores are editorial opinions as of 2026-03-06.