helbertparanhos/resend-email-mcp

๐Ÿ’ฌ Communication
0 Views
0 Installs

๐Ÿ“‡ โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - The most complete Resend email MCP โ€” full API coverage (75 tools) plus a unique debug/diagnostics layer: deliverability analysis, DNS troubleshooting, email inspection, bounce explanation, and account audit. npx -y resend-email-mcp.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "helbertparanhos-resend-email-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "helbertparanhos-resend-email-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

resend-email-mcp

The most complete Resend MCP server โ€” full coverage of the Resend API (emails, domains, contacts, broadcasts, templates, segments, topics, webhooks, logs) plus a unique debug/diagnostics layer no other Resend MCP offers: deliverability analysis, DNS troubleshooting, email lifecycle inspection, bounce explanation, and account auditing.

Works with Claude Code, Cursor, Claude Desktop, and any other MCP client.

npm version License: MIT GitHub Stars GitHub Forks GitHub Issues Glama Quality

TypeScript Node.js MCP Claude Code Cursor Claude Desktop

Instagram YouTube LinkedIn Buy Me A Coffee Strat Academy


Why this MCP

resend-email-mcpOfficial resend-mcpMinimal MCPs
Send / batch / scheduleโœ…โœ…partial
Domains, contacts, broadcasts, templates, segments, topics, webhooksโœ…โœ…โŒ
API request logs toolsโœ…โŒโŒ
Debug layer (diagnose, analyze, inspect, explain, audit)โœ… 7 toolsโŒโŒ
Readonly safety modeโœ…โŒโŒ
Raw escape hatch for new endpointsโœ…โŒโŒ
Idempotency-key supportโœ…partialโŒ

75 tools + 2 resources.


Quick start

1. Get a Resend API key

Create one at https://resend.com/api-keys.

2. Add to your MCP client

Claude Code (CLI)

claude mcp add resend -e RESEND_API_KEY=re_xxxxxxxx -- npx -y resend-email-mcp

Cursor / Claude Desktop / generic (mcp.json / claude_desktop_config.json)

{
  "mcpServers": {
    "resend": {
      "command": "npx",
      "args": ["-y", "resend-email-mcp"],
      "env": {
        "RESEND_API_KEY": "re_xxxxxxxx",
        "RESEND_FROM": "Acme <hello@acme.com>"
      }
    }
  }
}

Config file locations:

  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Cursor: ~/.cursor/mcp.json (or per-project .cursor/mcp.json)

Restart the client and ask: "Send a test email to delivered@resend.dev" or "Audit my Resend account."


Configuration

