Skip to main content

Google Drive MCP

In one line: Connect Google Drive so your UnleashX agent can search files, create and move them, manage folders and shared drives, and control sharing.
CategoryStorage
AuthenticationOAuth (Google sign-in)
Setup time~2 minutes
DifficultyEasy
Best forOrganizing files, automating uploads/downloads, and managing sharing across teams

1. Overview

Google Drive is Google’s cloud file storage, holding documents, spreadsheets, forms, folders, and shared drives. Once connected, your UnleashX agent can search for files and folders, create files from text, copy/move/update files, upload and download, manage folders and shared drives, and set sharing permissions for people and teams. It can also watch for newly added files or spreadsheets. Connecting Google Drive to UnleashX makes file management hands-free: ask “find last month’s invoices and share the folder with finance” or “upload this report to the Q3 folder,” and the agent locates, organizes, and shares the right files for you.

2. What you’ll need

1

A Google account with Drive

Any personal Google account or a Google Workspace account with Drive enabled.
2

Permission to grant access

You must be able to complete the Google sign-in and approve the requested permissions. Shared-drive actions may require team-membership rights.
3

An UnleashX agent

An agent in your UnleashX workspace where you’ll add the Drive connector.
No admin access? On a managed Google Workspace account, your admin may need to allow UnleashX, and some shared-drive operations may be restricted by your role.

3. Get your credentials

Google Drive uses Google OAuth 2.0. You do not create or paste an API key. UnleashX redirects you to Google, you sign in once, and Google issues an access token to UnleashX automatically.
1

Start the connection in UnleashX

In your agent’s Data Connectors, find Google Drive and click Connect (see Section 4).
2

Sign in with Google

Choose the Google account whose Drive you want to connect.
3

Review and approve the requested scopes

Click Allow to grant access and return to UnleashX.
There is no key to copy. Access is granted by your Google sign-in and can be revoked anytime at your Google Account permissions page.
Scopes UnleashX requests for Google Drive:
ScopeWhy UnleashX needs it
https://www.googleapis.com/auth/driveFull access to find, create, update, move, delete, and share files and folders.
https://www.googleapis.com/auth/drive.fileCreate and manage files the integration touches.
https://www.googleapis.com/auth/userinfo.emailIdentify which account is connected.

4. Connect on UnleashX

1

Open your agent

Sign in at https://www.tryunleashx.com and open your agent.
2

Go to Data Connectors

In the agent, open Data Connectors.
3

Find Google Drive and connect

Locate Google Drive and click Connect / Add / Configure.
4

Authorize with Google

Click Authorize, sign in with Google, and approve the requested permissions.
5

Confirm success

You’ll return to UnleashX and the connector status will show a Connected badge.
01 drive connector

5. Available tools

ToolWhat it doesChanges data?
Get FileGet a file’s metadata by ID.No
Find SpreadsheetsFind spreadsheets (optionally in a folder).No
Find FormsFind Google Forms (optionally in a folder).No
Find FolderFind a folder by name/parent.No
Find FileFind a file by query/folder.No
Find File with ChangesFind files and report changes since last run.No
List Drive FoldersList folders in Drive.No
List Drive Folders with ChangesList folders and report changes since last run.No
On New FileTrigger: return files added since last run.No
On New SpreadsheetTrigger: return spreadsheets added since last run.No
Copy FileCopy a file (optional new name/folder).✏️ Yes
Create File from TextCreate a file from text content.✏️ Yes
Delete FileDelete a file.⚠️ Yes
Download FileDownload a file.No
Move FileMove a file to another folder.✏️ Yes
Share FileShare a file with people at a permission level.✏️ Yes
Update FileUpdate a file’s content or name.✏️ Yes
Search FilesSearch files by term, type, location, date.No
Create FolderCreate a folder.✏️ Yes
Delete FolderDelete a folder.⚠️ Yes
Share FolderShare a folder with people at a permission level.✏️ Yes
Create Shared DriveCreate a shared (team) drive.✏️ Yes
Delete Shared DriveDelete a shared drive.⚠️ Yes
Get Shared DriveGet details of one shared drive.No
Get Many Shared DrivesList multiple shared drives.No
Update Shared DriveUpdate a shared drive’s name/settings/theme.✏️ Yes
Upload FileUpload a file to Drive.✏️ Yes

6. Example usage

“Find the ‘Q3 Reports’ folder and share it with finance@acme.com as a commenter.” Runs Find Folder, then Share Folder.
“Create a text file called ‘meeting-notes’ with today’s notes in my Projects folder.” Runs Find Folder to locate the folder, then Create File from Text.

7. Permissions & data access

UnleashX can:
  • Search, read, and download files and folders.
  • Create, copy, move, update, and upload files.
  • Create and manage folders and shared drives.
  • Set sharing permissions for files and folders.
UnleashX cannot:
  • Access Gmail, Calendar, or other Google services unless connected separately.
  • Change your Google account settings or password.
  • Bypass shared-drive role restrictions enforced by your organization.
To disconnect: In UnleashX, open Data Connectors → Google Drive → Disconnect, or revoke at https://myaccount.google.com/permissions. Revoking takes effect immediately. The connection authenticates each request with your Google OAuth access token (resolved from an access-token header, a google_drive_access_token header, or an Authorization: Bearer header, falling back to your UnleashX session), refreshed automatically when it expires.

8. Troubleshooting

ProblemWhat it meansHow to fix it
401 UnauthorizedThe access token is missing or expired.Reconnect Google Drive in Data Connectors.
403 ForbiddenMissing scope, or you lack rights on the file/shared drive.Re-authorize all scopes; confirm your role allows the action.
404 Not FoundThe file/folder ID doesn’t exist or isn’t shared with you.Verify the ID and your access.
Delete blockedA delete tool requires confirmation.Re-issue with confirm_deletion set to true.
For general connector issues, see /mcp/integrations.

9. Frequently asked questions

Does UnleashX copy my whole Drive? No. It accesses only the files and folders needed to fulfill a request, through Google’s API in real time. Can multiple team members connect Drive? Yes. Each person authorizes their own Google account. Are deletions reversible? Deleted items go to Drive’s trash per Google’s normal behavior; recover them from Drive’s Trash within the retention window.

10. References