
Google Drive
Connects Claude to Google Drive through an OAuth proxy architecture that handles all the token exchange without storing credentials. You get file operations (list, search, upload, download, move, trash), folder creation, comments and replies, and permission management. The file download tool can export native Google Docs and Sheets formats. Search uses Drive's query syntax so you can filter by name, MIME type, folder parent, or ownership. Runs as an HTTP server on localhost and manages the full OAuth flow from authorization through to API calls. Pair it with the author's google-docs-mcp or google-sheets-mcp servers if you need to edit document contents beyond what Drive's API provides.
- GitHub stars
- 7
- tools
- 20
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 4
- last updated
- Jun 22, 2026
Tools
20 toolsPublic 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 params
Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.
domainstringemail_addressstringfile_idstringrolestringtypestringGOOGLEDRIVE_COPY_FILEDuplicates an existing file in google drive, identified by its `file id`.2 params
Duplicates 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 params
Tool 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_mime_typestringquoted_file_content_valuestringGOOGLEDRIVE_CREATE_DRIVETool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.6 params
Tool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.
backgroundImageFileobjectcolorRgbstringhiddenbooleannamestringrequestIdstringthemeIdstringGOOGLEDRIVE_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 params
Creates 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).
descriptionstringfieldsstringmimeTypestringnamestringparentsarraystarredbooleanGOOGLEDRIVE_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 params
Creates 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 params
Creates 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.
folder_namestringparent_idstringGOOGLEDRIVE_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 params
Tool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.
actionstringcomment_idstringcontentstringfieldsstringfile_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 params
Tool 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.
ignoreDefaultVisibilitybooleanincludeLabelsstringincludePermissionsForViewstringkeepRevisionForeverbooleannamestringsupportsAllDrivesbooleantarget_idstringtarget_mime_typestringGOOGLEDRIVE_DELETE_COMMENTDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.2 params
Deletes a comment from a file. use when you need to remove a specific comment from a google drive file.
comment_idstringfile_idstringGOOGLEDRIVE_DELETE_DRIVETool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).3 params
Tool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).
allowItemDeletionbooleandriveIdstringuseDomainAdminAccessbooleanGOOGLEDRIVE_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 params
Deletes 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 params
Tool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.
comment_idstringfile_idstringreply_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 params
Downloads 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 params
Updates 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 params
Tool 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 params
Modifies 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.
file_idstringkindstringlabel_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 params
Tool 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.
corporastringuser · drive · domain · allDrivesdriveIdstringfieldsstringincludeItemsFromAllDrivesbooleanorderBystringpageSizeintegerpageTokenstringqstringspacesstringsupportsAllDrivesbooleanGOOGLEDRIVE_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 params
Tool 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.
full_text_containsstringfull_text_not_containsstringmodified_afterstringname_containsstringname_exactstringname_not_containsstringstarredbooleanGOOGLEDRIVE_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 params
Generates 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.
countintegerspacestringtypestringSponsors
Configuration
GOOGLE_ACCESS_TOKEN*secretGoogle OAuth access token with Drive scopes.
MCP_TRANSPORT*default: httpTransport type.
GOOGLE_CLIENT_ID*Google OAuth client ID.
GOOGLE_CLIENT_SECRET*secretGoogle OAuth client secret.
Readme
google-drive-mcp
MCP server for Google Drive - list, search, upload, download, and manage files and folders.
Use Cases
Answer from files: "What was our revenue target in the Q2 board deck?" → searches Drive, reads the relevant doc, and answers your question.
Project scaffolding: Starting a new vendor onboarding → creates a folder structure with subfolders for contracts, compliance, deliverables, and meeting notes, plus template docs and sheets.
Feedback synthesis: "Summarize the feedback from my manager across my last 10 presentation decks" → reads comments from multiple files and identifies themes and development areas.
Localization workflow: "We're onboarding contractors in Japan - translate the onboarding folder from English to Japanese and flag anything that needs local adaptation (HR policies, holidays, etc.)" → reads multiple docs, translates, and highlights areas needing review.
Details
- Repository
- github.com/domdomegg/google-drive-mcp
- Website
- github.com/domdomegg/google-drive-mcp#readme
- Categories
- Documents & Knowledge, Search & Web Crawling
- Package
google-drive-mcp- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active