Resend Mcp Server

io.github.friendlygeorge由 GitHub 帳號 friendlygeorge 發布v1.0.0更新於 Oct 24, 2026

MCP server for Resend — transactional email API for AI assistants...

已驗證STDIO僅桌面溝通與協作商業與電商

概覽

AI 產生的概覽

一個本機 MCP 伺服器,將 AI 助理連接到 Resend 交易型郵件 API,用來寄送郵件並管理網域、API 金鑰、受眾和聯絡人。

可以做什麼
寄送單封或批次交易型郵件(每次最多 100 封),並列出或檢視已寄出郵件及其投遞狀態。建立、列出、驗證和刪除寄件網域。建立、列出和刪除 API 金鑰。列出和建立受眾,並在受眾中列出、檢視、建立、更新和刪除聯絡人。
適用情境
適合讓助理在對話中處理交易型郵件:歡迎信、收據、通知、向受眾寄送電子報,或在不開啟主控台的情況下稽核與清理 Resend 的網域、金鑰和聯絡人。
執行需求
透過 npx 以 npm 套件形式在本機執行,需要 Node.js 18+ 和 npm。需要 Resend 帳戶和 API 金鑰,透過環境變數 RESEND_API_KEY 提供。需要連線至 Resend API 的網路存取。
安裝前請注意
Resend API 金鑰可控制你的郵件帳戶,持有者可寄信並管理網域和金鑰。此伺服器能寄送真實郵件、建立和撤銷 API 金鑰、刪除網域,以及建立、更新或刪除聯絡人,因此破壞性或對外寄送的操作應先確認。郵件內容和聯絡人資料會傳送給 Resend。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Resend Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Resend MCP Server

An MCP server for Resend — connect any MCP-compatible client to the Resend transactional email API.

[npm version] [npm downloads] [License: MIT] [MCP Compatible] [TypeScript] [Claude Desktop] [Cursor]

What is this?

An MCP (Model Context Protocol) server that gives AI assistants and agents full access to Resend's email API — send single or batch emails, manage sending domains, API keys, audiences, and contacts — through natural language.

Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to send emails, manage infrastructure, and build automation around email.

Why use this?

  • 18 built-in tools — covers sending (single + batch), domains, API keys, audiences, and contacts
  • Send emails by talking — "send a welcome email to [email protected]" just works
  • Manage your infrastructure — create/verify/delete domains, mint/revoke API keys, manage contacts
  • Batch sending — send up to 100 emails in a single API call
  • Full contact CRUD — create, read, update, and delete contacts across audiences
  • Rate-limited automatically — respects Resend's 10 req/s free tier, retries on 429
  • Works with every MCP client — Claude Desktop, Cursor, Windsurf, Cline, Continue, and more

Quick Start

Add to your MCP client config (e.g. claude_desktop_config.json):

json
{  "mcpServers": {    "resend": {      "command": "npx",      "args": ["-y", "resend-mcp-server"],      "env": {        "RESEND_API_KEY": "re_xxxxxxxxxxxx"      }    }  }}

Get a free API key at resend.com/api-keys.

Use it

Ask your AI assistant things like:

  • "Send an email to [email protected] thanking her for signing up"
  • "List the last 5 emails I sent"
  • "What happened to email ID abc-123?"
  • "Create a new sending domain for mail.acme.com"
  • "Verify domain domain-xyz"
  • "Mint a new API key called 'production-server'"
  • "Add [email protected] to audience audience-1"

Tools

ToolDescription
send_emailSend a transactional email (HTML or plain text, with Cc/Bcc/Reply-To)
send_batch_emailSend up to 100 emails in a single API call
list_emailsList recent sent emails with their delivery status
get_emailGet details for a specific email by ID
create_domainAdd a new sending domain
list_domainsList all sending domains in your account
verify_domainTrigger DNS verification for a domain
delete_domainRemove a sending domain
create_api_keyCreate a new API key (full, sending, or domain-scoped)
list_api_keysList all API keys (tokens are hidden)
delete_api_keyDelete an API key by ID
list_audiencesList all audiences in your account
create_audienceCreate a new audience for organizing contacts
list_contactsList contacts in an audience
get_contactGet details for a specific contact by ID
create_contactAdd a new contact to an audience
update_contactUpdate a contact's email, name, or subscription status
delete_contactRemove a contact from an audience

Use Cases

Transactional Email Automation

"Send a welcome email to every new signup" — automate onboarding flows, receipts, and notifications through natural language. No more switching between email dashboards.

Domain Management

"Add mail.acme.com as a sending domain and verify it" — manage DNS records, DKIM, and SPF through your AI assistant instead of logging into Resend's dashboard.

Contact & Audience Management

"Add [email protected] to my VIP audience" — build and segment contact lists without touching a spreadsheet. Full CRUD on contacts and audiences.

Batch Campaigns

"Send this newsletter to all contacts in audience-1" — batch-send up to 100 emails in one call. Perfect for newsletters, product announcements, or re-engagement campaigns.

Infrastructure Audit

"List all my API keys and domains" — audit your Resend setup in seconds. See which keys are active, which domains are verified, and clean up stale resources.

Security

  • API key required — Resend API key is passed via environment variable, never logged or stored in files.
  • No local file access — does not read or write any files on your machine.
  • No shell access — does not execute commands or spawn processes.
  • Rate-limited — automatically caps requests at ~9 req/s to stay within Resend's free tier.
  • Open source — MIT licensed. Inspect the code at GitHub.

Troubleshooting

Rate limit errors (429)

The server auto-retries on 429 with a 2s backoff. Free tier allows 10 req/s. The server caps at ~9 req/s to stay safe. If you hit this frequently, consider upgrading your Resend plan.

"Invalid API key" errors

Verify your RESEND_API_KEY starts with re_ and is active at resend.com/api-keys. Keys take up to 30 seconds to propagate after creation.

Server won't start

Make sure Node.js 18+ is installed: node --version. If using npx, ensure npm is up to date: npm install -g npm@latest.

MCP client can't connect

Verify the config path is correct. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart the client after config changes.

Emails not delivering

Check list_emails for delivery status. Common issues: missing DNS records (run verify_domain), bounce due to invalid address, or domain not yet verified. Resend's dashboard shows detailed webhook events.

Requirements

  • Node.js 18+
  • A Resend account and API key (RESEND_API_KEY)

Rate Limits

The server automatically rate-limits requests to ~9 calls/second to stay safely under Resend's free-tier limit of 10 req/s. If you hit a 429 anyway, it waits 2s and retries once.

Development

bash
git clone https://github.com/friendlygeorge/resend-mcp-server.gitcd resend-mcp-servernpm installnpm run buildRESEND_API_KEY=re_xxxx npm start

License

MIT

來源:README.md,提交 63b0e86

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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