Mailgun (Transactional Email & Domains)

Mailgun (Transactional Email & Domains) MCP Connector for Claude

A+

Manage email infrastructure via Mailgun — send transactional emails, monitor domain health, and audit delivery logs.

10 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Mailgun account to any AI agent and take full control of your transactional email delivery, domain health, and suppression management through natural conversation.

What you can do

  • Transactional Messaging — Send high-priority transactional or marketing emails directly from your agent, specifying verified domains and custom text bodies securely
  • Domain Health Audit — Retrieve detailed DNS records and state mappings for your domains, including SPF, DKIM, and MX dependencies to ensure deliverability
  • Suppression Management — List and audit bounced emails, unsubscribes, and complaints, with the ability to selectively delete suppressions to allow resending
  • Analytics & Statistics — Query domain-level analytics to track open rates, click-through rates, and general delivery performance in real-time
  • Event Logging — Extract raw chronological event logs (deliveries, opens, drops, bounces) to investigate delivery failures or anomalous traffic spikes
  • Email Validation — Use the Mailgun Validation API to check if an email address is deliverable and valid before initiating a send request
  • Template Discovery — List and retrieve stored HTML Handlebars templates associated with your domains for consistent professional messaging

How it works

  1. Subscribe to this server
  2. Enter your Mailgun Private API Key
  3. Start managing your email infrastructure from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Software Developers — test transactional email flows and validate domain settings through natural conversation without manual API tools
  • DevOps & SREs — monitor domain deliverability and investigate delivery logs directly from your workspace for rapid incident response
  • Growth Engineers — audit campaign stats and manage suppression lists across multiple Mailgun domains efficiently
transactional-emailemail-infrastructuredelivery-logsdomain-healthsuppression-managementsmtp-api

10 tools expose this connector's capabilities to your AI agent.

list_bounces

Useful to detect out of bounds sending or inactive audiences. Check bounced email logs and suppression list for a domain

delete_bounce

Irreversible action. Delete a bounced email from the suppression list

get_domain

Get domain details and DNS records for a Mailgun domain

get_stats

Get analytics and stats for a Mailgun domain

get_templates

List email HTML templates for a Mailgun domain

list_domains

List all configured domains on the Mailgun account

list_logs

List raw event logs (deliveries, opens, drop, bounces) for a domain

list_unsubscribes

List unsubscribed emails for a Mailgun domain

send_email

Send an email using Mailgun

validate_email

Validate an email address via the Mailgun Email Validation API

See how to talk to your AI agent using Mailgun (Transactional Email & Domains).

Send a transactional email to 'user@example.com' from 'support@mg.domain.com' with subject 'Order Confirmed'

Dispatching email… I've successfully sent the message to 'user@example.com' via the 'mg.domain.com' domain. The Message ID is '202603271234.abc@mg.domain.com'. Would you like me to monitor the event logs for delivery status?

Check the DNS health for domain 'mg.mycompany.com'

Retrieving domain details… For 'mg.mycompany.com', SPF and DKIM records are verified and active. However, the MX records are currently marked as 'Unverified'. You may need to update your DNS settings to receive replies. Would you like the exact MX values to add?

List all bounced emails for 'mg.mycompany.com' from the last hour

Retrieving bounce logs… I've identified 3 bounced addresses: 'old-user@gmail.com' (5.1.1 User unknown), 'invalid-addr@yahoo.com', and 'full-mailbox@outlook.com'. Would you like me to remove 'full-mailbox@outlook.com' from the suppression list so you can try again?

Yes. Use the `get_domain` tool by providing your verified domain name. Your agent will retrieve the status of SPF, DKIM, and MX records, helping you identify if any DNS dependencies are missing or misconfigured.

Related Connectors