Real email inboxes for AI agents: open an address, read the one-time code, send mail.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Official client libraries for MailFlat: email inboxes your code owns, with one-line OTP retrieval. Built for test suites (Selenium, pytest, Playwright) and AI agents.
Addresses are permanent, so a suite does not need a fresh one per run. Only the messages expire, on a retention window you choose.
This repo holds only the open-source SDKs. The MailFlat service itself is closed-source.
| Package | For | Install |
|---|---|---|
mailflat | Python | pip install mailflat |
@mailflat/sdk | JavaScript / TypeScript | npm i @mailflat/sdk |
mailflat-mcp | AI assistants (Claude, Cursor) β MCP | uvx mailflat-mcp |
@mailflat/ai-sdk | Vercel AI SDK agents | npm i @mailflat/ai-sdk |
mailflat.langchain | LangChain agents | pip install "mailflat[langchain]" |
mailflat-sdk (Java) | Java / Selenium | via JitPack β see below |
Each client is a thin, typed wrapper over the same /api/v1 Agent API, so they behave identically.
Authenticate with your account key (mf_live_β¦) from the dashboard (Agents β API keys).
JitPack derives the
groupIdfrom the GitHub owner. This repo moved to the officialMailFlataccount in August 2026, so releases fromv0.4.4on publish ascom.github.MailFlat:mailflat-sdks. Earlier versions still resolve under the old coordinatecom.github.onderyentar21:mailflat-sdks; the old repo stays up for them. The client is moving to Maven Central (net.mailflat) next, which ends the owner coupling.
Python
JavaScript / TypeScript
MIT. The full text is in LICENSE at the repository root; each package directory carries an identical copy.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mailflat)<a href="https://allmcps.com/mcp/mailflat"><img src="https://allmcps.com/api/badge/mailflat?style=directory" alt="MailFlat on AllMCPs" /></a>