Klaviyo driven from Bash.
List profiles, lists, segments, campaigns and flows, pull campaign performance reports, and push segment or flow-status changes to Klaviyo — from the shell over the Klaviyo MCP. The Klaviyo API without juggling a private key in every request.
cogny --who
TWO PATHSToday you click through Klaviyo dashboards to read campaign metrics and toggle flows one at a time. The CLI returns campaign value reports and lets you flip a flow live or rebuild a segment in a single scriptable call. Connect Klaviyo once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.
❯ start SoloSelf-onboard with one command. The CLI issues a key, wires nothing, and exposes every Klaviyo tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the Klaviyo MCP. Send --input JSON, get JSON back.
mcp__Klaviyo__get_campaign_values_reportPerformance statistics (opens, clicks, conversions) for a campaign.mcp__Klaviyo__list_segmentsList segments with their definitions and profile counts.mcp__Klaviyo__update_flow_statusTurn a flow live or pause it.cogny tools list
MOREA sample of the rest of the Klaviyo surface. Run cogny tools list --json for every tool and its input schema.
mcp__Klaviyo__list_profilesmcp__Klaviyo__list_listsmcp__Klaviyo__subscribe_profilesmcp__Klaviyo__list_campaignsmcp__Klaviyo__create_campaignmcp__Klaviyo__create_segmentmcp__Klaviyo__list_flowsmcp__Klaviyo__list_metricsmcp__Klaviyo__list_eventscogny --faq
No — it is the Cogny CLI calling the Klaviyo MCP over the cogny-mcp-proxy. You connect your Klaviyo private API key once inside Cogny and then call every tool from Bash.
Both. The Klaviyo MCP exposes read tools (profiles, lists, segments, campaign reports) and write tools (create campaign/segment, subscribe profiles, change flow status). Sends still respect Klaviyo’s own review and sending rules.
Yes. After `npx @cogny/cli init`, an agent runs `cogny tools call mcp__Klaviyo__get_campaign_values_report --input ...` from any shell — no MCP wiring or restart needed.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt