Skip to main content
Glama

@mailsink/mcp

Model Context Protocol-Server für MailSink — programmatische temporäre E-Mail-Postfächer für KI-Agenten und Testautomatisierung.

Stellt Ihrem Agenten acht typisierte Tools zur Verfügung, um Wegwerfadressen bereitzustellen, auf Anmelde-E-Mails zu warten, OTP-Codes und Magic Links zu extrahieren und nach getaner Arbeit aufzuräumen. Funktioniert in Claude Code, Claude Desktop, Cursor, Windsurf und jedem anderen MCP-fähigen Client.

Installation

npm install -g @mailsink/mcp

Oder führen Sie es über npx aus, ohne es zu installieren:

npx @mailsink/mcp

Related MCP server: mcp-imap

API-Schlüssel erhalten

  1. Melden Sie sich unter https://mailsink.dev/app mit GitHub an.

  2. Kopieren Sie den Schlüssel aus der einmaligen Anzeige. Speichern Sie ihn in Ihrem Passwort-Manager oder in Ihrer .env-Datei.

  3. Exportieren Sie ihn, damit der MCP-Server ihn lesen kann:

    export MAILSINK_API_KEY="msk_..."

Der kostenlose Tarif umfasst 50 Postfächer pro Monat und beinhaltet MCP. Pro ($15/Monat) und Team ($49/Monat) erhöhen das Postfach-Limit, heben die E-Mail-Größenbeschränkungen auf, verlängern die TTL und erhöhen die Anfrageraten. Siehe Preise.

Konfigurieren Sie Ihren Client

Claude Code

claude mcp add mailsink -- npx -y @mailsink/mcp

Claude Desktop / Cursor / Windsurf

Fügen Sie dies zum Abschnitt mcpServers der Konfigurationsdatei des Clients hinzu:

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

Starten Sie den Client neu. Sie sollten den mailsink-Server mit seinen acht Tools aufgelistet sehen.

Tools

Tool

Zweck

create_inbox

Bereitstellung einer Wegwerfadresse. Gibt email, id, expires_at zurück.

list_inboxes

Auflisten der aktiven Postfächer des Kontos.

wait_for_email

Blockiert bis zu timeout Sekunden (max. 120), bis eine E-Mail eintrifft.

get_verification_code

Extrahiert das neueste OTP aus dem Postfach (pollt bis zum Fund oder Timeout).

get_verification_link

Extrahiert den neuesten Magic Link.

list_messages

Zusammenfassungen aller Nachrichten in einem Postfach.

get_message

Vollständiger Inhalt einer bestimmten Nachricht nach ID.

delete_inbox

Löscht ein Postfach sofort.

Beispiel für einen Agenten-Ablauf

> Sign me up for Figma, capture the verification code, confirm, and
> tell me the plan once you're in.

[agent invokes]
  create_inbox()                                → agent@codenotify.net
  [agent fills the Figma signup form with that address]
  wait_for_email(inbox_id)                      → blocks 30s…
                                                → returns email + OTP
  [agent types the OTP into the Figma form]
  delete_inbox(inbox_id)                        → cleanup

Kein Webhook-Gefummel. Keine IMAP-Anmeldedaten. Kein Parsen von MIME.

Umgebungsvariablen

  • MAILSINK_API_KEY (erforderlich) — der API-Schlüssel Ihres Kontos.

  • MAILSINK_API_URL (optional, Standard https://api.mailsink.dev) — Überschreibung für selbst gehostete oder Entwicklungs-APIs.

Quelle

https://github.com/heocoi/mailsink/tree/main/mcp

Lizenz

MIT — siehe LICENSE.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    An MCP server implementation that allows sending emails over MailPace's fast transactional email API.
    1
    1
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    A minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.
    1
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for the Guerrilla Mail temporary/disposable email API. Spin up throwaway inboxes, poll for mail, and read messages from any MCP client.
    6
    15
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.

  • Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.

  • MCP server for URL shortening and management

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/heocoi/mailsink-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server