Klaviyo MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicManage email/SMS campaigns, sync customer profiles, and trigger flows — AI-powered lifecycle marketing automation.
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.
{
"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:
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.
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
- Go to aerostack.dev → Your Project → MCPs
- Search for "Klaviyo" and click Add to Workspace
- Add your
KLAVIYO_API_KEYunder 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.
_ping #1 Verify Klaviyo credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
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.
get_profile #3 Get full details of a specific Klaviyo profile by profile ID — email, name, phone, properties, and timestamps.
create_profile #4 Create a new profile (contact) in Klaviyo. Email is required. Optionally provide name, phone, and custom properties.
update_profile #5 Update an existing Klaviyo profile by ID. Provide only the fields you want to change.
subscribe_profiles #6 Subscribe one or more email addresses to marketing in a specific list. Sets marketing consent to SUBSCRIBED for each email provided.
get_lists #7 List all Klaviyo lists. Returns list IDs, names, and creation dates. Use list IDs to add profiles or subscribe contacts.
get_list #8 Get details of a specific Klaviyo list by ID — name, creation date, and opt-in process.
create_list #9 Create a new Klaviyo list with the given name.
add_profiles_to_list #10 Add existing profiles to a Klaviyo list by profile IDs. Use get_profiles to find profile IDs first.
get_events #11 List events (analytics data) in Klaviyo. Supports optional filter. Use to retrieve metric activity like purchases, opens, clicks.
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.
get_metrics #13 List all metrics (event types) in Klaviyo — includes name, integration source, and IDs. Use metric IDs to filter events.
get_campaigns #14 List email campaigns in Klaviyo. Returns campaign IDs, names, status, and send times.
get_campaign #15 Get full details of a specific Klaviyo campaign by ID — name, status, send time, subject, and audience.
get_campaign_recipient_estimation #16 Get the estimated recipient count for a Klaviyo campaign before sending.
get_flows #17 List all automation flows in Klaviyo — includes flow name, status (draft/live/manual), trigger type, and timestamps.
get_flow #18 Get full details of a specific Klaviyo automation flow by ID — name, status, trigger, and action count.
get_templates #19 List email templates in Klaviyo — includes template name, type (drag-and-drop or HTML), and timestamps.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-klaviyo
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
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.