KosmoKrator

other

Mailer Send MCP Integration for Codex

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

7 functions 6 read 1 write API token auth

Connect Mailer Send 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.

Mailer Send MCP Config for Codex

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

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

Run the Gateway Manually

kosmokrator mcp:serve --integration=mailer-send --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Mailer Send 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.

Mailer Send Tools Visible to Codex

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

MCP toolSource functionTypeDescription
integration__mailer_send__mailer_send_list_messages mailer-send.mailer_send_list_messages Read List email messages from your MailerSend account. Returns a paginated list of sent messages with their IDs, subjects, and statuses.
integration__mailer_send__mailer_send_get_message mailer-send.mailer_send_get_message Read Get detailed information about a specific email message by its ID. Returns the full message object including status, recipients, subject, and content.
integration__mailer_send__mailer_send_send_email mailer-send.mailer_send_send_email Write Send an email through the MailerSend API. Requires a sender (from), one or more recipients (to), and a subject. Optionally provide HTML and/or plain text content.
integration__mailer_send__mailer_send_list_templates mailer-send.mailer_send_list_templates Read List email templates available in your MailerSend account. Returns template IDs, names, and types for use when sending templated emails.
integration__mailer_send__mailer_send_list_domains mailer-send.mailer_send_list_domains Read List sending domains configured in your MailerSend account. Returns domain names, verification statuses, and related settings.
integration__mailer_send__mailer_send_list_recipients mailer-send.mailer_send_list_recipients Read List recipients (contacts) from your MailerSend account. Returns recipient emails, names, and subscription statuses.
integration__mailer_send__mailer_send_get_current_user mailer-send.mailer_send_get_current_user Read Verify MailerSend API connectivity by fetching a minimal list of domains. Use this as a health check to confirm the API token is valid and the service is reachable.

Related Mailer Send Pages