/ 目錄 / 演練場 / Resend MCP
● 官方 resend 🔑 需要你的金鑰

Resend MCP

作者 resend · resend/resend-mcp

Resend's first-party MCP — send_email, create_broadcast, manage_audience as MCP tools, with HTML templating Claude can author inline.

Resend MCP exposes the Resend REST API as MCP tools. Claude can compose, preview, and send transactional emails, manage audiences and contacts, and schedule broadcasts. Pair with a humanizer skill for tone control.

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "resend-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@resend/mcp-server"
      ],
      "env": {
        "RESEND_API_KEY": "${RESEND_API_KEY}"
      }
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "resend-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@resend/mcp-server"
      ],
      "env": {
        "RESEND_API_KEY": "${RESEND_API_KEY}"
      }
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "resend-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@resend/mcp-server"
      ],
      "env": {
        "RESEND_API_KEY": "${RESEND_API_KEY}"
      }
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "resend-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@resend/mcp-server"
      ],
      "env": {
        "RESEND_API_KEY": "${RESEND_API_KEY}"
      }
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "resend-mcp",
      "command": "npx",
      "args": [
        "-y",
        "@resend/mcp-server"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "resend-mcp": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@resend/mcp-server"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add resend-mcp -- npx -y @resend/mcp-server

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Resend MCP

Compose and send a transactional email

👤 Developers ⏱ ~15 min intermediate

何時使用: You drafted release notes and want to send to a single recipient before broadcasting.

步驟
  1. Draft
    Ask Claude to draft release notes from the git log.✓ 已複製
    → Markdown draft ready
  2. Render
    Convert to HTML; inline-style for email clients.✓ 已複製
    → HTML body ready
  3. Send
    send_email [email protected], [email protected].✓ 已複製
    → Resend returns email_id; check inbox

結果: Preview email landed in your inbox, ready to broadcast.

Schedule a broadcast to an audience

👤 Developers ⏱ ~15 min intermediate

何時使用: You have a verified audience and want to send the polished version to everyone.

步驟
  1. Pick audience
    list_audiences; choose the right one.✓ 已複製
    → audience_id
  2. Create broadcast
    create_broadcast subject, body, audience_id, send_at.✓ 已複製
    → broadcast scheduled

結果: Broadcast queued in Resend; visible in dashboard.

組合

與其他 MCP 搭配,撬動十倍槓桿

resend-mcp + github

Pull the release diff, send the notes via Resend

Combine resend-mcp with github: Pull the release diff, send the notes via Resend✓ 已複製
resend-mcp + humanizer-zh-skill

Humanize the draft before sending to Chinese audiences

Combine resend-mcp with humanizer-zh-skill: Humanize the draft before sending to Chinese audiences✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
send_email (see docs) Single-recipient transactional send 1 call
create_broadcast (see docs) Schedule a broadcast to an audience 1 call
list_audiences (see docs) List audiences in your account 1 call
add_contact (see docs) Add a contact to an audience 1 call
verify_domain (see docs) Check sending-domain DNS status 1 call

成本與限制

運行它的成本

API 配額
Resend free tier: 3k emails/mo, 100/day; paid plans scale
每次呼叫 Token 數
Body length + headers
費用
Free tier; paid from $20/mo
提示
Use idempotency keys; dedupe sends if Claude retries

安全

權限、密鑰、影響範圍

最小權限: domain:send audiences:write
憑證儲存: API key in env var
資料出站: api.resend.com
切勿授予: reuse a production key for staging — Resend supports separate keys

故障排查

常見錯誤與修復

422 from address not verified

Verify domain in Resend dashboard; only verified domains may send

Broadcast stuck pending

Check audience size and rate limits; broadcasts throttle on free tier

替代方案

Resend MCP 對比其他方案

替代方案何時用它替代權衡
SendGrid MCPYou're on SendGridDifferent API surface
PostmarkHigher inbox-placement focusNo first-party MCP yet

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills