Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/agents.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

Build with an AI agent

Connect Claude Code, Cursor, Codex or another coding agent to Klaviyo: give it the docs as Markdown, connect it to your account through the MCP server, and point it at a skill for the task.

Set up your agent

Paste this into your agent. It reads Klaviyo's docs, connects the MCP server and installs the CLI, asking you before anything touches your account.

Prompt for your agent
Set me up to build with the Klaviyo API. Read https://developers.klaviyo.com/llms.txt for Klaviyo's developer docs, then follow https://developers.klaviyo.com/en/docs/agent_setup.md to connect the Klaviyo MCP server (https://mcp.klaviyo.com/mcp) and install the Klaviyo CLI.

Connect your agent to Klaviyo

Klaviyo's MCP server lets an agent work with the data in a Klaviyo account. Add the remote server at https://mcp.klaviyo.com/mcp to your MCP client. In Claude Code, run this command:

Add the Klaviyo MCP server to Claude Code
claude mcp add --transport http klaviyo https://mcp.klaviyo.com/mcp
Set up the MCP server in another client

Agent skills

Agent skills are step-by-step instructions that an AI coding agent such as Claude Code, Cursor or Codex follows to build on the Klaviyo API. Each one is a short SKILL.md that links to the reference and code files it needs, all in Markdown. Point your agent at the one that fits what you're building.

All agent skills

Files for agents

Every page has a Markdown version: add .md to the end of its URL. llms.txt indexes the reference by resource, llms-full.txt holds the essential guides and the agent skills in one file and links the rest, and you can download the OpenAPI spec the reference is generated from.