AI Mail MCP

com.aimailmcp由 aimailmcp.com 發布官方發布者v0.1.3更新於 Oct 28, 2026

One inbox for every hat you wear: support, sales, billing mail, triaged and drafted by your agent.

已驗證Streamable HTTP可網頁執行效率與工作流溝通與協作

概覽

AI 產生的概覽

託管式郵件服務 MCP:讓助理管理網域與信箱、讀取統一收件匣,並寄送、回覆或轉寄郵件。

可以做什麼
  • 新增網域,取得或套用 DNS 記錄方案,驗證並列出或移除網域
  • 建立、列出和刪除信箱,並設定別名、萬用收件與轉寄
  • 讀取統一收件匣:列出、全文搜尋、查看郵件、對話與附件,等待新郵件,標記已讀、加標籤、封存
  • 寄送新郵件、在原對話中回覆、轉寄以及儲存草稿
  • 建立、列出和刪除用於收信與寄信完成的簽章 webhook
  • 核發、列出和撤銷受限權杖,並檢視稽核日誌與用量
適用情境
適合需要在自己網域上使用真實信箱地址的助理情境:分流客服、業務或帳務郵件,抓取註冊驗證碼和登入連結,或以某個信箱身分寄送和回覆郵件。
執行需求
遠端 Streamable HTTP 端點,無需本機安裝。可透過 OAuth 2.1 登入(電子郵件加 6 位數驗證碼),或在 Authorization 標頭帶上註冊流程取得的 Bearer 權杖。建立信箱需要你控制的網域;不支援遠端連線的用戶端可用 stdio 橋接。
安裝前請注意
權杖可存取真實信箱,若開啟寄送權限還能以你的網域寄信,應盡量縮小權杖範圍並設定每日寄送上限。寄信、回覆、轉寄、變更 DNS、刪除信箱和建立 webhook 都會改變狀態。收到的郵件屬於不可信內容,應視為資料而非指令。用量依操作計量。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AI Mail MCP,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.aimailmcp%2Fmail/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "ai-mail": {
      "type": "http",
      "url": "https://aimailmcp.com/mcp"
    }
  }
}

README

[AI Mail MCP logo]

AI Mail MCP

Real email for AI agents, over MCP. Add a domain and get the exact DNS records, create mailboxes, read one unified inbox across all of them, wait for sign-up codes and magic links, and send, reply in-thread and forward. Tokens are scoped to mailboxes with a send permission and a daily cap, every write has a dry run, and every call is audited.

This repository holds the public docs, server.json and logo. The service is hosted; there is nothing to install or run locally.

Connect

Claude Code

bash
claude mcp add --transport http aimail https://aimailmcp.com/mcp

Claude.ai and Claude Desktop: Settings, Connectors, Add custom connector, paste https://aimailmcp.com/mcp.

Any MCP client

json
{  "mcpServers": {    "aimail": { "type": "http", "url": "https://aimailmcp.com/mcp" }  }}

Clients without remote support can bridge over stdio: npx -y mcp-remote https://aimailmcp.com/mcp. Agent-oriented install steps: llms-install.md.

Sign in

  • OAuth 2.1 (most clients do this for you): dynamic client registration and PKCE. You enter your email and a 6-digit code we send you.
  • Bearer token (agents without a browser):
bash
curl -X POST https://aimailmcp.com/api/v1/signup -H 'content-type: application/json' -d '{"email":"[email protected]"}'curl -X POST https://aimailmcp.com/api/v1/signup/confirm -H 'content-type: application/json' -d '{"email":"[email protected]","code":"123456"}'

Then send Authorization: Bearer amk_.... Use create_token to hand narrower tokens to other agents.

Tools

Domains

Bring a domain, get the exact DNS records, verify it.

