Model Context Protocol for Email Marketing
The Model Context Protocol (MCP) lets AI agents call real tools instead of just generating text. marginal applies that to email marketing: a hosted email MCP server your agent can use to draft subject lines, launch experiments, and report on what actually moved opens and clicks.
What MCP changes for email marketing
Most AI copywriting stops at suggestions. With Model Context Protocol email marketing, the agent doesn't just propose subject lines — it can run the test, wait for data, and tell you which variant won. marginal exposes that workflow as a small set of MCP tools any compatible client can invoke.
Because marginal is a hosted MCP server, there's nothing to deploy. You point your agent at https://marginal.sh/mcp, authenticate with a Bearer API key, and the tools appear in the model's toolset.
- generate_variants — produce subject line candidates from a brief
- launch_test — start a subject line A/B test on a managed send
- get_results — pull open/click tracking and within-test lift
- recommend_next — let the agent suggest the follow-up experiment
Running a subject line A/B test through an agent
A typical loop looks like this: ask your AI agent to generate a handful of variants for a campaign, launch a subject line A/B test across your audience, then check back for results. The agent reads lift metrics directly and can decide whether a variant is a clear winner or whether the test needs more volume.
All of this happens inside tools you already use. AI agent email marketing works the same whether you drive it from a chat window or wire it into a scheduled automation that proposes and ships tests on a cadence.
- Open and click tracking is handled by marginal's managed sends
- Lift is reported within each test, so comparisons stay apples-to-apples
- The free tier covers 100 experiments per month to get started
Where it fits in your stack
marginal speaks standard MCP, so it works across the clients teams already run — Cursor, Claude Desktop, Claude Code, OpenAI Codex, Windsurf, Cline, Continue, and Zed. If your editor or agent runtime supports MCP, the email MCP server slots in alongside your other tools.
This keeps email experimentation close to where engineers and growth teams already work, instead of bouncing between a separate marketing UI.
- Registry identifier: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Docs and tool references: 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