Skip to content

Google Workspace (headless, service-account auth) for VS Code

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

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

client:VS Code transport:stdio runtime:pypi

Install Google Workspace (headless, service-account auth) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-application-credentials",
      "description": "GOOGLE_APPLICATION_CREDENTIALS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "workspace-user-email",
      "description": "WORKSPACE_USER_EMAIL",
      "password": true
    }
  ],
  "servers": {
    "google-workspace-headless-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "google-workspace-headless-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "${input:google-application-credentials}",
        "WORKSPACE_USER_EMAIL": "${input:workspace-user-email}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Google Workspace (headless, service-account auth) in other clients