How do I set the Resend SDK base URL?
| SDK | How to point it at sendmcp |
|---|---|
| Node | RESEND_BASE_URL, or the baseUrl option |
| Go | RESEND_BASE_URL |
| PHP | RESEND_BASE_URL |
| Ruby | RESEND_BASE_URL |
| Python | RESEND_API_URL |
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 key | sendmcp key | |
|---|---|---|
| Works against | Resend's API | Your sendmcp Worker |
| Scopes | Full access or sending access, for all domains or one | Same scopes |
| Create it | In the Resend dashboard | In your own deployment, one per project |
| Test mode | Test addresses at resend.dev | Test 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?
| Area | Same as Resend | Different or missing |
|---|---|---|
| Emails | Send, batch of up to 100, retrieve, list, update, cancel | No share link |
| Email options | html, text, cc, bcc, reply_to, attachments, headers, tags, scheduled_at, template with variables | No topic_id |
| Request rules | Request and response bodies, error body, cursor pagination, Idempotency-Key, ratelimit-* headers | sendmcp's own rate limit, plus Cloudflare's daily account quota |
| Domains, API keys, suppressions, templates, logs | Same endpoints | Domain DNS records are written for you, not just shown |
| Webhooks | Same event names and the same svix-id, svix-timestamp, svix-signature headers | Resend's contact.* events do not exist |
| Marketing | Not applicable | No contacts, segments, topics, broadcasts or automations |
How do I move a project?
- Deploy sendmcp to your Cloudflare account.
- Ask your agent to add the project's domain; it writes the DNS.
- Set the base URL variable and the sendmcp key in the project.
- Send a test, change any
resend.devtest addresses totest.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.