Skip to content

Menu

Iterable MCP Server logo

Iterable MCP Server

Published

At a glance

GitHub repository
Iterable/mcp-server
Watch out for
With writes and sends enabled the agent can send messages to real users and delete data, and the README warns these actions can be irreversible.

Iterable publishes its own MCP server in the Iterable/mcp-server repository, distributed on npm as @iterable/mcp. It connects an AI client to an Iterable project so you can ask about campaigns, templates, lists, catalogs, journeys and user events in plain language instead of clicking through the dashboard. The repo's TOOLS.md lists 118 tools, and each one maps directly to an Iterable API endpoint.

It runs locally over stdio, launched with npx, and needs Node.js 20 or newer (the README recommends v22 LTS) plus an Iterable API key. The part worth knowing up front is the permission model. Out of the box the server is read-only: no tools that expose user PII, no writes and no sends. You opt into each of those per API key.

Keys live in a small key manager. The file ~/.iterable-mcp/keys.json tracks them, while the secret values go into the macOS Keychain, Windows DPAPI, or a 0600 file on Linux. One key is active at a time, so a common pattern is to give a sandbox key write and send rights and keep production read-only.

How it connects

Your AI app

An assistant or agent that supports MCP

Iterable MCP Server

Runs as

  • npx (Node.js)

Gives the agent

  • Campaigns
  • Templates
  • Lists and users
  • Catalogs
  • Events and journeys
  • Experiments
  • Data export

Iterable

Signs in with

  • API key
Your AI app talks to Iterable MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Campaigns
Read campaigns and results with get_campaigns, get_campaign and get_campaign_metrics; with writes and sends on, create_blast_campaign, schedule_campaign, send_campaign and abort_campaign act on real sends.
Templates
get_templates, get_email_template and preview_email_template let the agent inspect and render templates, and the send_*_template_proof tools send proofs to a chosen user.
Lists and users
get_lists and get_list_size work in read-only mode; get_list_users, subscribe_to_list and unsubscribe_from_list need PII access and, for changes, writes.
Catalogs
get_catalogs, get_catalog_items and get_catalog_field_mappings read product catalogs; replace_catalog_items and partial_update_catalog_items update up to 1000 items in one call.
Events and journeys
get_user_events_by_email pulls a user's event history, get_journeys lists journeys, and trigger_journey or track_event fire them when sends are enabled.
Experiments
get_experiment and get_experiment_metrics read A/B test results (email only for metrics), and create_experiment or declare_experiment_winner manage them with writes on.
Data export
start_export_job runs a background export of events or user data, and get_export_files returns status and download links.

Setting it up

Run npx @iterable/mcp setup and the wizard stores your API key and configures your client in the default read-only mode; add --advanced to choose User PII, Writes and Sends for that key, or --auto-update to always pull the latest version. For Claude Code, setup --claude-code runs claude mcp add for you, or do it by hand with npx @iterable/mcp keys add followed by claude mcp add iterable -- npx -y @iterable/mcp, then check with claude mcp list. For Cursor (~/.cursor/mcp.json), Claude Desktop, Windsurf and Gemini CLI, add an mcpServers entry named iterable with command npx and args ["-y", "@iterable/mcp"]; no env block is needed when the key manager is used. In CI or containers you can instead set ITERABLE_API_KEY and ITERABLE_BASE_URL, plus ITERABLE_USER_PII, ITERABLE_ENABLE_WRITES and ITERABLE_ENABLE_SENDS as needed. After npx @iterable/mcp keys activate switches keys, restart the client.

Run in a terminal
claude mcp add iterable -- npx -y @iterable/mcp

Runs the @iterable/mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Pull last week's campaigns and their metrics into a short performance summary.
  • List email templates and render one with sample data to review copy before a send.
  • Look up a customer's recent events by email to debug why a triggered campaign did not fire.
  • Bulk update catalog items from a product feed in a sandbox project.
  • Start a data export job for a date range and return the download links.

Limitations and things to watch

  • With writes and sends enabled the agent can send messages to real users and delete data, and the README warns these actions can be irreversible.
  • Creating a blast campaign through the API schedules it for delivery; the README says there is no way to create a draft campaign.
  • Only one stored key is active at a time, and switching keys requires restarting the AI client.
  • Custom endpoints must use HTTPS unless they point at localhost.
  • Experiment metrics currently cover email experiments only.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…