← All guides marginal.sh

Email MCP Server for Cline

Updated June 2026 · Hosted email MCP server

Wire marginal into Cline and let your agent generate subject line variants, launch A/B tests, and read lift metrics — all without leaving your editor.

Why run marginal as an email MCP server in Cline

Cline is an autonomous coding agent that lives in your editor and acts through MCP tools. By adding marginal as an email MCP server for Cline, you give that agent direct access to email experimentation — generating variants, launching managed sends, and pulling results into the same workflow where you write code.

Because marginal is hosted, there's no self-hosted MCP server to run or maintain. You point Cline at the marginal endpoint with a Bearer API key, and the four MCP tools become available to your agent immediately.

Configure the Cline MCP connection

Add marginal to your Cline MCP settings using the JSON config below. Replace the placeholder with your own key from the marginal dashboard. Once saved, Cline lists marginal's tools and your agent can call them when a task involves email.

Tools your agent gets after the email MCP integration

Once the Cline MCP connection is live, your agent can chain marginal's tools to design and ship a subject line A/B test end to end. A typical flow: generate variants, launch the test on a managed send, then read open and click tracking with within-test lift metrics.

A practical Cline workflow

Ask Cline to draft and launch a subject line A/B test for an upcoming campaign. The agent calls generate_variants to produce candidates, launch_test to send them, and later get_results to surface the winner by lift. This makes email MCP integration a natural part of your release routine rather than a separate dashboard task.

See the marginal docs at https://marginal.sh/docs/ for tool schemas and example prompts, and the endpoint reference at https://marginal.sh/mcp.

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