Features · Resend-compatible API

Can I keep the Resend SDK and switch the provider?

Yes, you can keep the Resend SDK and switch the provider by changing 2 values: the base URL and the API key. sendmcp answers the same API calls on the same paths, so the official SDKs work unchanged. The Node, Go, PHP and Ruby SDKs read RESEND_BASE_URL, and Python reads RESEND_API_URL. Your mail then sends through your own Cloudflare account.

Updated · Open source, runs on your Cloudflare account

How do I set the Resend SDK base URL?

SDKHow to point it at sendmcp
NodeRESEND_BASE_URL, or the baseUrl option
GoRESEND_BASE_URL
PHPRESEND_BASE_URL
RubyRESEND_BASE_URL
PythonRESEND_API_URL
# .env - RESEND_API_KEY=re_your_resend_key + RESEND_BASE_URL=https://mail.acme.com + SENDMCP_KEY=your_sendmcp_key
// code: unchanged import { Resend } from "resend" const resend = new Resend(env.SENDMCP_KEY) await resend.emails.send({ from: "hi@acme.com", to, subject, html })

sendmcp serves /emails, not /v1/emails, because Resend's paths have no version prefix.

What happens to my Resend API key?

You stop using it for these projects. The Resend key only works against Resend's API. Create a sendmcp key instead and pass it to the SDK where the Resend key was.

Resend keysendmcp key
Works againstResend's APIYour sendmcp Worker
ScopesFull access or sending access, for all domains or oneSame scopes
Create itIn the Resend dashboardIn your own deployment, one per project
Test modeTest addresses at resend.devTest keys that never send, and @test.sendmcp.dev addresses

Keep the Resend key until each project has sent a test through sendmcp, then delete it.

What works the same, and what does not?

AreaSame as ResendDifferent or missing
EmailsSend, batch of up to 100, retrieve, list, update, cancelNo share link
Email optionshtml, text, cc, bcc, reply_to, attachments, headers, tags, scheduled_at, template with variablesNo topic_id
Request rulesRequest and response bodies, error body, cursor pagination, Idempotency-Key, ratelimit-* headerssendmcp's own rate limit, plus Cloudflare's daily account quota
Domains, API keys, suppressions, templates, logsSame endpointsDomain DNS records are written for you, not just shown
WebhooksSame event names and the same svix-id, svix-timestamp, svix-signature headersResend's contact.* events do not exist
MarketingNot applicableNo contacts, segments, topics, broadcasts or automations

How do I move a project?

  1. Deploy sendmcp to your Cloudflare account.
  2. Ask your agent to add the project's domain; it writes the DNS.
  3. Set the base URL variable and the sendmcp key in the project.
  4. Send a test, change any resend.dev test addresses to test.sendmcp.dev, then cancel Resend.

Compatibility notes from the Resend API reference and docs, SDK variable names checked on Nov 23, 2026. See Resend docs and the Cloudflare Email Service docs.

Questions about this

Do I have to change my code?

No. You change the base URL variable and the key. The SDK calls, request bodies and error handling stay the same.

Will my existing webhook handlers keep working?

Yes. sendmcp uses the same event names and the same Svix signature headers, so a handler that verifies Resend webhooks verifies sendmcp's. Handlers for Resend's contact.* events will not receive anything.

Can I use Resend's marketing features through sendmcp?

No. Cloudflare allows transactional email only, so there are no contacts, segments or broadcasts.

Send from every project for $0.

Open source. One click puts it on your Cloudflare account.