Connects Claude directly to the Google Drive API with search, navigation, and file management operations. You get tools for querying files by name or metadata, browsing folder hierarchies, creating new folders, moving items, and trashing content. Supports three auth modes: OAuth loopback for local use, service accounts for headless deployments, and DCR for self-hosted setups. The search tool uses Drive's native query syntax, and there's a folder-path resource for resolving full directory trees. Runs over stdio for desktop clients or HTTP for remote access. Reach for this when you need Claude to interact with Drive content beyond simple uploads, especially for organizing files, building folder structures, or surfacing documents based on search criteria.
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_CLIENT_ID*Google OAuth client ID (required for OAuth authentication modes)
GOOGLE_CLIENT_SECRETsecretGoogle OAuth client secret (optional for public clients)
GOOGLE_SERVICE_ACCOUNT_KEY_FILEPath to service account JSON key file (required for service-account auth mode)
AUTH_MODEAuthentication mode
HEADLESSdefault: falseDisable browser auto-open, return auth URL instead (true/false)
REDIRECT_URIOAuth redirect URI (optional, default: ephemeral loopback)
RESOURCE_STORE_URIResource store URI for exported files (file://)
PORTHTTP server port (overrides --port)
BASE_URLBase URL for HTTP transport (used for OAuth/DCR endpoints and file links)
LOG_LEVELLogging level
DCR_MODEdefault: self-hostedDynamic Client Registration mode
DCR_VERIFY_URLExternal verification endpoint URL (required for external DCR mode)
DCR_STORE_URIdefault: file://~/.mcp-z/mcp-drive/dcr.jsonDCR client storage URI (for self-hosted DCR mode)
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp