← All guides marginal.sh

Model Context Protocol Marketing Automation

Updated June 2026 · Hosted email MCP server

The Model Context Protocol gives AI agents a structured way to call external tools. marginal applies that to email: a hosted MCP server where your agent generates variants, launches tests, and reads results without leaving the conversation.

What Model Context Protocol marketing automation looks like

Traditional marketing automation lives in a dashboard. You log in, draft variants, set up an experiment, wait, then come back to read the numbers. Model Context Protocol marketing automation collapses that loop. Your agent speaks MCP, marginal exposes email tools over MCP, and the whole workflow happens through tool calls.

Because the protocol is standardized, the same marginal endpoint works across agents and IDEs. You describe the campaign in plain language; the agent picks the right tool and fills in the arguments.

Running a subject line A/B test from your agent

A subject line A/B test is the most common automation people reach for, and it maps cleanly to marginal's tools. Ask your agent for several subject variants, launch the test as a managed send, and let marginal handle the split and tracking.

Open and click tracking is built in, and lift is reported within the test itself, so you compare variants against each other rather than against stale historical baselines.

Why a hosted email MCP server fits AI agent email marketing

marginal is a hosted email MCP server, so there is nothing to deploy or self-host. You point your client at https://marginal.sh/mcp, authenticate with a Bearer API key, and your agent can start running experiments.

For AI agent email marketing this matters: the agent gets a stable, always-on endpoint instead of brittle local tooling. The free tier covers 100 experiments per month, which is plenty for testing the workflow and shipping early campaigns.

Getting started

Connect marginal to the agent or IDE you already use, then run a first subject line A/B test to see the loop end to end. The docs at https://marginal.sh/docs/ walk through each tool and the arguments it accepts.

From there, automation is mostly prompting: describe the audience and goal, and let your agent string generate_variants, launch_test, get_results, and recommend_next together into a repeatable optimization cycle.

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