What is a cold email MCP server? The cold-email MCP server for coding agents
A hosted, streamable-HTTP MCP server exposing 37 intent-level cold-email infrastructure tools, scoped by per-API key and live in production. This page documents the exact tool surface — verified against the live tools/list response, not aspirational.
What this MCP server does
Most cold-email MCP servers in the wild re-export a vendor's full API surface — a well-known example ships 100+ tools. This one is a curated, high-level facade: 37 intents that hide domain-registrar, mailbox-vendor, and sequencing-engine plumbing behind calls an agent can reason about in one context window. Content generation — the offer, the subject lines, the sequence body — stays your agent's job; this server owns infrastructure setup, sequencing, isolation, and compliance guardrails. Five of the 37 (get_dashboard, configure_dashboard, label_thread, list_campaigns, activity) are the same facade the optional human dashboard at /app uses — parity by design, never dashboard-only state. For how that tool count compares to larger vendor-wrapper MCP servers, see Smartlead vs Instantly MCP tool coverage.
How to add it
Streamable HTTP, JSON-RPC 2.0 (initialize, tools/list, tools/call), one config line with your API key (agents that support OAuth sign-in can use that instead). Get a token first via POST /signup (it stays the same when you go live) (see the setup guide), then add:
{
"mcpServers": {
"agent-cold-email": {
"url": "https://api.coldrig.dev/mcp",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}
The endpoint resolves your token fresh on every call — there is no session or cache that could leak another account's data. The same tool names and same per-account auth are also reachable as plain REST (see openapi.yaml) if your agent talks HTTP directly instead of MCP.
The 37 tools — exact schemas
Verified directly against the live tools/list response and openapi.yaml. Two additional helpers described in the design spec (write_sequence, suggest_domains) are not implemented — don't assume they exist.
setup_infrastructure
Buy branded lookalike domains, set up mailboxes, and start the warmup ramp. Domain purchase, DNS, setup, and warmup run before the response, not in the background — a provisioning field in the response names any work still owed; poll infrastructure_status or re-call this tool to progress it. Resend the same idempotencyKey (or omit it identically) to retry safely — the call converges onto what's already set up rather than buying again; a distinct idempotencyKey sets up additional infrastructure instead.
{
brand: string (1-200 chars),
primaryDomain: string (3-253 chars),
domains: integer (1 or more; at most 20 on an account that is not paying),
inboxesEach: integer (1-5),
persona: string (1-200 chars),
physicalAddress: string (1-500 chars), // CAN-SPAM footer address
senderIdentity: string (1-200 chars), // legal sender identity, captured at setup
quoteOnly?: boolean, // true previews the new count + price, sets nothing up
registerDomains?: boolean, // omit = leave prior consent unchanged; true = opt in (requires registrant); false = revoke
registrant?: { firstName, lastName, email, phone, addressLine1, city, state, country, postalCode, organization? }
}
// the first 7 fields are required; quoteOnly/registerDomains/registrant are optional
infrastructure_status
Setup + warmup progress, per-mailbox health, and send-readiness. No parameters.
launch_campaign
Create and activate a campaign against a lead list. The caller supplies the offer and sequence step content — this platform does not generate outreach copy.
{
name: string (1-200 chars),
offer: string (1-2000 chars),
leads: [ { email: string, firstName?: string (up to 200 chars; needed by every lead when a step uses {{firstName}}), company?: string, vars?: { [key: word]: string (one line) } } ], // 1-5000 items; a {{key}} in a subject/body needs that key, non-empty, in every lead's vars
sequence: [ { step: integer (>=1),
subject: string (1-300 chars; required on step 1 — a later step may omit it to stay in step 1's thread, resolving to "Re: " + step 1's subject),
body: string (1-20000 chars), delayDays: integer (0-60) } ], // 1-10 items
timezone: string, // default "UTC"
sendWindow: { startHour: integer (0-23), endHour: integer (0-23, inclusive), days?: integer[] (0=Sun..6=Sat) }, // default {startHour:8, endHour:16, days:[1,2,3,4,5]}
stopOnReply: boolean, // default true
signature?: { name: string (1-100 chars, one line), details?: string (1-160 chars, one line), website?: string (a static https address: no credentials, query string, fragment or placeholder; up to 512 chars), logoUrl?: string (a static https image address, same limits as website) }, // a business signature under each email, above the footer
previewOnly?: boolean, // true = dry run: checks run, the first three leads' rendered steps come back, nothing is created or sent
includeAlreadyEmailed?: boolean // true also emails people who already got this campaign's first email; default false, they are skipped and counted
}
By default ColdRig sends Monday–Friday, 8:00–17:00 UTC unless you set timezone; add 6 (Sat) and/or 0 (Sun) to sendWindow.days to send on weekends.
People who already got this campaign's first email from another campaign of this account are skipped and counted in alreadyEmailed. To include them, send includeAlreadyEmailed: true on the launch itself (previewOnly: true shows the count first), or after a launch add them to that same campaign with add_leads and includeAlreadyEmailed: true. Never launch the same list again to include them: that emails everyone who was not skipped a second time.
campaign_results
Sends, replies, bounces, and complaints for one campaign, plus unique contacts (contacts, contacted, replied), replyRate, positiveReplies, and a perStep split.
{ campaignId: string }
list_campaigns
List every campaign for the account with id, name, status, and event counts (sent/reply/bounce/...) — no per-campaign lookup needed. No parameters.
metrics
Account-wide outcome totals across all campaigns (sent, reply, bounce, complaint, unsubscribe, failed, soft_bounce, auto_reply). auto_reply counts automatic replies such as out-of-office, which are never counted as replies. No parameters. For warmup/deliverability health, use infrastructure_status.
activity
Unified, chronological activity feed merging campaign events (sent/reply/bounce/...) with deliverability control-loop actions (pause/throttle/...).
{
limit?: integer (1-200), // default 50
cursor?: string,
kind?: "event" | "deliverability" // omit for every kind
}
inbox
Unified reply inbox across all mailboxes for the account. No parameters.
thread
Full message history for one thread.
{ threadId: string }
reply
Send a reply on an existing thread.
{
threadId: string,
body: string (1-20000 chars),
signature?: { same fields as launch_campaign's signature }, // for this reply only
copyHuman?: boolean // true = the account's confirmed contact address goes on the reply as Cc; refused, nothing sent, if there is none usable
}
mark
Mark a thread read, unread, or archived.
{ threadId: string, status: "read" | "unread" | "archived" }
label_thread
Set (or, with label: null, clear) a triage label on an inbox thread — the same labels the dashboard UI shows as chips.
{ threadId: string, label?: string (1-100 chars) | null } // default null
pause
Pause one campaign.
{ campaignId: string }
pause_all
Pause every campaign for the account. No parameters.
account
Usage, billing state, quota, and what the AI deliverability control loop has done (paused/throttled mailboxes, burning domains, auto-replacements, recent actions). No parameters.
remove_mailboxes
Downgrade: release your N newest live mailboxes now and lower the billed quantity. acknowledged must be true — the release is immediate for setup, but there is no mid-cycle credit; the lower price takes effect at your next renewal (minimum 3 mailboxes / $49; an account already paying keeps its own minimum). To add mailboxes instead, use setup_infrastructure or configure_byo_domain's request_managed_mailboxes.
{
count: integer (1-60),
acknowledged: true
}
get_dashboard
List every saved dashboard view (id, name, isDefault, rev, editedBy) or, with id, fetch one view's full layout + rev. The agent-controlled counterpart to the optional human dashboard at /app.
{ id?: string (1-200 chars) } // omit to list every view
configure_dashboard
Create, update, promote-to-default, or delete a dashboard saved view. update requires the rev you last read; a stale rev returns a structured conflict (currentRev + currentLayout) so you can rebase and retry.
{
action: "create" | "update" | "promote" | "delete",
id?: string, // required for update/promote/delete
name?: string (1-200 chars), // required for create; optional rename on update
rev?: integer, // required for update (rev-CAS)
layout?: { schemaVersion: 1, widgets: [...] }, // required for create/update
note?: string (0-2000 chars)
}
get_webhooks
List every outbound webhook subscription, or, with id, fetch one subscription plus its recent delivery and attempt log. Secrets are never returned on reads — shown once at create/rotate.
{ id?: string (1-200 chars) } // omit to list every subscription
configure_webhook
Create, update, or delete an outbound webhook subscription — push reply, bounce, soft_bounce, complaint, and unsubscribe events (HMAC-SHA256 signed, header X-ColdRig-Signature) to your own HTTPS endpoint. URLs must be https and resolve to a public host.
{
action: "create" | "update" | "delete",
id?: string, // required for update/delete
url?: string, // required for create; optional on update
eventTypes?: ("reply" | "bounce" | "soft_bounce" | "complaint" | "unsubscribe")[], // required for create; 1-5 items
secret?: string (16-200 chars), // omit on create to auto-generate; set to rotate
active?: boolean // default true
}
get_connected_apps
List the apps connected to your account with "Sign in with ColdRig" (for example ChatGPT or Claude): id, name, redirectHost, and connectedAt. API keys are not listed. Read-only.
{ } // no input
disconnect_app
Disconnect one connected app. It is signed out on its next call and cannot refresh its access. Webhooks it created keep running until you delete them with configure_webhook.
{ id: string (1-64 chars) } // id from get_connected_apps
create_checkout_link
Get the hosted Stripe checkout link that starts the paid plan; the same as POST /checkout. The link opens Stripe's checkout page; your agent can pay it itself (with a browser tool and a Link agent wallet or a card) or pass it to whoever pays. Returns { mode, url, sessionId, forAgents }.
{
mailboxes: integer (3 or more), // seeds the first quote; the bill then tracks the live mailbox count
interval?: "month" // yearly billing is closed
}
cancel_subscription
Cancel the subscription; the same as POST /cancel. Without confirm: true nothing changes and the answer says what would happen. confirm is a switch the agent sets itself to say it means the cancel; the server does not ask a person.
{
immediate?: boolean, // default false: at the end of the billing period
keepDomains?: boolean, // keep the domains bought for you on an immediate cancel
confirm?: boolean // true to carry out the cancel
}
get_byo_domains
List your bring-your-own domains, or, with id, fetch one domain's full intake detail (pre-flight scan, abuse verdict, consent status). byoStatus progresses pending_kyc|pending_consent|pending_dns → active (or rejected/abandoned).
{ id?: string (1-200 chars) } // omit to list every domain
configure_byo_domain
Register or advance a BYO domain intake. Registration, the pre-flight scan, and consent tracking are live today; real DNS delegation and mailboxes ColdRig sets up on your own domain are self-serve and automatic once you've gone live, with mailbox send-authorization completing on our side.
{
action: "register" | "poll_dns" | "acknowledge_consent" | "request_managed_mailboxes" | "connect_mailbox",
domain?: string (3-253 chars), // required for register
domainRelationship?: "fresh_standalone" | "subdomain_of_primary" | "is_primary", // required for register
id?: string, // required for poll_dns/acknowledge_consent/request_managed_mailboxes/connect_mailbox
acknowledged?: true, // required (must be true) for acknowledge_consent
count?: integer (1-5), // required for request_managed_mailboxes
personaSlug?: string (1-50 chars), // optional for request_managed_mailboxes
email?: string, // required for connect_mailbox
transport?: { kind: "smtp", host, port, secure, user, pass }
| { kind: "gmail_api", clientId, clientSecret, refreshToken }
| { kind: "ms_graph", mode: "delegated" | "app_only", tenantId, clientId, clientSecret, refreshToken? }
// required for connect_mailbox — declares a mailbox connection YOU already hold; not this platform's own send transport
quoteOnly?: boolean, // optional for request_managed_mailboxes/connect_mailbox: preview the new count and monthly price, change nothing
}
A mailbox you connect yourself is billed at your plan's mailbox price; the preview (quoteOnly) shows it. A burned BYO domain hard-pauses rather than auto-replacing (unlike a burned lookalike domain) — see the BYO domain page for the full risk model.
suppress_lead
Permanently suppress an email address account-wide — every current and future campaign — the manual/free-text "stop emailing me" path for opt-outs the strict typed-unsubscribe matcher misses. Cancels every pending send and marks every campaign-lead row for this email suppressed. There is no un-suppress tool.
{
email: string (email),
reason?: "manual", // the only value this tool claims — bounce/complaint/unsubscribe are recorded automatically elsewhere
note?: string (0-2000 chars) // accepted for schema symmetry, not persisted
}
update_lead
Record what you learned about a contact — their reply, your triage — as a durable, contact-level disposition keyed by email, visible across every campaign that lists them. A partial patch: only the fields you pass are changed.
{
email: string (email),
interestStatus?: "none" | "interested" | "meeting_booked" | "referral" | "not_now" | "question" | "wrong_person" | "not_interested" | "objection" | "bad_fit" | "hostile" | "out_of_office",
objection?: "has_solution" | "no_budget" | "no_need" | "timing" | "trust", // only with interestStatus objection
until?: "YYYY-MM-DD", // only with not_now or out_of_office: the follow-up or return date
notes?: string (0-5000 chars),
tags?: string[] (0-50 items, each 1-100 chars)
}
// at least one of interestStatus, notes, tags is required
// interestStatus also labels the person's latest reply for experiments: interested, meeting_booked and referral are positive replies. Label every reply.
list_leads
List/export leads with their contact-level disposition, cursor-paginated. This is the export surface — paginate to dump the full book of business as JSON (no separate CSV endpoint).
{
campaign?: string (1-200 chars),
interestStatus?: "none" | "interested" | "meeting_booked" | "referral" | "not_now" | "question" | "wrong_person" | "not_interested" | "objection" | "bad_fit" | "hostile" | "out_of_office",
suppressed?: boolean,
replied?: boolean,
includeEvents?: boolean,
cursor?: string (1-500 chars),
limit?: integer (1-200) // default 50
}
Returns { leads[], nextCursor }; each row: leadId, email, firstName, company, campaignId, campaignName, globalStatus, interestStatus, notes, tags, suppressed, lastEventType, lastEventTs, createdAt. With includeEvents: true each row also carries events[]: everything recorded for that lead, oldest first, each { type, step, ts }, so one pass over a campaign's pages is its per-recipient sending record.
list_messages
List this account's system and ColdRig-team messages (a retryable setup step, a credential going live, a note from ColdRig's team), cursor-paginated. Unacked messages sort first (newest first within that group), then acked ones (also newest first). infrastructure_status also inlines the newest 5 unacked messages for a quick glance — this is the full paginated surface.
{
cursor?: string (1-500 chars),
limit?: integer (1-200) // default 50
}
Returns { messages[], nextCursor }; each message: id, kind, severity, body, actionHint, source (system|operator), createdAt, readAt (null until acked).
ack_message
Acknowledge a message by id (from list_messages or infrastructure_status's messages[]) — sets it read so it stops surfacing as unacked. Idempotent: acking an already-acked id returns success with no second effect, never an error. 404 if the id doesn't exist for this account.
{ messageId: string }
contact_operator
Reach ColdRig support — files a support ticket and notifies ColdRig support. Works in every account state an API key still authenticates in, including dunning-suspended, canceling and canceled (an admin-terminated abuse account is the one exception — its token 401s at auth). The reply arrives as a message on this account (list_messages / infrastructure_status's messages[] — there is no separate reply-fetch call). Retrying with the identical body and urgency within an hour is safe: same ticketId, no second alert — re-sending the same text at a higher urgency is an escalation and files a new ticket. needs_human also bypasses the ~10-minute alert throttle. Rate-limited to 5 calls/hour per account.
{
body: string (1-2000 chars),
urgency?: "normal" | "needs_human" // default "normal"
}
Returns { ticketId, note }.
submit_feedback
Send private feedback to the ColdRig founders about how the product is working for you. It is stored privately and emailed to the founders, never published; it opens no support ticket and changes nothing on your account (use contact_operator for a problem that needs an answer). Each call is a separate submission.
{
score?: integer (0-10),
text?: string (1-2000 chars) // at least one of score / text is required
}
Returns { feedbackId, received }.
add_leads
Add contacts to a campaign that is already running (active or paused). Each new contact starts at step 1 on the campaign's own schedule, under every launch rule. An address already in the campaign, a suppressed address, an address repeated in the request, and a person who already got this email are skipped and counted, never an error.
{
campaignId: string,
leads: [ { email: string, firstName?: string, company?: string, vars?: { [key: word]: string } } ], // 1-5000 items; 5000 per campaign in total
listSource?: string, // required on a crowdfunding account
includeAlreadyEmailed?: boolean // true also adds people who already got this campaign's first email from another campaign
}
People who already got this campaign's first email from another campaign of this account are skipped and counted in alreadyEmailed. To include them, send includeAlreadyEmailed: true on the launch itself (previewOnly: true shows the count first), or after a launch add them to that same campaign with add_leads and includeAlreadyEmailed: true. Never launch the same list again to include them: that emails everyone who was not skipped a second time.
Returns { campaignId, added, suppressed, alreadyInCampaign, alreadyEmailed, duplicatesRemoved, contacts, sendingOnHold }. sendingOnHold appears only while a paid account's payment is past due: the contacts are saved and sending waits (paying the invoice ends that hold by itself; every other reason a send can wait still applies).
resume
Resume one paused campaign. On a paid account, resuming sends nothing by itself: the held steps continue through the normal schedule, one step at a time per lead, and leads stopped on their own (unsubscribed, bounced, suppressed, stopped with pause leadEmails, or replied on a campaign that stops on reply, the default) stay stopped. Refused if the campaign is not paused, is past its end date, or is a trial campaign on an account that has gone live.
{
campaignId: string,
signature?: { same fields as launch_campaign's signature } | null // a new signature for every email the campaign still sends; null removes it; omit it to keep the current one
}
Returns { resumed: true, sendingOnHold }. sendingOnHold appears only while a paid account's payment is past due: the campaign is resumed and sending waits (paying the invoice ends that hold by itself; every other reason a send can wait still applies).
plan_campaign
Plan a dated outreach campaign (for example a fundraising drive) and get its price. Read-only: nothing is booked, charged or changed. safeReach is how many contacts the warm-up ramp can safely reach if you book on bookingDate; the price is for that many. A bookingDate after the last campaign day is refused 400. Campaign checkout and booking are not available: to book, contact support (contact_operator).
{
contacts: integer (>= 1),
campaignStart: "YYYY-MM-DD", // first campaign day, UTC
campaignDays: integer (1-366),
bookingDate: "YYYY-MM-DD", // the day you would book, normally today
domainsAlreadyHeld?: integer, // default 0
listIsOwnOptIn?: boolean // default false
}
Returns { mailboxes, domainsToBuy, bookBy, advanceStartOn, safeReach, priceCents, warnings[] }. Warnings: late_booking, own_list_cheaper_on_esp.
experiment
A/B test one part of a campaign's email at a time, judged on positive replies (opens never count). One flat object; action picks what the rest must hold. Create right after launch_campaign: one live test per campaign, and the control a is the campaign's current copy.
{
action: "create" | "results" | "retire" | "conclude" | "breakdown" | "patterns" | "sharing",
campaignId?: string, // create, results, breakdown
experimentId?: string, // retire, conclude; breakdown (optional)
// create:
element?: "subject" | "first_line" | "body" | "cta" | "ps" | "sender_name",
hypothesis?: string, // written before anything sends
variants?: { text: string, labels?: object }[], // the challengers
controlLabels?: object, step?: integer, anchor?: string (cta only), maxVersions?: integer, minShare?: number,
// retire: variant; conclude: winner (a version label such as "b")
variant?: string, winner?: string,
// breakdown: by (a recorded fact, e.g. "audience.seniority"), step?
by?: string,
// patterns: element? (as above); sharing: share? (omit to read, false to stop sharing)
share?: boolean
}
results returns every version's text, counts, rate, chance to beat the control and safety warnings, plus a verdict: not_enough_data, winner, no_clear_winner or no_difference. conclude sends new contacts to the winner and never edits the campaign's own text. breakdown is exploratory: use it to choose the next hypothesis, never to pick a winner. patterns shows what tends to earn replies across the tests customers share (copy facts only, never text or contacts). Positive counts stay zero unless every reply is labelled with update_lead.
The no-signup CLI demo
npx agent-cold-email demo mints a demo account, sets up sample infrastructure, and runs the accelerated test-mode pipeline end to end (warmup, sends, replies, bounces, stop-on-reply) in one command — no signup or token-wrangling required. The npm CLI is live. The same 37 tools are available over the hosted MCP endpoint or directly over HTTP (quickstart). The demo path stays in test mode; real sending is live in production, and going live is self-serve — call POST /checkout, pay, and mailbox send-authorization completes on our side.
Auth model
One API key per account, minted by the unauthenticated POST /signup bootstrap call. Every other tool call requires it as Authorization: Bearer <token> (or the same key in an X-API-Key header), or an OAuth sign-in from an app that supports it, such as ChatGPT's custom connector; either way the call resolves server-side to exactly one account's separate state. The one exception is the crowdfunding shared bounce list, which holds only hashed addresses that hard-bounced or complained, with no customer identity attached.
Related
- Run your entire cold email operation with Claude Code — the flagship end-to-end lifecycle guide, plus a reusable Claude Code Skill.
- Run your entire cold email operation with Cursor — exact mcp.json config and Cursor Rules.
- Run your entire cold email operation with Codex — exact config.toml and native AGENTS.md context.
- How to run cold email with your AI coding agent — the full step-by-step walkthrough.
- 37 intent-level tools vs larger vendor MCP surfaces — lifecycle coverage and control tradeoffs.
- Smartlead vs Instantly vs agent-cold-email.
- Docs — quickstart, CLI usage, auth model.
- openapi.yaml — the same 37 intents as REST.
- MCP server card — machine-readable transport + tool list for registry scans.