Google Drive
MCP server for Google Drive API v3 : search, read, create, share, and manage files and folders.
What it can do
- Gd Search Files: Search and list files in Google Drive. Use the q parameter for powerful search queries: name contains, mimeType, parent folder, trashed status, date filters. Returns file metadata wit
- Gd Get File: Get detailed metadata for a specific file or folder by ID. Returns all available metadata fields including size, owners, permissions, timestamps, and links.
- Gd Read File: Read/download file content. Returns text content for text-based files (txt, csv, json, html, xml, code). For binary files, returns file info. For Google Workspace files (Docs, Sheets, Sl
What data it sees
Do you need an account
An API key from the service settings is required
MCP server for Google Drive API v3 : search, read, create, share, and manage files and folders.
Features
- Search files with powerful query syntax (name, type, folder, date, full-text)
- Read text file content and export Google Workspace files (Docs, Sheets, Slides)
- Create, copy, rename, move, star, trash, and permanently delete files
- Share files with users, groups, domains, or make public with role-based access
- Add comments and threaded replies on files, resolve comment threads
- Manage shared drives (create, list, delete)
- View file revision history and storage quota
23 Tools
- Files (10): search, get metadata, read content, create, update, copy, delete, export, create folder, empty trash
- Permissions (3): list permissions, share file, unshare file
- Comments (3): list, create, delete comments
- Replies (2): list, create replies (with resolve/reopen actions)
- Shared Drives (3): list, create, delete shared drives
- Revisions (1): list file revision history
- About (1): user info, storage quota, import/export formats
Configuration
GOOGLE_CLIENT_ID: OAuth 2.0 Client ID from Google Cloud ConsoleGOOGLE_CLIENT_SECRET: OAuth 2.0 Client SecretGOOGLE_REFRESH_TOKEN: Refresh token obtained via OAuth consent flow withdrivescope (use Google OAuth Playground)
How to connect
How to connect Google Drive to Claude
The server address to paste into Claude settings:
https://google-drive--node2flow.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Google Drive to ChatGPT
The server address to paste into ChatGPT settings:
https://google-drive--node2flow.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Google Drive to Cursor
The server address to paste into Cursor settings:
https://google-drive--node2flow.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (23)
Raw names from tools/list. Only developers need these.
| gd_search_files | Search and list files in Google Drive. Use the q parameter for powerful search queries: name contains, mimeType, parent folder, trashed status, date filters. Returns file metadata with pagination support. |
| gd_get_file | Get detailed metadata for a specific file or folder by ID. Returns all available metadata fields including size, owners, permissions, timestamps, and links. |
| gd_read_file | Read/download file content. Returns text content for text-based files (txt, csv, json, html, xml, code). For binary files, returns file info. For Google Workspace files (Docs, Sheets, Slides), use gd_export_file instead. |
| gd_create_file | Create a new file or Google Workspace document (metadata only, no content upload). To create a folder, use gd_create_folder. For Google Docs, set mimeType to "application/vnd.google-apps.document". |
| gd_update_file | Update file metadata — rename, change description, star/unstar, move between folders, or trash/untrash. Use add_parents/remove_parents to move files. |
| gd_copy_file | Create a copy of a file. Optionally specify a new name, destination folder, or description for the copy. |
| gd_delete_file | Permanently delete a file or folder. This action is irreversible — the file will NOT go to trash. Use gd_update_file with trashed=true to move to trash instead. |
| gd_export_file | Export a Google Workspace file (Docs, Sheets, Slides, Drawings) to a standard format. Use this for Google-native files; use gd_read_file for regular files. Supported exports: Docs→text/plain,text/html,application/pdf; Sheets→text/csv,application/pdf; Slides→application/pdf,text/plain. |
| gd_create_folder | Create a new folder in Google Drive. Optionally specify a parent folder to create it as a subfolder. |
| gd_empty_trash | Permanently delete ALL files in the trash. This action is irreversible. All trashed files for the authenticated user will be permanently removed. |
| gd_list_permissions | List all permissions (sharing settings) for a file or folder. Shows who has access, their role (owner, writer, commenter, reader), and sharing type (user, group, domain, anyone). |
| gd_share_file | Share a file or folder by creating a permission. Share with a specific user (email), domain, or make public (anyone). Set role to control access level. |
| gd_unshare_file | Remove a permission from a file or folder, revoking access for a user, group, or domain. Use gd_list_permissions to find the permission_id first. |
| gd_list_comments | List comments on a file. Returns comment text, author, timestamps, resolved status, and inline replies. |
| gd_create_comment | Add a comment to a file. The comment will be attributed to the authenticated user. |
| gd_delete_comment | Delete a comment from a file. Only the comment author or file owner can delete comments. |
| gd_list_replies | List replies to a specific comment on a file. |
| gd_create_reply | Reply to a comment on a file. Optionally resolve the comment thread with action="resolve". |
| gd_list_drives | List shared drives (formerly Team Drives) that the user has access to. Supports search query for filtering by name. |
| gd_create_drive | Create a new shared drive (requires Google Workspace account). The authenticated user becomes the organizer. |
| gd_delete_drive | Permanently delete a shared drive. The drive must be empty (no files) before it can be deleted. This action is irreversible. |
| gd_list_revisions | List revision history for a file. Shows who modified the file, when, file size at each revision, and checksums. |
| gd_about | Get information about the authenticated user and their Google Drive — storage quota, import/export formats, and capabilities. |