Connects Claude to Google Drive through the Pipeworx gateway. You get five tools: list and search files with query filters, pull metadata by ID, download content with automatic export for Docs/Sheets/Slides, and create new files with specified MIME types. Useful when you need to scan Drive for specific documents, extract content for analysis, or automate file creation from Claude's output. Part of Pipeworx's larger catalog of 673+ data sources, so you can add this standalone or use the full gateway. Uses streamable HTTP transport and includes an ask_pipeworx wrapper that interprets natural language queries instead of direct tool calls.
Public tool metadata for what this MCP can expose to an agent.
GOOGLEDRIVE_ADD_FILE_SHARING_PREFERENCEModifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.5 paramsModifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.
rolestringtypestringdomainstringfile_idstringemail_addressstringGOOGLEDRIVE_COPY_FILEDuplicates an existing file in google drive, identified by its `file id`.2 paramsDuplicates an existing file in google drive, identified by its `file id`.
file_idstringnew_titlestringGOOGLEDRIVE_CREATE_COMMENTTool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.5 paramsTool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.
anchorstringcontentstringfile_idstringquoted_file_content_valuestringquoted_file_content_mime_typestringGOOGLEDRIVE_CREATE_DRIVETool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.6 paramsTool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.
namestringhiddenbooleanthemeIdstringcolorRgbstringrequestIdstringbackgroundImageFileobjectGOOGLEDRIVE_CREATE_FILECreates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).6 paramsCreates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).
namestringfieldsstringparentsarraystarredbooleanmimeTypestringdescriptionstringGOOGLEDRIVE_CREATE_FILE_FROM_TEXTCreates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.4 paramsCreates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.
file_namestringmime_typestringparent_idstringtext_contentstringGOOGLEDRIVE_CREATE_FOLDERCreates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.2 paramsCreates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.
parent_idstringfolder_namestringGOOGLEDRIVE_CREATE_REPLYTool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.5 paramsTool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.
actionstringfieldsstringcontentstringfile_idstringcomment_idstringGOOGLEDRIVE_CREATE_SHORTCUT_TO_FILETool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.8 paramsTool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.
namestringtarget_idstringincludeLabelsstringtarget_mime_typestringsupportsAllDrivesbooleankeepRevisionForeverbooleanignoreDefaultVisibilitybooleanincludePermissionsForViewstringGOOGLEDRIVE_DELETE_COMMENTDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.2 paramsDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.
file_idstringcomment_idstringGOOGLEDRIVE_DELETE_DRIVETool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).3 paramsTool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).
driveIdstringallowItemDeletionbooleanuseDomainAdminAccessbooleanGOOGLEDRIVE_DELETE_PERMISSIONDeletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.4 paramsDeletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.
file_idstringpermission_idstringsupportsAllDrivesbooleanuseDomainAdminAccessbooleanGOOGLEDRIVE_DELETE_REPLYTool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.3 paramsTool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.
file_idstringreply_idstringcomment_idstringGOOGLEDRIVE_DOWNLOAD_FILEDownloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified `mime type`. for other file types, downloads in their native format regardless of mime type.2 paramsDownloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified `mime type`. for other file types, downloads in their native format regardless of mime type.
file_idstringmime_typestringapplication/vnd.openxmlformats-officedocument.wordprocessingml.document · application/vnd.oasis.opendocument.text · application/rtf · application/pdf · text/plain · application/zipGOOGLEDRIVE_EDIT_FILEUpdates an existing google drive file by overwriting its entire content with new text (max 10mb).3 paramsUpdates an existing google drive file by overwriting its entire content with new text (max 10mb).
contentstringfile_idstringmime_typestringGOOGLEDRIVE_EMPTY_TRASHTool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.2 paramsTool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.
driveIdstringenforceSingleParentbooleanGOOGLEDRIVE_FILES_MODIFY_LABELSModifies the set of labels applied to a file. returns a list of the labels that were added or modified. use when you need to programmatically change labels on a google drive file, such as adding, updating, or removing them.3 paramsModifies the set of labels applied to a file. returns a list of the labels that were added or modified. use when you need to programmatically change labels on a google drive file, such as adding, updating, or removing them.
kindstringfile_idstringlabel_modificationsarrayGOOGLEDRIVE_FIND_FILETool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.10 paramsTool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.
qstringfieldsstringspacesstringcorporastringuser · drive · domain · allDrivesdriveIdstringorderBystringpageSizeintegerpageTokenstringsupportsAllDrivesbooleanincludeItemsFromAllDrivesbooleanGOOGLEDRIVE_FIND_FOLDERTool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.7 paramsTool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.
starredbooleanname_exactstringname_containsstringmodified_afterstringname_not_containsstringfull_text_containsstringfull_text_not_containsstringGOOGLEDRIVE_GENERATE_IDSGenerates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.3 paramsGenerates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.
typestringcountintegerspacestringGoogle Drive MCP Pack
Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.
| Tool | Description |
|---|---|
drive_list_files | List files in your Google Drive. Optionally filter by name, type, owner, or modified date (e.g., 'name contains "report"'). Returns file names, IDs, types, and metadata. |
drive_get_file | Get metadata for a specific Drive file by ID. Returns name, type, size, owners, permissions, creation date, and last modified time. |
drive_get_content | Download file content from Drive. Export Google Docs/Sheets/Slides to PDF, Word, Excel, etc., or retrieve raw content from other files. |
drive_create_file | Create a new file in Drive with specified name, content, and type (e.g., 'text/plain', 'application/pdf'). Returns the file ID for future reference. |
drive_search | Search Drive files by name, type, owner, modified date, or full text using query operators (e.g., 'name contains "report"', 'mimeType = application/pdf'). Returns matching files and IDs. |
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"google_drive": {
"url": "https://gateway.pipeworx.io/google_drive/mcp"
}
}
}
Or connect to the full Pipeworx gateway for access to all 673+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Google_drive data" })
The gateway picks the right tool and fills the arguments automatically.
MIT