Mailgun MCP Server

Python SDK for Mailgun

Local serverstdioPython

What is the Mailgun MCP Server?

Python SDK for Mailgun

What it actually does

Welcome to the official Python SDK for Mailgun!

The Mailgun API is part of the Sinch family and enables you to send, track, and receive email effortlessly.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Mailgun MCP Server

{
  "mcpServers": {
    "mailgun-1": {
      "command": "uvx",
      "args": ["locally"],
      "env": {
        "APIKEY": "your-value",
        "DOMAIN": "your-value",
        "MESSAGES_FROM": "your-value",
        "MESSAGES_TO": "your-value",
        "MESSAGES_CC": "your-value",
        "DOMAINS_DEDICATED_IP": "your-value",
        "MAILLIST_ADDRESS": "your-value",
        "VALIDATION_ADDRESS_1": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
APIKEYCredential the server authenticates with.Yes
DOMAINConfiguration value read at startup.Optional
MESSAGES_FROMConfiguration value read at startup.Optional
MESSAGES_TOConfiguration value read at startup.Optional
MESSAGES_CCConfiguration value read at startup.Optional
DOMAINS_DEDICATED_IPConfiguration value read at startup.Optional
MAILLIST_ADDRESSConfiguration value read at startup.Optional
VALIDATION_ADDRESS_1Configuration value read at startup.Optional

Example prompts to try

  • “Use Mailgun to Authentication.”
  • “Use Mailgun to AsyncClient.”

Frequently asked questions

Python SDK for Mailgun Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.