Skip to content
ToolCargo

Google Drive MCP (Testing only)

Testing only

Testing 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

streamable http
https://toolcargo.com/mcp/google-drive

Claude Code

terminal
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.

Explore useful agent workflows ↗

Tools

ToolWhat it doesAccess
google_drive_list_files
Find 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_file
Read 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_file
Download 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_file
Export 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_drives
List 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 CodeAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
Claude (claude.ai)OAuth sign-inDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
CursorAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
VS Code (Copilot agent mode)API key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
ChatGPT (developer mode)OAuth sign-inDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.
MCP InspectorAPI key headerDocumented, not yet testedThis endpoint has not yet been tested in this client. See the setup guide.

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

$0

Try hosted tools with a shared monthly allowance.

50 shared calls/month

Pro

$12/mo

Proposed 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.

Full pricing and billing details