---
title: "Self-hosted Resend alternative on Cloudflare | sendmcp"
url: https://sendmcp.dev/self-host/
description: "sendmcp is a free, MIT-licensed, self-hosted Resend alternative. One click deploys it to your Cloudflare account, and every domain you own sends from it."
---

Self-host

# Free and open source. Deploy it to your Cloudflare.

sendmcp is a free, open source, self-hosted Resend alternative: an MIT-licensed Worker you deploy to your own Cloudflare account in one click. One deploy sends for every domain you own, with no per-domain plan, while Resend Pro costs **$20 a month** from the fourth domain. Your emails and logs stay in your own D1 database.

[Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/agentfirsthq/sendmcp) [View on GitHub](https://github.com/agentfirsthq/sendmcp)

Updated Nov 23, 2026 · MIT licence · [Compared with Resend](https://sendmcp.dev/vs/resend/)

Why self-host

## Three things a hosted email API keeps doing to side projects.

Each one is a reason people look for a Resend alternative they can run themselves.

**1** The fourth domain

### A new project is a new bill

Resend Free covers 3 domains. Domain number four moves you to Pro at $20 a month, whatever you send. sendmcp has no plans, so the next project costs nothing extra.

**2** The ban

### Another vendor can block your mail

Suspensions and sending blocks at a hosted provider come with slow appeals. Here you send from your own Cloudflare account, so no second vendor stands between you and your users. Cloudflare's own abuse rules still apply.

**3** The data

### Your logs live in someone else's cloud

Resend runs on Amazon SES and stores your data with a US vendor. sendmcp keeps emails, events, templates and logs in a D1 database on your account, and they never reach us.

Deploy

## From the button to a delivered email in three steps.

The target is 10 minutes from the first click to the first delivered email from your own domain.

**1**

### [Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/agentfirsthq/sendmcp)

Creates the Worker, D1, R2 and the queue in your account. It asks for nothing else: no API token, no secrets, no email to type in.

Worker · sendmcp

D1, R2 and queues

**2**

### Sign in with Cloudflare

Open the Worker's `workers.dev` URL and sign in with your Cloudflare account. sendmcp makes you the owner, locks the dashboard with Cloudflare Access and lists anything still missing.

Signed in with Cloudflare

Setup checks passed

**3**

### Connect your agent

Add your [MCP URL](https://sendmcp.dev/mcp/) to your agent, or paste this prompt and it adds a domain and sends a test.

Set up email for shipfast.app and send me a test

Pricing

## One plan, and it is $0.

No plans, no seats, no per-domain fees. One click and it's yours.

sendmcp Free forever

$0

Open source. Every feature, no tiers.

- As many projects and domains as you ship
- Your Resend code keeps working
- Your agent handles setup and bounces
- Your emails and logs stay in your account

 [Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/agentfirsthq/sendmcp)

## What do you need before you deploy?

sendmcp itself costs nothing, and the one paid thing it needs is a Cloudflare account on the Workers Paid plan, which Cloudflare bills you directly. Everything else is below, and the setup checks in the dashboard test each item for you.

| You need | Why | If it is missing |
| --- | --- | --- |
| A domain on Cloudflare | sendmcp writes the SPF, DKIM and DMARC records into the zone | The agent returns the records for you to add at your DNS provider, and the domain page shows them with a Copy button |
| The Cloudflare sign-in | You approve it once after the deploy. It grants DNS Edit, Email Sending Edit, Email Routing Edit and Access Edit, so sendmcp can set up domains and protect the dashboard | The dashboard stays closed until you sign in. You can revoke it in your Cloudflare profile under OAuth authorizations and sign in again |
| A Zero Trust organization | Cloudflare Access is the only way into the dashboard: no password and no sign-in code of our own | Setup links to Zero Trust onboarding, about 2 minutes. Cloudflare asks for payment details there even on its Free plan |
| Email Sending turned on | It is the only way mail leaves: sendmcp has no SES and no SMTP relay | Setup says so and links to the exact Cloudflare page |

## How do I update sendmcp?

The Settings page shows the installed version, the latest release and its notes, checked against GitHub releases once a day. Updating is **Sync fork** on your copy of the repository on GitHub, or your agent can run it. Each release note links to the post for that release.

## Where does my data live?

In your own Cloudflare account: emails, events, domains, keys and templates in D1, attachments and raw messages in R2, and delivery work in Queues. Logs keep request bodies for a retention period you set, 30 days by default. sendmcp has an anonymous install ping that sends a version number and which features are in use, never a domain, address or key. It can be switched off with one environment variable, and the README documents what it sends.

Honest limits

## What self-hosting does not give you.

So you can rule it out in ten seconds.

- **No newsletters.** Cloudflare allows transactional email only: signups, receipts, resets, alerts.
- **Cloudflare Email Sending is in beta.** Public since April 2026, SMTP since June 2026. The API and the limits can change.
- **No dedicated IPs.** You send from Cloudflare's shared pool, and sendmcp makes no deliverability guarantee.
- **One account, all your projects.** A spam complaint spike on one project can block sending for all of them. Per-project pause and rate warnings reduce this and cannot remove it.
- **A daily quota you do not set.** Cloudflare's quota per account is not published and starts conservative on a new account.
- **No support desk.** Issues on GitHub, no compliance paperwork, and you run the updates.

## Questions about this

### Is there a self-hosted Resend alternative?

Yes. sendmcp is MIT licensed and deploys to your own Cloudflare account in one click. It accepts the same API calls as Resend, so the Resend SDK keeps working with one base URL setting and a new key.

### Do I need to run a server?

No. sendmcp is a single Cloudflare Worker with a D1 database, R2 and queues, all created in your account by the Deploy button. There is no VPS, container or SES account to keep running.

### Do I need a Cloudflare API token?

No. The deploy asks for nothing, and after it you sign in with Cloudflare once, which gives sendmcp the permissions it needs. The first sign-in has to use the Worker's `workers.dev` URL, because that is how sendmcp proves your account runs it. A hand-made API token still works if you prefer one.

### How do I update a self-hosted sendmcp?

Press Sync fork on your copy of the GitHub repository, or ask your agent to do it. The Settings page shows your version next to the latest release, checked once a day.

### Who can see my emails and logs?

Only you. They live in D1 and R2 in your Cloudflare account, and the dashboard sits behind Cloudflare Access. The only thing that can leave is the anonymous install ping, which you can turn off.

## Sources

1. [Resend: Pricing](https://resend.com/pricing) checked Nov 23, 2026
2. [Cloudflare: Email Service docs](https://developers.cloudflare.com/email-service/) checked Nov 23, 2026
3. [Cloudflare One: setup](https://developers.cloudflare.com/cloudflare-one/setup/) checked Nov 23, 2026
4. [sendmcp on GitHub (MIT)](https://github.com/agentfirsthq/sendmcp) checked Nov 23, 2026

## Send from every project for $0.

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

[Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/agentfirsthq/sendmcp)
