Google Drive
Connect to Google Drive to manage cloud file storage.
Key Features
- File and folder creation, retrieval, modification, deletion
- File search and metadata management
- File sharing and permission settings
- File copying, moving, renaming
- Version management and file locking
- Shared drive management
- Batch operation support
Basic Information
Authentication Method
Authenticates using OAuth 2.0.
Required Permissions
https://www.googleapis.com/auth/drive
: Full Google Drive access permission
Supported MCP Tools
Basic File/Folder Management
roots
Retrieves drive root list (My Drive, shared items).
file_metadata
Retrieves file metadata.
folder_children
Retrieves folder contents list.
search
Searches for files in Google Drive.
file_content
Retrieves Google Drive file contents.
create
Creates a file or folder.
delete
Moves file to trash or permanently deletes it.
copy
Copies a file or folder to a new location.
rename
Renames a file or folder.
file_move
Moves a file to another folder.
star
Adds or removes a file or folder from favorites.
restore
Restores a file from trash.
Version Management
versions_list
Retrieves all version list of a file.
file_lock
Locks/unlocks a file (Google Workspace only).
Permission Management
share
Manages file permissions.
permissions_list
Retrieves all permission list of a file or folder.
permission_update
Updates user permissions for a file or folder.
permission_delete
Removes user access permissions for a file or folder by permission ID.
permission_add_domain
Shares a file or folder with all users in a domain.
Shared Drive Management
shared_drives_list
Retrieves list of all accessible shared drives.
shared_drive_get
Retrieves metadata of a specific shared drive.
shared_drive_files
Retrieves file list of a shared drive.
Batch Operations
batch_get_metadata
Retrieves metadata of multiple files in a single request.
batch_update_permissions
Updates permissions for multiple files at once.
batch_delete
Deletes multiple files or folders at once.
batch_copy
Copies multiple files to target folder.
batch_move
Moves multiple files to target folder.
Usage Example
For example,
- When you input “Retrieve the file list from My Drive” as a prompt,
- The LLM calls the
roots
andfolder_children
tools through MCP to retrieve the file list. - Then, it responds in the chat based on the tool call results.
Notes
- Be careful when processing large volumes of files in batch operations.
- File deletion is recoverable, but permanent deletion is irreversible, so use it carefully.
- File locking feature is only available for Google Workspace accounts.