Lifecycle Email MCP Server for AI Agents
Lifecycle emails — welcome series, onboarding nudges, renewal reminders, and win-back campaigns — live or die by their subject lines. marginal is a hosted lifecycle email MCP server that lets an AI agent generate variants, launch tests, and read lift metrics without leaving your editor.
Why use an MCP server for lifecycle email?
Lifecycle programs run on a schedule, so every stage is a recurring chance to test and improve. A lifecycle email MCP server connects that testing loop directly to your AI agent, so the same assistant that drafts your onboarding copy can also measure which subject line actually drives opens.
marginal exposes the workflow as MCP tools your agent can call: generate_variants for fresh subject lines, launch_test to send a managed A/B test, get_results for open and click data, and recommend_next to pick a winner for the next cohort.
- Test welcome, activation, and renewal subjects per lifecycle stage
- Within-test lift metrics show the relative gain of each variant
- Managed sends with open/click tracking — no separate send tooling
- Hosted endpoint at https://marginal.sh/mcp, no infrastructure to run
A typical lifecycle subject line A/B test
Pick a flow stage — say, a day-3 onboarding email — and ask your agent to propose variants. It calls generate_variants, then launch_test to send them to a sample of that stage's audience, and reports back with get_results once data lands.
Because each lifecycle stage is its own experiment, you build a library of proven subject lines over time. recommend_next helps your AI agent email marketing workflow promote winners into the live flow and queue the next round of ideas.
- generate_variants — draft subject lines for the chosen stage
- launch_test — run the subject line A/B test on a sample
- get_results — pull opens, clicks, and lift
- recommend_next — promote a winner and plan the follow-up
Works in the tools you already use
marginal speaks standard MCP, so the email MCP server plugs into Cursor, Claude Desktop, Claude Code, OpenAI Codex, Windsurf, Cline, Continue, and Zed. Add the endpoint, supply your Bearer API key, and your agent can run lifecycle tests inline.
Authentication uses a single Bearer key (marg_live_...). You don't wire up ESP API keys to get started — marginal handles the managed sends and tracking on its hosted infrastructure.
- Registry id: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Free tier: 100 experiments per month
- 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