This repository provides a Model Context Protocol (MCP) server for Mailgun, enabling AI clients like Claude Desktop to interact with Mailgun for tasks such as sending emails and fetching statistics.
Here's a summary of the README content:
This repository provides a Model Context Protocol (MCP) server implementation for Mailgun, enabling AI clients like Claude Desktop to interact with Mailgun services.
Requires Node.js (v18+), Git, Claude Desktop, and a Mailgun account with an API key.
Manual installation involves cloning the repository, installing dependencies with npm install
, and configuring Claude Desktop by modifying the claude_desktop_config.json
file. The configuration includes specifying the path to mailgun-mcp.js
and setting the MAILGUN_API_KEY
environment variable.
The test suite can be executed using NODE_ENV=test npm test
.
Provides sample prompts for sending emails and fetching/visualizing sending statistics. Note that sending emails may require a paid Anthropic account.
The server uses stdio for communication; refer to the Model Context Protocol documentation for debugging instructions.
See the LICENSE file for details.
Contributions are welcome via Pull Requests.
mailgun/mailgun-mcp-server
March 17, 2025
March 26, 2025
JavaScript