Back to MCP Servers

Google Drive Slack integration for your AI agent

Integrate Google Drive MCP server into your Slack workspace for instant access to your AI agent.

Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.

Categories

File Storage

Available Tools

Tools that your AI agent can use through this MCP server to interact with Google Drive

  • Upload File

    Upload a file to Google Drive. See the documentation for more information

  • Update Shared Drive

    Update an existing shared drive. See the documentation for more information

  • Update Reply

    Update a reply on a specific comment. See the documentation for more information

  • Update File

    Update a file's metadata and/or content. See the documentation for more information

  • Update Comment

    Update the content of a specific comment. See the documentation for more information

  • Trash File

    Move a file or folder to the trash in Google Drive. This is a reversible operation — the file can be restored from trash within 30 days. Use Search Files first to find the file ID by name. Use this instead of permanent deletion as the safer default. To find trashed files, use Search Files with trashed = true. See the documentation

  • Share File

    Share a file or folder in Google Drive by creating a sharing permission. Supports sharing with a specific user, a group, an entire domain, or anyone with the link. Use Search Files first to find the file ID by name.

    Sharing types:

    • user — share with a specific person (requires emailAddress)
    • group — share with a Google Group (requires emailAddress)
    • domain — share with everyone in a Google Workspace domain (requires domain)
    • anyone — share with anyone who has the link (no email/domain needed)

    Roles: reader (view only), commenter (can comment), writer (can edit). Use List Permissions to see existing sharing on a file. See the documentation

  • Search for Shared Drives

    Search for shared drives with query options. See the documentation for more information

  • Search Files

    Search for files and folders in Google Drive using the Drive query language. This is the primary tool for finding files, folders, spreadsheets, forms, and any other Drive item. Returns an object with files (each with its ID, name, and MIME type), count, nextPageToken, isComplete, and incompleteSearch.

    Query syntax — pass a Drive search query string. Examples:

    • Find by name: name contains 'Budget'
    • Exact name match: name = 'Q4 Report'
    • Folders only: mimeType = 'application/vnd.google-apps.folder'
    • Google Docs: mimeType = 'application/vnd.google-apps.document'
    • Spreadsheets: mimeType = 'application/vnd.google-apps.spreadsheet'
    • Files in a folder: 'FOLDER_ID' in parents
    • Not trashed: trashed = false
    • Modified after date: modifiedTime > '2024-01-01T00:00:00'
    • Combine with AND: name contains 'Report' and mimeType = 'application/vnd.google-apps.document'
    • Owner filter: 'user@example.com' in owners

    When the user says 'my files', use Get User Details first to get the owner email. To scope to a shared drive, pass the driveId from List Shared Drives.

    Pagination — each call returns at most maxResults files (default 100). If isComplete is false, more matches exist: call again with pageToken set to the returned nextPageToken and the same query, driveId, and includeItemsFromAllDrives to get the next batch. When isComplete is true, nextPageToken is null and there are no more pages. If incompleteSearch is true, Drive did not search every drive, so matches may be missing and paging will not recover them — narrow the search with driveId. Prefer narrowing the query over paging through many batches. See the documentation

  • Resolve Comment

    Mark a comment as resolved. See the documentation

  • Resolve Access Proposals

    Accept or deny a request for access to a file or folder in Google Drive. See the documentation

  • Reply to Comment

    Add a reply to an existing comment. See the documentation

  • Remove Sharing

    Remove a sharing permission from a file or folder in Google Drive. This revokes access for the specified permission. Use List Permissions first to find the permission ID to remove. The owner permission cannot be removed. Use Search Files to find the file ID by name if needed. See the documentation

  • Remove File Sharing Permission

    Remove a sharing permission from the sharing preferences of a file or folder. See the documentation

  • Move File

    Move a file from one folder to another. See the documentation for more information

  • Move File to Trash

    Move a file or folder to trash. See the documentation for more information

  • List Theme ID Options

    Retrieves available options for the Theme ID field.

  • List Shared Drives

    List shared drives accessible to the authenticated user. Returns drive IDs, names, and metadata for each shared drive. Use this when the user asks about their shared drives or needs to scope a search to a specific drive. Pass a drive ID to Search Files driveId parameter to search within a specific shared drive. Optionally filter by name using the query parameter (e.g., name contains 'Engineering'). See the documentation

  • List Replies

    List replies to a specific comment. See the documentation for more information

  • List Permissions

    List sharing permissions on a file or folder in Google Drive. Returns each permission's ID, type (user/group/domain/anyone), role (owner/writer/commenter/reader), and email address. Use Search Files first to find the file ID by name. Use this tool when the user asks 'who has access to this file?' or needs to audit sharing. Pass permission IDs from this response to Remove Sharing to revoke access. See the documentation

  • List Mime Type Options

    Retrieves available options for the Mime Type field.

  • List Files

    List files from a specific folder. Set Max Results to cap how many files are returned per run, then pass the returned nextPageToken back in as Page Token on the next run to page through a large folder in fixed-size batches. See the documentation for more information

  • List Comments

    List the comments on a file, including each comment's author, plain text and HTML content, the file text it is anchored to, whether it is resolved, and its full reply thread. Use Find File first to resolve a file's name to its ID. See the documentation

  • List Access Proposals

    List access proposals for a file or folder. See the documentation

  • Is Folder Ancestor

    Check if a specific folder is anywhere in the parent hierarchy of a file or folder. See the documentation

  • Get User Details

    Retrieve the authenticated user's Google Drive identity and storage quota. Returns display name, email address, permission ID, and storage usage/limits. Use this tool when the user asks 'who am I?' or needs their identity for owner-based queries. When the user says 'my files' or 'my documents', call this first to get the owner email, then pass it to Search Files with a query like 'user@example.com' in owners. See the documentation

  • Get Shared Drive

    Get metadata for one or all shared drives. See the documentation for more information

  • Get Reply By ID

    Get reply by ID on a specific comment. See the documentation for more information

  • Get Folder ID for a Path

    Retrieve a folderId for a path. See the documentation for more information

  • Get File

    Get full metadata for a file or folder by its ID. Returns name, MIME type, size, parent folders, sharing permissions, web links, creation/modification dates, and more. Use Search Files first to find the file ID if you only have the file name. By default returns all fields. Pass specific field names to fields to reduce the response size.

    Common fields: id, name, mimeType, size, parents, webViewLink, webContentLink, createdTime, modifiedTime, owners, permissions, description, trashed. See the documentation

  • Get File By ID

    Get info on a specific file. See the documentation for more information

  • Get Current User

    Retrieve Google Drive account metadata for the authenticated user via about.get, including display name, email, permission ID, and storage quota. Useful when flows or agents need to confirm the active Google identity or understand available storage. See the documentation.

  • Get Comment By ID

    Get comment by ID on a specific file. See the documentation for more information

  • Find Spreadsheets

    Search for a specific spreadsheet by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

  • Find Forms

    List Google Form documents or search for a Form by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

  • Find Folder

    Search for a specific folder by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

  • Find File

    Search for a specific file by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

  • Download File

    Download one or more files from Google Drive to the /tmp directory or return their contents as buffers. Select multiple files to download a batch in a single run. Use to fetch a file's contents for processing in downstream steps — e.g., parsing a CSV, extracting text from a PDF, or re-uploading to another service. For Google Workspace files (Docs, Sheets, Slides, Drawings, Apps Script), exports to an Office-compatible format by default: Docs → .docx, Sheets → .xlsx, Slides → .pptx, Drawings → PNG, Apps Script → JSON. Pass mimeType to force a specific format. Shortcuts are resolved to their target automatically. Folders, Forms, and My Maps cannot be downloaded via this action. See the documentation

  • Delete Shared Drive

    Delete a shared drive without any content. See the documentation for more information

  • Delete Reply

    Delete a reply on a specific comment. See the documentation for more information

  • Delete File

    Permanently delete a file or folder without moving it to the trash. See the documentation for more information

  • Delete Comment

    Delete a specific comment (Requires ownership or permissions). See the documentation

  • Create Text File

    Create a new Google Doc from text content in Google Drive. The file is created as a Google Docs document, which can be viewed and edited in the browser. Use this when the user asks to create a document, write a file, or save text to Drive. To place the file in a specific folder, pass the parentId — use Search Files with mimeType = 'application/vnd.google-apps.folder' to find the folder ID first. Supported content formats: plain text, Markdown, HTML, Rich Text, CSV. See the documentation

  • Create Shared Drive

    Create a new shared drive. See the documentation for more information

  • Create Folder

    Create a new empty folder. See the documentation for more information

  • Create New File From Text

    Create a new file from plain text. See the documentation for more information

  • Create New File From Template

    Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. See documentation

  • Copy File

    Create a copy of the specified file. See the documentation for more information

  • Share File or Folder

    Add a sharing permission to the sharing preferences of a file or folder and provide a sharing URL. See the documentation

  • Add Comment

    Add an unanchored comment to a Google Doc (general feedback, no text highlighting). See the documentation