google-drive-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_DRIVE_CLIENT_ID | Yes | Your Google Drive client ID from Google Cloud Console. | |
| GOOGLE_DRIVE_CLIENT_SECRET | Yes | Your Google Drive client secret from Google Cloud Console. | |
| GOOGLE_DRIVE_REFRESH_TOKEN | Yes | Your Google Drive refresh token. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_recent_filesC | Lists recent files from Google Drive, ordered by recency, modification date or name. |
| search_filesA | Searches for files and folders in Google Drive by name or content. Accepts plain text or Drive query syntax (e.g. "mimeType='application/vnd.google-apps.folder'"). |
| list_folderA | Lists the contents (files and subfolders) of a specific Google Drive folder by its ID. Works with both My Drive and Shared Drive folders. Use get_file_metadata or search_files to find folder IDs first. |
| read_file_contentA | Reads the text content of a Google Drive file (Docs, Sheets, PDFs, plain text). Returns up to 20,000 characters. |
| get_file_metadataA | Returns metadata of a Drive file: name, MIME type, size, owners, modification date, parent folders and view link. |
| upload_fileA | Uploads a file to Google Drive. Pass text content directly or base64-encoded content for binary files (e.g. PPTX, PDF). Use folder_id to place the file in a specific folder — obtain it with search_files first. |
| upload_file_from_pathA | Uploads a file from a local path on the server to Google Drive. Use this after generating a file with another tool (e.g. PPTX at /shared/out/). The MIME type is auto-detected from the extension. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools have distinct purposes, but the two upload tools ('upload_file' and 'upload_file_from_path') could cause confusion since they differ only in how content is provided.
All tools use consistent verb_noun snake_case naming, with no deviations from the pattern.
Seven tools is well-scoped for a Drive server, covering essential operations without being excessive.
Common operations like creating folders, deleting files, and updating metadata are missing, leaving notable gaps for typical Drive workflows.