npm · @us-all/google-drive-mcp
$npx -y @us-all/google-drive-mcp@1.15.8 GOOGLE_CLIENT_ID · secret — OAuth client ID. Required for OAuth refresh-token auth method.
GOOGLE_CLIENT_SECRET · secret — OAuth client secret. Required for OAuth refresh-token auth method.
GOOGLE_REFRESH_TOKEN · secret — OAuth refresh token. Required for OAuth refresh-token auth method.
GOOGLE_APPLICATION_CREDENTIALS — Path to service account JSON key. Required for SA + DWD auth method (alternative to OAuth).
GOOGLE_SERVICE_ACCOUNT_KEY_PATH — Alias for GOOGLE_APPLICATION_CREDENTIALS.
GOOGLE_IMPERSONATE_USER — Workspace user email to impersonate (DWD). Required when using service account auth.
GOOGLE_DRIVE_SCOPES — Comma-separated OAuth scopes. Defaults are read-only; write mode broadens Drive/Docs scopes as needed.
GOOGLE_DRIVE_ALLOW_WRITE — Set to 'true' to enable write tools. Default read-only.
GD_TOOLS — Comma-separated category allowlist. Default: all categories enabled.
GD_DISABLE — Comma-separated category disablelist.