Best for
- Teams managing Mailgun email workflows through an MCP client.
- Users investigating deliverability, reviewing sending analytics, or checking email rendering.
The source identifies this as a Mailgun-provided MCP server that uses stdio and a Mailgun API key. It covers email sending, account management, analytics, and deliverability checks. Some operations change data, and email preview tests consume quota.
Strongest · Documentation 14/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-12-04
Read the FMRS scoring method →Runtime:Node.js 20.12+
MAILGUN_API_KEY
Required Mailgun API key, available from Mailgun API security settings.
MAILGUN_API_REGION
Mailgun API region, either us or eu; defaults to us.
MAILGUN_MCP_TAGS
Tags or toolsets to load; can be set to dynamic. Defaults to all tools.
MAILGUN_API_HOSTNAME
Optional API hostname override; takes precedence over the region setting.
PORT
HTTP entrypoint listening port; defaults to 3000.
HOST
Network interface for the HTTP entrypoint; defaults to 0.0.0.0.
Configure your MCP client to run command npx with arguments ["-y", "@mailgun/mcp-server"], and set the required MAILGUN_API_KEY. For an EU-region account, set MAILGUN_API_REGION to eu; it defaults to us.
{"mcpServers":{"mailgun":{"command":"npx","args":["-y","@mailgun/mcp-server"],"env":{"MAILGUN_API_KEY":"YOUR-mailgun-api-key","MAILGUN_API_REGION":"us"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"mailgun": {
"command": "npx",
"args": [
"-y",
"@mailgun/mcp-server"
],
"env": {
"MAILGUN_API_KEY": "YOUR-mailgun-api-key",
"MAILGUN_API_REGION": "us"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.mailgun] command = "npx" args = ["-y", "@mailgun/mcp-server"] [mcp_servers.mailgun.env] MAILGUN_API_KEY = "YOUR-mailgun-api-key" MAILGUN_API_REGION = "us"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add mailgun -e MAILGUN_API_KEY=YOUR-mailgun-api-key -e MAILGUN_API_REGION=us -- npx -y @mailgun/mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm Mailgun tools appear in your client's MCP tool list. You can also ask it to list your domains to verify the server is connected and can reach Mailgun.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
Mailgun MCP Server is a local MCP server provided by Mailgun. It communicates with clients over stdio and connects to the Mailgun API. Capabilities include sending and retrieving messages, domain and DNS checks, analytics, suppressions, templates, email validation, inbox placement results, and email preview QA. It loads all tools by default, with options to filter by tags or load toolsets on demand.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision d2981857a6bf Data synced 2026-12-05 Read the FMRS scoring method Markdown