Mailgun MCP Server
MCP server by mailgun Verified · npm:@mailgun
Mailgun MCP Server lets AI agents send email through Mailgun, check domain DNS and deliverability, and review account data. It is built for developers and teams who want assistants to work with their Mailgun account.
Install Mailgun MCP Server
Built from the published package, never by AI.
claude mcp add mailgun-mcp-server -- npx -y @mailgun/mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mailgun-mcp-server": {
"args": [
"-y",
"@mailgun/mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mailgun-mcp-server": {
"args": [
"-y",
"@mailgun/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mailgun-mcp-server": {
"args": [
"-y",
"@mailgun/mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mailgun-mcp-server -- npx -y @mailgun/mcp-server{
"mcpServers": {
"mailgun-mcp-server": {
"args": [
"-y",
"@mailgun/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mailgun-mcp-server npx -y @mailgun/mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mailgun-mcp-server block.
About
Mailgun MCP Server is a Model Context Protocol server for Mailgun, the email service. It gives AI assistants a workflow-oriented interface to send email, diagnose deliverability, and manage account operations. Its tools cover messaging, domains, webhooks, routes, mailing lists, templates, analytics, suppressions, IP pools, bounce classification, email validation, inbox placement tests, and email previews.
The server runs locally over stdio and is published to npm as @mailgun/mcp-server. It is OpenAPI driven: at startup it registers a curated allowlist of Mailgun endpoints as tools. Tools are limited to read and update operations, with no delete operations exposed. Tag filtering and toolsets let users load only the products they need, and a dynamic mode loads tools on demand. It suits developers and teams who want AI agents to work with Mailgun.
Written from the project's README and checked against it.
Tools it gives your assistant
post-v3-domain-messagesSends an email through a Mailgun domain.get-v4-domainsLists domains in the Mailgun account.get-v4-domains-nameShows domain details and DNS records.put-v4-domains-name-verifyRe-checks a domain's DNS records.get_metrics_summaryReturns a summary of key sending metrics.post-v1-analytics-logsQueries event logs.get-v3-domain-bouncesLists bounces for a domain.get-v3-domain-complaintsLists complaints for a domain.validate_emailValidates an email address before sending.mailgun_enable_toolsetLoads one or more toolsets on demand when using dynamic mode.
What you need
- Node.js v20.12 or higher
- Mailgun account
- Mailgun API key
Try asking
- Re-check the DNS records for my sending domain in Mailgun
- Show the bounces and complaints recorded for my domain
- Validate this email address before I send a message to it
Good to know
- Runs locally on your machine and communicates over stdio, with no hosted version offered by Mailgun.
- No delete operations are exposed; tools are limited to read and update.
- On-demand toolset loading needs a client that refreshes its tool list when the server reports a change.
- In clients that do not refresh their tool list, tools that change data need the default setting or --tags.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Mailgun MCP Server
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Mailgun MCP Server: common questions
Does Mailgun MCP Server run in the cloud?
No. The source says it runs locally on your machine over stdio, and Mailgun does not currently offer a hosted version.
Can the server delete data in my Mailgun account?
No. The source says no delete operations are exposed, which keeps the impact of an unintended action small.
Does it work with Mailgun's EU region?
Yes. Setting MAILGUN_API_REGION to eu selects the EU region, and the default is us.
How do I install Mailgun MCP Server?
In Claude Code run claude mcp add mailgun-mcp-server -- npx -y @mailgun/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Mailgun MCP Server the official server?
Mailgun MCP Server is published by npm:@mailgun from its verified domain in the official MCP Registry.
Is Mailgun MCP Server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Mailgun MCP Server safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Mailgun MCP Server?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Mailgun MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
