email sending via smtp relay with domain validation
Sends emails through Mailgun's SMTP infrastructure by accepting message composition parameters (recipient, subject, body, attachments) and routing them through authenticated SMTP connections. The MCP server translates client requests into Mailgun API calls that handle domain verification, SPF/DKIM configuration validation, and delivery tracking. Supports both simple text and HTML emails with inline attachments and custom headers.
Unique: Exposes Mailgun's email sending as an MCP tool, allowing LLM agents and Claude to compose and dispatch emails directly without requiring custom HTTP client code. Abstracts domain verification and authentication complexity into simple tool parameters.
vs alternatives: Simpler integration path than raw Mailgun REST API for Claude-based agents; no need to manage HTTP headers or API authentication within agent code — MCP server handles credential injection.
message delivery tracking and event webhooks
Retrieves delivery status, bounce records, and engagement metrics (opens, clicks, complaints) for sent messages by querying Mailgun's event API. The MCP server exposes tools to fetch event logs filtered by message ID, timestamp, or event type, enabling real-time visibility into email lifecycle. Supports webhook configuration to push delivery events to external systems.
Unique: Provides MCP tools to query Mailgun's event API and configure webhooks, allowing Claude agents to autonomously monitor email delivery status and react to failures without polling external systems. Abstracts Mailgun's event filtering syntax into simple tool parameters.
vs alternatives: Tighter integration with Claude than building custom event polling; webhook configuration through MCP allows agents to set up reactive workflows without manual infrastructure setup.
batch email sending with template rendering
Sends emails to multiple recipients with personalized content by accepting a template name, variable map, and recipient list, then invoking Mailgun's batch sending API. The MCP server handles template lookup, variable substitution, and chunking large recipient lists into API-compliant batches. Supports Mailgun's template syntax (Handlebars) for dynamic content insertion per recipient.
Unique: Exposes Mailgun's batch sending and template rendering as MCP tools, allowing Claude to compose and dispatch personalized bulk emails to multiple recipients in a single operation. Handles template variable substitution and batch chunking transparently.
vs alternatives: Simpler than managing template rendering and batch logic in application code; Claude can directly invoke batch sending without building custom template engines or batch orchestration logic.
email validation and list hygiene
Validates email addresses and identifies invalid, disposable, or risky addresses using Mailgun's email validation API. The MCP server accepts email addresses or lists and returns validation results including syntax checks, domain verification, and risk scoring. Supports bulk validation for list cleaning and real-time validation for signup forms.
Unique: Integrates Mailgun's email validation API as MCP tools, allowing Claude agents to autonomously validate and score email addresses without building custom validation logic. Provides risk scoring to help agents make decisions about list quality.
vs alternatives: More comprehensive than regex-based validation; includes domain verification and disposable email detection. Tighter integration with Claude than calling validation API directly.
mailing list management and subscriber operations
Creates, updates, and deletes mailing lists and manages subscriber membership through Mailgun's list API. The MCP server exposes tools to add/remove subscribers, update subscriber metadata, and query list membership. Supports subscriber variables for personalization and list segmentation.
Unique: Exposes Mailgun's list management API as MCP tools, allowing Claude agents to autonomously manage subscriber lists and membership without manual dashboard interaction. Supports subscriber metadata for personalization.
vs alternatives: Simpler than building custom list management UI; Claude can directly invoke list operations as part of automated workflows.
domain configuration and dns record management
Retrieves and manages domain configuration for sending, including DNS record requirements (SPF, DKIM, CNAME) and verification status. The MCP server exposes tools to query domain settings, retrieve DNS records needed for setup, and check verification status. Does not directly modify DNS records but provides the records required for manual or automated DNS configuration.
Unique: Provides MCP tools to query domain configuration and DNS requirements from Mailgun, enabling Claude agents to autonomously verify domain setup and retrieve configuration details for documentation or automated DNS provisioning.
vs alternatives: Tighter integration with Claude than manual dashboard checks; agents can programmatically verify domain readiness as part of onboarding workflows.
suppression list management (bounces, complaints, unsubscribes)
Manages suppression lists (bounced addresses, spam complaints, unsubscribes) by querying and updating suppression records. The MCP server exposes tools to add addresses to suppression lists, remove addresses, and query suppression status. Prevents sending to addresses known to bounce or complain, improving sender reputation.
Unique: Exposes Mailgun's suppression list API as MCP tools, allowing Claude agents to autonomously manage suppression records and prevent sending to problematic addresses. Integrates bounce/complaint handling into agent workflows.
vs alternatives: Simpler than building custom suppression logic; Claude can directly check and update suppression status as part of sending workflows.