← All MCP servers
MCP server directory

Google Drive

Search Google Drive, upload and download files, create folders, move and rename items, and manage sharing and file permissions.

Version:
hosted

Install

Generated from the server’s transport data — never hand-written. Placeholders in angle brackets are yours to fill.

Run it with its own identity, a budget you set, and every call audited — no local config to keep in sync.

Add to a connect0 project

You will sign in first, then land back on this page.

What it can do

As declared by the publisher

Tools · 18

  • Arcade_ListApps

    See the apps the current caller can act on and whether they are connected. Returns each app's id, name, connected state, and (when connected) the account it is connected as. Call this to answer "what apps do I have?" or when the caller's connection state may have changed since the session started.

  • GoogleDrive_CheckFileAccess

    Check whether this app can already read each of several Drive files, in one batched pre-flight call, before attempting to read them. Use this when the user references multiple files so any that are not yet accessible can be granted together in a single picker step, instead of hitting a separate access error and grant prompt for each one. Each input may be a bare file id or a full Google Drive/Workspace URL (documents, spreadsheets, slides, PDFs, images, folders — any type). Returns `files` (a per-id list with `accessible`, the `title` and `mime_type` when the file was read, and a `reason` when not usable), `all_accessible` (true only when every id is already accessible), `connected_account_email` (the connected Google account, empty when unknown), and a `grant` block. `grant` is empty when nothing needs granting; otherwise it lists the ungranted ids (`ungranted_ids`) plus, when the inline picker is enabled, a single picker URL covering them all. A `reason` of `not_accessible_or_not_found` is either a file not granted to this app yet or one that does not exist (indistinguishable here) — the picker resolves the former. `invalid_reference` is an input that is not a Drive id or link at all; ask the user to re-check it. `error` is a transient server-side failure (a timeout or 5xx) that the picker cannot fix; the same inputs may be retried later.

  • GoogleDrive_CreateFolder

    Create a new folder in Google Drive. By default, parent folder paths are resolved in My Drive. For shared drives, use folder IDs or provide shared\_drive\_id.

  • GoogleDrive_DownloadFile

    Download a blob file (non-workspace file) from Google Drive as base64 encoded content. For small files (under \~5MB raw), returns the file content directly in the response as base64. For large files, returns metadata with requires\_chunked\_download=True - use download\_file\_chunk to retrieve the file in parts. By default, paths are resolved in My Drive. For shared drives, use file IDs or provide shared\_drive\_id.

  • GoogleDrive_DownloadFileChunk

    Download a specific byte range of a file from Google Drive. Use this for large files that require chunked download (when download\_file returns requires\_chunked\_download=True). Call repeatedly with increasing start\_byte values to retrieve the complete file. Returns the chunk content as base64, along with progress information including whether this is the final chunk.

  • GoogleDrive_GenerateGoogleFilePickerUrl

    Generate a URL where the user can grant this app access to specific Drive files. Opens Google's first-party Drive picker. The user selects which files to share with this application — it is not a sign-in or credential prompt. By default the picker shows files of all types; pass `file_types` to restrict it to specific types. Use this when a prior tool reported that a file was not found or access was denied, and the user expects the file to exist. After the user completes the picker flow, retry the prior tool.

  • GoogleDrive_GetFileTreeStructure

    Get the file/folder tree structure of the user's entire Google Drive. Very inefficient for large drives. Use with caution.

  • GoogleDrive_ListFilePermissions

    List permissions on a Google Drive file or folder. Returns the individual people (and groups) with access and the current General access (link sharing) state. `general_access` is computed across the ENTIRE file regardless of filtering -- so "is this doc public?" is always answered authoritatively. When `roles` is provided, `people` and `total_people` reflect only collaborators whose role matches the filter. Truncated collaborators beyond `limit` are not returned; `has_more` indicates whether truncation occurred.

  • GoogleDrive_MoveFile

    Move a file or folder to a different folder within the same Google Drive. Can move to a folder (keeping name), or move and rename in one operation. By default, paths are resolved in My Drive. For shared drives, use file IDs or provide shared\_drive\_id.

  • GoogleDrive_RemoveAllCollaborators

    Remove all user collaborators (and optionally groups) from a Google Drive file. The file owner and the calling user are always preserved. Groups are preserved by default because the Drive API cannot verify group membership -- pass include\_groups=True to opt in. Inherited shared-drive permissions are never removable from the file level and are skipped. Use except\_people to preserve additional people or groups by email or name. Ambiguous or unmatched except\_people entries raise an error to avoid accidentally removing someone the caller meant to keep.

  • GoogleDrive_RenameFile

    Rename a file or folder in Google Drive. By default, paths are resolved in My Drive. For files in shared drives, either use the file ID directly or provide the shared\_drive\_id parameter.

  • GoogleDrive_RevokeFileAccess

    Revoke access for specific people or groups on a Google Drive file. Identifies matches by email (exact, case-insensitive) or display name. When an input matches multiple people, the clear matches are still revoked and the ambiguous input is surfaced in the `ambiguous` response field with candidate details so the agent can re-prompt the user for just the uncertain ones. Inputs that don't match any collaborator are returned in `not_found`. Pending-owner matches (mid-ownership-transfer) are skipped and surfaced in `skipped_pending_owner` so the clean revokes in the batch still land. Owner permissions cannot be revoked -- transfer ownership first. When a grantee has both a direct and an inherited permission (e.g., shared-drive member also granted directly on the file), revoking the direct row leaves the inherited access intact. The inherited row is surfaced in `skipped_inherited` so callers don't assume the grantee is fully removed -- inherited access must be adjusted at the shared drive level.

  • GoogleDrive_SearchDrive

    Search the user's entire Google Drive, including files they created or received directly in Drive — not only files created through this app. Reads across the user's whole Drive, so it requires broad read access to their files. The provided 'query' should contain only the search terms; the tool builds the full Drive query for you, matching file names and contents.

  • GoogleDrive_SearchFiles

    Search for files in Google Drive. The provided 'query' should only contain the search terms. The tool will construct the full search query for you.

  • GoogleDrive_SetGeneralAccess

    Change the 'General access' (link sharing) setting on a Google Drive file. Idempotent: calling with the same state as the current configuration is a no-op. When access is 'domain', the link is scoped to the caller's email domain -- NOT the file owner's domain. For cross-org collaboration (e.g., editing a file owned by another organization), confirm with the user which domain they intend before calling. Google will reject domain sharing for personal accounts (gmail.com, outlook.com, etc.) -- the tool translates that rejection into a friendly error. The response's `access` and `role` fields report the EFFECTIVE state after the transition, not the requested state. For files on shared drives, inherited link permissions cannot be changed from the file level -- if the request would have required removing an inherited permission, the effective state will reflect the inherited permission that remained. When `skipped_inherited` is non-empty, inspect it to understand why effective state may differ from what was requested.

  • GoogleDrive_ShareFile

    Share a file or folder in Google Drive with specific people by granting them permissions. If a user already has permission on the file, their role will be updated to the new role. By default, paths are resolved in My Drive. For shared drives, use file IDs or provide shared\_drive\_id.

  • GoogleDrive_UploadFile

    Upload a file to Google Drive from a URL. Fetches the file content from the provided URL and uploads it to Google Drive. Supports files of any size - uses resumable upload internally for large files. CANNOT upload Google Workspace files (Google Docs, Sheets, Slides) CANNOT upload files larger than 25MB

  • GoogleDrive_WhoAmI

    Get comprehensive user profile and Google Drive environment information. This tool provides detailed information about the authenticated user including their name, email, profile picture, Google Drive storage information, the shared drives (and their IDs) the user has access to, and other important profile details from Google services.

Google Drive MCP server — setup for Claude Code, Cursor and VS Code · connect0