Skip to content
VS Code

Google Workspace for VS Code

io.github.aaronsb/google-workspace

Give AI agents access to Gmail, Calendar, Drive, and more — multi-account, manifest-driven

client:VS Code transport:stdio runtime:npm

Install Google Workspace in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-client-id",
      "description": "GOOGLE_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-secret",
      "description": "GOOGLE_CLIENT_SECRET",
      "password": true
    }
  ],
  "servers": {
    "google-workspace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aaronsb/google-workspace-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "${input:google-client-id}",
        "GOOGLE_CLIENT_SECRET": "${input:google-client-secret}"
      }
    }
  }
}

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