other
Mailer Send MCP Integration for LangGraph
Connect Mailer Send to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Mailer Send to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Mailer Send MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |