← All guides marginal.sh

The Newsletter Subject Line MCP Server

Updated June 2026 · Hosted email MCP server

marginal is a hosted email MCP server that lets AI agents draft subject line variants, launch A/B tests, and read back open and click lift—without you writing a separate testing harness.

Why test subject lines through an MCP server

Subject lines decide whether a newsletter gets opened at all, but most testing lives in a marketing UI that your coding agent can't reach. A newsletter subject line MCP server closes that gap: the same agent that drafts your copy can also test it and report what won.

marginal exposes the full loop—generate, launch, measure, recommend—as MCP tools, so the workflow stays inside the tools your team already uses.

What the marginal email MCP server provides

marginal is a hosted email MCP server—there's nothing to deploy or self-host. You connect over the endpoint at https://marginal.sh/mcp with a Bearer API key and your agent gains four focused tools.

AI agent email marketing in practice

AI agent email marketing works best when the agent can act on its own suggestions. With marginal, you ask your assistant to draft five subject lines for an upcoming issue; it calls generate_variants, then launch_test to split the audience, and later get_results to confirm which line drove the most opens.

Because everything runs through MCP, the same agent can compound learnings across sends—feeding past results into the next round of variants instead of starting from scratch.

Getting started

Point your MCP client at https://marginal.sh/mcp, add a marg_live_ Bearer key, and prompt your agent to run its first subject line A/B test. The docs at https://marginal.sh/docs/ walk through each tool and the result fields you'll read back.

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