Mailsink MCP Server

Model Context Protocol server for MailSink — programmatic temporary email inboxes for AI agents and test automation.

Local serverstdioMIT

What is the Mailsink MCP Server?

Mailsink is an MCP project maintained in the heocoi/mailsink-mcp repository. The maintainer describes its purpose as “Model Context Protocol server for MailSink — programmatic temporary email inboxes for AI agents and test automation”. Read the project documentation for the complete scope.

Installation

The documented npm package is @mailsink/mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares MAILSINK_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
create_inboxProvision a throwaway address. Returns email, id, expires_at.
list_inboxesList active inboxes on the account.
wait_for_emailBlock up to timeout seconds (max 120) for any email to arrive.
get_verification_codeExtract the most recent OTP from the inbox (polls until found or timeout).
get_verification_linkExtract the most recent magic link.
list_messagesSummaries of all messages in an inbox.
get_messageFull content of a specific message by ID.
delete_inboxBurn an inbox immediately.

How to install the Mailsink MCP Server

{
  "mcpServers": {
    "mailsink": {
      "command": "npx",
      "args": [
        "-y",
        "@mailsink/mcp"
      ],
      "env": {
        "MAILSINK_API_KEY": "YOUR_MAILSINK_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MAILSINK_API_KEYDeclared in the maintainer’s client configuration.Yes