Mailcoach MCP by usefulapi

v1.2.1
io.usefulapi/mailcoach Checked 3 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
pageintegerPage 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}.

ParameterTypeDescription
list_uuid *stringUUID 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.

ParameterTypeDescription
list_uuid *stringUUID of the resource (from the matching list tool).
pageintegerPage 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}.

ParameterTypeDescription
subscriber_uuid *stringUUID 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.

ParameterTypeDescription
list_uuid *stringUUID 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.

ParameterTypeDescription
list_uuid *stringUUID 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.

ParameterTypeDescription
pageintegerPage 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}.

ParameterTypeDescription
campaign_uuid *stringUUID 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}.

ParameterTypeDescription
campaign_uuid *stringUUID of the resource (from the matching list tool).
kind *stringWhich activity to list.
pageintegerPage number (default 1).

mailcoach_list_templates List templates

List the saved campaign and email templates (layouts). Mailcoach API: GET /api/templates.

ParameterTypeDescription
pageintegerPage 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.

ParameterTypeDescription
pageintegerPage number (default 1).
subscriber_uuidstringOnly 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}.

ParameterTypeDescription
send_uuid *stringUUID 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).

ParameterTypeDescription
email_list_uuid *stringUUID of the resource (from the matching list tool).
name *stringInternal campaign name.
htmlstringRendered HTML body (when not using a template).
segment_uuidstringUUID of a tag-based segment to limit the audience.
subjectstringSubject line (falls back to name when omitted).
template_uuidstringUUID 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}.

ParameterTypeDescription
campaign_uuid *stringUUID of the resource (from the matching list tool).
htmlstringNew rendered HTML body.
namestringNew internal name.
subjectstringNew 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.

ParameterTypeDescription
campaign_uuid *stringUUID of the resource (from the matching list tool).
emails *arrayAddresses 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.

ParameterTypeDescription
email *stringSubscriber email address.
list_uuid *stringUUID of the resource (from the matching list tool).
first_namestring
last_namestring
skip_confirmationbooleanOnly true when you already have the subscriber's consent.
tagsarrayTags 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}.

ParameterTypeDescription
subscriber_uuid *stringUUID of the resource (from the matching list tool).
emailstringSubscriber email address.
first_namestring
last_namestring

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.

ParameterTypeDescription
from *stringSender, e.g. "Your app <hello@example.com>".
to *stringSubscriber email address.
fakebooleantrue logs the email without sending it to the recipient.
htmlstringHTML body (inline content).
mail_namestringName or UUID of a saved transactional template.
replacementsobjectValues for template placeholders, e.g. first_name.
subjectstringSubject (required with inline content).
textstringPlain-text body (inline content).