Provides an MCP server implementation for sending emails via Postmark, offering tools for email management, template management, and delivery statistics tracking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Postmark MCP Serversend a welcome email to alex@example.com using the welcome template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Official Postmark MCP Server

Send emails with Postmark using Claude and other MCP-compatible AI assistants.
Features
Exposes a Model Context Protocol (MCP) server for sending emails via your Postmark account
Simple configuration via environment variables
Comprehensive error handling and graceful shutdown
Secure logging practices (no sensitive data exposure)
Automatic email tracking configuration
Related MCP server: Gmail MCP Server
Useful Docs
Feedback
We'd love to hear from you! Please share your feedback and suggestions using our feedback form.
Follow us on X - @postmarkapp
Setup
Requirements
Node.js (v16 or higher recommended)
A Postmark account and server token
Installation (Local Development)
Clone the repository:
Install dependencies:
Configuration (Local Development)
Create your own environment file from the example
Edit your .env to contain your Postmark credentials and settings.
Important: This is intended for local development purposes only. Secrets should never be stored in version control and .env type files should be added to .gitignore.
Variable | Description | Required |
POSTMARK_SERVER_TOKEN | Your Postmark server API token | Yes |
DEFAULT_SENDER_EMAIL | Default sender email address | Yes |
DEFAULT_MESSAGE_STREAM | Postmark message stream (e.g., 'outbound') | Yes |
Run the server:
Cursor Quick Install
After installing the MCP, update your configuration to set:
POSTMARK_SERVER_TOKENDEFAULT_SENDER_EMAILDEFAULT_MESSAGE_STREAM(default:outbound)
Claude and Cursor MCP Configuration Example
Tools
This section provides a complete reference for the Postmark MCP server tools including example prompts and payloads.
Table of Contents
Email Management Tools
1. sendEmail
Sends a single text email.
Example Prompt:
Expected Payload:
Response Format:
2. sendEmailWithTemplate
Sends an email using a pre-defined template.
Example Prompt:
Expected Payload:
Response Format:
Template Management Tools
3. listTemplates
Lists all available templates.
Example Prompt:
Response Format:
Statistics & Tracking Tools
4. getDeliveryStats
Retrieves email delivery statistics.
Example Prompt:
Expected Payload:
Response Format:
Implementation Details
Automatic Configuration
All emails are automatically configured with:
TrackOpens: trueTrackLinks: "HtmlAndText"Message stream from
DEFAULT_MESSAGE_STREAMenvironment variable
Error Handling
The server implements comprehensive error handling:
Validation of all required environment variables
Graceful shutdown on SIGTERM and SIGINT
Proper error handling for API calls
No exposure of sensitive information in logs
Consistent error message formatting
Logging
Uses appropriate log levels (
infofor normal operations,errorfor errors)Excludes sensitive information from logs
Provides clear operation status and results
For more information about the Postmark API, visit
License
MIT © ActiveCampaign