Skip to content
VS Code

mxgate for VS Code

io.mxgate/mxgate

Email for a domain, set up by an agent: forwarding, send-as, DNS setup and a log row per message.

client:VS Code transport:stdio runtime:npm

Install mxgate in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mxgate-api-key",
      "description": "MXGATE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cloudflare-api-token",
      "description": "CLOUDFLARE_API_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mxgate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mxgate"
      ],
      "env": {
        "MXGATE_API_KEY": "${input:mxgate-api-key}",
        "CLOUDFLARE_API_TOKEN": "${input:cloudflare-api-token}"
      }
    }
  }
}

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

mxgate in other clients