Skip to main content
Glama
Google Drive MCP Server

Google Drive MCP Server

by xthintain

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GH_TOKENNoAlternative GitHub token accepted by the relay for pushing branches or creating repositories.
GITHUB_TOKENNoAlternative GitHub token accepted by the relay for pushing branches or creating repositories.
GDRIVE_RELAY_PUSHNoOverride for the relay `push` mode: `relay-branch` (default) or `never`.
GDRIVE_RELAY_ROOTNoOverride for the relay `driveRootName` field in relay.config.json.
GDRIVE_TOKEN_PATHNoAbsolute path to the persisted OAuth token file (token.json) created by `npm run auth`.
GDRIVE_RELAY_CONFIGNoPath to relay.config.json. Search order: this variable, current working directory, service install directory, then ~/.config/gdrive-mcp/relay.config.json.
GDRIVE_RELAY_ENABLEDNoOverride for the relay `enabled` field in relay.config.json.
GDRIVE_RELAY_WORKDIRNoOverride for the relay working directory. Defaults to %LOCALAPPDATA%\gdrive-relay on Windows or ~/.cache/gdrive-relay elsewhere.
GDRIVE_RELAY_GIT_NAMENoGit author name used by the relay when applying and committing patches.
GDRIVE_RELAY_AUTOSTARTNoOverride for the relay `autoStart` field in relay.config.json.
GDRIVE_RELAY_GIT_EMAILNoGit author email used by the relay when applying and committing patches.
GDRIVE_RELAY_GIT_TOKENNoGitHub token used for pushing relay branches or creating repositories. Read only from the environment and never written to disk or Drive. GITHUB_TOKEN and GH_TOKEN are also accepted.
GDRIVE_CREDENTIALS_PATHNoAbsolute path to the Google Cloud OAuth 2.0 Desktop app credentials JSON file. Defaults to credentials.json in the project root or ~/.config/gdrive-mcp/credentials.json.
GDRIVE_RELAY_MAX_PER_RUNNoOverride for the maximum number of submissions processed per relay run.
GDRIVE_RELAY_INTERVAL_SECNoOverride for the relay polling interval in seconds (default 60).
GDRIVE_RELAY_MAX_LOG_BYTESNoOverride for the maximum number of log bytes written back to Drive.
GDRIVE_RELAY_MAX_FILE_BYTESNoOverride for the maximum file size in bytes accepted by the relay.
GDRIVE_RELAY_CLAIM_LEASE_SECNoOverride for the relay claim lease duration in seconds (default 900).
GDRIVE_REFRESH_TOKEN_TTL_DAYSNoSet to 0 to disable the refresh token expiry estimate (useful when using an Internal OAuth user type where refresh tokens do not expire).
GDRIVE_RELAY_IDLE_SUSPEND_SECNoIdle timeout in seconds before the plugin's relay poller suspends (default 300). Set to 0 to disable suspension.
GDRIVE_RELAY_TEST_TIMEOUT_SECNoOverride for the relay test command timeout in seconds.
GDRIVE_RELAY_ALLOW_REPO_CREATENoOverride for the relay `allowRepoCreate` setting controlling whether seed mode may automatically create GitHub repositories.

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

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