Koskamo

MailGate MCP

A self-hosted, receive-only email inbox for OTP and magic-link verification codes, running on Cloudflare Workers and D1. It provides an MCP server for Claude Code, a Playwright SDK, and a CLI to support E2E testing without external SMTP servers or paid QA sandboxes.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

MailGate MCP logo, by Dicka18Community listingLocal stdioSource reviewed; not executedPublished by Dicka18
Vendor documentation

What you can do with it

  • Extract OTP codes for E2E testing
  • Retrieve magic-link sign-in URLs
  • Simulate email ingestion locally
  • Query inbox via MCP server

Source and maintenance

Community listingRegistry 1.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mailgate-sdk 1.1.1

npm
mailgate-sdk package definition
{
  "version": "1.1.1",
  "transport": "stdio",
  "identifier": "mailgate-sdk",
  "registryType": "npm",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp",
      "isRequired": true,
      "description": "Starts the stdio MCP server subcommand."
    }
  ],
  "environmentVariables": [
    {
      "name": "MAILGATE_URL",
      "format": "string",
      "isRequired": true,
      "description": "Base URL of your self-hosted MailGate Cloudflare Worker (e.g. https://mailgate.example.com)"
    },
    {
      "name": "MAILGATE_ADMIN_TOKEN",
      "format": "string",
      "description": "Optional admin token enabling create_inbox, clear_messages, and simulate_email tools"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mailgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mailgate-sdk@1.1.1",
        "mcp"
      ],
      "env": {
        "MAILGATE_URL": "<YOUR_MAILGATE_URL>",
        "MAILGATE_ADMIN_TOKEN": "<YOUR_MAILGATE_ADMIN_TOKEN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mailgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mailgate-sdk@1.1.1",
        "mcp"
      ],
      "env": {
        "MAILGATE_URL": "<YOUR_MAILGATE_URL>",
        "MAILGATE_ADMIN_TOKEN": "<YOUR_MAILGATE_ADMIN_TOKEN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mailgate-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mailgate-sdk@1.1.1",
        "mcp"
      ],
      "env": {
        "MAILGATE_URL": "<YOUR_MAILGATE_URL>",
        "MAILGATE_ADMIN_TOKEN": "<YOUR_MAILGATE_ADMIN_TOKEN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mailgate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mailgate-sdk@1.1.1",
        "mcp"
      ],
      "env": {
        "MAILGATE_URL": "<YOUR_MAILGATE_URL>",
        "MAILGATE_ADMIN_TOKEN": "<YOUR_MAILGATE_ADMIN_TOKEN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like MailGate MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.