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 整合