Google Drive for AI agents

Google Drive is Google's cloud storage for uploading, organizing, and sharing files, with strong search and permission controls. Teams use it to keep shared files organized and easy to hand off to others. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Files and storageOAuth 2.0MCP + RESTdrive.google.com
AUDIT LOG · GOOGLE DRIVEPOLICY: acme-support
09:41:07 · claude · u_8f2read
google_drive.list_files
List Files and Folders (Deprecated)✓ allowed · 212ms
09:41:08 · claude · u_8f2read
google_drive.get_app
Get App✓ allowed · 164ms
09:41:09 · claude · u_8f2write
google_drive.create_file
Create File or Folder✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
google_drive.delete_file
Delete file✕ blocked · policy: deny
EVERY GOOGLE DRIVE CALL, ON THE RECORD
01 · USE CASES

What agents do in Google Drive.

01

Find a file by name

Search Drive for a file matching a name or content keyword before sharing it with a colleague.

02

Share a file with a teammate

Create a sharing permission that gives a specific person view access to a folder.

03

Delete a file with confirmation

Delete a file only after the owner confirms it is no longer needed, since deletion is permanent.

02 · ACTIONS

104 Google Drive actions, graded by risk.

Every Google Drive action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

46

Look things up. Allowed by default.

  • google_drive.get_app
    Get App
  • google_drive.get_form
    Get Google Form
  • google_drive.find_file
    Find file
  • google_drive.get_about
    Get about
  • google_drive.get_child
    Get Child Reference (v2)
  • google_drive.get_drive
    Get Shared Drive
  • google_drive.get_reply
    Get Reply
  • google_drive.get_change
    Get Change (v2 - Deprecated)
  • google_drive.get_parent
    Get Parent Reference (v2)
  • google_drive.list_files
    List Files and Folders (Deprecated)
  • google_drive.find_folder
    Find folder
  • google_drive.get_comment
    Get Comment
  • google_drive.get_file_v2
    Get File (v2 API) (Deprecated)
  • google_drive.get_document
    Get Document
  • google_drive.get_revision
    Get Revision
  • google_drive.list_changes
    List Changes
+ 30 MORE

write

44

Create and change things. Allow, or ask the user first.

  • google_drive.add_parent
    Insert File Parent (v2)
  • google_drive.create_file
    Create File or Folder
  • google_drive.add_property
    Insert Property (v2 API)
  • google_drive.create_drive
    Create Shared Drive
  • google_drive.create_reply
    Create Reply
  • google_drive.update_drive
    Update Shared Drive
  • google_drive.update_reply
    Update Reply
  • google_drive.create_folder
    Create a folder
  • google_drive.create_comment
    Create Comment
  • google_drive.update_comment
    Update Comment
  • google_drive.update_file_put
    Update File (Metadata)
  • google_drive.create_permission
    Create Permission
  • google_drive.create_team_drive
    Create Team Drive (Deprecated)
  • google_drive.update_permission
    Update Permission
  • google_drive.update_team_drive
    Update Team Drive (Deprecated)
  • google_drive.update_file_property
    Update Property (v2 API)
+ 28 MORE

destructive

14

Delete, cancel or archive. Ask first, or deny outright.

  • google_drive.delete_file
    Delete file
  • google_drive.delete_child
    Delete Child (v2)
  • google_drive.delete_drive
    Delete Shared Drive
  • google_drive.delete_reply
    Delete Reply
  • google_drive.delete_parent
    Delete Parent (v2)
  • google_drive.delete_comment
    Delete Comment
  • google_drive.delete_property
    Delete Property (v2 API)
  • google_drive.delete_revision
    Delete Revision
  • google_drive.delete_permission
    Delete Permission
  • google_drive.delete_team_drive
    Delete Team Drive (Deprecated)
  • google_drive.trash_file
    Trash File
  • google_drive.empty_trash
    Empty Trash
  • google_drive.clear_spreadsheet_values
    Clear Spreadsheet Values
  • google_drive.google_drive_delete_folder_or_file_action
    Delete folder or file
03 · HOW IT WORKS

Google Drive in three steps.

  1. 01Your users connect Google DriveThey sign in to Google Drive on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “create File or Folder” can wait for the user, and “delete file” can be denied outright.
  3. 03Any agent can actYour agent calls Google Drive through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('google_drive', {
  read: 'allow',
  write: 'ask',        // create_file
  destructive: 'deny',  // delete_file
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Google Drive connects.

Users sign in to Google Drive on Arc0 Connect and approve the scopes you request. Build with Arc0’s Google Drive OAuth app, or bring your own so the Google Drive consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Google Drive connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Google Drive from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Google Drive and Arc0, answered.

Q01

Can I use Google Drive with Claude, ChatGPT or Cursor?

Yes. Connect Google Drive to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Google Drive actions you allow.

Q02

How do users connect Google Drive?

Users sign in to Google Drive on Arc0 Connect and approve the scopes you request. Build with Arc0’s Google Drive OAuth app, or bring your own so the Google Drive consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Google Drive actions can my agent take?

104 in total: 46 read, 44 write and 14 destructive, such as “create File or Folder”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Google Drive?

Yes. Actions like “delete file” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Google Drive too?

Yes. The same Google Drive connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Google Drive into your agent.

Your users connect Google Drive once, under your brand. Your agent gets 104 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan