MCP.so
Sign In
Servers

Klaviyo API MCP Server

@mattcoatsworth

Overview

What is Klaviyo API MCP Server?

A Model Context Protocol (MCP) server that provides comprehensive tools and resources for interacting with Klaviyo's API. It is designed for developers using AI assistants to manage profiles, lists, events, campaigns, flows, templates, segments, metrics, catalogs, and data privacy in Klaviyo.

How to use Klaviyo API MCP Server?

Clone the repository, install dependencies with npm install, create a .env file with your KLAVIYO_API_KEY, then start the server with npm run dev. Use the MCP Inspector via npm run inspect to browse and test tools.

Key features of Klaviyo API MCP Server

  • Complete coverage of Klaviyo's API functionality
  • Structured tools with Zod validation
  • Documentation resources for API reference
  • Error handling and logging
  • Over 30 tools for profiles, lists, events, and more

Use cases of Klaviyo API MCP Server

  • Create, retrieve, update, or delete Klaviyo profiles and lists
  • Send campaigns and manage flow statuses
  • Build and render email templates with context variables
  • Query metrics, aggregations, and event timelines
  • Manage data privacy deletion requests

FAQ from Klaviyo API MCP Server

What tools does Klaviyo API MCP Server provide?

Tools for profiles (CRUD), lists (CRUD + membership management), events, campaigns, flows, templates (including clone/render), segments, metrics (aggregation/timeline), catalogs (items CRUD), and data privacy deletion requests.

How do I authenticate?

Set your Klaviyo private API key as the environment variable KLAVIYO_API_KEY in a .env file before starting the server.

How can I test the server?

Run npm run inspect to launch the MCP Inspector, which provides a web interface to browse tools and resources and test them with different inputs.

What documentation resources are available?

The server includes klaviyo://docs/{section} resources covering overview, profiles, lists, events, campaigns, flows, segments, metrics, templates, catalogs, and data‑privacy.

What are the runtime dependencies?

Node.js and npm are required. The server is implemented in TypeScript/JavaScript and uses the @modelcontextprotocol/sdk.

Tags

More from Developer Tools