What is a Klaviyo MCP?
It's an MCP server that wires your agents into Klaviyo's customer engagement platform via tools. Your agents can invoke these tools to create and send campaigns, manage customer profiles, add contacts to lists, query performance metrics, and more.
Klaviyo offers an official MCP server, but you can also use one from a third-party platform, like Merge Agent Handler.
How can I use the Klaviyo MCP server?
The use cases naturally depend on the agent you've built, but here are a few common ones:
- Post-purchase onboarding automation: When an order is completed in Shopify or WooCommerce, an agent creates or updates the customer's Klaviyo profile, adds them to a post-purchase list, and triggers the first message in the onboarding flow
- Churn risk re-engagement: When a customer is flagged as at-risk in a CRM based on inactivity signals, an agent updates their Klaviyo profile with a churn-risk attribute, adds them to a win-back segment, and activates a re-engagement flow
- Weekly campaign performance digest: An agent queries Klaviyo metric aggregates for all campaigns sent in the past 7 days, compiles open rates, click rates, and attributed revenue, and posts the summary to the marketing team's Slack channel
- Event-driven lifecycle emails: When a user hits a usage milestone in a product, an agent fires a Klaviyo event for that action, which triggers a flow that sends a tailored message with a relevant upsell or feature spotlight
What are popular tools for Klaviyo's MCP server?
Here are some of the most commonly used tools:
create_campaign: creates a new email or SMS campaign in Klaviyo with a specified name, audience, and send strategy. Use this when an agent needs to build a campaign programmatically in response to a scheduled event or business trigger
send_campaign: triggers the send of a created campaign to its configured audience. Call this when an agent has confirmed all campaign details are ready and needs to initiate delivery without manual intervention
create_profile: adds a new contact to Klaviyo with fields like email, phone, and custom properties. Use this when an agent is ingesting new customer data from an external system like a CRM, e-commerce platform, or form submission
update_profile: modifies an existing profile's attributes, including custom properties, consent status, or lifecycle stage. Good for workflows that sync behavioral signals or enrichment data from other tools back into Klaviyo
add_profiles_to_list: adds one or more profiles to a Klaviyo list, making them eligible for campaigns and flows targeting that list. Helpful when an agent is segmenting contacts based on actions taken in another system
query_metric_aggregates: runs an aggregated query against a Klaviyo metric, returning totals and breakdowns over a specified time range. Use this when an agent is compiling performance reports or evaluating campaign effectiveness across a date window
What makes Merge Agent Handler's Klaviyo MCP server better than alternative Klaviyo MCP servers?
Klaviyo has its own official MCP server, but running it through Merge Agent Handler makes sense for teams that need stricter controls:
- Enterprise-grade security and DLP: Merge Agent Handler includes built-in data loss prevention controls that let you block or redact sensitive fields before they reach an agent. For Klaviyo, this means you can prevent customer email addresses, purchase history, and behavioral engagement data from being surfaced to agents that don't explicitly need it
- Managed authentication and credentials: Merge stores and refreshes Klaviyo API credentials on your behalf. You never embed private API keys in agent configuration or redo your auth setup when they rotate
- Real-time observability and audit trail: Every tool call against Klaviyo is logged: which campaign was created, which profiles were updated, which metrics were queried, and what came back. Marketing and compliance teams can audit agent activity without any custom logging
- Tool Packs and controlled access: Tool Packs let you bundle specific Klaviyo tools with tools from other connectors into a single MCP endpoint, scoped to a specific use case. An agent gets exactly the tools it needs, nothing more
How can I start using Merge Agent Handler's Klaviyo MCP server?
You can take the following steps:
1. Create or log into your Merge Agent Handler account and navigate to Tool Packs (collections of connector tools scoped to a specific use case).
2. Create a new Tool Pack, then find and enable the Klaviyo connector. Match the tools to your workflow: analytics tools like query_metric_aggregates and list_campaigns work for reporting agents, while create_profile, add_profiles_to_list, and send_campaign are needed for agents that take action on customer data.
3. Add a Registered User inside the Tool Pack. This is the identity context under which your agent operates. Merge generates a unique MCP URL scoped to this user once it's created.
4. From the Registered User detail page, authenticate Klaviyo by completing the OAuth flow or entering your API key. Merge stores and manages the credentials going forward.
5. Copy the MCP URL from the Tool Pack detail page and generate an API key from Settings. You'll need both to connect your agent.
6. Add the MCP server to your agent or IDE using the MCP URL and API key. Your Klaviyo tools are now accessible through that endpoint.