KosmoKrator

email

Amazon SES MCP Integration for Claude Agent SDK

Connect Amazon SES to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 4 read 2 write Bearer token auth

Connect Amazon SES to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Amazon SES MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Amazon SES 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.

Amazon SES Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Amazon SES integration catalog.

MCP toolSource functionTypeDescription
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.

Related Amazon SES Pages