send_email
Send an email through Resend.
ccto必填bccfrom必填htmltextsubject必填reply_to
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 1, 2026
Send and manage email, domains, audiences, and API keys through the Resend API.
本機 MCP 伺服器,讓助理透過 Resend API 寄送郵件,並管理 Resend 的網域、API 金鑰、受眾與聯絡人。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
mailsend lets an agent run the sending side of a Resend account: send a message and look it back up, set up a sending domain and start its DNS verification, mint or retire API keys, and keep audiences and their contacts in order. Each operation is one call against the Resend REST API, and the API's JSON answer comes back as-is. It runs from the command line or as an MCP server for agents.
A Resend API key is required. Put it in the RESEND_API_KEY
environment variable; the key is sent to the API as a Bearer token and
never appears in output. When the variable is missing, every operation
fails with an error that names it.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Exit codes: 0 on success, 1 when an API call fails (including a
missing RESEND_API_KEY), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
This is a documented core subset of the Resend platform surface. The hosted Resend MCP also covers broadcasts, templates, webhooks, segments, topics, contact properties, batch sending, and received (inbound) email; those groups are not implemented here.
MIT — see LICENSE.
來源:README.md,提交 0b5eae0
Send an email through Resend.
ccto必填bccfrom必填htmltextsubject必填reply_toList emails sent through Resend.
limitGet one sent email by its ID.
id必填Create a sending domain in Resend.
name必填regionList sending domains in Resend.
無需輸入參數。
Get one sending domain by its ID, including its DNS records.
id必填Start verification of a sending domain's DNS records.
id必填Delete a sending domain from Resend.
id必填Create a Resend API key, optionally scoped to one domain.
name必填domain_idpermissionList Resend API keys.
無需輸入參數。
Delete a Resend API key.
id必填Create an audience in Resend.
name必填List audiences in Resend.
無需輸入參數。
Add a contact to an audience in Resend.
email必填last_namefirst_nameaudience_id必填unsubscribedList contacts in an audience in Resend.
limitaudience_id必填已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
npx @reneturcios/mailsend list-domainsdocker run -i -e RESEND_API_KEY ghcr.io/cloudcorprecords/mailsendexport RESEND_API_KEY="your API key"
mailsend send --from "Acme <[email protected]>" --to [email protected] \ --subject "Welcome" --text "Hello there"mailsend list-emails --limit 10mailsend list-domainsmailsend list-audiences
mailsend --versionnpx -y @reneturcios/mailsend mcp{ "mcpServers": { "mailsend": { "command": "npx", "args": ["-y", "@reneturcios/mailsend", "mcp"], "env": { "RESEND_API_KEY": "your API key" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx