
Mailsink
io.github.heocoi由 GitHub 帳號 heocoi 發布v0.1.5更新於 Oct 24, 2026
Disposable inboxes for AI agents and CI: catch the verification email, read the OTP or link.
概覽
MailSink MCP 為助理提供一次性信箱,用來接收註冊信件、讀取驗證碼或魔法連結,並在用完後清理。
- 可以做什麼
- 建立與列出臨時信箱,每個信箱回傳位址、ID 與到期時間,並可在用完後刪除信箱。等待新信件送達,逾時時間最長 120 秒。從信箱中擷取最近的一次性驗證碼或魔法連結。列出信箱中的信件摘要,並依 ID 讀取某封信件的完整內容。
- 適用情境
- 適合助理或測試自動化需要完成依賴信件驗證的註冊或登入流程時使用,例如取得驗證碼或確認連結,而不必設定 webhook、IMAP 憑證或解析 MIME。
- 執行需求
- 以 npm 套件形式在本機執行(需要 Node.js),可全域安裝或透過 npx 執行,並在 Claude Code、Claude Desktop、Cursor 或 Windsurf 等 MCP 用戶端中設定。需要 MailSink 帳號與 API 金鑰,透過環境變數 MAILSINK_API_KEY 提供;MAILSINK_API_URL 可覆寫 API 基礎位址。需要能連線至 MailSink API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mailsink,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@mailsink/mcp
Model Context Protocol server for MailSink — programmatic temporary email inboxes for AI agents and test automation.
Gives your agent eight typed tools for provisioning disposable addresses, waiting on signup emails, extracting OTP codes and magic links, and cleaning up after itself. Works in Claude Code, Claude Desktop, Cursor, Windsurf, and any other MCP-aware client.
Install
Or run via npx without installing:
Get an API key
-
Sign in at https://mailsink.dev/app with GitHub.
-
Copy the key from the one-time reveal. Store it in your password manager or
.env. -
Export it so the MCP server can read it:
Free tier is 50 inboxes/month and includes MCP. Pro ($15/mo) and Team ($49/mo) lift the inbox cap, raise email size limits, extend TTL, and bump request rates. See pricing.
Configure your client
Claude Code
Claude Desktop / Cursor / Windsurf
Add to the mcpServers section of the client's config file:
Restart the client. You should see the mailsink server listed with its
eight tools.
Tools
Example agent flow
No webhook plumbing. No IMAP credentials. No parsing MIME.
Environment variables
MAILSINK_API_KEY(required) — your account's API key.MAILSINK_API_URL(optional, defaulthttps://api.mailsink.dev) — override for self-hosted or dev API.
Source
https://github.com/heocoi/mailsink/tree/main/mcp
License
MIT — see LICENSE.
來源:README.md,提交 1df0da2
工具
0版本歷史
1- v0.1.5最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分