other
Mailer Send MCP Integration for OpenAI Agents SDK
Connect Mailer Send to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Mailer Send to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Mailer Send MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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
Expose only Mailer Send instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Mailer Send Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Mailer Send integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |