Skip to content
VS Code

mailsink for VS Code

io.github.heocoi/mailsink

Disposable inboxes for AI agents and CI: catch the verification email, read the OTP or link.

client:VS Code transport:stdio runtime:npm

Install mailsink in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mailsink-api-key",
      "description": "MAILSINK_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailsink-api-url",
      "description": "MAILSINK_API_URL",
      "password": true
    }
  ],
  "servers": {
    "mailsink": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mailsink/mcp"
      ],
      "env": {
        "MAILSINK_API_KEY": "${input:mailsink-api-key}",
        "MAILSINK_API_URL": "${input:mailsink-api-url}"
      }
    }
  }
}

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

mailsink in other clients