Skip to content
VS Code

Alter Gmail MCP Server for VS Code

io.github.alteraidev/gmail-mcp

Multi-user Gmail MCP server with zero tokens on server, human approvals, and audit via Alter.

client:VS Code transport:stdio runtime:npm

Install Alter Gmail MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "alter-agent-api-key",
      "description": "ALTER_AGENT_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alter-account",
      "description": "ALTER_ACCOUNT",
      "password": true
    }
  ],
  "servers": {
    "gmail-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alter-ai/gmail-mcp"
      ],
      "env": {
        "ALTER_AGENT_API_KEY": "${input:alter-agent-api-key}",
        "ALTER_ACCOUNT": "${input:alter-account}"
      }
    }
  }
}

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

Alter Gmail MCP Server in other clients