# Postmark MCP server

> Send transactional email, manage templates and check bounces, delivery stats and webhooks in your Postmark account.

- Listing: https://mcp.tc/i/postmark
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Communication & Meetings](https://mcp.tc/c/communication)
- Vendor: Postmark (ActiveCampaign)
- Homepage: <https://postmarkapp.com/lp/mcp>
- Repository: <https://github.com/ActiveCampaign/postmark-mcp>
- Package: npm `@activecampaign/postmark-mcp`

## About

Connects an AI assistant to a Postmark account. It has 24 tools for sending single and batch email, managing templates, searching sent messages, diagnosing delivery, handling bounces and suppressions, reading delivery stats and managing webhooks. Tools carry read-only and destructive hints so clients can confirm risky actions.

Runs locally over stdio with Node.js 20 or higher, started with npx -y @activecampaign/postmark-mcp. It needs a Postmark server token and a verified sender address set as environment variables. Use only the scoped @activecampaign package, not the unscoped postmark-mcp package on npm.

## What it can do

- Send single or batch emails, with or without templates
- Create, edit, validate and delete email templates
- Search outbound messages and view message details
- Diagnose delivery problems for a recipient
- Search bounces, fetch bounce dumps and reactivate bounces
- List, create and delete suppressions
- Read delivery stats and server info
- List, create and delete webhooks

## Example prompts

- "Send a welcome email to jane@example.com using my welcome template."
- "Show delivery stats for the last 7 days."
- "Why did my email to bob@example.com not arrive?"
- "List recent bounces and reactivate the one for sam@example.com."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio postmark --env "POSTMARK_SERVER_TOKEN=<YOUR_POSTMARK_SERVER_TOKEN>" --env "DEFAULT_SENDER_EMAIL=<YOUR_DEFAULT_SENDER_EMAIL>" --env "DEFAULT_MESSAGE_STREAM=<YOUR_DEFAULT_MESSAGE_STREAM>" -- npx -y @activecampaign/postmark-mcp
```

2. Start Claude Code and type `/mcp`. **postmark** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "postmark": {
      "command": "npx",
      "args": [
        "-y",
        "@activecampaign/postmark-mcp"
      ],
      "env": {
        "POSTMARK_SERVER_TOKEN": "<YOUR_POSTMARK_SERVER_TOKEN>",
        "DEFAULT_SENDER_EMAIL": "<YOUR_DEFAULT_SENDER_EMAIL>",
        "DEFAULT_MESSAGE_STREAM": "<YOUR_DEFAULT_MESSAGE_STREAM>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=postmark&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhY3RpdmVjYW1wYWlnbi9wb3N0bWFyay1tY3AiXSwiZW52Ijp7IlBPU1RNQVJLX1NFUlZFUl9UT0tFTiI6IjxZT1VSX1BPU1RNQVJLX1NFUlZFUl9UT0tFTj4iLCJERUZBVUxUX1NFTkRFUl9FTUFJTCI6IjxZT1VSX0RFRkFVTFRfU0VOREVSX0VNQUlMPiIsIkRFRkFVTFRfTUVTU0FHRV9TVFJFQU0iOiI8WU9VUl9ERUZBVUxUX01FU1NBR0VfU1RSRUFNPiJ9fQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "postmark": {
      "command": "npx",
      "args": [
        "-y",
        "@activecampaign/postmark-mcp"
      ],
      "env": {
        "POSTMARK_SERVER_TOKEN": "<YOUR_POSTMARK_SERVER_TOKEN>",
        "DEFAULT_SENDER_EMAIL": "<YOUR_DEFAULT_SENDER_EMAIL>",
        "DEFAULT_MESSAGE_STREAM": "<YOUR_DEFAULT_MESSAGE_STREAM>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "postmark": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@activecampaign/postmark-mcp"
      ],
      "env": {
        "POSTMARK_SERVER_TOKEN": "${input:postmark-server-token}",
        "DEFAULT_SENDER_EMAIL": "<YOUR_DEFAULT_SENDER_EMAIL>",
        "DEFAULT_MESSAGE_STREAM": "<YOUR_DEFAULT_MESSAGE_STREAM>"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "postmark-server-token",
      "description": "POSTMARK_SERVER_TOKEN",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "postmark": {
      "command": "npx",
      "args": [
        "-y",
        "@activecampaign/postmark-mcp"
      ],
      "env": {
        "POSTMARK_SERVER_TOKEN": "<YOUR_POSTMARK_SERVER_TOKEN>",
        "DEFAULT_SENDER_EMAIL": "<YOUR_DEFAULT_SENDER_EMAIL>",
        "DEFAULT_MESSAGE_STREAM": "<YOUR_DEFAULT_MESSAGE_STREAM>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add postmark --env "POSTMARK_SERVER_TOKEN=<YOUR_POSTMARK_SERVER_TOKEN>" --env "DEFAULT_SENDER_EMAIL=<YOUR_DEFAULT_SENDER_EMAIL>" --env "DEFAULT_MESSAGE_STREAM=<YOUR_DEFAULT_MESSAGE_STREAM>" -- npx -y @activecampaign/postmark-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.postmark]
command = "npx"
args = ["-y", "@activecampaign/postmark-mcp"]
env = { POSTMARK_SERVER_TOKEN = "<YOUR_POSTMARK_SERVER_TOKEN>", DEFAULT_SENDER_EMAIL = "<YOUR_DEFAULT_SENDER_EMAIL>", DEFAULT_MESSAGE_STREAM = "<YOUR_DEFAULT_MESSAGE_STREAM>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "POSTMARK_SERVER_TOKEN=<YOUR_POSTMARK_SERVER_TOKEN>" -e "DEFAULT_SENDER_EMAIL=<YOUR_DEFAULT_SENDER_EMAIL>" -e "DEFAULT_MESSAGE_STREAM=<YOUR_DEFAULT_MESSAGE_STREAM>" postmark npx -- -y @activecampaign/postmark-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "postmark": {
      "command": "npx",
      "args": [
        "-y",
        "@activecampaign/postmark-mcp"
      ],
      "env": {
        "POSTMARK_SERVER_TOKEN": "<YOUR_POSTMARK_SERVER_TOKEN>",
        "DEFAULT_SENDER_EMAIL": "<YOUR_DEFAULT_SENDER_EMAIL>",
        "DEFAULT_MESSAGE_STREAM": "<YOUR_DEFAULT_MESSAGE_STREAM>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Details

- Server version: 2.1.1
- Last checked: 2026-10-03
- Listed: 2026-10-03
- Updated: 2026-10-03

---
Source: https://mcp.tc/i/postmark (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
