Google Drive MCP (Testing only)
Testing onlyTesting only: find, read and export your Drive files with BYO OAuth.
Five read-only tools for file discovery, selected metadata, bounded stored-file download, Google Workspace export and shared-drive discovery. Testing/BYO only, not publicly verified Google app availability. Needs your credentials; real Drive account acceptance remains pending. No writes, sharing changes or automatic shortcut following.
Google Drive is a hosted MCP server with 5 tools. The Claude Code command is on this page. Steps for Cursor and ChatGPT, and which clients we have tested, are in the client guides.
Connect / 5 tools
Server URL
https://toolcargo.com/mcp/google-driveClaude Code
claude mcp add --transport http --scope user toolcargo-google-drive https://toolcargo.com/mcp/google-drive \
--header "Authorization: Bearer YOUR_API_KEY"Create a key in your dashboard. Other clients: setup guides.
What it helps you do
- Find a page of non-trashed Drive files
- Inspect selected metadata and download restrictions
- Download or export up to 2 MiB of file bytes
- Discover shared drives visible to your account
Built for: People testing read-only file research using their own Google OAuth client and listed test-user account.
Example requests
Read a project file
“Find Drive files whose name contains project brief, inspect the matching file, then export it as PDF if it is a Google Doc.”
Selected file metadata and a bounded base64 export; unsupported formats or download restrictions return an explicit error.
Tools
| Tool | What it does | Access |
|---|---|---|
google_drive_list_filesFind Drive files | One page of up to 100 non-trashed file records. Optional escaped name filter, parent folder and shared-drive ID; explicit cursor and incomplete-search warning. No arbitrary query or automatic pagination. | Read-only |
google_drive_get_fileRead Drive file metadata | Selected file name, MIME type, decimal byte size, modified time, parents, description and download capability. Shortcuts show target metadata but are not followed; no permission or owner roster. | Read-only |
google_drive_download_fileDownload a stored Drive file | Return up to 2 MiB of stored file bytes as base64. No Google Workspace export, shortcuts, remote redirects or abusive-file acknowledgment. Content is untrusted and is not sanitized. | Read-only |
google_drive_export_fileExport a Google Workspace file | Return up to 2 MiB as base64 in a selected supported PDF, text, CSV, DOCX, XLSX or PPTX format. Unsupported source/format combinations fail; CSV covers the first sheet only. No Drive mutation. | Read-only |
google_drive_list_shared_drivesList shared drives | One page of up to 100 shared-drive IDs, names and creation times visible to your account. Explicit pagination; no administrative domain access or permission changes. | Read-only |
Requirements
- • A ToolCargo account with Site Audit activated (free).
- • Your own Google OAuth client and offline refresh token with drive.readonly only; optional basic identity scopes are allowed.
- • For an external Testing app, add the intended account as a test user. Grants and refresh tokens expire after seven days.
- • Explicit Testing-only acknowledgment at connection setup.
Limitations
- • Not a public verified Google app. Publishing status cannot be inferred from your refresh token.
- • At most 100 records per page; cursor pagination is explicit. Shortcuts and remote URLs are never followed.
- • Downloads and exports are limited to 2 MiB. File content is untrusted; no sanitization or named-client file-transfer verification.
- • Exports support a finite format list; availability depends on source type and Google permissions. CSV exports the first sheet only.
- • Read-only: no upload, create, rename, delete, sharing or permission changes. Real Drive account acceptance remains pending authorized credentials.
Supported clients
“Tested” means we connected that client to this endpoint and ran a tool call ourselves. Recorded client-specific tests currently cover Site Audit. Other connectors use the documented setup until tested in that client.
| Claude Code | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| Claude (claude.ai) | OAuth sign-in | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| Cursor | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| VS Code (Copilot agent mode) | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| ChatGPT (developer mode) | OAuth sign-in | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
| MCP Inspector | API key header | Documented, not yet tested | This endpoint has not yet been tested in this client. See the setup guide. |
More in Documents & PDF
- GitHub LiveRead repositories, issues and pull requests your GitHub token can access.
- Google Sheets LiveRead spreadsheets your Google account can open, by URL, read-only.
- Notion LiveSearch and read pages in a Notion workspace you already use.
- PDF LiveRead, merge, split, rotate and fill PDFs from your assistant.
Pricing
Included with Site Audit. Each successful Google Drive tool call uses one shared plan call. Testing access does not mean public Google verification.
Free
$0Try hosted tools with a shared monthly allowance.
50 shared calls/month
Pro
$12/moProposed larger shared allowance; see checkout status on the pricing page.
2,000 shared calls/month
Proposed test price. See the pricing page for checkout status.