
mailgun/mailgun-mcp-server 是从 https://github.com/mailgun/mailgun-mcp-server. 导入的 MCP 服务器候选
概览
mailgun/mailgun-mcp-server 是从 https://github.com/mailgun/mailgun-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
概述
一个用于Mailgun的模型上下文协议(MCP)服务器,为AI代理提供了一个实用且面向工作流程的界面,用于发送邮件、诊断投递能力和管理账户操作。
[!注] 这个 MCP 服务器运行在您的机器上本地运行,并通过 stdio 通信。Mailgun 目前没有提供该服务器的托管版本。
能力
- 消息传递 — 发送邮件,检索存储的消息,重发消息
- 域名 — 查看域名详情,验证 DNS 配置,管理追踪设置(点击、打开、取消订阅)
- Webhooks — 列表、创建和更新事件webhook
- 路由 — 查看并更新入站邮件路由规则
- 邮件列表 — 创建、查看和更新邮件列表及其成员
- 模板 — 创建、查看和更新带有版本控制功能的电子邮件模板
- Analytics — 查询发送指标、使用指标和日志
- 统计 — 按域名、标签、提供商、设备和国家查看汇总统计数据
- 抑制 — 查看退票、退订、投诉和允许列表条目
- IP 和 IP 池 — 查看 IP 分配和专用 IP 池配置
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Mailgun MCP Server
Overview
A Model Context Protocol (MCP) server for Mailgun that gives AI agents a practical, workflow-oriented interface to send email, diagnose deliverability, and manage account operations.
[!NOTE] This MCP server runs locally on your machine and communicates over stdio. Mailgun does not currently offer a hosted version of this server.
Capabilities
- Messaging: Send emails, retrieve stored messages, resend messages
- Domains: View domain details, verify DNS configuration, manage tracking settings (click, open, unsubscribe)
- Webhooks: List, create, and update event webhooks
- Routes: View and update inbound email routing rules
- Mailing Lists: Create, view, and update mailing lists and their members
- Templates: Create, view, and update email templates with versioning
- Analytics: Query sending metrics, usage metrics, and logs
- Stats: View aggregate statistics by domain, tag, provider, device, and country
- Suppressions: View bounces, unsubscribes, complaints, and allowlist entries
- IPs & IP Pools: View IP assignments and dedicated IP pool configuration
- Bounce Classification: Analyze bounce types and delivery issues
- Validation: Validate email address deliverability and syntax before sending (
validate) - Optimize (Inbox Placement): Retrieve inbox placement and seed test results to gauge deliverability (
optimize) - Inspect (Email Preview): Retrieve email rendering and preview test results across clients, and run the Email Preview QA create/resume workflow (
inspect) - Account Limits: View custom monthly sending limits
The labels above (validate, optimize, inspect) are the product tags used by tag filtering. Every other capability is registered under the send tag, which is split into send. toolsets.
[!NOTE] Most tools are read and update operations, and no delete operations are exposed, which keeps the blast radius of an unintended action small. One exception is
run_email_preview_qa, which creates a remote Mailgun preview test and consumes preview quota (it does not send email). See Email Preview QA and Security Considerations. This server should not be described as read-only.
How it works
安装
npx -y @mailgun/mcp-server配置
{
"mcpServers": {
"mailgun": {
"command": "npx",
"args": ["-y", "@mailgun/mcp-server"],
"env": {
"MAILGUN_API_KEY": "YOUR-mailgun-api-key",
"MAILGUN_API_REGION": "us"
}
}
}
}