Skip to content
Mailgun MCP Server

Mailgun MCP Server

Added to Onei
1 views
Apache-2.0

Summary

Official Mailgun MCP server: send email, diagnose deliverability, and manage domains, webhooks, templates and suppressions from your agent.

Features

  • Send and resend email, fetch stored messages
  • Domain DNS verification and tracking settings
  • Suppressions, bounces and complaints lookup
  • Email validation, inbox placement and render previews
  • No delete operations exposed

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Mailgun MCP Server" tools will be available.
{
  "mcpServers": {
    "mailgun-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mailgun/mcp-server"
      ],
      "env": {
        "MAILGUN_API_KEY": "YOUR-mailgun-api-key"
      }
    }
  }
}

Description

The official Mailgun MCP server gives an AI agent a workflow-oriented interface to the Mailgun email API. Beyond sending messages, it can check domain DNS and tracking settings, inspect bounces, complaints and unsubscribes, query sending analytics and logs, and manage webhooks, inbound routes, mailing lists and versioned templates.

It also exposes Mailgun's deliverability products: address validation before you send, inbox-placement seed test results, and email rendering previews across clients. Tools are generated from a bundled OpenAPI spec and tagged by product, so you can register only the subset a workflow needs.

Good to know

  • Runs locally over stdio (npx -y @mailgun/mcp-server); Mailgun does not offer a hosted version.
  • Requires Node.js 20.12+ and a Mailgun API key; set MAILGUN_API_REGION=eu for EU-hosted accounts.
  • Read and update operations only: no delete tools are exposed, which limits the damage of a mistaken call.
  • Apache-2.0 licensed.

Related MCP Servers

New

Official MCP server for the Mux video API, built on a code-execution scheme: the agent writes TypeScript against the SDK and runs it in a Deno sandbox.

MCP: ripwire

by Red Hat

Featured

Red Hat's zero-dependency C++23 code-context engine — ranked call graphs and blast-radius analysis, indexing a repo in under half a second with no server and no database.

MCP: Graft

by Trail

Featured

Builds a searchable markdown graph of your repo so coding agents stop re-exploring it on every task — reported 42% fewer tokens and 46% fewer tool calls.

Featured

Expo's official remote MCP server — searches Expo docs, installs compatible SDK packages, triggers and monitors EAS builds, and drives iOS/Android simulators.

Browse all MCP servers →