Skip to content

Google Workspace (headless, service-account auth) for Grok

io.github.holms/google-workspace-headless-mcp

56 Google Workspace tools. Service-account auth — no interactive OAuth. For headless agents.

client:Grok transport:stdio runtime:pypi

Install Google Workspace (headless, service-account auth) 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-workspace-headless-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "google-workspace-headless-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
        "WORKSPACE_USER_EMAIL": "<WORKSPACE_USER_EMAIL>"
      }
    }
  }
}

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 Workspace (headless, service-account auth) in other clients