Google Drive MCP server for Claude, ChatGPT, Claude Code and Cursor
Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices, with robust search and offline access
Examples of what your AI apps can do in Google Drive. You'll see the exact list of tools after you connect it.
add_file_sharing_preference
ToolModifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.
create_comment
ToolTool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.
create_drive
ToolTool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.
create_file
ToolCreates 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).
create_folder
ToolCreates 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.
create_reply
ToolTool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.
create_shortcut_to_file
ToolTool 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.
delete_comment
ToolDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.
delete_drive
ToolTool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).
delete_permission
ToolDeletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.
delete_reply
ToolTool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.
download_file
ToolDownloads 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.
empty_trash
ToolTool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.
files_modify_labels
ToolModifies 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.
generate_ids
ToolGenerates 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.
get_about
ToolTool to retrieve information about the user, the user's drive, and system capabilities. use when you need to check storage quotas, user details, or supported import/export formats.
get_changes_start_page_token
ToolTool to get the starting pagetoken for listing future changes in google drive. use this when you need to track changes to files and folders.
get_comment
ToolTool to get a comment by id. use when you need to retrieve a specific comment from a google drive file and have both the file id and comment id.
get_drive
ToolTool to get a shared drive by id. use when you need to retrieve information about a specific shared drive.
get_file_metadata
ToolTool to get a file's metadata by id. use when you need to retrieve the metadata for a specific file in google drive.
get_permission
ToolGets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.
get_reply
ToolTool to get a specific reply to a comment on a file. use when you need to retrieve the details of a particular reply.
get_revision
ToolTool to get a specific revision's metadata by revision id. use when you need to retrieve information about a particular version of a file.
hide_drive
ToolTool to hide a shared drive from the default view. use when you want to remove a shared drive from the user's main google drive interface without deleting it.
list_changes
ToolTool to list the changes for a user or shared drive. use when you need to track modifications to files and folders, such as creations, deletions, or permission changes. this action requires a `pagetoken` which can be initially obtained using the `get changes start page token` action or from a previous `list changes` response.
list_comments
ToolTool to list all comments for a file in google drive. use when you need to retrieve comments associated with a specific file.
list_file_labels
ToolTool to list the labels on a file. use when you need to retrieve all labels associated with a specific file in google drive.
list_files
ToolTool to list a user's files and folders in google drive. use this to search or browse for files and folders based on various criteria.
list_permissions
ToolTool to list a file's permissions. use when you need to retrieve all permissions associated with a specific file or shared drive.
list_replies_to_comment
ToolTool to list replies to a comment in google drive. use this when you need to retrieve all replies associated with a specific comment on a file.
list_revisions
ToolTool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.
list_shared_drives
ToolTool to list the user's shared drives. use when you need to get a list of all shared drives accessible to the authenticated user.
move_file
ToolTool to move a file from one folder to another in google drive. use when you need to reorganize files by changing their parent folder(s).
stop_watch_channel
ToolTool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.
unhide_drive
ToolTool to unhide a shared drive. use when you need to restore a shared drive to the default view.
untrash_file
ToolTool to restore a file from the trash. use when you need to recover a deleted file. this action updates the file's metadata to set the 'trashed' property to false.
update_comment
ToolTool to update an existing comment on a google drive file. use when you need to change the content or status (e.g., resolve) of a comment.
update_drive
ToolTool to update the metadata for a shared drive. use when you need to modify properties like the name, theme, background image, or restrictions of a shared drive.
update_file_put
ToolUpdates file metadata. uses patch semantics (partial update) as per google drive api v3. use this tool to modify attributes of an existing file like its name, description, or parent folders. note: this action currently supports metadata updates only. file content updates require multipart/related upload and are not yet implemented.
update_file_revision_metadata
ToolUpdates metadata of a file revision (e.g., keepforever, publish). use this tool to modify the metadata of a specific revision of a file in google drive.
update_permission
ToolTool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.
update_reply
ToolTool to update a reply to a comment on a google drive file. use when you need to modify the content of an existing reply.
upload_file
ToolUploads a file (max 5mb) to google drive, moving it to a specified folder if a valid folder id is provided, otherwise uploads to root.
watch_changes
ToolTool to subscribe to changes for a user or shared drive in google drive. use when you need to monitor a google drive for modifications and receive notifications at a specified webhook url.
copy_file
ToolDuplicates an existing file in google drive, identified by its `file id`.
create_file_from_text
ToolCreates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.
edit_file
ToolUpdates an existing google drive file by overwriting its entire content with new text (max 10mb).
find_file
ToolTool 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.
find_folder
ToolTool 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.
google_drive_delete_folder_or_file_action
ToolTool to delete a file or folder in google drive. use when you need to permanently remove a specific file or folder using its id. note: this action is irreversible.
Free. No card needed.
How to connect Google Drive
- 1Create your free ContextGate account.
- 2Google Drive isn't in ContextGate's app list yet. If you have an MCP server for Google Drive, add it under Connections → Add Connection → Custom MCP.
- 3Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Google Drive.
What you get with Google Drive and ContextGate
- Your AI apps can use Google Drive Claude, Cursor, ChatGPT and other AI apps reach Google Drive through the one ContextGate connection you add to them.
- You choose which tools they can use Switch off any Google Drive tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Select a tool on the left to see its parameters
What you get with Google Drive and ContextGate
- Your AI apps can use Google Drive: Claude, Cursor, ChatGPT and other AI apps reach Google Drive through the one ContextGate connection you add to them.
- You choose which tools they can use: Switch off any Google Drive tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded: Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Free. No card needed.
How to connect Google Drive
- Create your free ContextGate account.
- Google Drive isn't in ContextGate's app list yet. If you have an MCP server for Google Drive, add it under Connections → Add Connection → Custom MCP.
- Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Google Drive.