MailFlat

io.github.MailFlat由 GitHub 账号 MailFlat 发布v0.9.2更新于 Oct 24, 2026

Real email inboxes for AI agents: open an address, read the one-time code, send mail.

发布方自己的服务:FlatCash — Native Currency for AI Agents

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

MailFlat 为 AI 助手提供真实邮箱:开通地址、读取一次性验证码并发送邮件。

可以做什么
创建并管理账号名下的永久邮箱地址,可按用途打标签,并在多次运行间复用,无需每次新建地址。读取收到的邮件并获取一次性验证码,可在超时时间内等待验证码到达。从邮箱发送邮件。邮件按你选择的保留期限过期,而地址本身保持永久。
适用场景
适用于助手需要完成依赖邮件验证的注册或登录流程,或测试套件与智能体需要一个稳定邮箱来接收和读取验证码与邮件的情况。
运行要求
通过 PyPI 包 mailflat-mcp 在用户本机以本地进程运行,通常用 uvx 启动,因此需要 Python 运行环境。需要 MailFlat 账号,并在 MAILFLAT_API_KEY 环境变量中提供 API 密钥,密钥在控制台的 Agents 页面创建。需要访问 MailFlat API 的网络连接;可用 MAILFLAT_API_URL 覆盖基础地址。
安装前请注意
API 密钥是有效的账号凭据,请勿写入日志或共享配置。助手可以读取收件内容并从你的邮箱发送邮件,请留意其操作。邮件由闭源的 MailFlat 服务处理,邮件会按你设定的保留期限过期。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MailFlat,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MailFlat SDKs

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.

Packages

PackageForInstall
mailflatPythonpip install mailflat
@mailflat/sdkJavaScript / TypeScriptnpm i @mailflat/sdk
mailflat-mcpAI assistants (Claude, Cursor) — MCPuvx mailflat-mcp
@mailflat/ai-sdkVercel AI SDK agentsnpm i @mailflat/ai-sdk
mailflat.langchainLangChain agentspip install "mailflat[langchain]"
mailflat-sdk (Java)Java / Seleniumvia 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).

Java / Selenium (JitPack)

JitPack derives the groupId from the GitHub owner. This repo moved to the official MailFlat account in August 2026, so releases from v0.4.4 on publish as com.github.MailFlat:mailflat-sdks. Earlier versions still resolve under the old coordinate com.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.

xml
<repositories>  <repository><id>jitpack.io</id><url>https://jitpack.io</url></repository></repositories>
<dependency>  <groupId>com.github.MailFlat</groupId>  <artifactId>mailflat-sdks</artifactId>  <version>v0.8.1</version></dependency>
java
MailFlat mf = new MailFlat("mf_live_…");Inbox inbox = mf.create("signup");driver.findElement(By.id("email")).sendKeys(inbox.address());String otp = inbox.waitForOtp(30);          // polls until the code arrivesdriver.findElement(By.id("code")).sendKeys(otp);

Quick examples

Python

python
from mailflat import MailFlatmf = MailFlat(api_key="mf_live_…")inbox = mf.create(label="signup")otp = inbox.wait_for_otp(timeout=30)

JavaScript / TypeScript

ts
import { MailFlat } from "@mailflat/sdk";const mf = new MailFlat({ apiKey: process.env.MAILFLAT_API_KEY });const inbox = await mf.create({ label: "signup" });const otp = await inbox.waitForOtp({ timeout: 30000 });

License

MIT. The full text is in LICENSE at the repository root; each package directory carries an identical copy.

来源:README.md,提交 63eed21

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.9.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Flat 集成