KosmoKrator

communication

Postmark MCP Integration for Codex

Connect Postmark to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

9 functions 7 read 2 write API token auth

Connect Postmark to Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with --write=deny so Codex can inspect read-capable tools without receiving write access by default.

Postmark MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "mcpServers": {
    "kosmokrator-postmark": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=postmark",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=postmark --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Postmark instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Postmark Tools Visible to Codex

Codex sees stable MCP tool names generated from the Postmark integration catalog.

MCP toolSource functionTypeDescription
integration__postmark__postmark_list_messages postmark.postmark_list_messages Read List outbound messages from Postmark. Supports filtering by recipient, sender, subject, status, and tag.
integration__postmark__postmark_get_message postmark.postmark_get_message Read Get details for a specific Postmark outbound message including body, recipients, and delivery status.
integration__postmark__postmark_send_email postmark.postmark_send_email Write Send an email through Postmark. Requires To, From, and Subject. Provide either TextBody or HtmlBody.
integration__postmark__postmark_send_template postmark.postmark_send_template Write Send an email using a Postmark template. Provide either a TemplateId or TemplateAlias along with the template model data.
integration__postmark__postmark_get_delivery_stats postmark.postmark_get_delivery_stats Read Get email delivery statistics for your Postmark server, including counts of sent, bounced, and spam complaints.
integration__postmark__postmark_list_templates postmark.postmark_list_templates Read List all email templates in Postmark. Supports pagination.
integration__postmark__postmark_get_template postmark.postmark_get_template Read Get details for a Postmark email template including subject, HTML body, and text body.
integration__postmark__postmark_list_servers postmark.postmark_list_servers Read List servers in the Postmark account. Supports filtering by name and pagination.
integration__postmark__postmark_get_current_user postmark.postmark_get_current_user Read Get the current Postmark server info including name, settings, and delivery stats. Useful as a health check.

Related Postmark Pages