{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Dicka18/mailgate",
  "slug": "io.github.dicka18.mailgate",
  "title": "MailGate",
  "summary": "Self-hosted Cloudflare Workers OTP and magic-link email inbox MCP server for E2E auth testing.",
  "version": "1.1.1",
  "serverKey": "mailgate",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.dicka18.mailgate",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.dicka18.mailgate/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:27:45.391458519Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=mailgate-sdk@1.1.1",
        "mailgate-mcp",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mailgate -e 'MAILGATE_URL=<MAILGATE_URL>' -- npx -y --package=mailgate-sdk@1.1.1 mailgate-mcp mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mailgate\": {\n      \"args\": [\n        \"-y\",\n        \"--package=mailgate-sdk@1.1.1\",\n        \"mailgate-mcp\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MAILGATE_URL\": \"<MAILGATE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mailgate\": {\n      \"args\": [\n        \"-y\",\n        \"--package=mailgate-sdk@1.1.1\",\n        \"mailgate-mcp\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MAILGATE_URL\": \"<MAILGATE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"MAILGATE_URL\",\n      \"id\": \"mailgate-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mailgate\": {\n      \"args\": [\n        \"-y\",\n        \"--package=mailgate-sdk@1.1.1\",\n        \"mailgate-mcp\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MAILGATE_URL\": \"${input:mailgate-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mailgate]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=mailgate-sdk@1.1.1\", \"mailgate-mcp\", \"mcp\"]\nenv = { \"MAILGATE_URL\" = \"<MAILGATE_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "MAILGATE_URL",
      "required": true,
      "secret": false,
      "description": "Base URL of your self-hosted MailGate Cloudflare Worker (e.g. https://mailgate.example.com)",
      "help": "Base URL of your self-hosted MailGate Cloudflare Worker (e.g. https://mailgate.example.com)",
      "placeholder": "<MAILGATE_URL>"
    },
    {
      "name": "MAILGATE_ADMIN_TOKEN",
      "required": false,
      "secret": true,
      "description": "Optional admin token enabling create_inbox, clear_messages, and simulate_email tools",
      "help": "Optional admin token enabling create_inbox, clear_messages, and simulate_email tools",
      "placeholder": "<MAILGATE_ADMIN_TOKEN>"
    }
  ],
  "expectedTools": [
    "mailgate_health",
    "mailgate_wait_for_otp",
    "mailgate_wait_for_email",
    "mailgate_list_messages",
    "mailgate_create_inbox",
    "mailgate_clear_messages",
    "mailgate_simulate_email"
  ],
  "agentSteps": [
    "Ask the user for: MAILGATE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: mailgate_health, mailgate_wait_for_otp, mailgate_wait_for_email, mailgate_list_messages, mailgate_create_inbox, mailgate_clear_messages, mailgate_simulate_email.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:27:45.391458519Z"
}
