Skip to content

Connectors · Files & documents

Google Drive MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Google Drive and the rest of your systems. It gives your agent 58 Google Drive actions (25 reads, 24 writes and 9 that wait for a confirmation) and holds the Google Drive credential itself, so the agent never does. It paces Google Drive's limits and records every call. Connecting Google Drive needs your own Google Drive OAuth app and one admin sign-in.

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

claude mcp add --transport http actionlake https://connect.actionlake.com/mcp
the first call
do {  action: "gws_drive.files.list",  intent: "check which Google Drive account is connected"}# List Drive files · read · 1 upstream call
  • 58actionsin one signed file
  • 25readlook, never change
  • 24writecreate and update
  • 9wait for a yesdestructive, confirmed first

Set up

Connect Google Drive in three steps.

  1. 01

    Add actionlake to Claude.

    Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.

    https://connect.actionlake.com/mcp
  2. 02

    Connect Google Drive.

    OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Drive, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on. actionlake stores what you paste write-only, sealed under your tenant's key.

    Before the first sign-in, Google Drive needs an OAuth app of your own, registered in its developer portal. actionlake has no Google Drive app to lend you.

    • access_tokenAccess token from one sign-in with your own OAuth app
    • refresh_tokenRefresh token from the same sign-in; the access token is renewed from it
    • client_idGoogle OAuth client id
    • client_secretGoogle OAuth client secret
    account { op: "connections.requirements", service: "gws_drive" }
    # free: exactly what to paste, and what is found for you
  3. 03

    Make the first call. Check before a write.

    Ask in plain words; Claude picks the action. Before anything changes, check validates the call and prices it, for free.

    do    { action: "gws_drive.files.list" }# list drive files · read · 1 upstream callcheck { action: "gws_drive.files.delete", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent

Google Drive at a glance

Sign-in
OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Drive, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on.
You provide
access_tokenrefresh_tokenclient_idclient_secret
Limits we pace to
12,000 calls a minute, per connection
API covered
Google Drive API 3www.googleapis.com/drive/v3
Built from
Google Drive's documentation, read 17 September 2026googleapis.comdevelopers.google.com
Service file
Version 1.0.0, signed (Ed25519)
Cached reads
21 of 25 reads, for up to an hour; a write clears what it affects
Ready-made plans
6 in the store
Shared entities
3, so ask can line Google Drive up with your other systems
Data
Processed and stored in Sydney, Australia. No US region yet

Capabilities

What an AI agent can do in Google Drive.

58 actions in 1 area. Every one carries its effect, so a key can allow the reads and hold the rest.

  • 25readlook, never change
  • 24writecreate and update
  • 9destructivewait for a confirmation
  1. Files

    58

    25 read · 24 write · 9 destructive

    List Drive files · List permissions on a Drive item · List shared drives · Get one Drive file

Top actions

The Google Drive API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems. 47 of Google Drive's 53 action names are shared with at least one other connector, so an agent learns them once.

ActionWhat it doesEffectSame name in
gws_drive.files.listList Drive filesList or search files and folders in Drive, with the Drive query grammar.readcontent.file.list77 connectors
gws_drive.permissions.listList permissions on a Drive itemList who has access to one file or shared drive, and with what role.readcontent.file_permission.list17 connectors
gws_drive.drives.listList shared drivesList the shared drives the user can see, or every one in the domain as an admin.readcontent.drive.list5 connectors
gws_drive.files.getGet one Drive fileFetch metadata for a single file or folder by id.readcontent.file.get74 connectors
gws_drive.files.deleteDelete a Drive file permanentlyPermanently delete a file, bypassing the trash.destructivecontent.file.delete68 connectors
gws_drive.permissions.updateUpdate a Drive permissionChange the role or expiry of an existing permission.writecontent.file_permission.update17 connectors
gws_drive.drives.createCreate a shared driveCreate a new shared drive with a caller-supplied idempotency key.writecontent.drive.create3 connectors
gws_drive.comments.listList comments on a Drive fileList the comments on one file, newest modification first.readcontent.file_comment.list12 connectors
gws_drive.revisions.listList revisions of a Drive fileList the stored version history of one file.readcontent.file_version.list12 connectors
gws_drive.comments.createComment on a Drive fileAdd a new comment to a file, optionally anchored to a region.writecontent.file_comment.create11 connectors
gws_drive.files.watchWatch a Drive file for changesOpen a push-notification channel that reports changes to one file.writeautomation.webhook.create209 connectors
gws_drive.files.download_startStart a Drive file download operationKick off a long-running download and return an Operation to poll.writeautomation.background_job.create29 connectors

Try it

Prompts to paste into Claude.

