MCP.so
ログイン

概要

What is MCP Mailtrap Server?

MCP Mailtrap Server is an MCP server that provides tools for sending transactional and bulk emails, managing templates, viewing email logs, and testing in sandbox via Mailtrap. It is designed for developers integrating Mailtrap’s email sending and testing capabilities into AI-powered workflows.

How to use MCP Mailtrap Server?

Install via npx (npx -y mcp-mailtrap) or Smithery CLI, then configure environment variables including MAILTRAP_API_TOKEN (required) and optionally MAILTRAP_ACCOUNT_ID, DEFAULT_FROM_EMAIL, and others. Set up your MCP client (Claude Desktop, Cursor, or VS Code) with the corresponding configuration JSON.

Key features of MCP Mailtrap Server

  • Send transactional and bulk emails via Mailtrap
  • Manage email templates (list, create, update, delete)
  • View email logs for delivery debugging
  • Test emails in sandbox inboxes
  • List and manage sending domains

Use cases of MCP Mailtrap Server

  • Send personalized transactional emails using templates and variables
  • Debug email delivery by viewing sent email logs and statistics
  • Test email content in sandbox before sending to real recipients
  • Manage email templates and sending domains programmatically
  • Batch send transactional or bulk emails with per‑recipient overrides

FAQ from MCP Mailtrap Server

What prerequisites are needed?

You need a Mailtrap account with a verified domain, a Mailtrap API token, and your Account ID. Optionally, a test inbox ID and organization credentials are required for certain tools.

What environment variables are required?

MAILTRAP_API_TOKEN is required for all functionality. MAILTRAP_ACCOUNT_ID is required for templates, stats, logs, sandbox operations, and sending domains. MAILTRAP_ORGANIZATION_API_TOKEN and MAILTRAP_ORGANIZATION_ID are needed for organization tools.

Can I send emails without specifying a sender each time?

Yes. Set DEFAULT_FROM_EMAIL to a default sender. You can override it per call using the from parameter.

How do I install MCP Mailtrap Server?

Run npx -y mcp-mailtrap in your terminal, or use the Smithery CLI (npx @smithery/cli install mailtrap). You can also use an MCP bundle (.mcpb) or paste the configuration JSON into your client.

What tools does MCP Mailtrap Server provide?

It provides send-email, batch-send-transactional-email, batch-send-bulk-email, list-email-logs, plus tools for sandbox operations (list/show messages), template operations (list/create/update/delete), and sending domain management (list/get/create/delete).

タグ

「その他」の他のコンテンツ