MM

mailgun/mailgun-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

63 stars 21 forks 品質 89 トレンド 33Apache-2.0

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 翻訳)

概要

AIエージェントに実用的なワークフロー指向のインターフェイスを提供するMailgun用のモデルコンテキストプロトコル(MCP)サーバーは、電子メールを送信し、成果を診断し、アカウント操作を管理します。

[!NOTE] このMCPサーバーは、マシン上でローカルで動作し、stdio上で通信します。 Mailgunは現在、このサーバーのホストされているバージョンを提供していません。

機能

-Messaging —メールの送信、保存されたメッセージの取得、メッセージの送信

  • ドメイン — ドメインの詳細を表示し、DNSの設定を確認し、トラッキング設定を管理します(クリック、オープン、サブスクリプション解除) -Webhooks — リスト、作成、更新イベントのWebhooks -Routes — インバウンドメールルーティングルールの表示と更新 -メーリングリスト —メーリングリストとメンバーのメーリング、ビュー、アップデート
  • テンプレート — 作成、ビュー、バージョンアップでメールテンプレートを更新 -Analytics — メトリック、使用メトリック、ログの送信クエリ -Stats — ドメイン、タグ、プロバイダー、デバイス、および国別集計統計を表示
  • 抑圧 — バウンス、購読解除、苦情、および許可リストエントリの表示 -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 / seed test results to gauge deliverability (optimize)
  • Inspect (Email Preview) — Retrieve email rendering and preview test results across clients (inspect)
  • Account Limits — View custom monthly sending limits

The parenthetical labels above (validate, optimize, inspect) are the product tags used by tag filtering. Every other capability is registered under the send tag.

[!NOTE] Tools are limited to read and update operations — no delete operations are exposed, which keeps the blast radius of an unintended action small. See Security Considerations.

How it works

The server is OpenAPI driven. At startup it parses a bundled Mailgun OpenAPI spec and registers a curated allowlist of endpoints as MCP tools, generating each tool’s input schema (via Zod) from the spec. Every tool is annotated with a Mailgun product tag (send, validate, optimize, or inspect). All matching tools are registered up front — there is no lazy or on demand loading. Tag filtering is applied at startup to scope which tools get registered, so a given workflow can expose only the products it needs.

Prerequisites

  • Node.js (v20.12 or higher)
GitHub で README 全文を見る

インストール

npx -y @mailgun/mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mailgun": { "command": "npx", "args": ["-y", "@mailgun/mcp-server"], "env": { "MAILGUN_API_KEY": "YOUR-mailgun-api-key", "MAILGUN_API_REGION": "us" } } } }