MM

mailtrap/mailtrap-mcp

Developer tools公式

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

66 stars 13 forks 品質 88 トレンド 20MIT

mailtrap/mailtrap-mcp は [https://github.com/mailtrap/mailtrap-mcp. からインポートされた MCP サーバーの候補です

概要

mailtrap/mailtrap-mcp は [https://github.com/mailtrap/mailtrap-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Mailtrap の公式 MCP サーバー — メール配信プラットフォーム MailtrapアカウントをClaude、Cursor、VSコード、その他MCP対応のAIアシスタントに接続します。

トランザクションと一括メール、メールサンドボックスで安全にテストメッセージを送って、テンプレート、連絡先、ドメインの送信、およびWebhookを管理し、電子メールのログと配信の統計、トラブルシューティングの実行可能性を調べ、アカウントリソースを管理します。

機能

-Email APIとSMTP — バッチやテンプレートベースのメッセージを含むトランザクションとバルクメールを送信します。

  • 電子メールのテスト — メールサンドボックスでメッセージをテストし、コンテンツ、ヘッダー、添付ファイル、スパムスコア、HTMLクライアントの互換性を検査します。
  • 配信監視 — 電子メールのログを検索し、イベントの履歴を調べ、配信を分析し、バウンス、オープン、クリック、およびスパムレートを分析します。
  • メールインフラ — ドメインの送信、DNS認証、Webhooks、および抑制の管理 -Contacts — 連絡先、リスト、カスタムフィールド、イベントの管理、インポートとエクスポート。 -アカウント管理 — 課金の使用法を確認し、アクセス、パーミッション、APIトークン、サブアカウントの管理を行います。

対応するMCPクライアント

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

README

以下は原文 README の抜粋です。原文を見る。

Official Mailtrap MCP Server

The official MCP server for Mailtrap — the email delivery platform. It connects your Mailtrap account to Claude, Cursor, VS Code, and other MCP-compatible AI assistants.

Send transactional and bulk email, test messages safely in Email Sandbox, manage templates, contacts, domains, and webhooks, inspect email logs and delivery statistics, troubleshoot deliverability, and manage account resources — all using natural-language prompts.

Capabilities

  • Email API and SMTP — Send transactional and bulk email, including batch and template-based messages.
  • Email testing — Test messages in Email Sandbox and inspect content, headers, attachments, spam scores, and HTML client compatibility.
  • Delivery monitoring — Search email logs, inspect event history, and analyze delivery, bounce, open, click, and spam rates.
  • Email infrastructure — Manage domains, DNS verification, webhooks, and suppressions.
  • Contacts — Manage contacts, lists, custom fields, and events, with imports and exports.
  • Account management — Review billing usage and manage access, permissions, API tokens, and sub-accounts.

Supported MCP Clients

Works with Claude Desktop, Claude Code, Cursor, VS Code, and any other MCP-compatible client. Setup instructions for each are below.

Prerequisites

Before using this MCP server, you need to:

  1. Create a Mailtrap account
  2. Verify your domain
  3. Get your API token from Mailtrap API settings
  4. Get your Account ID from Mailtrap account management
  5. Install Node.js 22 or later, unless you run the Docker image

Required Environment Variables:

  • MAILTRAP_API_TOKEN - Required for all functionality
  • MAILTRAP_ACCOUNT_ID - Required for templates, get-sending-stats, email logs, sandbox list/show, domains, and suppressions. Optional only for the send tools (send-email, send-sandbox-email, and the batch-send-* tools), the email campaign tools, get-marketing-stats, the company info tools, the tracking opt-out tools, and list-accounts.

Optional (can be passed as tool parameters instead):

  • DEFAULT_FROM_EMAIL - Default sender email when from is not provided to send-email, send-sandbox-email, or the batch-send-* tools (where it fills base.from). Enables switching sender per call via the from parameter.
GitHub で README 全文を見る

インストール

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

設定

{ "mcpServers": { "mailtrap": { "command": "npx", "args": ["-y", "mcp-mailtrap"], "env": { "MAILTRAP_API_TOKEN": "your_mailtrap_api_token", "DEFAULT_FROM_EMAIL": "[email protected]", "MAILTRAP_ACCOUNT_ID": "your_account_id", "MAILTRAP_SANDBOX_ID": "your_sandbox_id" } } } }