← All guides marginal.sh

Windsurf MCP email server: run subject line tests from your editor

Updated June 2026 · Hosted email MCP server

marginal is a hosted email marketing MCP server you can wire into Windsurf in minutes. Once connected, your agent can generate subject line variants, launch experiments, and read lift metrics without leaving the editor.

What the Windsurf MCP email server does

Windsurf speaks the Model Context Protocol, so it can call external tools through a registered MCP server. marginal exposes an email MCP server at https://marginal.sh/mcp that turns email experimentation into a set of agent-callable actions.

Instead of hand-coding send logic or juggling dashboards, you describe what you want in Windsurf and the agent drives the workflow through four focused tools.

Why pair Windsurf with marginal

AI agent email marketing only works when the agent can both write copy and measure how it performs. marginal closes that loop: variants generated in one step are tested and scored by the same server, so Windsurf can reason over real engagement data.

Because marginal is fully hosted, there is no self-hosted MCP server to deploy or maintain. You authenticate with a Bearer API key (marg_live_...) and start running experiments immediately.

A typical workflow in Windsurf

Once the marginal MCP server is registered in Windsurf, a single prompt can move from idea to measurable result. The agent chains the tools so you stay in flow.

Getting set up

Add marginal as an MCP server in Windsurf using the endpoint https://marginal.sh/mcp and your API key. The registry identifier is sh.marginal/mcp.

Full configuration steps and tool references live in the docs at https://marginal.sh/docs/, so you can confirm the exact JSON your Windsurf version expects.

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