Env varRequiredDescription
RESEND_API_KEYโœ…Your Resend API key
RESEND_FROMโ€“Default sender for send_email when from is omitted (must be a verified domain)
RESEND_REPLY_TOโ€“Default Reply-To address
RESEND_READONLYโ€“true blocks every mutating tool (send/create/update/delete). Safe exploration of production
RESEND_ATTACHMENTS_DIRโ€“Directory that send_email's localPath attachments are restricted to. Unset = disk reads disabled (safe default; path traversal is blocked)
RESEND_BASE_URLโ€“Override API base URL (default https://api.resend.com). Must be https (http only for localhost)
RESEND_MAX_RETRIESโ€“Retries on 429/5xx (default 3)

Tools

Emails

send_email ยท send_batch_emails ยท get_email ยท list_emails ยท update_email ยท cancel_email ยท preview_email

send_email accepts attachments by base64 content, public path (URL), or localPath (a file on disk, read and base64-encoded automatically โ€” only enabled when RESEND_ATTACHMENTS_DIR is set, and restricted to that directory). preview_email dry-runs a message โ€” resolving the final sender, sizing attachments, and surfacing warnings โ€” without sending.

Attachments (sent & received)

list_email_attachments ยท get_email_attachment ยท list_received_emails ยท get_received_email ยท list_received_attachments ยท get_received_attachment

Domains

create_domain ยท get_domain ยท list_domains ยท update_domain ยท delete_domain ยท verify_domain

API keys

create_api_key ยท list_api_keys ยท delete_api_key

Broadcasts

create_broadcast ยท get_broadcast ยท list_broadcasts ยท update_broadcast ยท send_broadcast ยท delete_broadcast

Contacts

create_contact ยท get_contact ยท list_contacts ยท update_contact ยท delete_contact ยท get_contact_topics ยท update_contact_topics ยท list_contact_segments ยท add_contact_to_segment ยท remove_contact_from_segment

Contact properties

create_contact_property ยท get_contact_property ยท list_contact_properties ยท update_contact_property ยท delete_contact_property

Segments

create_segment ยท get_segment ยท list_segments ยท delete_segment ยท list_segment_contacts

Templates

create_template ยท get_template ยท list_templates ยท update_template ยท delete_template ยท publish_template ยท duplicate_template

Topics

create_topic ยท get_topic ยท list_topics ยท update_topic ยท delete_topic

Webhooks

create_webhook ยท get_webhook ยท list_webhooks ยท update_webhook ยท delete_webhook

Logs

list_logs ยท get_log

๐Ÿ” Debug & diagnostics (the differentiator)

ToolWhat it does
diagnose_domainInspects every DNS record (SPF/DKIM/DMARC) and reports what's missing + how to fix it
analyze_deliverabilityAggregates recent sends into delivery/bounce/complaint rates with a health verdict
inspect_emailRenders one email's full lifecycle timeline and flags problems
explain_bounceClassifies a bounce (hard/soft/block) and recommends the action
audit_accountOne-shot health check of domains, keys, and deliverability
search_logsSmart filtering of API logs by status/path/recipient to find failures
test_sendSafely simulates delivered/bounced/complained via Resend sandbox addresses

Escape hatch

resend_raw โ€” call any Resend endpoint not yet wrapped in a dedicated tool.

Resources

Beyond tools, the server exposes two read-only MCP resources so a client can pull account context without spending a tool call:

URIContent
resend://accountDomains + API keys snapshot
resend://domainsAll sending domains with verification status

Every tool is annotated with MCP hints (readOnlyHint, destructiveHint, idempotentHint) so clients can show which operations are safe and which need confirmation.


Example prompts

  • "Diagnose why acme.com isn't verified." โ†’ diagnose_domain
  • "How healthy is my email sending this week?" โ†’ analyze_deliverability
  • "What happened to email re_abc123?" โ†’ inspect_email
  • "Why did that email bounce and what should I do?" โ†’ explain_bounce
  • "Something's wrong with my Resend setup โ€” check everything." โ†’ audit_account
  • "Send our launch newsletter to the 'beta' segment." โ†’ create_broadcast + send_broadcast

Testing safely

Use Resend's sandbox addresses (no reputation impact):

  • delivered@resend.dev โ€” simulates delivery
  • bounced@resend.dev โ€” simulates a hard bounce
  • complained@resend.dev โ€” simulates a spam complaint

Or just run test_send and then inspect_email on the returned ID.

Enable RESEND_READONLY=true to explore a production account without any risk of sending or deleting.


Troubleshooting

This MCP is built to debug itself โ€” when something fails, reach for the diagnostic tools instead of guessing.

Symptom / errorLikely causeWhat to run
validation_error: from domain is not verifiedYour from/RESEND_FROM domain isn't verifiedlist_domains โ†’ diagnose_domain (shows missing DNS records + fixes) โ†’ verify_domain
Emails send but never arriveDeliverability / reputation issueanalyze_deliverability then inspect_email on a sample ID
missing_api_key / invalid_api_key (HTTP 401)RESEND_API_KEY unset or wrongCheck the .env; create a key at resend.com/api-keys
restricted_api_key / not_authorized (403)Key scoped to sending-only or one domainUse a full_access key (list_api_keys to inspect)
rate_limit_exceeded (429)Too many requestsThe client auto-retries with backoff; reduce volume
daily_quota_exceededPlan send limit reachedUpgrade plan or wait for reset
A specific email bouncedInvalid/blocking recipientexplain_bounce (classifies hard/soft/block + action)
"Is anything wrong with my setup?"โ€”audit_account (one-shot health check)
Request fails for unknown reasonโ€”search_logs with only_errors: true

Every error returned by this server includes the HTTP status, Resend's error name, and an actionable Hint line.


Local development

git clone https://github.com/helbertparanhos/resend-email-mcp.git
cd resend-email-mcp
npm install
npm run build
cp .env.example .env   # add your RESEND_API_KEY
npm run inspector      # opens the MCP Inspector against the built server

License

MIT ยฉ Helbert Paranhos / Strat Academy

Built with the Model Context Protocol. Not affiliated with Resend.

Related MCP Servers

AbdelStark/nostr-mcp

โ˜๏ธ - A Nostr MCP server that allows to interact with Nostr, enabling posting notes, and more.

๐Ÿ’ฌ Communication0 views
adhikasp/mcp-twikit

๐Ÿ โ˜๏ธ - Interact with Twitter search and timeline

๐Ÿ’ฌ Communication0 views
aeoess/mingle-mcp

๐Ÿ“‡ โ˜๏ธ - Agent-to-agent networking. Your AI publishes what you need, matches with other people's agents, both humans approve before connecting. 6 tools, Ed25519 signed, shared network at api.aeoess.com.

๐Ÿ’ฌ Communication0 views
agenticmail/agenticmail

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Real email and SMS for AI agents. Run a local mail server with disposable inboxes, send/receive real email, fetch verification codes, and drive a real inbox โ€” all from your machine, no third-party email API. Install with npx @agenticmail/mcp.

๐Ÿ’ฌ Communication0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.