MCP Directory

How to add Resend Email MCP Server to Windsurf

Official Resend MCP to compose and send transactional email from your assistant Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.

Last updated June 15, 2026 · 530 · stdio · apikey · official

Windsurf config for Resend Email MCP Server

npx -y resend-mcp
{
  "mcpServers": {
    "resend-email-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "resend-mcp"
      ],
      "env": {
        "RESEND_API_KEY": "<your-resend-api-key>"
      }
    }
  }
}

Setup steps

  1. 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
  2. 2Paste the Resend Email MCP Server config below.
  3. 3Fill in placeholder secrets, then save.
  4. 4Click Refresh in the MCP panel.
  5. 5Resend Email MCP Server's tools become available to Cascade.

Before you start

  • Node.js installed (server runs via npx)
  • A Resend account (free tier available)
  • A Resend API key from resend.com/api-keys (set as RESEND_API_KEY)
  • A verified sending domain at resend.com/domains to send to external recipients
  • Optional: a default sender address (SENDER_EMAIL_ADDRESS) and reply-to addresses

What Resend Email MCP Server can do in Windsurf

send_email

Send a single email with HTML/plain text, CC/BCC, reply-to, attachments, scheduling and tags

batch send

Send multiple emails in one batched request

emails (list / get / update / cancel)

List, retrieve, update or cancel scheduled/sent emails

contacts

Create, list, get, update and remove contacts and manage topic subscriptions

broadcasts

Create, send, list, get, update and remove marketing broadcast campaigns

templates

Create, list, get, update, publish, duplicate and remove reusable email templates

domains

Create, list, get, update, verify and remove sending domains

audiences / segments

Manage audiences and segments for targeting recipients

Security

The Resend API key can send email from your verified domains and incurs sending quota/cost — use a key scoped to sending only and store it as a secret. Validate recipients to avoid the assistant being used to send spam or phishing.

Resend Email MCP Server + Windsurf FAQ

Where is the Windsurf config file?

Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the Resend Email MCP Server config there under the "mcpServers" key and restart the client.

Is Resend Email MCP Server safe to use with Windsurf?

The Resend API key can send email from your verified domains and incurs sending quota/cost — use a key scoped to sending only and store it as a secret. Validate recipients to avoid the assistant being used to send spam or phishing.

Where do I get the API key?

Generate one at resend.com/api-keys and provide it as the RESEND_API_KEY environment variable. The server reads it for all API calls.

Can I send to any email address?

To send to external recipients you must verify a sending domain at resend.com/domains. Without a verified domain you can only use Resend's onboarding/test addresses.

Do I have to set a sender address?

No. You can set SENDER_EMAIL_ADDRESS as a default, but if you don't, the server will prompt for a sender when you invoke a send tool.

View repo Full Resend Email MCP Server page