Mailgun MCP by usefulapi

v1.2.1
io.usefulapi/mailgun Checked 3 days ago Published 1 day ago

Read domains, DNS, events, bounces and lists; send email and add list members in Mailgun.

Use your Mailgun account from Claude, Cursor, or any MCP client. It reads sending domains and their DNS status, delivery events, bounces, unsubscribes, complaints and mailing lists, and it can send one email or add a list member. Hosted, no local install: connect with your own credentials. Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Mailgun credentials. Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/mailgun/

Summary extracted from the README.

Mailgun MCP by usefulapi

Use your Mailgun account from Claude, Cursor, or any MCP client. It reads sending domains and their DNS status, delivery events, bounces, unsubscribes, complaints and mailing lists, and it can send one email or add a list member. Hosted, no local install: connect with your own credentials.

Live endpoint: https://mailgun.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://mailgun.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http mailgun https://mailgun.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
{
  "mcpServers": {
    "mailgun": {
      "url": "https://mailgun.usefulapi.io/mcp"
    }
  }
}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Mailgun credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/mailgun/

On first connect you provide a Mailgun primary account API key (Mailgun → Account Settings → API keys, not a sending key) and your account region (US or EU, as chosen when the account was created). The server validates it and stores it per user. No keys go in config files.

Tools

Tool Type What it does
mailgun_list_domains read List domains
mailgun_get_domain read Get a domain
mailgun_get_domain_tracking read Get domain tracking settings
mailgun_get_domain_stats read Get domain stats
mailgun_list_events read List message events
mailgun_list_bounces read List bounced addresses
mailgun_list_unsubscribes read List unsubscribed addresses
mailgun_list_complaints read List spam complaints
mailgun_list_mailing_lists read List mailing lists
mailgun_list_mailing_list_members read List mailing list members
mailgun_list_templates read List templates
mailgun_list_routes read List routes
mailgun_list_tags read List tags
mailgun_send_message write Send an email
mailgun_add_mailing_list_member write Add a mailing list member
mailgun_verify_domain write Re-check domain DNS
mailgun_usage_status meta Usage status (free-tier meter)
mailgun_request_feature meta Request a missing feature
mailgun_upgrade meta Upgrade to Pro or Pro+
mailgun_cancel_subscription meta Cancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

Plan Price Limit
Free $0 50 tool calls / month
Pro (per user) $9/mo or $90/yr (2 months free) 10,000 tool calls / month
Pro+ (per user) $39/mo or $390/yr (2 months free) 100,000 tool calls / month

Each paid plan covers this server only. Ask your AI to run mailgun_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with mailgun_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with mailgun_upgrade before then undoes the cancel. Or write to support@usefulapi.io.

License

MIT — see LICENSE. Documentation only; the server is hosted.