postmark-mcp

ActiveCampaign/postmark-mcp

3.4

If you are the rightful owner of postmark-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server implementation for Postmark email services.

The Postmark MCP Server is a robust implementation designed to facilitate email services through Postmark using the Model Context Protocol (MCP). It offers a streamlined setup process, requiring minimal configuration through environment variables, and ensures secure and efficient email handling. The server is built with comprehensive error handling capabilities, ensuring graceful shutdowns and secure logging practices that prevent sensitive data exposure. Additionally, it supports automatic email tracking configuration, making it a reliable choice for businesses looking to manage their email communications effectively. With the requirement of Node.js and a Postmark account, this server is tailored for developers seeking a seamless integration with Postmark's email services.

Features

  • Exposes a Model Context Protocol (MCP) server for sending emails via Postmark
  • Simple configuration via environment variables
  • Comprehensive error handling and graceful shutdown
  • Secure logging practices (no sensitive data exposure)
  • Automatic email tracking configuration

Usages

usage with Claude and Cursor

{
  "mcpServers": {
    "postmark": {
      "command": "node",
      "args": ["path/to/postmark-mcp/index.js"],
      "env": {
        "POSTMARK_SERVER_TOKEN": "your-postmark-server-token",
        "DEFAULT_SENDER_EMAIL": "your-sender-email@example.com",
        "DEFAULT_MESSAGE_STREAM": "your-message-stream"
      }
    }
  }
}

Tools

  1. sendEmail

    Sends a single text email.

  2. sendEmailWithTemplate

    Sends an email using a pre-defined template.

  3. listTemplates

    Lists all available templates.

  4. getDeliveryStats

    Retrieves email delivery statistics.