Amazon SES MCP Integration for LangGraph
Connect Amazon SES to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Amazon SES 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.
Amazon SES MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-amazon-ses": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=amazon-ses",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=amazon-ses --write=deny Why Use KosmoKrator Here
Expose only Amazon SES 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.
Amazon SES Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Amazon SES integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__amazon_ses__amazonses_send_email | amazon-ses.amazonses_send_email | Write | Send an email via Amazon SES. Specify the sender, recipient(s), subject, and body (HTML and/or plain text). Optionally reference a template or add reply-to addresses. |
integration__amazon_ses__amazonses_get_template | amazon-ses.amazonses_get_template | Read | Retrieve an email template from Amazon SES by its name. Returns the template subject, HTML body, and text body. |
integration__amazon_ses__amazonses_list_templates | amazon-ses.amazonses_list_templates | Read | List all email templates in Amazon SES. Returns template names and creation timestamps. Supports pagination. |
integration__amazon_ses__amazonses_create_template | amazon-ses.amazonses_create_template | Write | Create a new email template in Amazon SES. Templates can include HTML and plain text content with optional substitution variables (e.g., {{name}}). |
integration__amazon_ses__amazonses_list_suppressions | amazon-ses.amazonses_list_suppressions | Read | List email addresses on the suppression list for a specific configuration set in Amazon SES. Suppressed addresses will not receive emails. |
integration__amazon_ses__amazonses_get_current_user | amazon-ses.amazonses_get_current_user | Read | Get the currently authenticated user for the Amazon SES integration. Useful for verifying credentials and account information. |