Skip to content
Grok

google drive for Grok

io.github.us-all/google-drive

Google Drive + Workspace MCP — Docs, Sheets, Slides, Shared Drives, Labels, Approvals, DWD

client:Grok transport:stdio runtime:npm

Install google drive in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "google-drive": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/google-drive-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "GOOGLE_REFRESH_TOKEN": "<GOOGLE_REFRESH_TOKEN>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
        "GOOGLE_SERVICE_ACCOUNT_KEY_PATH": "<GOOGLE_SERVICE_ACCOUNT_KEY_PATH>",
        "GOOGLE_IMPERSONATE_USER": "<GOOGLE_IMPERSONATE_USER>",
        "GOOGLE_DRIVE_SCOPES": "<GOOGLE_DRIVE_SCOPES>",
        "GOOGLE_DRIVE_ALLOW_WRITE": "<GOOGLE_DRIVE_ALLOW_WRITE>",
        "GD_TOOLS": "<GD_TOOLS>",
        "GD_DISABLE": "<GD_DISABLE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

google drive in other clients