Skip to content
Grok

Google Drive MCP for Grok

io.github.a1-x-tech/mcp-google-drive

MCP server for the Google Drive API: search, upload, download, organize and share files.

client:Grok transport:stdio runtime:npm

Install Google Drive MCP 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": {
    "mcp-google-drive": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-drive"
      ],
      "env": {
        "GOOGLE_DRIVE_CLIENT_ID": "<GOOGLE_DRIVE_CLIENT_ID>",
        "GOOGLE_DRIVE_CLIENT_SECRET": "<GOOGLE_DRIVE_CLIENT_SECRET>",
        "GOOGLE_DRIVE_REFRESH_TOKEN": "<GOOGLE_DRIVE_REFRESH_TOKEN>",
        "GOOGLE_DRIVE_ACCESS_TOKEN": "<GOOGLE_DRIVE_ACCESS_TOKEN>",
        "GOOGLE_DRIVE_OAUTH_PORT": "<GOOGLE_DRIVE_OAUTH_PORT>",
        "GOOGLE_DRIVE_API_BASE": "<GOOGLE_DRIVE_API_BASE>",
        "GOOGLE_DRIVE_TIMEOUT_MS": "<GOOGLE_DRIVE_TIMEOUT_MS>",
        "GOOGLE_DRIVE_MAX_RETRIES": "<GOOGLE_DRIVE_MAX_RETRIES>"
      }
    }
  }
}

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 MCP in other clients