Skip to main content
Glama

@mailsink/mcp

MailSink 用のModel Context Protocolサーバー — AIエージェントやテスト自動化のためのプログラム可能な使い捨てメールインボックスです。

使い捨てアドレスのプロビジョニング、サインアップメールの待機、OTPコードやマジックリンクの抽出、そして終了後のクリーンアップを行うための8つの型付きツールをエージェントに提供します。Claude Code、Claude Desktop、Cursor、Windsurf、その他MCP対応クライアントで動作します。

インストール

npm install -g @mailsink/mcp

または、インストールせずに npx で実行します:

npx @mailsink/mcp

Related MCP server: mcp-imap

APIキーの取得

  1. https://mailsink.dev/app にGitHubでサインインします。

  2. 1回限りの表示でキーをコピーします。パスワードマネージャーや .env に保存してください。

  3. MCPサーバーが読み取れるようにエクスポートします:

    export MAILSINK_API_KEY="msk_..."

無料プランは月間50インボックスまでで、MCPが含まれます。Pro(月額15ドル)およびTeam(月額49ドル)プランでは、インボックスの上限引き上げ、メールサイズ制限の緩和、TTLの延長、リクエストレートの向上が可能です。詳細は 価格ページ を参照してください。

クライアントの設定

Claude Code

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

Claude Desktop / Cursor / Windsurf

クライアントの設定ファイルの mcpServers セクションに追加します:

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

クライアントを再起動してください。mailsink サーバーが8つのツールと共にリスト表示されるはずです。

ツール

ツール

目的

create_inbox

使い捨てアドレスをプロビジョニングします。emailidexpires_at を返します。

list_inboxes

アカウント上のアクティブなインボックスを一覧表示します。

wait_for_email

メールが届くまで最大 timeout 秒(最大120秒)待機します。

get_verification_code

インボックスから最新のOTPを抽出します(見つかるかタイムアウトするまでポーリングします)。

get_verification_link

最新のマジックリンクを抽出します。

list_messages

インボックス内の全メッセージの概要を表示します。

get_message

IDを指定して特定のメッセージの全内容を取得します。

delete_inbox

インボックスを即座に破棄します。

エージェントフローの例

> 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

Webhookの配線は不要。IMAP認証情報も不要。MIMEの解析も不要です。

環境変数

  • MAILSINK_API_KEY (必須) — アカウントのAPIキー。

  • MAILSINK_API_URL (任意、デフォルト https://api.mailsink.dev) — セルフホストや開発用APIの場合に上書きします。

ソース

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

ライセンス

MIT — 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