Upload files, create folders, search content, and manage permissions via Google Drive API
160+ deploysclaude mcp add google_drive --url https://datafaucet.dev/api/mcp/t/google-drive
Run this command in your terminal · most users connect in under 60s
GET endpoints
search_files
Search files using Drive query syntax. Examples: "name contains 'report'", "mimeType='application/pdf'", "'folder_id' in parents", "modifiedTime > '2024-01-01'". Returns ID, name, mimeType, modifiedTime, and size. Paginate with 'pageToken' and 'pageSize' (max 1000).
https://www.googleapis.com/drive/v3/files?q={query}&fields=files(id,name,mimeType,modifiedTime,size)
get_file
Get file metadata by ID. Returns name, mimeType, size (bytes), parents array, webViewLink (shareable URL), modifiedTime, and owners. Add 'fields=*' to get all available metadata including permissions, thumbnailLink, and exportLinks.
https://www.googleapis.com/drive/v3/files/{file_id}?fields=id,name,mimeType,modifiedTime,size,parents,webViewLink
export_file
Export a Google Workspace file to a different format. Supported: Docs → text/plain, text/html, application/pdf; Sheets → text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; Slides → application/pdf. Change mimeType query param to select format.
https://www.googleapis.com/drive/v3/files/{file_id}/export?mimeType=text/plain
POST endpoints
create_folder
Create a folder. Required: 'name' and mimeType='application/vnd.google-apps.folder'. Optional: 'parents' array to nest under an existing folder (use root ID for top-level). Returns new folder ID and webViewLink for sharing.
https://www.googleapis.com/drive/v3/files
DELETE endpoints
delete_file
Permanently delete a file or folder by ID. This skips the trash and cannot be undone. To move to trash instead, use PATCH with 'trashed: true'. Requires owner permissions or file organizer role on the parent folder.
https://www.googleapis.com/drive/v3/files/{file_id}
PATCH endpoints
rename_file
Rename a file or folder, or move it to a different parent. Pass 'name' to rename, or use 'addParents'/'removeParents' params to move between folders. Can also update 'description', 'starred', and 'trashed' fields in one call.
https://www.googleapis.com/drive/v3/files/{file_id}
Run this in your terminal:
claude mcp add google_drive https://datafaucet.dev/api/mcp/t/google-drive
Connect Google Drive to your AI agent in under 60 seconds. No account required.
{notion_token}) with your real credentialsNeed API keys? Try our free sandbox templates first to see MCP in action with zero setup.
Replace these placeholders with your real values before deploying:
{email}Email address{file_id}Resource identifier{file_name}Your value{google_access_token}API settings page{new_name}Your value{parent_id}Resource identifier{query}Your valuePreview:
GET https://www.googleapis.com/drive/v3/files?q={query}&fields=files(id,name,mimeType,modifiedTime,size) Authorization: Bearer {google_access_token}
claude mcp add google_drive --url https://datafaucet.dev/api/mcp/t/google-driveWhat your AI agent sees
I have access to 7 tools from Google Drive: search_files, get_file, export_file, and 4 more.
“Search files using Drive query syntax. Examples: "name contains 'report'", "mimeType='application/pdf'", "'folder_id' in parents", "modifiedTime > '2024-01-01'". Returns ID, name, mimeType, modifiedTime, and size. Paginate with 'pageToken' and 'pageSize' (max 1000).”
Calling search_files... Done. Here are the results.
Try these prompts
“List all files shared with me in the last week”
Copy“Search for documents containing 'quarterly review'”
Copy“Show me the storage usage breakdown by file type”
CopyClick any prompt to copy, then paste into your AI client.