Skip to content
VS Code

Mailprotector for VS Code

io.github.wyre-technology/mailprotector-mcp

MCP server for Mailprotector — customers, domains, users, quarantine, allow/block rules for MSPs.

client:VS Code transport:stdio runtime:oci

Install Mailprotector in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mailprotector-api-key",
      "description": "MAILPROTECTOR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailprotector-reseller-id",
      "description": "MAILPROTECTOR_RESELLER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mailprotector-base-url",
      "description": "MAILPROTECTOR_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "auth-mode",
      "description": "AUTH_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "mailprotector-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1"
      ],
      "env": {
        "MAILPROTECTOR_API_KEY": "${input:mailprotector-api-key}",
        "MAILPROTECTOR_RESELLER_ID": "${input:mailprotector-reseller-id}",
        "MAILPROTECTOR_BASE_URL": "${input:mailprotector-base-url}",
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "AUTH_MODE": "${input:auth-mode}",
        "LOG_LEVEL": "${input:log-level}"
      }
    }
  }
}

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

Mailprotector in other clients