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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mailgate-sdk 1.1.1
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.