Google-Drive-MCP-Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLIENT_ID | Yes | OAuth client ID from Google Cloud credentials | |
| CLIENT_SECRET | Yes | OAuth client secret from Google Cloud credentials | |
| GDRIVE_CREDS_DIR | Yes | Directory path where credential files are stored | |
| PDF_SIZE_LIMIT_MB | No | PDF file size limit in MB (default: 20, max: 100) | 20 |
| GDRIVE_ROOT_FOLDER_ID | Yes | Root folder ID to restrict access |
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 | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gdrive_searchB | Search for files in Google Drive |
| gdrive_read_fileA | Read file contents from Google Drive. Supports text extraction from PDFs and structured data from Excel files (.xlsx). Automatically converts Google Docs/Sheets to readable formats. For very large files (>20MB) or partial reading, use gdrive_read_large_file instead. |
| gsheets_update_cellA | Update a cell value in a Google Spreadsheet |
| gsheets_readA | Read data from Google Sheets (native Google Sheets only, not Excel/CSV files uploaded to Drive). For Excel files (.xlsx), use gdrive_read_file instead. Supports flexible range selection and formatting options. |
| gdrive_folder_structureA | Display the entire folder structure of Google Drive in a tree format |
| gdrive_read_large_fileA | Read large files (>20MB) from Google Drive with streaming support, or read specific byte ranges from any file. Use this for partial file reading or when gdrive_read_file fails due to size limits. Not suitable for Google Docs/Sheets or files requiring text extraction. |
| gdrive_analyze_imageB | Analyze image files from Google Drive with metadata and preview generation |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/pghoya2956/Google-Drive-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server