You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Star1 (1)You must be signed in to star a repository
About
MCP server for Google Drive — search, read, create, share, comment, and manage files through 23 toolsMCP server for Google Drive — search, read, create, share, comment, and manage files through 23 tools
Export Google Workspace files (Docs→text, Sheets→csv, etc.)
gd_create_folder
Create a new folder
gd_empty_trash
Permanently delete all trashed files
Permissions (3)
Tool
Description
gd_list_permissions
List who has access to a file
gd_share_file
Share with user, group, domain, or anyone
gd_unshare_file
Remove access for a user or group
Comments (3)
Tool
Description
gd_list_comments
List comments on a file
gd_create_comment
Add a comment to a file
gd_delete_comment
Delete a comment
Replies (2)
Tool
Description
gd_list_replies
List replies to a comment
gd_create_reply
Reply to a comment (optionally resolve thread)
Shared Drives (3)
Tool
Description
gd_list_drives
List shared drives
gd_create_drive
Create a shared drive (Workspace only)
gd_delete_drive
Delete an empty shared drive
Revisions (1)
Tool
Description
gd_list_revisions
List revision history for a file
About (1)
Tool
Description
gd_about
Get user info, storage quota, and Drive capabilities
Search Query Syntax
The q parameter in gd_search_files supports powerful queries:
# By name
name = 'exact-name.txt'
name contains 'report'
# By type
mimeType = 'application/vnd.google-apps.folder'
mimeType = 'application/vnd.google-apps.document'
mimeType = 'application/pdf'
# By location
'folderId' in parents
# By status
trashed = false
starred = true
# By date
modifiedTime > '2024-01-01'
createdTime > '2024-06-01T00:00:00'
# Full-text search
fullText contains 'quarterly report'
# Combine with and/or
name contains 'report' and mimeType = 'application/pdf'
trashed = false and modifiedTime > '2024-01-01'
Export Formats
Use gd_export_file to convert Google Workspace files:
MCP server for Google Drive — search, read, create, share, comment, and manage files through 23 toolsMCP server for Google Drive — search, read, create, share, comment, and manage files through 23 tools