Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GDRIVE_OAUTH_PATH | Yes | Path to your GCP OAuth client keys JSON file. Defaults to gcp-oauth.keys.json relative to the package. | gcp-oauth.keys.json |
| GDRIVE_DOWNLOAD_DIR | No | Directory where the download and export_pdf tools save files. Defaults to System temp dir + /gdrive-downloads. | |
| GDRIVE_ENABLE_SHEETS | No | Set to 'true' to enable the sheets_read tool and request the spreadsheets.readonly OAuth scope. Requires enabling the Google Sheets API in your GCP project and re-running auth. | false |
| GDRIVE_ENABLE_UPLOAD | No | Set to 'true' to enable the upload tool. Upgrades the OAuth scope from drive.readonly to drive (full read/write). Requires re-running auth. | false |
| GDRIVE_CREDENTIALS_PATH | Yes | Path to where the saved OAuth credentials (tokens) are stored. | ~/.gdrive-server-credentials.json |
| GDRIVE_ENABLE_RESOURCES | No | Set to 'true' to enable MCP resource handlers (gdrive:/// URIs). Disabled by default because some MCP clients call resources/list on startup, which triggers drive.files.list() and can hang. | false |
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 | |