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: mcp-imap
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 を参照してください。
This server cannot be installed
Maintenance
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
AlicenseDqualityDmaintenanceAn MCP server implementation that allows sending emails over MailPace's fast transactional email API.11MIT- Flicense-qualityBmaintenanceA minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.1
- AlicenseAqualityBmaintenanceMCP server for the Guerrilla Mail temporary/disposable email API. Spin up throwaway inboxes, poll for mail, and read messages from any MCP client.6151MIT
- FlicenseAqualityBmaintenanceProvides a dummy SMTP server for catching emails during development, with MCP tools to list, retrieve, and manage received messages.4
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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