MCP Ecommerce
Klaviyo logo

Installation guide

How to install Klaviyo MCP Server

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

Klaviyo offers an official MCP server for campaigns, flows, profiles and reporting. Klaviyo's docs describe a remote-hosted server, which they recommend, and a local server. Behavior is controlled with query parameters and environment variables. The overview page does not list the server URL, the local command or the exact authentication steps. Take those from the Connect to the MCP server page in the vendor documentation.

This is best done by a Klaviyo admin, or a retention or CRM lead who can create private API keys, with an agency developer helping if needed. Create the key with read scopes only and connect a reporting question first. Add write scopes later, for specific supervised tasks such as drafting a campaign.

Klaviyo MCP Server setup guide: Klaviyo's MCP documentation page on developers.klaviyo.com, shown in a browser frame (email and crm MCP server for e-commerce)
Klaviyo MCP Server setup guide preview: Klaviyo’s documentation on developers.klaviyo.com, captured Nov 28, 2026. The page may have changed since; the link opens the live version.

Before you start

  • A Klaviyo account where you can create private API keys, usually an Owner, Admin or similar role.
  • A private API key limited to read scopes for the data you want to query (campaigns, flows, profiles, segments, metrics).
  • The server address and authentication method from the Connect to the MCP server page: https://developers.klaviyo.com/en/docs/klaviyo_mcp_server
  • An MCP client that you can edit settings in, such as Claude, Cursor or another client from the list below.
  • For the local option only: the runtime and command named in Klaviyo's docs.
How it runs
Remote or local
Access
Varies by tool
Server address
Copy it from the vendor documentation

Klaviyo MCP Server in Claude

  1. Open the Connect to the MCP server page in Klaviyo's docs and copy the remote server URL and the authentication details.
  2. In Claude.ai or the Claude Desktop app, open Settings > Connectors and choose to add a custom connector by URL.
  3. Paste the remote server URL exactly as Klaviyo documents it, including any query parameters the docs specify.
  4. Complete the authentication method Klaviyo describes, using the read-only private API key if a key is required.
  5. Enable the connector in a new chat and confirm Klaviyo tools are listed before asking anything.

Klaviyo MCP Server in ChatGPT

  1. Open the Connect to the MCP server page in Klaviyo's docs and copy the remote server URL. Klaviyo's page text does not mention ChatGPT, so this follows ChatGPT's standard custom connector flow.
  2. In ChatGPT, enable Developer mode in the settings (availability depends on your plan and workspace admin).
  3. Add a new custom MCP connector and paste the Klaviyo server URL from the docs.
  4. Choose the authentication option that matches what Klaviyo documents, and use the read-only key if one is requested.
  5. Enable the connector in a new chat and run a read-only prompt first.

Klaviyo MCP Server in Gemini

  1. Open the Connect to the MCP server page in Klaviyo's docs and note the remote URL or the local command. The docs we reviewed do not cover Gemini.
  2. For Gemini CLI, edit the settings file and add an entry under mcpServers for Klaviyo.
  3. Use the url field for the remote server, or command and args for the local server, with the exact values from Klaviyo's docs.
  4. Supply the private API key the way Klaviyo documents it (header, query parameter or environment variable), using a read-only key.
  5. Restart Gemini CLI and check that the Klaviyo tools are listed.

Klaviyo MCP Server in Microsoft Copilot

  1. Open the Connect to the MCP server page in Klaviyo's docs and copy the server details. The docs we reviewed do not cover Copilot.
  2. For GitHub Copilot in VS Code, add a Klaviyo entry under servers in .vscode/mcp.json (or via the MCP server command in VS Code).
  3. Use the remote URL from the docs, or the local command and arguments if you choose the local server.
  4. Pass the read-only API key as Klaviyo specifies, ideally through an input prompt or environment variable instead of plain text in the file.
  5. For Copilot Studio, add an MCP tool or custom connector using the same URL and authentication, then publish it to a test agent first.
  6. Start the server in the client and confirm the Klaviyo tools appear.

Klaviyo MCP Server in Perplexity

  1. Open the Connect to the MCP server page in Klaviyo's docs and copy the remote server URL and auth details. The docs we reviewed do not cover Perplexity.
  2. In the Perplexity desktop app, open the connectors settings and choose to add a custom or remote MCP connector.
  3. Paste the Klaviyo server URL exactly as documented.
  4. Authenticate using the method Klaviyo describes, with a read-only private API key if one is requested.
  5. Start a new thread, enable the connector and try a reporting question.

Klaviyo MCP Server in Cursor

  1. Open the Connect to the MCP server page in Klaviyo's docs. Cursor is named there as a supported MCP client.
  2. In Cursor, open the MCP settings and choose to add a new MCP server, which edits the mcp.json file with a top-level mcpServers object.
  3. Add a klaviyo entry using url for the remote server, or command and args for the local one, with values copied from Klaviyo's docs.
  4. Provide the read-only private API key as the docs describe, for example through the specified header or environment variable.
  5. Save the file and confirm the server shows as enabled with its tools listed in the MCP settings.

Klaviyo MCP Server in Claude Code

  1. Open the Connect to the MCP server page in Klaviyo's docs and copy the remote server URL and authentication details.
  2. In a terminal, use claude mcp add --transport http klaviyo <URL> for the remote server, replacing <URL> with the documented address.
  3. If Klaviyo's docs require the key as a header or environment variable, add it using the option and name from the docs, with a read-only key.
  4. For the local server, use claude mcp add klaviyo -- <command> <args> with the command from the docs.
  5. Run claude mcp list to confirm the server is registered, then check the tools inside a session.

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • Show me the performance of my email campaigns from the last 30 days.
  • Which flows are performing the best in terms of conversions?
  • List my Klaviyo segments and tell me which ones were updated most recently.

Troubleshooting

+

The client connects but shows no Klaviyo tools. What should I check?

Compare the server URL and any query parameters with the Connect to the MCP server page, since small differences can change what loads. Confirm the API key is valid and has scopes for the data you want. The Available tools page says which tools are on the remote server. Restart the client after editing config.

+

I get authentication or permission errors when asking for data. What now?

Check that the private API key was copied in full and passed the way Klaviyo documents. A permission error often means a missing scope. Add only the specific read scope you need, such as campaigns or flows, and retry. Keep write scopes off until you have a supervised task that needs them.

+

Should I use the remote server or the local server?

Klaviyo's docs recommend the remote-hosted server, which needs no local install. The local server is documented as an alternative, with its own command and environment variables. Start with remote unless your client cannot use a remote URL. Take the exact setup values for either option from the vendor's Connect page.

Written Nov 28, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing Klaviyo MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.