← All guides marginal.sh

A Klaviyo alternative for AI agents

Updated June 2026 · Hosted email MCP server

Klaviyo is built for human marketers clicking through a campaign builder. If you're wiring up AI agent email marketing, marginal gives your agent a direct MCP interface to generate variants, launch tests, and read results — no dashboard required.

Why agents need a different surface than Klaviyo

Klaviyo is a strong email service provider for people: segments, flows, and a visual editor. But an AI agent doesn't click buttons — it calls tools. Driving a UI-first ESP from an agent usually means stitching together REST endpoints, polling for state, and parsing reports that were designed for a human to read.

marginal flips that model. It's a hosted email MCP server, so an agent connects once and gets a small, purpose-built tool set for running experiments. The agent reasons about copy; marginal handles sends, tracking, and the math.

What marginal does as an MCP email server

The marginal MCP server exposes four tools that map cleanly to the experiment loop. Your agent generates options, ships a test, waits for signal, and asks what to do next — all over a single endpoint at https://marginal.sh/mcp.

Choosing marginal vs. Klaviyo

Pick based on who's driving. If a marketing team lives in a campaign UI and needs full lifecycle automation, Klaviyo fits that job. If an AI agent is the operator and the goal is fast, measurable subject line experiments, marginal is the more natural alternative.

marginal is fully hosted, so there's no self-hosted MCP server to run. Authentication is a single Bearer API key (marg_live_...), and the free tier covers 100 experiments per month to start testing.

Works with the agents you already use

Because marginal speaks MCP, it drops into the clients developers and growth engineers already run. Point your agent at the marginal endpoint and it can start launching subject line A/B tests in the same workflow where it writes code or copy.

Supported clients include Cursor, OpenAI Codex, Claude Desktop, Claude Code, Windsurf, Cline, Continue, and Zed.

Get started with marginal

marginal is a hosted email marketing MCP server at marginal.sh. Sign up free, create an API key, and connect https://marginal.sh/mcp from Cursor, Codex, or Claude Desktop.

Documentation · Sign up · FAQ