# Mailgun: an established email API and SMTP relay with an official local MCP server

Category: Transactional Email APIs · Updated 2026-11-09 · Last checked 2026-11-09

Mailgun is an email delivery service offering RESTful sending APIs, SMTP relay, inbound routes, tracking and analytics. Its official MCP server (@mailgun/mcp-server) lets an agent send and resend messages, inspect and verify domains, pull delivery stats and manage templates, suppressions, webhooks, routes and mailing lists. It authenticates with a Mailgun API key, and the docs recommend a dedicated key with scoped permissions.

**Good to know:** The MCP server runs locally only; Mailgun says it does not offer a hosted version, and it exposes read and update operations but no deletes. Mailgun also runs a separate docs-only MCP server, which does not count here. The free plan includes webhooks but only 2 API keys, 1 domain, 1 user and 1 day of log retention.

## At a glance

| Field | Value |
| --- | --- |
| Pricing | Free $0 (100 emails/day); Basic from $15/month (10,000 emails); Foundation $35/month (50,000 emails); Scale $90/month (100,000 emails) |
| Public API | Yes |
| MCP server | Yes |
| Webhooks | Yes |
| Open source | No |
| Agent score | 4/4 |
| Best for | High-volume sending with routing and inbound email |

## Sources

1. Mailgun pricing (mailgun.com/pricing) (checked 2026-11-09)
2. Mailgun MCP docs (documentation.mailgun.com/docs/mailgun/mcp) (checked 2026-11-09)
