SandMail — Disposable Email API for AI Agents
SandMail MCPサーバー
AIエージェントにOTP抽出機能付きの使い捨てメールボックスを提供します。
Claude Code、Cursor、Windsurf、およびMCP互換のAIツールで動作します。
インストール
npm install -g sandmail-mcpRelated MCP server: TempMail OTP MCP Server
セットアップ
Claude Code / Claude Desktop
MCP設定(~/.claude/claude_desktop_config.json)に追加します:
{
"mcpServers": {
"sandmail": {
"command": "sandmail-mcp",
"env": {
"SANDMAIL_API_KEY": "sk_live_your_key"
}
}
}
}Cursor
.cursor/mcp.jsonに追加します:
{
"mcpServers": {
"sandmail": {
"command": "sandmail-mcp",
"env": {
"SANDMAIL_API_KEY": "sk_live_your_key"
}
}
}
}利用可能なツール
ツール | 説明 |
| 使い捨てメールボックスを作成する |
| メールを待機し、OTPコードを抽出する |
| 最新のメールからOTPを抽出する |
| 受信トレイ内のすべてのメールを一覧表示する |
| 新しいメールの到着を待機する |
| 受信トレイを削除する |
| アクティブな受信トレイをすべて一覧表示する |
| API使用量を確認する |
使用例
AIエージェントに次のように依頼してください:
「一時的なメールアドレスを作成してexample.comに登録し、確認コードを取得して」
エージェントは以下の動作を行います:
create_inboxを呼び出し →test123@tempyx.comを取得そのメールアドレスを使用してウェブサイトに登録
wait_for_otpを呼び出し → 確認メールを待機OTPコードをあなたに返信
APIキーの取得
sandmail.dev で無料のAPIキーを取得してください。
Available Tools
8 toolscreate_inboxA
Create a temporary disposable email inbox. Returns an email address that can receive emails. Use this when you need to sign up for a service, verify an account, or receive a one-time code.
Inputs: domain, custom_local, ttl_hours.
delete_inboxB
Delete a temporary email inbox and all its emails.
Inputs: email (required).
get_emailsC
List all emails received in an inbox, sorted by date (newest first).
Inputs: email (required).
get_otpA
Extract OTP/verification code from the latest email in an inbox. Use this when an email has already arrived and you need to extract the code.
Inputs: email (required), include_body.
get_quotaB
Check your API usage and remaining monthly quota.
Inputs: no named parameters.
list_inboxesB
List all your active temporary email inboxes.
Inputs: no named parameters.
wait_for_emailA
Wait for a new email to arrive in an inbox. Blocks until an email arrives or timeout is reached.
Inputs: email (required), timeout.
wait_for_otpA
Wait for an email to arrive and automatically extract the OTP/verification code. Blocks until an email with a code arrives or timeout is reached. This is the most useful tool for account verification flows.
Inputs: email (required), timeout.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Every tool has a clearly distinct purpose with no overlap. For example, create_inbox and delete_inbox handle inbox lifecycle, get_emails and get_otp focus on email retrieval vs. code extraction, and wait_for_email vs. wait_for_otp differentiate between general waiting and OTP-specific waiting. The descriptions reinforce these distinctions.
All tools follow a consistent verb_noun naming pattern (e.g., create_inbox, delete_inbox, get_emails). There are no deviations in style or convention, making the set predictable and easy to understand at a glance.
With 8 tools, this server is well-scoped for its disposable email API purpose. Each tool earns its place by covering distinct aspects like inbox management, email retrieval, OTP handling, and quota checking, without being overly sparse or bloated.
The tool surface provides complete coverage for the disposable email domain. It includes CRUD operations for inboxes (create, list, delete), email retrieval (get_emails, wait_for_email), OTP-specific utilities (get_otp, wait_for_otp), and quota management (get_quota), with no obvious gaps for typical agent workflows.
Related MCP Connectors
Disposable email inboxes for AI agents: create an address, wait for mail, read OTP codes and links.
Free temporary email for AI agents: instant disposable inboxes that pull verification codes (OTP) and magic links out of incoming mail for you — even from attachments. One-call API signup, free plan, no card required.
Disposable email inboxes for AI agents: create an address, wait for the OTP or verify link.
Real email inboxes for AI agents: create inboxes, catch verification codes, extract OTPs, reply.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create disposable email inboxes and automatically extract OTPs, magic links, and verification codes from incoming emails.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to generate temporary email addresses, receive emails, and automatically extract OTP codes and links from incoming messages for automation and testing workflows.MIT
- AlicenseAqualityBmaintenanceProvides disposable email inboxes for AI agents to automatically receive and extract OTPs and magic links, enabling seamless email verification during autonomous workflows.3543 npm1MIT

AliasFleetofficial
AlicenseNot gradedqualityCmaintenanceProgrammable email infrastructure for AI agents. Provision dedicated forwarding addresses, extract OTP verification codes, and configure real-time HMAC-signed webhooks across Claude, Cursor, and ChatGPT.40 npmMIT