Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging (e.g., 'google-drive-mcp:*').
GOOGLE_DRIVE_MCP_SCOPESNoComma-separated list of OAuth scopes (e.g., 'drive.readonly,documents,spreadsheets').
GOOGLE_DRIVE_MCP_SUBJECTNoWorkspace user to impersonate via domain-wide delegation (service account mode).
GOOGLE_DRIVE_MCP_AUTH_PORTNoStarting port for OAuth callback server (e.g., 3100). Default: 3000
GOOGLE_DRIVE_MCP_CLIENT_IDNoOAuth client ID (required with GOOGLE_DRIVE_MCP_REFRESH_TOKEN).
GOOGLE_DRIVE_MCP_TOKEN_PATHNoOverride token storage location. Default: ~/.config/google-drive-mcp/tokens.json
GOOGLE_DRIVE_MCP_ACCESS_TOKENNoPre-obtained OAuth access token. Alternative to OAuth file or service account.
GOOGLE_APPLICATION_CREDENTIALSNoPath to service account key JSON file. Alternative to OAuth.
GOOGLE_DRIVE_MCP_CLIENT_SECRETNoOAuth client secret (required with GOOGLE_DRIVE_MCP_REFRESH_TOKEN).
GOOGLE_DRIVE_MCP_REFRESH_TOKENNoRefresh 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_CREDENTIALSNoPath to your OAuth credentials JSON file (Desktop app OAuth client).
GOOGLE_DRIVE_MCP_DISABLE_RESOURCESNoDisable MCP resource protocol (1/0, true/false, yes/no, on/off). Tools remain available.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/piotr-agier/google-drive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server