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.
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.
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.
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.
| Group | Tools | What the agent does |
|---|---|---|
| Domains | domains_add, domains_verify, domains_dns_records | Adds a domain, writes or checks its SPF, DKIM and DMARC records |
| Sending | emails_send, emails_send_test, emails_get, emails_list | Sends and inspects email |
| Events and bounces | events_list, bounce_explain | Lists delivery, bounce, complaint and reject events; reads the SMTP response and says what to fix |
| Suppression | suppression_list, suppression_add, suppression_remove | Manages the addresses that must not be emailed |
| Templates (M4) | templates_list, templates_upsert, templates_preview | Stores and previews templates |
| Webhooks (M4) | webhooks_upsert, webhooks_test | Sets up and tests outgoing webhooks |
| Reports | stats, quota, deliverability_check | Reads 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 |
| Projects | projects_list, projects_pause | Shows each project and stops one in an emergency |
| Inbound (M3) | inbound_list, inbound_get | Lists received email for an address or domain; reads one with headers, text and HTML |
| Logs | logs_list, logs_get | Reads 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 consent page shows the client's name, its redirect host, the rights it asks for (full or read-only) and which projects it can use.
- Read-only access is offered as an alternative to full access.
- The Agents page lists connected clients with the last call and rights. Revoking one invalidates its tokens at once.
- The agent never touches your apex MX, never overwrites an existing SPF or DMARC record (it merges or asks first) and never makes a DMARC policy weaker.
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.