mailsink
@mailsink/mcp
MailSink 用のModel Context Protocolサーバー — AIエージェントやテスト自動化のためのプログラム可能な使い捨てメールインボックスです。
使い捨てアドレスのプロビジョニング、サインアップメールの待機、OTPコードやマジックリンクの抽出、そして終了後のクリーンアップを行うための8つの型付きツールをエージェントに提供します。Claude Code、Claude Desktop、Cursor、Windsurf、その他MCP対応クライアントで動作します。
インストール
npm install -g @mailsink/mcpまたは、インストールせずに npx で実行します:
npx @mailsink/mcpRelated MCP server: guerrillamail-mcp
APIキーの取得
https://mailsink.dev/app にGitHubでサインインします。
1回限りの表示でキーをコピーします。パスワードマネージャーや
.envに保存してください。MCPサーバーが読み取れるようにエクスポートします:
export MAILSINK_API_KEY="msk_..."
無料プランは月間50インボックスまでで、MCPが含まれます。Pro(月額15ドル)およびTeam(月額49ドル)プランでは、インボックスの上限引き上げ、メールサイズ制限の緩和、TTLの延長、リクエストレートの向上が可能です。詳細は 価格ページ を参照してください。
クライアントの設定
Claude Code
claude mcp add mailsink -- npx -y @mailsink/mcpClaude Desktop / Cursor / Windsurf
クライアントの設定ファイルの mcpServers セクションに追加します:
{
"mcpServers": {
"mailsink": {
"command": "npx",
"args": ["-y", "@mailsink/mcp"],
"env": {
"MAILSINK_API_KEY": "msk_..."
}
}
}
}クライアントを再起動してください。mailsink サーバーが8つのツールと共にリスト表示されるはずです。
ツール
ツール | 目的 |
| 使い捨てアドレスをプロビジョニングします。 |
| アカウント上のアクティブなインボックスを一覧表示します。 |
| メールが届くまで最大 |
| インボックスから最新のOTPを抽出します(見つかるかタイムアウトするまでポーリングします)。 |
| 最新のマジックリンクを抽出します。 |
| インボックス内の全メッセージの概要を表示します。 |
| IDを指定して特定のメッセージの全内容を取得します。 |
| インボックスを即座に破棄します。 |
エージェントフローの例
> 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) → cleanupWebhookの配線は不要。IMAP認証情報も不要。MIMEの解析も不要です。
環境変数
MAILSINK_API_KEY(必須) — アカウントのAPIキー。MAILSINK_API_URL(任意、デフォルトhttps://api.mailsink.dev) — セルフホストや開発用APIの場合に上書きします。
ソース
https://github.com/heocoi/mailsink/tree/main/mcp
ライセンス
MIT — LICENSE を参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for MailTempo's public free temporary email inboxes.
Hosted MCP server for custom-domain email: send, receive and wait for mail on your domain.
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.1-
- AlicenseAqualityCmaintenanceMCP server for the Guerrilla Mail temporary/disposable email API. Spin up throwaway inboxes, poll for mail, and read messages from any MCP client.614 npm1MIT
- FlicenseAqualityDmaintenanceProvides a dummy SMTP server for catching emails during development, with MCP tools to list, retrieve, and manage received messages.4-
- AlicenseNot gradedqualityDmaintenanceA minimal MCP server for reading, searching, managing, and sending email over IMAP and SMTP.MIT