The Newsletter Subject Line 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.
- Generate competing subject lines from a single prompt or brief
- Run a real subject line A/B test against a managed send
- Track opens and clicks with within-test lift metrics
- Get a data-backed recommendation for the next send
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.
- generate_variants — produce candidate subject lines for a test
- launch_test — start an A/B test on a managed send
- get_results — pull open/click rates and within-test lift
- recommend_next — surface the winning variant and what to try next
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.
- Works in Cursor, Claude Desktop, Claude Code, Windsurf, Cline, Continue, Zed, and OpenAI Codex
- Free tier covers 100 experiments per month
- Registry id: sh.marginal/mcp
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.
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Docs: https://marginal.sh/docs/
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.
- 100 experiments/month on the free tier
- Four MCP tools: generate_variants, launch_test, get_results, recommend_next
- Listed in the MCP Registry as sh.marginal/mcp