Skip to content

Questions · Published 2026-11-25 · Updated 2026-11-25 · AgentiSend

Resend MCP server in Claude Code

Add the Resend MCP server to Claude Code with claude mcp add --transport http resend https://mcp.resend.com/mcp, then run /mcp and sign in.

To use the Resend MCP server in Claude Code, run claude mcp add --transport http resend https://mcp.resend.com/mcp, then run /mcp, select resend and finish the browser sign-in. Resend hosts that server and also publishes it on npm as resend-mcp. Every Resend detail on this page was read on 2026-11-26 from Resend's MCP docs, the resend-mcp repository and the npm registry, at version 2.30.0.

We make AgentiSend, a Resend-compatible email API with its own MCP server, so the second half of this page compares the two. Where Resend's is the simpler choice, it says so.

Install in Claude Code

Pick one of the four. The first needs no key in any file.

Way inCommandSign-in
Hosted, browser sign-inclaude mcp add --transport http resend https://mcp.resend.com/mcpOAuth, from /mcp
Official plugin (server and skills)claude plugin install resend@claude-plugins-officialOAuth, from /mcp
Hosted, API key (CI, servers)the same URL with --header "Authorization: Bearer re_xxxxxxxxx"Resend API key
Local processclaude mcp add resend -e RESEND_API_KEY=re_xxxxxxxxx -- npx -y resend-mcpResend API key

The key forms in full:

claude mcp add --transport http resend https://mcp.resend.com/mcp \
  --header "Authorization: Bearer re_xxxxxxxxx"
claude mcp add resend -e RESEND_API_KEY=re_xxxxxxxxx -- npx -y resend-mcp

We ran the claude mcp add lines (browser sign-in, key header and local process) in Claude Code 2.1.116 against an empty configuration, and each was accepted. We did not complete a Resend sign-in, and the plugin line is Resend's own, not run by us.

By default claude mcp add stores the server for the current project only. Add --scope user after add to have it in every project, and run claude mcp list to see what is registered.

Install in Cursor

Resend's docs give /add-plugin resend in Cursor's chat for the plugin. For the server alone, add a global MCP server from Cursor Settings → MCP:

{
  "mcpServers": {
    "resend": {
      "url": "https://mcp.resend.com/mcp"
    }
  }
}

Where a browser sign-in is not possible, add "headers": { "Authorization": "Bearer re_xxxxxxxxx" } beside the URL.

Install in Claude Desktop

For the hosted server, open Settings → Connectors → Add custom connector and enter https://mcp.resend.com/mcp. Resend also lists a one-click connector in Claude's directory. To run it on your own machine instead, open Settings → Developer → Edit Config and add:

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

Environment variables and flags of resend-mcp

VariableFlagWhat it does
RESEND_API_KEY--keyThe API key. Required for the local process, optional over HTTP, where each client sends its own
SENDER_EMAIL_ADDRESS--senderDefault From address on a verified domain. Without it the send tool requires from on every call
REPLY_TO_EMAIL_ADDRESSES--reply-toDefault reply-to addresses, comma-separated in the variable
MCP_PORT--portPort for --http mode, 3000 by default
MCP_HOST--hostHost check in --http mode, 127.0.0.1 by default
MCP_ALLOWED_HOSTS--allowed-hostsAllowed Host headers in --http mode
MCP_ALLOWED_FILE_DIRS--allowed-file-dirsFolders that attachments and contact imports may be read from

Two details to check before you rely on the local process:

  • The package asks for Node.js 22 or later.
  • On the local process, send-email attachments and contact imports can read files from your disk, and the README says reads are unrestricted unless --allowed-file-dirs is set. Set it, so that a prompt injected into the session cannot attach a file from outside the folders you chose.

What tools the Resend MCP server has

The resend-mcp source at tag v2.30.0 registers 138 tools. Counted by area:

AreaToolsExamples
Inboxes30list-inbox-threads, reply-to-inbox-thread-email, send-inbox-draft
Emails14send-email, send-batch-emails, get-email, get-email-metrics
Broadcasts11create-broadcast, send-broadcast, list-broadcast-recipients
Contacts, imports and properties18create-contact, create-contact-import, create-contact-property
Domains10create-domain, verify-domain, create-domain-claim
Webhooks10create-webhook, replay-webhook-event, rotate-webhook-signing-secret
Templates8create-template, compose-template, publish-template
Automations and events9create-automation, cancel-automation-run, send-event
Suppressions, segments and topics16add-suppression, create-segment, create-topic
API keys, OAuth grants, logs, editor and usage12create-api-key, revoke-oauth-grant, list-logs, connect-to-editor

