The short answer: yes. Several email APIs have an MCP server, and they differ in where the server runs and how it signs in.
- Hosted, with OAuth or an API key: SMTPfast (
https://smtpfa.st/api/mcp) and Resend (https://mcp.resend.com/mcp). Nothing to install. - Hosted, with a token: Brevo (
https://mcp.brevo.com/v1/brevo/mcp), mostly for contacts and campaigns. - Local, started with npx: Postmark (
@activecampaign/postmark-mcp) and Mailgun (@mailgun/mcp-server).
We build SMTPfast. The details for the other servers come from their own documentation, checked on 21 November 2026, and the sources are at the end.
Which email APIs have an MCP server?
| Provider | Where it runs | Sign-in | Send email | Read received email | Notes |
|---|---|---|---|---|---|
| SMTPfast | Hosted | OAuth 2.1 or API key | Yes | Yes, and reply in thread | Over 100 tools; drafts for human review; each tool marked read-only or not |
| Resend | Hosted, or local (npx -y resend-mcp) |
OAuth (hosted) or API key | Yes | Yes | Inboxes only on the hosted server |
| Postmark | Local (@activecampaign/postmark-mcp) |
Server token (full access to that server) | Yes | No inbound tools listed | 24 tools; Postmark suggests a dedicated server for MCP |
| Mailgun | Local (@mailgun/mcp-server, Node.js 18+) |
API key | Yes | Inbound routes only | "50+ operations"; no delete tools |
| Brevo | Hosted | MCP token in a header | Not stated in the docs | Not stated | Contacts, campaigns and transactional templates; one URL per module |
MailerSend also lists an MCP server on its pricing page. We did not check its details for this page.
Hosted or local: why it matters
A hosted server is a URL. The client connects over HTTP, so it works in desktop, web and mobile clients and you install nothing. With OAuth, you sign in once in the browser and pick what the agent may do; no key is pasted into a config file.
A local server is a program the client starts on your machine, usually with npx. It needs Node.js, keeps the API key in an environment variable, and does not work in clients that cannot start processes. It is a good fit when you want the key to never leave your machine's config.
What an agent can do with the SMTPfast MCP server
The SMTPfast server exposes the same operations as the REST API, as over 100 tools. The ones agents use most:
send_email,send_email_batchandsend_template_emailto send.check_before_send: sender domain, display name, spam patterns, client compatibility and link reputation in one pass-or-fix list.explain_email: what happened to one email, with the bounce or complaint detail and the next step.deliverability_reportandfind_problem_recipientsfor a domain's bounce and complaint rates.add_domain,get_domainandverify_domainto set up a sending domain and read its DNS records.list_received_emails,get_received_emailandreply_to_received_emailfor inbound mail.save_inbox_draftto write a reply that a person reviews and sends.- Broadcasts, contacts, segments, templates, webhooks and suppressions.
The full list is in the MCP server docs.
Connect an agent in one command
Claude Code, with OAuth (no key; you sign in when it asks):
claude mcp add --scope user --transport http smtpfast https://smtpfa.st/api/mcp
Or with an API key:
claude mcp add --scope user --transport http smtpfast https://smtpfa.st/api/mcp \
--header "Authorization: Bearer sf_your_api_key"
Cursor, in ~/.cursor/mcp.json:
{
"mcpServers": {
"smtpfast": {
"url": "https://smtpfa.st/api/mcp",
"headers": { "Authorization": "Bearer sf_your_api_key" }
}
}
}
Any client can also call the server directly. This lists the tools:
curl -sS https://smtpfa.st/api/mcp \
-X POST \
-H "Authorization: Bearer $SMTPFAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
For Claude Desktop and Codex, with real runs and what they looked like, see how to send email from your AI agent.
Keep the agent from sending what you did not approve
An agent with an email tool can send to anyone. Set it up so it cannot surprise you:
- Scope the key. Create a key with only the scopes the agent needs:
email:sendandemail:readfor sending and checking what it sent,domain:readif it should runcheck_before_send, and no key or team management. With OAuth, approve only those scopes on the consent page. - Keep approval on for changes. Each SMTPfast tool is annotated as read-only or not, so a client can run lookups freely and ask before a send.
- Use drafts. For replies, let the agent call
save_inbox_draftand send the draft yourself.save_inbox_draftneeds onlyinbound:read, so a key withoutemail:sendmakes this a rule the server enforces, not only a habit of the client. - Send from a subdomain. Agent mail from
agent.yourdomain.comlowers the risk that a mistake hurts your main domain's reputation. It does not remove it: the sending IPs and your account's reputation are shared.
SMTPfast also has a Claude Skill that teaches Claude when to use which tool, and every send goes through the same checks as an API send: suppressions, plan limits and the first-week ramp for new accounts.
Sources
Checked on 21 November 2026:
- SMTPfast: MCP server docs
- Resend: resend.com/docs/mcp-server
- Postmark: github.com/activecampaign/postmark-mcp
- Mailgun: Mailgun MCP server docs
- Brevo: developers.brevo.com/docs/mcp-protocol
- MailerSend: mailersend.com/pricing (lists an MCP server)
Frequently asked questions
Is there an email API with an MCP server so AI agents can send email?
Yes. SMTPfast (https://smtpfa.st/api/mcp) and Resend (https://mcp.resend.com/mcp) host MCP servers that accept OAuth or an API key. Postmark (@activecampaign/postmark-mcp) and Mailgun (@mailgun/mcp-server) publish official MCP servers that run locally with npx. Brevo hosts one at https://mcp.brevo.com/v1/brevo/mcp for contacts and campaigns.
What is the difference between a hosted and a local MCP server?
A hosted (remote) MCP server is a URL your client connects to over HTTP, so there is nothing to install and it works in web and mobile clients. A local server is a program the client starts on your machine (for example with npx), which holds the API key in an environment variable. Local servers need Node.js and do not work in clients that cannot start processes.
How do I stop an AI agent from sending email I did not approve?
Give it a key with only the scopes it needs, keep tool approval on in the client for tools that change things, and let it write drafts instead of sending. SMTPfast marks each tool as read-only or not, so a client can ask only before changes, and its save_inbox_draft tool needs only the inbound:read scope. A key without email:send can then write drafts but cannot send them; with email:send, the agent could also call send_inbox_draft, so approval depends on your client.
Can an AI agent read incoming email over MCP?
With SMTPfast and Resend, yes: both MCP servers can list and read received email and download attachments. SMTPfast can also reply in the thread and save drafts in an inbox. The Postmark MCP server's tool list has no inbound tools, and Mailgun's covers inbound routes.
Ready to get started?
Start sending transactional email today. Free to start, no credit card required.
Get Started for FreeRelated Posts
Cheapest Transactional Email API in 2026: Free Tiers and Prices Compared
Amazon SES is the cheapest per email at $0.10 per 1,000, but you wire up bounce handling and logs yourself. Among managed email APIs, Mailjet (6,000 a month) and Mailtrap (4,000) have the largest monthly free tiers, and SMTPfast has the lowest price we found at 50,000 and 100,000 emails a month ($19). Every price below was checked on the provider's own pricing page on 21 November 2026.
How to Check the SPF, DKIM and DMARC Records for Your Domain
Look up three DNS TXT records: SPF at the domain itself (v=spf1), DKIM at selector._domainkey.yourdomain.com (v=DKIM1, or a CNAME to your provider), and DMARC at _dmarc.yourdomain.com (v=DMARC1). Use dig on macOS and Linux, nslookup on Windows, or a free online checker, then send a real test email to confirm all three pass.