← All guides marginal.sh

Marketing Automation MCP Integration with marginal

Updated June 2026 · Hosted email MCP server

A marketing automation MCP integration lets your AI agent generate, launch, and measure email campaigns without leaving its tool loop. marginal is a hosted email MCP server that exposes subject line testing and managed sends as native MCP tools.

What a marketing automation MCP integration covers

Traditional automation means stitching together templates, schedulers, and reporting dashboards by hand. With marginal's email MCP server, those steps become tool calls an agent can chain on its own — generate copy, ship a test, read back the winner.

Why pair AI agents with email marketing

AI agent email marketing works best when the agent owns the full feedback loop. Instead of asking a human to copy a subject line into a separate platform, the agent calls marginal at https://marginal.sh/mcp, launches the test, and waits for measurable results before deciding what to do next.

Because marginal is fully hosted, there's no self-hosted server to operate and no Mailchimp or Klaviyo API keys to wire up first. You authenticate with a single Bearer API key (marg_live_...) and the integration is live.

Running a subject line A/B test through MCP

A typical agent workflow starts with a campaign goal and ends with a recommendation. The agent generates variants, launches a test against your list, and lets marginal handle the managed send plus open/click tracking.

Supported clients and getting started

marginal connects to MCP-capable clients including Cursor, OpenAI Codex, Claude Desktop, Claude Code, Windsurf, Cline, Continue, and Zed. Add the endpoint, drop in your API key, and your agent gains email testing tools immediately.

The free tier includes 100 experiments per month, which is plenty for validating a marketing automation MCP integration before scaling up. Full setup instructions live in the docs at 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.

Documentation · Sign up · FAQ