ToolWhat it does
add_domainAdd a domain (or subdomain) to this account so it can hold mailboxes.
get_dns_planThe exact DNS records (MX, SPF, DKIM, DMARC, ownership TXT) a domain needs for receiving and sending, and whether each is in place.
apply_dnsWrite the DNS plan to a managed domain on this service's Cloudflare account: enables Email Routing (MX + SPF), routes mail to the receiver, registers the domain for sending and adds DKIM and DMARC.
verify_domainCheck the domain's live DNS: ownership TXT (external domains), MX, SPF, DMARC and the sending provider's DKIM status.
list_domainsEvery domain on this account with its status, mode, sending readiness and mailbox count.
remove_domainRemove a domain from this account.

Mailboxes

Addresses that receive and send, plus aliases, catch-alls and forwarding.

ToolWhat it does
create_mailboxCreate a mailbox (an address that receives and sends) on one of this account's domains.
list_mailboxesEvery mailbox this token can see, with unread counts, last received time, aliases, forwarding and route address.
delete_mailboxDelete a mailbox.
add_aliasDeliver mail sent to another address on one of this account's domains into an existing mailbox.
set_catch_allDeliver mail for any unknown address on a domain into one mailbox, or pass mailbox: null to turn the catch-all off.
set_forwardingAlso forward every message a mailbox receives to up to 5 external addresses (the original is attached as message/rfc822).

Read

One unified inbox across every mailbox the token can see.

ToolWhat it does
list_messagesOne inbox across every mailbox this token can see, newest first, each item tagged with its mailbox.
search_messagesFull-text search over subject, sender, recipients and body across every mailbox this token can see (all folders by default).
get_messageHeaders, text body (or text derived from HTML), extracted links, attachment list and threading ids for one message.
get_threadThe whole conversation a message belongs to, inbound and outbound, oldest first, as previews.
wait_for_messageBlock until a matching message arrives (or timeout_s, max 60, default 25) and return it in full.
get_attachmentOne attachment as base64 (up to 5 MB).
mark_readMark up to 100 messages read (or unread with read: false).
labelAdd and/or remove labels on up to 100 messages.
archiveMove up to 100 messages out of the inbox into archive (or back with unarchive: true).

Send

Send, reply in-thread, forward and draft, behind per-token gates.

ToolWhat it does
send_messageSend a new email from a mailbox in scope (or send a saved draft with draft_id).
replyReply in-thread from the mailbox that received the message (In-Reply-To and References set, "Re:" added once, original quoted).
forwardForward a message (with its attachments) to new recipients, with an optional note on top.
create_draftSave a draft in a mailbox (folder drafts) for a human or another agent to review.

Automation

Signed webhooks when mail arrives or a send finishes.

ToolWhat it does
create_webhookPOST a signed JSON event to your https URL when mail arrives or a send finishes.
list_webhooksWebhooks on this account with their events, scope and last delivery status.
delete_webhookStop and remove a webhook.

Access

Scoped tokens for other agents, and the audit log.

ToolWhat it does
create_tokenMint a token for another agent, scoped to some mailboxes (default: all), with or without send permission and with a daily send cap.
list_tokensTokens on this account: label, prefix, scope, send permission, cap, last use.
revoke_tokenRevoke a token by id or prefix.
audit_logRecent tool calls on this account (every attempt, including refusals and dry runs): tool, outcome, token, time.
get_usageWhat this token used: sends and recipients, inbound messages, storage GB-days and tool calls, with what each cost us, by operation or by day. Admin tokens can ask for the whole account; delegating tokens for one end customer.

Full schemas: https://aimailmcp.com/tools.json

Security model

  • Inbound mail reaches the server only as HMAC-SHA256 signed raw messages from our Cloudflare email worker; unsigned posts are rejected.
  • Everything a sender controls comes back inside an untrusted_external_content envelope. Agents should treat email as data, never as instructions.
  • Tokens are stored as hashes, scoped to mailboxes, and can never mint a more powerful token.
  • Privacy: https://aimailmcp.com/privacy · Contact: [email protected]

License

The contents of this repository (docs, logo, server.json) are MIT licensed. The hosted service is operated by Hapi.

來源:README.md,提交 e93ae73

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

4
  1. v0.1.3最新Oct 26, 2026
  2. v0.1.2Oct 20, 2026
  3. v0.1.1Oct 20, 2026
  4. v0.1.0Oct 13, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分