Skip to main content
The google-drive MCP adapter wraps the Google Drive API. Use it in workflow mcp_call steps to search and list files, upload attachments, export Google Docs as PDF, manage permissions, and move or archive content across folders — including shared drives when enabled.

Prerequisites

  • A Google account with Google Drive access
  • A Google Workspace connection in AgentRuntime (OAuth via the Google account card on Connections)
  • project_contributor access in your workspace

Connect in AgentRuntime

1

Connect Google

On Connections, use the Google account card and complete OAuth. See Google Workspace setup and Connections.
2

Enable Drive

On your Google connection, enable the Drive service so the account exposes Drive API scopes.
3

Add google-drive MCP instance

Go to MCP, click Add instance for google-drive. Open Instance config, wire your Google connection, and set the profile active.
4

Test in a workflow

Smoke-test with mcp_call in Workflow Studio. Test with list_files on a known folder ID before production workflows.

What you can build

  • Invoice archivegmail attachment webhook → upload_file to Invoices/{{year}} folder → google-sheets log file ID and vendor.
  • Client deliverable handoffgoogle-docs finished doc → save_file_as_pdfset_public_access or add_permission for client email → notify via gmail.
  • Shared drive janitor — Schedule trigger → search_files for stale MIME types → move_file to archive folder → trash_file on duplicates after human_task.
  • Backup mirrorlist_files with recursion → read_file → upload to amazon-s3 or duplicate to backup folder with duplicate_file.

Tools

Search & read

Create & upload

Permissions & sharing

Organize & delete

Example

Upload a generated report PDF to a client folder:

Troubleshooting