← All guides marginal.sh

MCP Email Integration: Wire Your Agent to Email Marketing

Updated June 2026 · Hosted email MCP server

If you've been searching for a clean MCP email integration, marginal is a hosted email MCP server that lets AI agents draft subject lines, launch tests, and report on lift — all through a handful of well-defined tools.

What MCP email integration actually means

The Model Context Protocol gives AI agents a structured way to call external tools. An MCP email integration is simply the bridge between your agent and your email sending and testing workflow, exposed as callable tools rather than ad-hoc HTTP requests.

marginal handles the email side of that bridge. Instead of stitching together raw send APIs, your agent talks to a single endpoint at https://marginal.sh/mcp and gets back the email marketing capabilities it needs.

Why use a hosted email MCP server

marginal is fully hosted, so there's nothing to deploy or maintain. You don't run your own email MCP server, and you don't need to wire up separate provider credentials to start testing — managed sends and tracking are part of the service.

Authentication is a single Bearer API key in the form marg_live_..., and the registry name sh.marginal/mcp keeps configuration consistent across clients.

A subject line A/B test driven by your agent

The most common reason teams reach for AI agent email marketing is faster subject line iteration. With marginal, the agent can generate a set of variants, launch a subject line A/B test, wait for engagement to accumulate, and then read lift metrics to decide what wins.

Because each step is a discrete tool call, the agent's reasoning stays transparent: you can see which variants it proposed, which test it launched, and what the results said before it recommends the next move.

Works with the agent tools you already use

marginal's MCP email integration plugs into the major MCP-capable clients, so you can keep your existing workflow. Whether you live in an editor or a desktop assistant, the same endpoint and tools are available.

Supported clients include Cursor, OpenAI Codex, Claude Desktop, Claude Code, Windsurf, Cline, Continue, and Zed. Full setup and tool references 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