Google Drive MCP Server
by xthintain
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GH_TOKEN | No | Alternative GitHub token accepted by the relay for pushing branches or creating repositories. | |
| GITHUB_TOKEN | No | Alternative GitHub token accepted by the relay for pushing branches or creating repositories. | |
| GDRIVE_RELAY_PUSH | No | Override for the relay `push` mode: `relay-branch` (default) or `never`. | |
| GDRIVE_RELAY_ROOT | No | Override for the relay `driveRootName` field in relay.config.json. | |
| GDRIVE_TOKEN_PATH | No | Absolute path to the persisted OAuth token file (token.json) created by `npm run auth`. | |
| GDRIVE_RELAY_CONFIG | No | Path to relay.config.json. Search order: this variable, current working directory, service install directory, then ~/.config/gdrive-mcp/relay.config.json. | |
| GDRIVE_RELAY_ENABLED | No | Override for the relay `enabled` field in relay.config.json. | |
| GDRIVE_RELAY_WORKDIR | No | Override for the relay working directory. Defaults to %LOCALAPPDATA%\gdrive-relay on Windows or ~/.cache/gdrive-relay elsewhere. | |
| GDRIVE_RELAY_GIT_NAME | No | Git author name used by the relay when applying and committing patches. | |
| GDRIVE_RELAY_AUTOSTART | No | Override for the relay `autoStart` field in relay.config.json. | |
| GDRIVE_RELAY_GIT_EMAIL | No | Git author email used by the relay when applying and committing patches. | |
| GDRIVE_RELAY_GIT_TOKEN | No | GitHub 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_PATH | No | Absolute 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_RUN | No | Override for the maximum number of submissions processed per relay run. | |
| GDRIVE_RELAY_INTERVAL_SEC | No | Override for the relay polling interval in seconds (default 60). | |
| GDRIVE_RELAY_MAX_LOG_BYTES | No | Override for the maximum number of log bytes written back to Drive. | |
| GDRIVE_RELAY_MAX_FILE_BYTES | No | Override for the maximum file size in bytes accepted by the relay. | |
| GDRIVE_RELAY_CLAIM_LEASE_SEC | No | Override for the relay claim lease duration in seconds (default 900). | |
| GDRIVE_REFRESH_TOKEN_TTL_DAYS | No | Set 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_SEC | No | Idle timeout in seconds before the plugin's relay poller suspends (default 300). Set to 0 to disable suspension. | |
| GDRIVE_RELAY_TEST_TIMEOUT_SEC | No | Override for the relay test command timeout in seconds. | |
| GDRIVE_RELAY_ALLOW_REPO_CREATE | No | Override 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
| 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 | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues