Kby Klaviyo
Send a campaign
Starts an asynchronous job that sends a campaign to its configured audience.
Description
Check progress with Get Campaign Send Job (`get_campaign_send_job`), and stop a send with Cancel Campaign Send (`cancel_campaign_send`). Confirm the campaign, its audience and its content with the user before sending.
send-campaign.md
Send a campaign
Starts an asynchronous job that sends a campaign to its configured audience.
Check progress with Get Campaign Send Job (get_campaign_send_job), and stop
a send with Cancel Campaign Send (cancel_campaign_send). Confirm the
campaign, its audience and its content with the user before sending.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "klaviyo": { "url": "https://mcp.klaviyo.com/mcp" } } }
Call the MCP tool send_campaign.
Server URL: https://mcp.klaviyo.com/mcp
CLI (official)
Install the command, then confirm it runs.
go install github.com/klaviyo/klaviyo-cli/cmd/klaviyo@latest
klaviyo --version
Run klaviyo campaigns send-campaign.
Set $KLAVIYO_API_KEY in your environment first (get a key: https://www.klaviyo.com/create-private-api-key).
API (official)
- Base URL: https://a.klaviyo.com
- Endpoint:
POST /api/campaign-send-jobs - Auth: send the header
Authorization: Klaviyo-API-Key $KLAVIYO_API_KEY - Get a key: https://www.klaviyo.com/create-private-api-key
- Docs: https://developers.klaviyo.com/en/reference/api_overview
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.