MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Mailgun MCP

by Mailgun

Official Mailgun email API integration for AI-powered email management and delivery

communication Node.js Intermediate Self-hostable Verified
⭐ 100 stars πŸ“… Updated: 1mo ago

Description

Official MCP server from Mailgun that brings the Mailgun email API into AI assistant workflows. Send transactional and marketing emails, manage sending domains, track delivery events, handle bounces and complaints, and configure email routes β€” all through natural language commands. Built with TypeScript, it provides a complete email operations toolkit for AI agents. Particularly useful for developers and teams who want to automate email workflows, monitor deliverability, and manage their Mailgun infrastructure without switching to the dashboard.

βœ… Best for

Developers and teams automating email operations and delivery monitoring through AI

⏭️ Skip if

You need a general-purpose email client or use a different email service provider

πŸ’‘ Use cases

  • Sending transactional emails programmatically through AI assistants
  • Monitoring email delivery rates, bounces, and complaint events
  • Managing sending domains and routing configurations
  • Generating email delivery reports and analytics

πŸ‘ Pros

  • βœ“ Official Mailgun project with direct API integration
  • βœ“ Complete email operations β€” send, track, route, and manage domains
  • βœ“ Event tracking for delivery monitoring and troubleshooting
  • βœ“ Well-documented TypeScript implementation

πŸ‘Ž Cons

  • βœ— Requires Mailgun account with verified sending domain
  • βœ— Free tier has daily sending limits
  • βœ— Email sending through AI agents needs careful spam compliance review

πŸ”§ Exposed tools (5 tools)

ToolCategoryDescription
get_statsanalyticsGet email delivery statistics and metrics
list_domainsmanagementList configured sending domains
send_emailmessagingSend an email through the Mailgun API
track_eventsmonitoringTrack email delivery events including bounces and complaints
manage_routesroutingCreate and manage email routing rules

⚑ Installation

Prerequisites:

  • β€’ Node.js v18+
  • β€’ Mailgun API key and configured sending domain
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

Set up your sending domain in Mailgun first and verify DNS records before using the MCP server. Use the track_events tool to monitor deliverability and catch issues early.

πŸ”„ Alternatives

Quick info

Author
Mailgun
License
MIT
Runtime
Node.js 18+
Transport
stdio
Category
communication
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • ❓ Gemini CLI
  • βœ… Windsurf
  • βœ… Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows