KosmoKrator

productivity

Resend MCP Integration for Claude Agent SDK

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

10 functions 5 read 5 write API key auth

Connect Resend 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.

Resend MCP Config for Claude Agent SDK

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

{
  "mcpServers": {
    "kosmokrator-resend": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=resend",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=resend --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Resend 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.

Resend Tools Visible to Claude Agent SDK

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

MCP toolSource functionTypeDescription
integration__resend__resend_send_email resend.resend_send_email Write Send an email through Resend. Supports HTML and plain-text content, CC, BCC, reply-to, tags for categorization, and custom email headers. Returns the sent email object including its ID.
integration__resend__resend_get_email resend.resend_get_email Read Retrieve a single email by its ID from Resend. Returns the email object including sender, recipient, subject, created_at, and delivery status.
integration__resend__resend_list_emails resend.resend_list_emails Read List emails from Resend. Supports pagination with a limit and cursor token. Returns an array of email objects and a pagination token for the next page.
integration__resend__resend_create_api_key resend.resend_create_api_key Write Create a new API key in Resend. You can set a permission scope (full_access or sending_access) and optionally restrict the key to a specific domain. Returns the created API key object including the key value.
integration__resend__resend_list_api_keys resend.resend_list_api_keys Read List all API keys in the Resend account. Returns an array of API key objects with their names, permissions, and creation dates. The actual key values are not returned for security reasons.
integration__resend__resend_create_domain resend.resend_create_domain Write Create a new domain in Resend. You can optionally specify a region for the domain (us-east-1 or eu-west-1). Returns the created domain object including DNS records that need to be configured.
integration__resend__resend_get_domain resend.resend_get_domain Read Retrieve a single domain by its ID from Resend. Returns the domain object including verification status and DNS records.
integration__resend__resend_list_domains resend.resend_list_domains Read List all domains in the Resend account. Returns an array of domain objects including their names, verification status, and regions.
integration__resend__resend_verify_domain resend.resend_verify_domain Write Trigger verification for a domain in Resend. This checks the DNS records for the domain and updates its verification status. Returns the domain object with the updated status.
integration__resend__resend_create_contact resend.resend_create_contact Write Create a contact in a Resend audience. Requires the audience ID and the contact's email address. Optionally provide first name, last name, and unsubscribed status. Returns the created contact object.

Related Resend Pages