通信工具 · 开发者工具

Mailtrap MCP logo

Mailtrap MCP

railsware/mailtrap-mcp

Mailtrap MCP服务器是一个通过Mailtrap发送事务性邮件的工具

安装

npx -y mcp-mailtrap

客户端配置

{
  "mcpServers": {
    "mailtrap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ],
      "env": {
        "MAILTRAP_API_TOKEN": "<MAILTRAP_API_TOKEN>",
        "DEFAULT_FROM_EMAIL": "<DEFAULT_FROM_EMAIL>",
        "MAILTRAP_ACCOUNT_ID": "<MAILTRAP_ACCOUNT_ID>",
        "MAILTRAP_SANDBOX_ID": "<MAILTRAP_SANDBOX_ID>"
      }
    }
  }
}

环境变量

MAILTRAP_API_TOKENDEFAULT_FROM_EMAILMAILTRAP_ACCOUNT_IDMAILTRAP_SANDBOX_IDASDF_DIRASDF_DATA_DIRASDF_NODEJS_VERSION
GitHub 星标
21
分类
通信工具, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(40)

  • send-email

    Sends a transactional email through Mailtrap.

  • batch-send-transactional-email

    Sends a batch of transactional emails in one Mailtrap API call (default sending stream).

  • batch-send-bulk-email

    Sends a batch of bulk emails through Mailtrap's bulk-stream API.

  • list-email-logs

    Lists sent email logs (delivery history) with optional pagination and filters.

  • get-email-log-message

    Gets a single email log message by ID (UUID): a readable summary (from, to, subject, sent time, status, category, stream, engagement, delivery context), then…

  • get-sending-stats

    Get email sending statistics (delivery, bounce, open, click, spam rates) for a date range.

  • create-template

    Creates a new email template in your Mailtrap account.

  • list-templates

    Lists all email templates in your Mailtrap account.

  • get-template

    Get a single email template by ID, including subject, category, and HTML/text body.

  • update-template

    Updates an existing email template.

  • delete-template

    Deletes an existing email template.

  • send-sandbox-email

    Sends an email to your Mailtrap test inbox for development and testing purposes.

  • batch-send-sandbox-email

    Sends a batch of emails to your Mailtrap test inbox in one API call, without delivering to real recipients.

  • get-sandbox-messages

    Retrieves a list of messages from your Mailtrap test inbox.

  • show-sandbox-email-message

    Shows detailed information and content of a specific email message from your Mailtrap test inbox, including HTML and text body content.

  • get-sandbox-project

    Get a sandbox project by ID, including its inboxes and email counts.

  • update-sandbox-project

    Rename an existing sandbox project.

  • list-sandboxes

    List every sandbox accessible to the API token across all projects.

  • mark-sandbox-as-read

    Mark all messages in a sandbox as read.

  • reset-sandbox-credentials

    Reset the SMTP credentials for a sandbox.

  • enable-sandbox-email-address

    Enable the receive-by-email address for a sandbox (turns on the Mailtrap address that delivers messages to the sandbox via SMTP).

  • reset-sandbox-email-address

    Generate a new receive-by-email address for a sandbox.

  • forward-sandbox-message

    Forward a sandbox message to an external email address.

  • update-sandbox-message

    Mark a sandbox message as read or unread.

  • delete-sandbox-message

    Delete a single sandbox message.

  • get-sandbox-message-spam-score

    Get the SpamAssassin spam report for a sandbox message (score, rules, full report).

  • get-sandbox-message-html-analysis

    Get the HTML analysis report for a sandbox message (client compatibility scores, problematic elements).

  • get-sandbox-message-headers

    Get the parsed mail headers for a sandbox message.

  • get-sandbox-message-html

    Get the rendered HTML body of a sandbox message.

  • get-sandbox-message-text

    Get the plain-text body of a sandbox message.

  • get-sandbox-message-raw

    Get the raw, MIME-formatted message (headers + body) for a sandbox message.

  • get-sandbox-message-eml

    Get the message rendered as an EML file payload (suitable for attaching to a ticket or importing into another mail client).

  • get-sandbox-message-html-source

    Get the unrendered HTML source of a sandbox message (HTML before any Mailtrap-side transformations like CID-link rewrites).

  • list-sandbox-attachments

    List all attachments on a sandbox message (filename, content type, size, download path).

  • get-sandbox-attachment

    Get metadata and download URL for a single attachment.

  • list-sending-domains

    List sending domains and their DNS verification status.

  • get-sending-domain

    Get a sending domain by ID and its verification status (including DNS records).

  • create-sending-domain

    Create a new sending domain.

  • update-sending-domain

    Update a sending domain's tracking and inbound settings.

  • delete-sending-domain

    Delete a sending domain.

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
Cursor logo

Cursor

桌面端 · 免费增值 · Proprietary

首个代理式 IDE。Cursor 编辑器让开发者与 AI 的工作真正融合在一起,提供如魔法般的编码体验。

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
Inbox Zero AI MCP logo

Inbox Zero AI MCP

elie222/inbox-zero

7.1k

Inbox Zero是一款开源AI邮件助手和客户端,帮助用户高效管理邮件,实现收件箱清零。

通信工具
whatsapp logo

whatsapp

lharries/whatsapp-mcp

3.6k

WhatsApp MCP服务器是一个通过WhatsApp网页多设备API连接个人账户的工具,支持消息搜索、发送及多媒体处理,并与Claude等LLM集成。

通信工具
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP工具集是一套基于MCP协议的苹果原生工具集合,提供消息、笔记、联系人、邮件、提醒、日历等苹果生态系统的集成服务。

通信工具
supergateway logo

supergateway

supercorp-ai/supergateway

1.1k

Supergateway是一个工具,用于将基于标准输入输出的MCP服务器转换为通过SSE或WebSocket访问的服务,方便远程调试和集成。

通信工具
Line Bot MCP Server logo

Line Bot MCP Server

line/line-bot-mcp-server

338

LINE Bot MCP Server是一个实现Model Context Protocol (MCP)的服务,用于将AI智能体与LINE官方账号连接,支持推送文本和富媒体消息、广播消息及获取用户资料等功能。

通信工具
MCP Send Email logo

MCP Send Email

resend/mcp-send-email

325

一个通过Resend API发送邮件的MCP服务,集成Cursor/Claude实现AI邮件自动发送

通信工具