We counted the repository; we did not list the hosted server's tools while signed in. Resend says the hosted server runs the same open-source code.

A worked example

With the server connected and no domain yet, ask Claude Code:

Use the resend MCP tools. Send a plain-text email from onboarding@resend.dev to <the address on my Resend account> with the subject "MCP check" and the text "Sent from Claude Code". Then get the email and tell me its status.

Claude Code calls send-email and then get-email. The call it builds has this shape, taken from the tool's input schema:

{
  "from": "onboarding@resend.dev",
  "to": ["you@your-company.com"],
  "subject": "MCP check",
  "text": "Sent from Claude Code",
  "idempotencyKey": "mcp-check-1"
}

onboarding@resend.dev delivers only to your own account address. Sending it anywhere else returns a 403 until you verify a domain. Resend's test addresses such as delivered@resend.dev count against your sending quota. We have not run this example against a Resend account.

When something fails

What you seeLikely cause and fix
/mcp shows the server as needing authenticationSelect it in /mcp and finish the browser sign-in, or re-add it with the Authorization header
A 403 on a send from onboarding@resend.devThe recipient is not your account address. Verify a domain and change From
daily_quota_exceededThe Free plan allows 100 emails a day, reset at midnight UTC; received mail counts too
npx exits on startCheck node --version is 22 or later, or use the hosted URL, which needs no Node.js
Requests answered with 429The default rate limit is 10 requests a second for the whole team

Resend MCP server and AgentiSend MCP server, side by side

Resend cells come from the pages linked above, Resend's rate limit page, its account quotas page, API key reference and OAuth server metadata, all read on 2026-11-26. "Not described" means those pages did not mention it.

ResendAgentiSend
Hosted URLhttps://mcp.resend.com/mcphttps://api.agentisend.com/mcp
Local packageresend-mcp@agentisend/mcp-server, which relays to the hosted server
Sign-inOAuth, or an API keyOAuth 2.1, or an API key
Permission scopes2: full_access, emails:send20, one or two per resource
Tools138 in the v2.30.0 source116, 48 listed at first
Budget per keyNot described. Keys carry a permission and can be limited to one domainYes. The key that sends cannot raise it
Stopping one agentDelete its API key or revoke its OAuth grantA kill switch pauses the key, and only a person resumes it
Human approvalDelete tools tell the model to confirm with you firstA held send waits on the server until a person approves it
Dry runTest addresses, counted against quotapreflight_email runs the send checks and sends nothing
Views inside ClaudeNot described4: emails, agent keys, domain setup, preflight
Free plan3,000 a month, 100 a day5,000 a month, 170 a day

On AgentiSend the budget is set with PATCH /limits/keys/{id}, the kill switch is POST /limits/keys/{id}/kill, and held sends are listed by GET /agent-actions.

Where Resend's is simpler

  • One command brings the skills too. The official plugin installs the server and Resend's agent skills together, including guidance for React Email.
  • Fewer choices at sign-in. Two OAuth scopes are quicker to approve than 20.
  • Everything is listed at once. There is no second step to reach a less common tool, and its list reaches further: inboxes with drafts and labels, the visual template editor, contact imports.
  • Documented in more clients. Resend's page covers Codex, Copilot, Zed, Warp, Devin and others with a copy-ready block each.

If a person watches every send, the Resend server is a good choice. The difference matters when the session runs unattended: a confirmation written in a tool description is a request to the model, while a budget on the key is enforced whatever the model decides.

Switching the same project to AgentiSend

An app that sends with Resend's SDK can keep its code. The compatibility guide lists each method, and the switching page shows the one environment variable. For the agent, add the second server beside or instead of the first:

claude mcp add --transport http agentisend https://api.agentisend.com/mcp

Yearly plans are 52% cheaper than Resend, compared with Resend's monthly price because Resend sells no yearly plan. Lifetime plans are up to 75% cheaper than Resend for the same emails. The tables are on Resend alternative pricing.

FAQ

Does Resend have its own MCP server?

Yes. Resend publishes and hosts it at mcp.resend.com, and the source is in the resend/resend-mcp repository under the MIT license.

What is the npm package name?

The package is resend-mcp. Run it with npx and give it your Resend API key in its environment.

Do I need an API key for the hosted server?

No, not with a browser. The client signs in with OAuth. A key sent as a Bearer header is for servers, CI and agents with no browser.

Can Claude Code send email through Resend without MCP?

Yes. Claude Code can write and run code that calls Resend's API or SDK. The MCP server saves that step and gives it named tools.

Can I run the Resend and AgentiSend servers together?

Yes. Register them under different names, one for each service, and say in the prompt which one to use.

Next