KosmoKrator

other

Sendy MCP Integration for OpenAI Agents SDK

Connect Sendy to OpenAI Agents 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 OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Sendy MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

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

OpenAI Agents 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