MCP

Install the sendmcp MCP server in Claude, Cursor, ChatGPT, Codex

To install the sendmcp MCP server, add one URL, your Worker's /mcp address such as https://mail.example.com/mcp, to Claude, Cursor, ChatGPT or Codex as a remote server, then approve access once in your browser. No API key goes into the config. The first tool set has 26 tools for domains, sending, events, bounces, suppression, logs and inbound.

Updated · Runs on your own Cloudflare account

What is the MCP URL?

sendmcp runs as a Worker on your own Cloudflare account, and the MCP server is the /mcp path on that same Worker. The address is your Worker's URL, either a workers.dev address or a custom domain you gave it. This page uses https://mail.example.com/mcp as a stand-in: replace it with your own.

The endpoint speaks streamable HTTP and signs the agent in with OAuth 2.1, so every client below needs the URL and nothing else. The first time a client connects, it opens a consent page in your browser where you approve it.

How do I install it in Claude?

In Claude Code, add the server from the terminal, then open /mcp, pick sendmcp and choose Authenticate. Your browser opens the consent page.

claude mcp add --transport http sendmcp https://mail.example.com/mcp

In Claude Desktop or on claude.ai, add it as a custom connector in the connector settings: name it sendmcp, paste the same URL and approve the sign-in.

How do I install it in Cursor?

Add the server to .cursor/mcp.json in a project, or to the global file for every project. Cursor starts the sign-in the first time it uses a tool.

{ "mcpServers": { "sendmcp": { "url": "https://mail.example.com/mcp" } } }

How do I install it in ChatGPT?

ChatGPT takes remote MCP servers as custom connectors. In the connector settings, create a new connector, paste https://mail.example.com/mcp as the server URL, choose OAuth for authentication and approve the consent page when it opens. Custom connectors may need developer mode turned on, and the menu names change, so use ChatGPT's own help for the exact path.

How do I install it in Codex?

Add the server to Codex's config file, ~/.codex/config.toml, then sign in from the terminal.

[mcp_servers.sendmcp] url = "https://mail.example.com/mcp" # then, in a terminal codex mcp login sendmcp

How do I check it works?

Ask the agent for something small. The sendmcp Get started screen waits for your first tool call and shows it when it arrives. If nothing arrives within 2 minutes, it shows help for your client, such as /mcp then Authenticate in Claude Code.

What can my agent do with it?

The tools below are the first set. Domain, sending, suppression, quota and log tools come with the public alpha (M3). Tools for features that arrive later, such as templates and webhooks (M4), ship with their milestone, so your agent never plans around a tool that cannot work. Every tool result carries warnings, so the agent sees a rising bounce rate or a nearly used quota on its next call.

GroupToolsWhat the agent does
Domainsdomains_add, domains_verify, domains_dns_recordsAdds a domain, writes or checks its SPF, DKIM and DMARC records
Sendingemails_send, emails_send_test, emails_get, emails_listSends and inspects email
Events and bouncesevents_list, bounce_explainLists delivery, bounce, complaint and reject events; reads the SMTP response and says what to fix
Suppressionsuppression_list, suppression_add, suppression_removeManages the addresses that must not be emailed
Templates (M4)templates_list, templates_upsert, templates_previewStores and previews templates
Webhooks (M4)webhooks_upsert, webhooks_testSets up and tests outgoing webhooks
Reportsstats, quota, deliverability_checkReads sent, delivered, bounce and complaint rates; Cloudflare's daily quota and how much is used; DNS records, DMARC policy, suppression count and complaint rate for a domain
Projectsprojects_list, projects_pauseShows each project and stops one in an emergency
Inbound (M3)inbound_list, inbound_getLists received email for an address or domain; reads one with headers, text and HTML
Logslogs_list, logs_getReads recent API requests with status, key and source; one request with its body and response

bounce_explain, deliverability_check, quota and projects_pause have no counterpart in resend-mcp, which only calls the Resend API and cannot touch DNS.

What access does an agent get?

The dashboard sits behind Cloudflare Access, but /mcp and the API do not, because OAuth and API keys protect them. Your own sending code still uses a scoped API key, not the MCP sign-in.

Questions about this

Do I need an API key to use the sendmcp MCP server?

No. The MCP server signs your agent in with OAuth 2.1 and a consent page in your browser, so no key goes into the client config. API keys are for your apps that send email with the Resend SDK, and they are scoped to one domain.

Which clients work with the sendmcp MCP server?

Any client that supports remote MCP over streamable HTTP with OAuth. The build targets Claude Code, Cursor, Codex and Claude Desktop, and ChatGPT takes the same URL as a custom connector.

Can the agent break my existing email?

It is built not to. sendmcp never touches the apex MX, merges into an existing SPF record and asks before writing, leaves an existing DMARC record alone, and never makes a DMARC policy weaker. Inbound mail uses a subdomain by default.

How is this different from resend-mcp?

resend-mcp exposes the Resend API as tools and only reads what Resend has already processed. The sendmcp server runs inside your Cloudflare account, so it also writes SPF, DKIM and DMARC into your zone and explains bounces with bounce_explain.

Send from every project for $0.

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