Aerostack
electrical_services

Klaviyo MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Manage email/SMS campaigns, sync customer profiles, and trigger flows — AI-powered lifecycle marketing automation.

aerostack @aerostack verified
v0.1.0 MIT Updated Jun 28, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "klaviyo": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-klaviyo",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+13 more

Natural Language Prompt

“Use the _ping tool to verify klaviyo credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

description Overview

mcp-klaviyo — Klaviyo MCP Server

Power your email and SMS marketing with AI — manage profiles, lists, campaigns, flows, and custom events through Klaviyo's full API.

Klaviyo is the leading e-commerce marketing platform, trusted by 130,000+ brands for email and SMS automation. This MCP server gives your agents full access to Klaviyo's API: managing customer profiles, subscribing contacts to lists, tracking custom events that trigger flows, monitoring campaigns, and inspecting automation flows — enabling AI-driven marketing operations without manual platform access.

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-klaviyo


What You Can Do

  • Sync customer data from any source into Klaviyo profiles with custom properties in real time
  • Subscribe new customers to marketing lists and trigger welcome flows automatically on signup
  • Track custom events (purchases, signups, trial starts) that feed into behavioral email flows
  • Monitor campaign performance and flow status to surface marketing insights to stakeholders

Available Tools

Tool Description
get_profiles List profiles with optional Klaviyo filter syntax (e.g. by email or name)
get_profile Get full details of a specific Klaviyo profile by ID
create_profile Create a new profile with email, name, phone, and custom properties
update_profile Update an existing profile — merge new attributes into the existing record
subscribe_profiles Subscribe one or more email addresses to marketing in a specific list
get_lists List all Klaviyo lists with IDs and names
get_list Get details of a specific list
create_list Create a new Klaviyo list
add_profiles_to_list Add existing profiles by ID to a list
get_events List events (analytics data) — purchases, opens, clicks, and custom metrics
create_event Track a custom event for a profile to trigger flows (e.g. Placed Order, Signed Up)
get_metrics List all metrics (event types) with names and integration sources
get_campaigns List email campaigns with IDs, names, status, and send times
get_campaign Get full details of a specific campaign
get_campaign_recipient_estimation Get estimated recipient count before sending a campaign
get_flows List all automation flows with status (draft/live/manual) and trigger type
get_flow Get details of a specific automation flow
get_templates List email templates with name, type, and timestamps

Configuration

Variable Required Description How to Get
KLAVIYO_API_KEY Yes Klaviyo Private API key klaviyo.com → Account → Settings → API Keys → Create Private API Key

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "Klaviyo" and click Add to Workspace
  3. Add your KLAVIYO_API_KEY under Project → Secrets

Once added, every AI agent in your workspace can manage Klaviyo marketing data automatically — no per-user setup needed.

Example Prompts
"Subscribe new trial signups to the 'Onboarding' list in Klaviyo"
"Track a 'Placed Order' event for customer alice@example.com with order value $149.99"
"Show me the estimated recipient count for campaign ID abc123 before we send it"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-klaviyo \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-KLAVIYO-API-KEY: your-key' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_event","arguments":{"email":"alice@example.com","metric_name":"Placed Order","value":149.99}}}'

License

MIT

terminal Tools (19)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
_ping #1

Verify Klaviyo credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.

terminal
get_profiles #2

List profiles (contacts) in Klaviyo. Supports optional filter using Klaviyo filter syntax, e.g. equals(email,"test@example.com") or contains(email,"@acme.com"). Returns up to 20 by default.

terminal
get_profile #3

Get full details of a specific Klaviyo profile by profile ID — email, name, phone, properties, and timestamps.

terminal
create_profile #4

Create a new profile (contact) in Klaviyo. Email is required. Optionally provide name, phone, and custom properties.

terminal
update_profile #5

Update an existing Klaviyo profile by ID. Provide only the fields you want to change.

terminal
subscribe_profiles #6

Subscribe one or more email addresses to marketing in a specific list. Sets marketing consent to SUBSCRIBED for each email provided.

terminal
get_lists #7

List all Klaviyo lists. Returns list IDs, names, and creation dates. Use list IDs to add profiles or subscribe contacts.

terminal
get_list #8

Get details of a specific Klaviyo list by ID — name, creation date, and opt-in process.

terminal
create_list #9

Create a new Klaviyo list with the given name.

terminal
add_profiles_to_list #10

Add existing profiles to a Klaviyo list by profile IDs. Use get_profiles to find profile IDs first.

terminal
get_events #11

List events (analytics data) in Klaviyo. Supports optional filter. Use to retrieve metric activity like purchases, opens, clicks.

terminal
create_event #12

Track a custom event (metric) for a profile in Klaviyo. Used to record actions like purchases, signups, or custom behaviors that can trigger flows.

terminal
get_metrics #13

List all metrics (event types) in Klaviyo — includes name, integration source, and IDs. Use metric IDs to filter events.

terminal
get_campaigns #14

List email campaigns in Klaviyo. Returns campaign IDs, names, status, and send times.

terminal
get_campaign #15

Get full details of a specific Klaviyo campaign by ID — name, status, send time, subject, and audience.

terminal
get_campaign_recipient_estimation #16

Get the estimated recipient count for a Klaviyo campaign before sending.

terminal
get_flows #17

List all automation flows in Klaviyo — includes flow name, status (draft/live/manual), trigger type, and timestamps.

terminal
get_flow #18

Get full details of a specific Klaviyo automation flow by ID — name, status, trigger, and action count.

terminal
get_templates #19

List email templates in Klaviyo — includes template name, type (drag-and-drop or HTML), and timestamps.

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 19

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-klaviyo

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the Klaviyo MCP server and what can it do? +

The Klaviyo MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `get_profiles`, `get_profile`, `create_profile`, `update_profile`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Klaviyo MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Klaviyo MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Klaviyo MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Klaviyo MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-klaviyo": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-klaviyo"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Klaviyo MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-klaviyo", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-klaviyo"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Klaviyo MCP require authentication? +

Yes. Klaviyo requires authentication. Check the MCP's documentation for the required credentials.