← All guides marginal.sh

Subject Line A/B Testing in Claude Desktop

Updated June 2026 · Hosted email MCP server

Connect Claude Desktop to marginal's email MCP server and run a full subject line A/B test as a conversation — generate variants, send to a sample, and let the agent recommend the winner.

Why run A/B tests from Claude Desktop

Claude Desktop already lets you draft and iterate on copy in plain language. With marginal connected as an MCP server, that same chat window becomes a launchpad for live subject line A/B tests — no separate dashboard, no copy-pasting between tools.

marginal is a hosted email MCP server, so there's nothing to deploy. You add the endpoint once, paste your Bearer key, and Claude Desktop can call the experiment tools directly.

Connect marginal to Claude Desktop

Add marginal's MCP endpoint to your Claude Desktop config so the agent can reach the experiment tools. The connection is authenticated with a Bearer API key in the marg_live_ format from your marginal account.

The Claude Desktop agent workflow

A typical subject line A/B test in Claude Desktop moves through four marginal tools in order. You describe the audience and goal, and the agent chains the calls — generating candidates, launching the split, then reading results once opens and clicks come in.

Because marginal handles the managed sends and tracking, Claude Desktop focuses on the decisions: which variants to test and what to do next.

Reading lift and picking a winner

After a test runs, ask Claude Desktop to summarize the results. marginal reports open and click tracking plus within-test lift, so the agent can tell you which subject line outperformed the control and by how much.

This makes AI agent email marketing practical: instead of eyeballing percentages, you get a clear recommendation grounded in the test data, ready to roll into your next send.

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