Google_drive

v0.2.1
io.github.pipeworx-io/google_drive Checked 16 hours ago Published 1 month ago

Google Drive MCP Pack

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

drive_list_files

List files in your Google Drive. Optionally filter by name, type, owner, or modified date (e.g., 'name contains "report"'). Returns file names, IDs, types, and metadata.

ParameterTypeDescription
order_bystringSort order (e.g., "modifiedTime desc", "name")
page_sizenumberMaximum number of files to return (default 10, max 100)
page_tokenstringToken for fetching the next page of results
qstringDrive search query (e.g., "name contains 'report'" or "mimeType='application/pdf'")

drive_get_file

Get metadata for a specific Drive file by ID. Returns name, type, size, owners, permissions, creation date, and last modified time.

ParameterTypeDescription
file_id *stringThe ID of the file to retrieve
fieldsstringComma-separated list of fields to include (default: id,name,mimeType,size,createdTime,modifiedTime,owners,webViewLink)

drive_get_content

Download file content from Drive. Export Google Docs/Sheets/Slides to PDF, Word, Excel, etc., or retrieve raw content from other files.

ParameterTypeDescription
file_id *stringThe ID of the file to download
export_mime_typestringMIME type to export Google Workspace files to (e.g., "text/plain", "application/pdf", "text/csv"). Required for Google Docs/Sheets/Slides.

drive_create_file

Create a new file in Drive with specified name, content, and type (e.g., 'text/plain', 'application/pdf'). Returns the file ID for future reference.

ParameterTypeDescription
content *stringText content of the file
mime_type *stringMIME type of the file (e.g., "text/plain", "application/json", "text/html")
name *stringName for the new file
parent_folder_idstringID of the parent folder (optional, defaults to root)