mailsocket
Officialmailsocket SDKs & MCP server
mailsocket is an inbox API for OTP and magic-link
signup automation: email in, JSON out. GET /inboxes/{id}/messages/wait?require=otp blocks and returns the OTP the
instant it arrives — no polling, no IMAP. Built for signup automation, E2E
tests, and AI agents.
This repo holds the official client packages.
Package | Install | Docs |
Python |
| |
TypeScript / Node |
| |
MCP server (AI agents) |
|
Full docs: mailsocket.app · dash.mailsocket.app/docs/
MCP config
Point any MCP-compatible client (Claude Desktop, Cursor, Claude Code) at the
mailsocket-mcp server over stdio:
{
"mcpServers": {
"mailsocket": {
"command": "uvx",
"args": ["mailsocket-mcp"],
"env": {
"MAILSOCKET_API_KEY": "ms_live_..."
}
}
}
}See mcp/README.md for per-client config file locations and the full tool list.
Related MCP server: AgenticMail
Examples
examples/playwright/ — a reference Playwright test that fills a signup form with a mailsocket inbox address and blocks on the wait endpoint until the OTP arrives.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Real email inboxes for AI agents: create inboxes, catch verification codes, extract OTPs, reply.
Disposable email inboxes for AI agents: create an address, wait for the OTP or verify link.
Disposable inboxes for AI agents: create, wait for delivery, and extract email content or links.
Real email inboxes for AI agents: create addresses, send, wait for mail and verification codes.
Related MCP Servers
- AlicenseAqualityDmaintenanceCreate disposable email inboxes, extract OTP codes in 15 languages, and receive webhooks — all from your AI agent. One call: create inbox → wait for email → get the verification code. Supports 7 domains, email forwarding, and HMAC-signed webhooks with OTP included in payload. Free tier available.85 npmMIT

AgenticMailofficial
AlicenseAqualityAmaintenanceReal email and SMS for AI agents. Run a local mail server with disposable inboxes — agents send and receive real email, fetch verification codes, and drive a real inbox without going through any third-party email API.100229MIT- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create disposable email inboxes and automatically extract OTPs, magic links, and verification codes from incoming emails.10 npmMIT
- AlicenseNot gradedqualityDmaintenanceEmail for AI agents. Create inboxes, send and receive emails without phone or CAPTCHA.693 npmMIT