KosmoKrator

other

Sendy MCP Integration for Vercel AI SDK

Connect Sendy to Vercel AI 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 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.

Sendy MCP Config for Vercel AI SDK

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

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

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