communication
Postmark MCP, CLI, and Lua Integration for AI Agents
Postmark integration docs for AI agents: MCP gateway setup, Postmark CLI commands, Lua API reference, credentials, and function schemas.
9 functions 7 read 2 write API token auth
Postmark for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
postmark- route_slug
postmark- package
postmark- auth_strategy
api_tokenAPI token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Postmark CLIHeadless setup and direct function calls. Postmark MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Postmark MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Postmark.
Claude Code Postmark MCP setup for Claude Code. Cursor Postmark MCP setup for Cursor. Codex Postmark MCP setup for Codex. OpenAI Agents Postmark MCP setup for OpenAI Agents SDK. Claude Agent SDK Postmark MCP setup for Claude Agent SDK. Vercel AI SDK Postmark MCP setup for Vercel AI SDK. LangChain Postmark MCP setup for LangChain. LangGraph Postmark MCP setup for LangGraph. CrewAI Postmark MCP setup for CrewAI. MCP clients Postmark MCP setup for Generic MCP Clients.
Postmark CLI Matrix
Use these pages for direct Postmark CLI workflows in scripts, CI, cron, and agent wrappers.
CI Postmark CLI for CI. Cron Jobs Postmark CLI for cron jobs. Shell Scripts Postmark CLI for shell scripts. Headless Automation Postmark CLI for headless automation. Coding Agents Postmark CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
postmark.postmark_list_messages | Read read | 7 | List outbound messages from Postmark. Supports filtering by recipient, sender, subject, status, and tag. |
postmark.postmark_get_message | Read read | 1 | Get details for a specific Postmark outbound message including body, recipients, and delivery status. |
postmark.postmark_send_email | Write write | 9 | Send an email through Postmark. Requires To, From, and Subject. Provide either TextBody or HtmlBody. |
postmark.postmark_send_template | Write write | 11 | Send an email using a Postmark template. Provide either a TemplateId or TemplateAlias along with the template model data. |
postmark.postmark_get_delivery_stats | Read read | 0 | Get email delivery statistics for your Postmark server, including counts of sent, bounced, and spam complaints. |
postmark.postmark_list_templates | Read read | 2 | List all email templates in Postmark. Supports pagination. |
postmark.postmark_get_template | Read read | 1 | Get details for a Postmark email template including subject, HTML body, and text body. |
postmark.postmark_list_servers | Read read | 3 | List servers in the Postmark account. Supports filtering by name and pagination. |
postmark.postmark_get_current_user | Read read | 0 | Get the current Postmark server info including name, settings, and delivery stats. Useful as a health check. |