KosmoKrator

email

Amazon SES MCP Integration for Vercel AI SDK

Connect Amazon SES to Vercel AI 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Amazon SES MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI 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