Google Drive MCP Server
by piotr-agier
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging (e.g., 'google-drive-mcp:*'). | |
| GOOGLE_DRIVE_MCP_SCOPES | No | Comma-separated list of OAuth scopes (e.g., 'drive.readonly,documents,spreadsheets'). | |
| GOOGLE_DRIVE_MCP_SUBJECT | No | Workspace user to impersonate via domain-wide delegation (service account mode). | |
| GOOGLE_DRIVE_MCP_AUTH_PORT | No | Starting port for OAuth callback server (e.g., 3100). Default: 3000 | |
| GOOGLE_DRIVE_MCP_CLIENT_ID | No | OAuth client ID (required with GOOGLE_DRIVE_MCP_REFRESH_TOKEN). | |
| GOOGLE_DRIVE_MCP_TOKEN_PATH | No | Override token storage location. Default: ~/.config/google-drive-mcp/tokens.json | |
| GOOGLE_DRIVE_MCP_ACCESS_TOKEN | No | Pre-obtained OAuth access token. Alternative to OAuth file or service account. | |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to service account key JSON file. Alternative to OAuth. | |
| GOOGLE_DRIVE_MCP_CLIENT_SECRET | No | OAuth client secret (required with GOOGLE_DRIVE_MCP_REFRESH_TOKEN). | |
| GOOGLE_DRIVE_MCP_REFRESH_TOKEN | No | Refresh token for auto-refresh (required with GOOGLE_DRIVE_MCP_CLIENT_ID and GOOGLE_DRIVE_MCP_CLIENT_SECRET when using external token mode). | |
| GOOGLE_DRIVE_OAUTH_CREDENTIALS | No | Path to your OAuth credentials JSON file (Desktop app OAuth client). | |
| GOOGLE_DRIVE_MCP_DISABLE_RESOURCES | No | Disable MCP resource protocol (1/0, true/false, yes/no, on/off). Tools remain available. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
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/piotr-agier/google-drive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server