Feedback

Mailsink MCP Server

@heocoi Claim

Basic information

Version
0.1.5
Category
License
MIT
Transports
stdio
Author
heocoi
Submitted by
Community
Quality
25

About Mailsink MCP Server

Programmatic temp email inboxes for QA tests and AI agents. 8 MCP tools, free tier 50 inboxes/month, MCP server published as @mailsink/mcp on npm.

Mailsink is a MCP server in the Other category listed in the AddMCP.net directory, published by heocoi. It exposes 8 tools, including create_inbox, wait_for_email, get_verification_code, get_verification_link and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: automation, email, mailsink, otp, qa.

Setup

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

Mailsink MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Mailsink MCP Server tools

  • create_inbox — Create a temporary email inbox. Returns the email address to use for signups/verification.
    domain:string, local_part:string, ttl:number
  • wait_for_email — Wait for an email to arrive in an inbox. Polls until a message appears or timeout.
    inbox_id:string*, timeout:number
  • get_verification_code — Get the most recent OTP/verification code from an inbox. Polls if no code found yet.
    inbox_id:string*, timeout:number
  • get_verification_link — Get the most recent verification/magic link from an inbox. Polls if no link found yet.
    inbox_id:string*, timeout:number
  • list_messages — List all messages in an inbox.
    inbox_id:string*
  • get_message — Get the full content of a specific message.
    message_id:string*
  • delete_inbox — Delete an inbox and all its messages.
    inbox_id:string*
  • list_inboxes — List all active (non-expired) inboxes.
    (no parameters)

Overview

What is Mailsink?

Mailsink is a Model Context Protocol (MCP) server that provides programmatic temporary email inboxes for AI agents and test automation. It gives agents eight typed tools for provisioning disposable addresses, waiting on signup emails, extracting OTP codes and magic links, and cleaning up after themselves. Works with Claude Code, Claude Desktop, Cursor, Windsurf, and any MCP-aware client.

How to use Mailsink?

Install globally via npm install -g @mailsink/mcp or run with npx -y @mailsink/mcp. Requires a free API key from mailsink.dev (exported as MAILSINK_API_KEY). Configure the client's mcpServers section with command npx and args ["-y", "@mailsink/mcp"] plus MAILSINK_API_KEY in env. Restart the client to see eight tools like create_inbox, wait_for_email, get_verification_code, etc.

Key features of Mailsink

  • Eight typed MCP tools for email workflow automation
  • Provision disposable inboxes with create_inbox
  • Wait for incoming emails with configurable timeout (up to 120s)
  • Extract OTP codes and magic links from received emails
  • List, read, and delete inboxes programmatically
  • No webhooks, IMAP, or MIME parsing required

Use cases of Mailsink

  • AI agent signs up for a service and captures a verification code or magic link
  • Test automation creates temporary inboxes, validates signup emails, and cleans up
  • Extract one-time passwords (OTPs) from signup or login emails automatically
  • Demo or integration testing requiring disposable email addresses

Frequently asked questions

1 What is the free tier and pricing?

Free tier includes 50 inboxes per month and MCP access. Pro ($15/mo) and Team ($49/mo) raise inbox caps, email size limits, TTL, and request rates.

2 How do I get an API key?

Sign in at mailsink.dev/app with GitHub, copy the one-time reveal key, and export it as MAILSINK_API_KEY environment variable.

3 What MCP clients are supported?

Claude Code, Claude Desktop, Cursor, and Windsurf, plus any other MCP-aware client.

4 What environment variables are required?

MAILSINK_API_KEY (required). Optionally MAILSINK_API_URL to override the default API endpoint.

5 How are emails fetched and how long can the server wait?

The wait_for_email tool blocks up to a configurable timeout (max 120 seconds) for any email to arrive. No persistent storage or webhook setup needed.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