# Mailgun MCP Server

> Send email, investigate deliverability, and manage Mailgun accounts through MCP.

- **URL**: https://followmcp.com/en/servers/mailgun-mcp-server
- **Category**: Other
- **Origin**: Official
- **Stars**: 66
- **FMRS Score**: 57/100 (Grade C)
- **Source**: https://github.com/mailgun/mailgun-mcp-server
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 20.12+
- **Auth**: API key / credential required

## Overview
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.

## Best for
- Teams managing Mailgun email workflows through an MCP client.
- Users investigating deliverability, reviewing sending analytics, or checking email rendering.

## Not for
- Users who need a hosted Mailgun MCP service; the source says this server runs locally and Mailgun does not currently offer a hosted version.
- Users who do not want AI workflows to access or modify Mailgun account data.

## Required permissions
- A Mailgun API key is required. The server process uses it for API authentication; it is not exposed to the AI model.
- Depending on enabled tools, the key may need permission to send email, update account settings, create preview tests, or read account data. Preview tests consume quota.

## Risks
- Tools can send email, update some account settings, and read data such as mailing list members; the server exposes no delete operations.
- run_email_preview_qa creates a remote preview test and consumes preview quota, but does not send email.
- Each tool call makes a direct Mailgun API request; the server has no client-side rate limiting.
- Preview details may include sensitive content such as rendered HTML snippets; run the server in a trusted environment and review what is surfaced to the model.

## Client config (JSON)
```json
{"mcpServers":{"mailgun":{"command":"npx","args":["-y","@mailgun/mcp-server"],"env":{"MAILGUN_API_KEY":"YOUR-mailgun-api-key","MAILGUN_API_REGION":"us"}}}}
```
