KosmoKrator

other

Moosend MCP Integration for Vercel AI SDK

Connect Moosend to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write API key auth

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

Moosend MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Moosend Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Moosend integration catalog.

MCP toolSource functionTypeDescription
integration__moosend__moosend_list_mailing_lists moosend.moosend_list_mailing_lists Read List all mailing lists in your Moosend account. Returns list IDs, names, and subscriber counts.
integration__moosend__moosend_get_mailing_list moosend.moosend_get_mailing_list Read Get detailed information about a specific mailing list in Moosend, including subscriber counts and settings.
integration__moosend__moosend_create_mailing_list moosend.moosend_create_mailing_list Write Create a new mailing list in Moosend. Returns the newly created list with its ID.
integration__moosend__moosend_list_subscribers moosend.moosend_list_subscribers Read List subscribers for a specific mailing list in Moosend. Supports filtering by status and pagination.
integration__moosend__moosend_add_subscriber moosend.moosend_add_subscriber Write Add a new subscriber to a Moosend mailing list. Requires an email address; name is optional.
integration__moosend__moosend_list_campaigns moosend.moosend_list_campaigns Read List all email campaigns in your Moosend account. Supports filtering by status and pagination.
integration__moosend__moosend_get_current_user moosend.moosend_get_current_user Read Get the current authenticated Moosend user. Useful as a health check to verify API connectivity.

Related Moosend Pages