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. |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Themetralla3000/google-drive-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server