Each one names the Google Drive actions it will call, so you know what it reads and what it changes before you send it.

  1. Readread

    Which Google Drive files changed this week, and who changed them?

    callsgws_drive.files.list

  2. Planread

    Audit who can see a file and report the external shares in Google Drive.

    callsgws_drive.files.getgws_drive.permissions.listgws_drive.permissions.getgws_drive.access_proposals.list

  3. Plandestructive

    Pin the current revision and delete the stale history in Google Drive. Ask me before anything is sent or changed.

    callsgws_drive.files.getgws_drive.revisions.listgws_drive.revisions.updategws_drive.revisions.delete

  4. Writewrite

    Update a Drive permission in Google Drive. Show me exactly what you will send before you save it.

    callsgws_drive.permissions.update

The plan store

Ready-made plans for Google Drive.

6 plans in the store. Install one and your agent runs it by name; the reply says which connections are still missing. A schedule can run a plan on a timetable. There are no triggers or webhooks, by design.

  1. Audit who can see a file and report the external shares

    Use it when Someone asks who currently has access to a specific Drive file or folder.

    Effect
    read
    Steps
    4 · loops
    Needs
    file id
    Install
    gws_drive-audit-file-sharing
  2. Collect and answer the open comments on a file

    Use it when A document has collected comments and someone needs them gathered and acknowledged.

    Effect
    write
    Steps
    3 · loops
    Needs
    ack text and file id
    Install
    gws_drive-triage-open-comments
  3. Copy a template, park it in a folder and share it for review

    Use it when A template needs to be duplicated for a new piece of work and handed to a reviewer.

    Effect
    write
    Steps
    4
    Needs
    ask, expires at, folder id, new name, reviewer email and template file id
    Install
    gws_drive-share-folder-with-reviewers
  4. Start a document approval and wait for the reviewers

    Use it when A document needs a formal Drive approval opened and tracked through to a decision.

    A person decidesOpen a formal Drive approval on this document and lock it against further edits while reviewers decide.

    Effect
    write
    Steps
    5
    Needs
    due time, file id, message and reviewer emails
    Install
    gws_drive-run-document-approval
  5. Pin the current revision and delete the stale history

    Use it when A file's revision history has grown large and the old versions should be cleared out.

    A person decidesPermanently delete the older revisions of this file, keeping only the pinned one.

    Effect
    destructive
    Steps
    5 · loops
    Needs
    file id and keep revision id
    Install
    gws_drive-prune-old-revisions
  6. Revoke access to a file after a human signs off

    Use it when A person or domain must lose access to a Drive file and the removal needs sign-off first.

    A person decidesPermanently remove this permission from the named Drive file, cutting off that person's access.

    Effect
    destructive
    Steps
    5
    Needs
    file id and permission id
    Install
    gws_drive-revoke-external-access
install a plan
account { op: "plans.install", slug: "gws_drive-audit-file-sharing" }
# then ask for it by name; a schedule can run it on a timetable

Governance for Google Drive

Destructive actions wait for a yes.

9 Google Drive actions are destructive. These are all of them:

  • Delete a Drive file permanentlygws_drive.files.delete
  • Revoke a Drive permissiongws_drive.permissions.delete
  • Delete a shared drivegws_drive.drives.delete
  • Delete a Drive commentgws_drive.comments.delete
  • Delete a Drive file revisiongws_drive.revisions.delete
  • Stop a Drive notification channelgws_drive.channels.stop
  • Cancel a Drive approvalgws_drive.approvals.cancel
  • Delete a reply to a Drive commentgws_drive.replies.delete
  • Empty the Drive trashgws_drive.files.empty_trash

A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

dogws_drive.files.deleteconfirm_policy: human

Delete a Drive file permanently?

intent: the user asked me to delete a Drive file permanently

run suspended · waiting for a named person · key gws-drive-agent cannot confirm itself
In the console, or from an emailed signed link.
a key for this connector
account {  op: "keys.create", name: "gws-drive-agent",  allowed_actions: ["gws_drive.*"], cap_calls: 2000,  confirm_policy: "human_for_writes",  approval_rules: [    { match: "gws_drive.files.delete", approver: "[email protected]" },    { match: "gws_drive.permissions.delete", approver: "[email protected]" },    { match: "gws_drive.drives.delete", approver: "[email protected]" }  ]}
Illustrative. Scoped to Google Drive only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

What Google Drive costs on actionlake.

Every Google Drive action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Google Drive refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

  • 1upstream call per actionall 58 Google Drive actions
  • 12actions pageeach page of a long list is one call
  • 21reads can be cacheda cache hit costs nothing
  • 100,000calls a month, freepaid plans from US$49 a month for 250,000

See pricing

Action index

Every Google Drive action.

58 actions by area: the id your agent calls, what it does, and its effect.

