Mailcoach MCP by usefulapi
v1.2.1Read lists, subscribers, campaigns and sends; draft campaigns and send mail in Mailcoach.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mailcoach_get_user Get the token owner
Return the id and email of the user that owns this API token. Good first call to check the connection. Mailcoach API: GET /api/user.
mailcoach_list_email_lists List email lists
List the email lists (audiences) in the team, with their names and ids. Mailcoach API: GET /api/email-lists.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
mailcoach_get_email_list Get an email list
Get one email list by UUID, including its name and settings. Mailcoach API: GET /api/email-lists/{uuid}.
| Parameter | Type | Description |
|---|---|---|
list_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_list_subscribers List subscribers
List the subscribers of one email list, with their status and tags. Mailcoach API: GET /api/email-lists/{uuid}/subscribers.
| Parameter | Type | Description |
|---|---|---|
list_uuid * | string | UUID of the resource (from the matching list tool). |
page | integer | Page number (default 1). |
mailcoach_get_subscriber Get a subscriber
Get one subscriber by UUID, including status, tags and custom fields. Mailcoach API: GET /api/subscribers/{uuid}.
| Parameter | Type | Description |
|---|---|---|
subscriber_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_list_tags List tags of a list
List the tags used on one email list. Mailcoach API: GET /api/email-lists/{uuid}/tags.
| Parameter | Type | Description |
|---|---|---|
list_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_list_segments List segments of a list
List the tag-based segments of one email list. Mailcoach API: GET /api/email-lists/{uuid}/segments.
| Parameter | Type | Description |
|---|---|---|
list_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_list_campaigns List campaigns
List the email campaigns in the team (drafts, scheduled and sent), with status and subject. Mailcoach API: GET /api/campaigns.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
mailcoach_get_campaign Get a campaign
Get one campaign by UUID, including its subject, status, schedule and statistics. Mailcoach API: GET /api/campaigns/{uuid}.
| Parameter | Type | Description |
|---|---|---|
campaign_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_get_campaign_activity Get campaign activity
List the opens, clicks, bounces or unsubscribes of one sent campaign. Mailcoach API: GET /api/campaigns/{uuid}/{kind}.
| Parameter | Type | Description |
|---|---|---|
campaign_uuid * | string | UUID of the resource (from the matching list tool). |
kind * | string | Which activity to list. |
page | integer | Page number (default 1). |
mailcoach_list_templates List templates
List the saved campaign and email templates (layouts). Mailcoach API: GET /api/templates.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
mailcoach_list_transactional_templates List transactional templates
List the saved transactional email templates, by name and UUID. Mailcoach API: GET /api/transactional-mails/templates.
mailcoach_list_sends List sends
List individual email sends (one row per recipient and mail), optionally for one subscriber. Mailcoach API: GET /api/sends.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
subscriber_uuid | string | Only sends to this subscriber UUID. |
mailcoach_get_send Get a send
Get one send by UUID: recipient, mail, status and timestamps. Mailcoach API: GET /api/sends/{uuid}.
| Parameter | Type | Description |
|---|---|---|
send_uuid * | string | UUID of the resource (from the matching list tool). |
mailcoach_create_campaign Create a campaign draft
Create a campaign DRAFT for one email list. It is not sent. Mailcoach API: POST /api/campaigns (fields: name, email_list_uuid, subject, html or template_uuid).
| Parameter | Type | Description |
|---|---|---|
email_list_uuid * | string | UUID of the resource (from the matching list tool). |
name * | string | Internal campaign name. |
html | string | Rendered HTML body (when not using a template). |
segment_uuid | string | UUID of a tag-based segment to limit the audience. |
subject | string | Subject line (falls back to name when omitted). |
template_uuid | string | UUID of a saved template. |
mailcoach_update_campaign Update a campaign draft
Change fields of a campaign that is still a draft (name, subject, html). Mailcoach API: PUT /api/campaigns/{uuid}.
| Parameter | Type | Description |
|---|---|---|
campaign_uuid * | string | UUID of the resource (from the matching list tool). |
html | string | New rendered HTML body. |
name | string | New internal name. |
subject | string | New subject line. |
mailcoach_send_campaign_test Send a campaign test
Send a test copy of a campaign to the given addresses only. Not a send to the audience. Mailcoach API: POST /api/campaigns/{uuid}/send-test.
| Parameter | Type | Description |
|---|---|---|
campaign_uuid * | string | UUID of the resource (from the matching list tool). |
emails * | array | Addresses that receive the test copy. |
mailcoach_add_subscriber Add or update a subscriber
Add one subscriber to an email list, or update the existing one. Supplied tags REPLACE the subscriber's tags. Double opt-in lists send a confirmation mail. Mailcoach API: POST /api/email-lists/{uuid}/subscribers.
| Parameter | Type | Description |
|---|---|---|
email * | string | Subscriber email address. |
list_uuid * | string | UUID of the resource (from the matching list tool). |
first_name | string | |
last_name | string | |
skip_confirmation | boolean | Only true when you already have the subscriber's consent. |
tags | array | Tags for this subscriber (replaces existing tags). |
mailcoach_update_subscriber Update a subscriber
Change the name or email of one subscriber by UUID. Mailcoach API: PATCH /api/subscribers/{uuid}.
| Parameter | Type | Description |
|---|---|---|
subscriber_uuid * | string | UUID of the resource (from the matching list tool). |
email | string | Subscriber email address. |
first_name | string | |
last_name | string |
mailcoach_send_transactional_email Send a transactional email
Send one transactional email to one recipient, with inline HTML or a saved template. Set fake=true to log it without sending. Mailcoach API: POST /api/transactional-mails/send.
| Parameter | Type | Description |
|---|---|---|
from * | string | Sender, e.g. "Your app <hello@example.com>". |
to * | string | Subscriber email address. |
fake | boolean | true logs the email without sending it to the recipient. |
html | string | HTML body (inline content). |
mail_name | string | Name or UUID of a saved transactional template. |
replacements | object | Values for template placeholders, e.g. first_name. |
subject | string | Subject (required with inline content). |
text | string | Plain-text body (inline content). |