Skip to content
VS Code

google gmail for VS Code

io.github.magurelabs/google-gmail

List, read and send Gmail messages.

client:VS Code transport:stdio runtime:oci

Install google gmail in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-mode",
      "description": "MCP_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-service-token",
      "description": "MCP_SERVICE_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "google-gmail": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-google-gmail:2.0.0"
      ],
      "env": {
        "MCP_MODE": "${input:mcp-mode}",
        "MCP_SERVICE_TOKEN": "${input:mcp-service-token}"
      }
    }
  }
}

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

google gmail in other clients