Files58
  • gws_drive.about.getGet Drive account informationread
  • gws_drive.access_proposals.getGet one Drive access proposalread
  • gws_drive.access_proposals.listList access proposals on a Drive fileread
  • gws_drive.access_proposals.resolveResolve a Drive access proposalwrite
  • gws_drive.approvals.approveApprove a Drive approvalwrite
  • gws_drive.approvals.cancelCancel a Drive approvaldestructive
  • gws_drive.approvals.commentComment on a Drive approvalwrite
  • gws_drive.approvals.declineDecline a Drive approvalwrite
  • gws_drive.approvals.getGet one Drive approvalread
  • gws_drive.approvals.listList approvals on a Drive fileread
  • gws_drive.approvals.reassignReassign a Drive approvalwrite
  • gws_drive.approvals.startStart a Drive approvalwrite
  • gws_drive.apps.getGet one Drive appread
  • gws_drive.apps.listList installed Drive appsread
  • gws_drive.changes.get_start_page_tokenGet a Drive changes start page tokenread
  • gws_drive.changes.listList Drive changes since a tokenread
  • gws_drive.changes.watchWatch the Drive change feedwrite
  • gws_drive.channels.stopStop a Drive notification channeldestructive
  • gws_drive.comments.createComment on a Drive filewrite
  • gws_drive.comments.deleteDelete a Drive commentdestructive
  • gws_drive.comments.getGet one Drive commentread
  • gws_drive.comments.listList comments on a Drive fileread
  • gws_drive.comments.updateUpdate a Drive commentwrite
  • gws_drive.drives.createCreate a shared drivewrite
  • gws_drive.drives.deleteDelete a shared drivedestructive
  • gws_drive.drives.getGet one shared driveread
  • gws_drive.drives.hideHide a shared drivewrite
  • gws_drive.drives.listList shared drivesread
  • gws_drive.drives.unhideUnhide a shared drivewrite
  • gws_drive.drives.updateUpdate a shared drivewrite
  • gws_drive.files.copyCopy a Drive filewrite
  • gws_drive.files.createCreate a Drive file or folder (metadata only)write
  • gws_drive.files.deleteDelete a Drive file permanentlydestructive
  • gws_drive.files.download_startStart a Drive file download operationwrite
  • gws_drive.files.empty_trashEmpty the Drive trashdestructive
  • gws_drive.files.generate_cse_tokenGenerate a client-side-encryption tokenread
  • gws_drive.files.generate_idsGenerate Drive file idsread
  • gws_drive.files.getGet one Drive fileread
  • gws_drive.files.listList Drive filesread
  • gws_drive.files.list_labelsList labels on a Drive fileread
  • gws_drive.files.modify_labelsModify labels on a Drive filewrite
  • gws_drive.files.updateUpdate Drive file metadatawrite
  • gws_drive.files.watchWatch a Drive file for changeswrite
  • gws_drive.operations.getGet a Drive long-running operationread
  • gws_drive.permissions.createShare a Drive itemwrite
  • gws_drive.permissions.deleteRevoke a Drive permissiondestructive
  • gws_drive.permissions.getGet one Drive permissionread
  • gws_drive.permissions.listList permissions on a Drive itemread
  • gws_drive.permissions.updateUpdate a Drive permissionwrite
  • gws_drive.replies.createReply to a Drive commentwrite
  • gws_drive.replies.deleteDelete a reply to a Drive commentdestructive
  • gws_drive.replies.getGet one reply to a Drive commentread
  • gws_drive.replies.listList replies to a Drive commentread
  • gws_drive.replies.updateUpdate a reply to a Drive commentwrite
  • gws_drive.revisions.deleteDelete a Drive file revisiondestructive
  • gws_drive.revisions.getGet one Drive file revisionread
  • gws_drive.revisions.listList revisions of a Drive fileread
  • gws_drive.revisions.updateUpdate a Drive file revisionwrite

Questions

The Google Drive MCP server, answered.

Is there a Google Drive MCP server for Claude?

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 58 Google Drive actions, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Google Drive.

What do I need to connect Google Drive?

Your own Google Drive OAuth app, registered with Google Drive (its client id and client secret), and the access and refresh tokens from one admin sign-in. actionlake has no Google Drive app of its own, so this is not a one-step consent. actionlake renews the access token as it expires. The free call account { op: "connections.requirements", service: "gws_drive" } lists exactly what to paste.

Can an AI agent delete or change things in Google Drive?

Only if its key allows it, and only with an explicit confirmation. 9 Google Drive actions are destructive, including delete a Drive file permanently, revoke a Drive permission and delete a shared drive. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

Will an AI agent use up my Google Drive API limit?

actionlake paces every call to the limits in the Google Drive service file: 12,000 calls a minute per connection. Repeated reads are answered from cache (21 Google Drive actions can be), which never reaches Google Drive.

What does a Google Drive action cost?

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (12 Google Drive actions page). Cache hits, searches, dry runs and calls Google Drive refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

Which Google Drive API does it cover?

The Google Drive API 3 at www.googleapis.com/drive/v3. It is built from Google Drive's documentation as read on 17 September 2026. 58 actions in 1 area, each one in the signed service file (version 1.0.0).

Does actionlake keep my Google Drive data, and where?

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to an hour, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Google Drive credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

Which AI clients can use it?

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

Give your agent Google Drive today.

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.