KosmoKrator

other

Sendy MCP Integration for Claude Agent SDK

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

5 functions 2 read 3 write API key auth

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

Sendy MCP Config for Claude Agent SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Sendy Tools Visible to Claude Agent SDK

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

MCP toolSource functionTypeDescription
integration__sendy__sendy_subscribe sendy.sendy_subscribe Write Subscribe an email address to a Sendy mailing list. Optionally provide a name and custom fields.
integration__sendy__sendy_unsubscribe sendy.sendy_unsubscribe Write Unsubscribe an email address from a Sendy mailing list.
integration__sendy__sendy_list_subscribers sendy.sendy_list_subscribers Read Get the total number of subscribers for a Sendy mailing list.
integration__sendy__sendy_create_campaign sendy.sendy_create_campaign Write Create a new email campaign in Sendy. You can create a draft or send immediately. Requires a list ID, subject, HTML content, and sender details.
integration__sendy__sendy_get_current_user sendy.sendy_get_current_user Read Get the current brand/account information from Sendy. Useful for verifying credentials and retrieving brand details.

Related Sendy Pages