Mailgun MCP Server

Apache 2.0
6
  • Apple

Integrations

  • Provides email sending capabilities and allows fetching and visualizing email delivery statistics from the Mailgun service.

Mailgun MCP サーバー

概要

Mailgun用の Model Context Protocol (MCP) サーバー実装。これにより、Claude Desktop などの MCP 対応 AI クライアントがサービスと対話できるようになります。

前提条件

  • Node.js (v18以上)
  • ギット
  • Claude デスクトップ (Claude 統合用)
  • MailgunアカウントとAPIキー

クイックスタート

手動インストール

  1. リポジトリをクローンします。
    git clone https://github.com/mailgun/mailgun-mcp-server.git cd mailgun-mcp-server
  2. 依存関係をインストールしてビルドします。
    npm install
  3. Claude デスクトップを設定します。設定ファイルを作成または変更します。
    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json

    次の構成を追加します。

    { "mcpServers": { "mailgun": { "command": "node", "args": ["CHANGE/THIS/PATH/TO/mailgun-mcp-server/src/mailgun-mcp.js"], "env": { "MAILGUN_API_KEY": "YOUR-mailgun-api-key" } } } }

テスト

次のコマンドでローカル テスト スイートを実行します。

NODE_ENV=test npm test

クロードによるサンプルプロンプト

メールを送信

注:現在(2025年3月18日)メールを送信するには、Anthropicの有料アカウントが必要なようです。無料アカウントではエラーメッセージが表示されます。

Can you send an email to EMAIL_HERE with a funny email body that makes it sound like it's from the IT Desk from Office Space? Please use the sending domain DOMAIN_HERE, and make the email from "postmaster@DOMAIN_HERE"!

送信統計の取得と視覚化

Would you be able to make a chart with email delivery statistics for the past week?

デバッグ

MCP サーバーは stdio を介して通信します。モデル コンテキスト プロトコルのデバッグセクションを参照してください。

ライセンス

詳細についてはLICENSEファイルをご覧ください

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

Claude Desktop などの AI アシスタントが Mailgun 電子メール サービスと対話できるようにするモデル コンテキスト プロトコル サーバーの実装。これにより、ユーザーは自然言語を使用して電子メールを送信し、電子メール配信の統計を視覚化できるようになります。

  1. Overview
    1. Prerequisites
      1. Quick Start
        1. Manual Installation
      2. Testing
        1. Sample Prompts with Claude
      3. Debugging
        1. License
          1. Contributing
            ID: rlfcmw918r