← All guides marginal.sh

Subject Line Testing with an Email MCP Server

Updated June 2026 · Hosted email MCP server

A subject line testing MCP lets your AI agent draft variants, launch the send, and read open and click lift without leaving the chat. marginal is a hosted email MCP server built exactly for that loop.

What a subject line testing MCP does

The Model Context Protocol gives AI agents a structured way to call real tools. When you connect a subject line testing MCP, the agent stops guessing about which line performs best and starts running actual experiments against your list.

With marginal, the entire subject line A/B test runs through four tools the agent can call in sequence — no copy-pasting between an email platform and your editor.

Why run subject line A/B tests through MCP

Most subject line work dies in a spreadsheet. You write five ideas, pick a favorite, and never learn whether it actually moved opens. Routing the test through an MCP server closes that loop because the agent that wrote the variants also reads the results.

Connecting marginal to your AI agent

marginal is hosted, so there's no server to deploy and nothing to self-manage. You point a supported MCP client at the endpoint https://marginal.sh/mcp and authenticate with a Bearer API key that starts with marg_live_.

Compatible clients include Cursor, OpenAI Codex, Claude Desktop, Claude Code, Windsurf, Cline, Continue, and Zed — so AI agent email marketing fits into whatever editor or agent runtime you already use. See the docs at https://marginal.sh/docs/ for client-specific setup.

A typical testing workflow

Once connected, a single prompt can drive a complete subject line A/B test. The agent handles each step, and you stay in the loop to approve the send and interpret the lift.

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