Skip to content

Mailivate

How-to guide

How to send email with MCP

Use Claude, Cursor, or another MCP client to manage Mailivate lists and send mail. Follow this loop: connect → check blockers → draft → test → confirm live send.

Before you start

What you’ll need

Sending through an agent is only useful if the ESP underneath is ready: an account on a plan or trial, a permissioned list, and (for brand sends) a verified domain. Mailivate’s email MCP server is the remote endpoint your client will call.

Keep the MCP connector setup open while you paste the server URL and Bearer token into Claude, Cursor, or your host config.

When you are ready to stay after the trial, compare Startup and Growth plans — MCP stays included either way.

Mailivate campaign workspace used alongside MCP sends
Step-by-step

From connect to live send

Do these in order. A test send before a live audience send saves headaches.

Step 1

Sign up and copy your MCP token

Create a Mailivate account. Signup mints an MCP token (shown once and emailed separately without the secret in the setup tips). You can also mint or rotate tokens later in Settings → MCP.

Step 2

Add the remote server to your client

Point Claude, Cursor, or your MCP host at https://mailivate.com/mcp with Authorization: Bearer YOUR_MCP_TOKEN. Browser session cookies are not accepted — Bearer PAT only.

Step 3

Call account_status first

Ask the agent to run account_status. Fix any approval, quota, or ability blockers before drafting a send so you do not hit a surprise deny at launch time.

Step 4

Build audience (list + subscribers or CSV import)

Use lists_create / subscribers_upsert, or imports_create → imports_append → imports_start with a CSV that has an email header. Contact limits still apply on every write.

Step 5

Create the campaign or transactional message

For broadcasts: campaigns_create, then campaigns_update_content. For one-to-one app mail: prepare transactional_send. Prefer campaigns_send_test before any live audience send.

Step 6

Go live only with confirm: true

Live campaigns_send and transactional_send require confirm: true. That flag is necessary but not sufficient — subscription/trial, approval, quota, and From allow-lists still gate delivery.

Example prompts

What to ask your agent

Check readiness

“Call account_status on Mailivate and tell me if approval, quota, or abilities would block a campaign send.”

Test first

“Create a draft campaign for the Main list, then campaigns_send_test to my address only.”

Transactional

“Send a transactional email to jane@example.com with subject Welcome — wait for my confirm before calling transactional_send.”

Client config

Remote MCP snippet

HTTPS POST only. Replace the token; never commit it.

{
  "mcpServers": {
    "mailivate": {
      "url": "https://mailivate.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_MCP_TOKEN"
      }
    }
  }
}
FAQ

Common questions

Do I need to write API code to send with MCP?

No. Once the server is connected, you ask in natural language and the client calls Mailivate tools. The REST API remains available for traditional integrations.

Why did my agent’s send fail?

Common causes: missing confirm: true, account not approved to send, over quota, wrong ability on the token, or a From address that is not allowed. Start with account_status and a test send.

Can agents authenticate sending domains?

Org admins with domain abilities can use domains_add, publish DNS, and domains_check. Domain tools stay admin-scoped so members cannot escalate via the agent.

Send your first MCP test today

Trial includes room to connect an agent, import a small list, and validate a test send before you pay.

Sign up free