close

Now with 24 new tools

Connect your AI agents to Postmark

Connect Claude Desktop, Cursor, Windsurf, and other AI tools directly to your email infrastructure. The Postmark MCP server gives your AI assistant secure, conversational control over your emails, templates, deliverability stats, bounces, suppressions, and webhooks.

Postmark mcp server

Note: Before using our MCP, please confirm you're using our official MCP server,
which can be found at https://github.com/ActiveCampaign/postmark-mcp

Stop wrestling with APIs and custom integrations.

Prompt your AI assistant to handle tasks across all 24 tools in the Postmark MCP server.

  • Send plain text or HTML to one recipient or up to 50 at once. Add CC, BCC, and reply-to fields. Send via template alias or template ID. Batch up to 500 messages in a single API call.

    Send emails

    Send plain text or HTML to one recipient or up to 50 at once. Add CC, BCC, and reply-to fields. Send via template alias or template ID. Batch up to 500 messages in a single API call.

  • Ask "Did my email reach this address, and if not, why?" The diagnoseDelivery tool searches message history, checks suppressions, and scans bounce history in parallel, then gives you a plain-English answer.

    Diagnose deliverability

    Ask "Did my email reach this address, and if not, why?" The diagnoseDelivery tool searches message history, checks suppressions, and scans bounce history in parallel, then gives you a plain-English answer.

  • List, create, edit, delete, and validate templates (including layout binding) all through natural language. No template editor required.

    Manage templates

    List, create, edit, delete, and validate templates (including layout binding) all through natural language. No template editor required.

  • Get open rates, click rates, bounce rates, spam rates, and platform/client breakdowns. Filter by tag or date range. Ask for a summary or drill into any specific stat.

    Track stats

    Get open rates, click rates, bounce rates, spam rates, and platform/client breakdowns. Filter by tag or date range. Ask for a summary or drill into any specific stat.

  • Search bounces, retrieve the original bounce dump, reactivate addresses, and manage suppression lists — add or remove up to 50 addresses at a time.

    Manage bounces & suppressions

    Search bounces, retrieve the original bounce dump, reactivate addresses, and manage suppression lists — add or remove up to 50 addresses at a time.

  • List, create, and delete webhooks through conversation. HTTPS-only by default. Optionally set a URL allowlist so your AI assistant can only create webhooks pointing at approved endpoints.

    Manage webhooks

    List, create, and delete webhooks through conversation. HTTPS-only by default. Optionally set a URL allowlist so your AI assistant can only create webhooks pointing at approved endpoints.

How to get started

No local clone required. Add this snippet to your MCP client config and you're sending.

1. Add to your MCP config (Cursor, Claude Desktop, or Windsurf)

{
  "mcpServers": {
    "postmark": {
      "command": "npx",
      "args": ["-y", "@activecampaign/postmark-mcp"],
      "env": {
        "POSTMARK_SERVER_TOKEN": "your-postmark-server-token",
        "DEFAULT_SENDER_EMAIL": "your-sender@example.com",
        "DEFAULT_MESSAGE_STREAM": "outbound"
      }
    }
  }
}

2. Add your Postmark API token and sender address

Find your server token in your Postmark account under Servers → API Tokens.

3. Start prompting

Try: "Send an email using Postmark to recipient@example.com with the subject 'Meeting reminder' and the message 'Don't forget our team standup tomorrow at 2 PM.'"

Get started on GitHub

Built with security in mind

Your Postmark API token stays in your local environment — it's never transmitted to Anthropic or any other AI provider. The MCP server communicates directly with Postmark's API over HTTPS.

  • PII-reduced logging. Email addresses in logs are masked by default — only the first and last characters of the mailbox are visible (e.g., a***e@example.com). Set LOG_EMAIL_FULL=true to disable masking if you need it.
  • HTTPS-only webhooks. Webhook URLs are validated at the schema level — HTTP URLs are rejected before any API call is made. You can also set a URL allowlist so the server only creates webhooks pointing at your approved endpoints.
  • Tool annotations. All 24 tools are annotated with read-only, destructive, and idempotency hints so MCP clients can display risk indicators and gate destructive actions.
  • Open source. The server is MIT-licensed and available on GitHub for inspection, forking, and contribution.

FAQs

Stop wrestling with APIs and custom integrations. Turn complex email tasks into simple conversations. With the Postmark MCP Server, you can prompt your AI assistant to "Send a welcome email to new customers" or "Show me yesterday's email performance" and get results in seconds.

Ready to get started?

Join hundreds of businesses who've already made the switch from Mandrill to Postmark.