Buttondown MCP by usefulapi
v1.29.0Read Buttondown subscribers, emails, analytics and automations; add subscribers; write email drafts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
buttondown_get_account Get account
The Buttondown account this API key belongs to: username and e-mail address. GET /accounts/me.
buttondown_list_newsletters List newsletters
List the newsletters on the account with name, username, domains, sender, locale and timezone. The newsletter's API key, custom CSS and e-mail templates are never returned. GET /newsletters.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_get_newsletter Get newsletter
One newsletter by id (settings and identity only; no API key, CSS or templates). GET /newsletters/{id}.
| Parameter | Type | Description |
|---|---|---|
newsletter_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
buttondown_list_subscribers List subscribers
List or search subscribers (newest first by default) with e-mail, type (regular, unactivated, unsubscribed, premium, ...), tags, notes, metadata, source, open/click rates and dates. Filter by e-mail text, type, tag, signup date or domain. GET /subscribers.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only subscribers created on or after this date (yyyy-mm-dd). |
created_before | string | Only subscribers created before this date (yyyy-mm-dd). |
domain | array | Only subscribers whose e-mail domain is one of these. |
email_address | string | Only subscribers whose e-mail address contains this text. |
not_type | array | Exclude subscribers of these types. |
ordering | string | Sort field, - for descending (default -creation_date). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
tag | array | Only subscribers with these tag names. |
type | array | Only subscribers of these types (e.g. regular, unactivated, unsubscribed). |
buttondown_get_subscriber Get subscriber
One subscriber by id or by e-mail address: type, tags, notes, metadata, source, engagement and lifecycle dates. GET /subscribers/{id_or_email}.
| Parameter | Type | Description |
|---|---|---|
id_or_email * | string | The subscriber's id or e-mail address. |
buttondown_add_subscriber Add a subscriber
WRITE: add ONE subscriber by e-mail address. No subscriber type is set, so Buttondown applies the newsletter's normal sign-up rules (double opt-in: the subscriber is typically created as unactivated and Buttondown e-mails THAT ONE address a confirmation message; opt-in is never bypassed, nor is the firewall). Only add people who asked to subscribe. Creating a subscriber (and its tags) can also start the newsletter's own automations, which may e-mail that one subscriber. An existing e-mail is left untouched (error, no overwrite). Optional tags (a tag that does not exist is created, which needs…
| Parameter | Type | Description |
|---|---|---|
email_address * | string | The new subscriber's e-mail address. They receive the confirmation e-mail. |
metadata | object | Free-form key-value data stored on the subscriber. |
notes | string | Private note (never shown to the subscriber). |
referrer_url | string | Where the subscriber came from. |
tags | array | Tag names to apply. |
utm_campaign | string | |
utm_medium | string | |
utm_source | string |
buttondown_update_subscriber Update a subscriber's tags, notes or metadata
WRITE: change ONE subscriber's tags, private note or metadata. Tags are merged (add_tags / remove_tags change only those names; the others stay). A given note or metadata replaces the existing value (destructive for that field). The subscriber's type (unsubscribe, block, ...) and e-mail address cannot be changed here, and this tool sends nothing itself; but a tag, note or metadata change can start the newsletter's own automations (for example a tag-triggered welcome sequence), which may e-mail that one subscriber. PATCH /subscribers/{id_or_email}.
| Parameter | Type | Description |
|---|---|---|
id_or_email * | string | The subscriber's id or e-mail address. |
add_tags | array | Tag names to add. |
metadata | object | Replace the subscriber's metadata object with this one. |
notes | string | Replace the private note with this text (empty string clears it). |
remove_tags | array | Tag names to remove. |
buttondown_list_emails List emails
List emails (drafts, scheduled and sent), newest first by default, with subject, status, publish date, slug, archive URL and analytics summary. The body is left out unless include_body is set. Filter by status, subject text or date. GET /emails.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only emails created on or after this date (yyyy-mm-dd). |
created_before | string | Only emails created before this date (yyyy-mm-dd). |
include_body | boolean | Include each email's full body (large). Default false. |
ordering | string | Sort order (default -creation_date). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
published_after | string | Only emails published on or after this date (yyyy-mm-dd). |
published_before | string | Only emails published before this date (yyyy-mm-dd). |
status | array | Only emails with these statuses (draft, scheduled, sent, ...). |
subject | string | Only emails whose subject contains this text. |
buttondown_get_email Get email
One email by id with its full body, subject, status, publish date, slug, archive settings and analytics summary. GET /emails/{id}.
| Parameter | Type | Description |
|---|---|---|
email_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
buttondown_get_email_analytics Get email analytics
Delivery and engagement numbers for one sent email: recipients, deliveries, opens, clicks, failures, unsubscriptions, complaints, replies, page views. GET /emails/{id}/analytics.
| Parameter | Type | Description |
|---|---|---|
email_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
buttondown_create_email_draft Create an email draft
WRITE: create a DRAFT email (status always "draft"). Nothing is sent or scheduled and no subscriber is e-mailed; to send it, the user must open the draft in Buttondown and send it there. This server has no tool that sends or schedules email. Body is Markdown or HTML. POST /emails.
| Parameter | Type | Description |
|---|---|---|
subject * | string | Subject line. |
body | string | Email body in Markdown (or HTML). |
canonical_url | string | URL of the original source of the content. |
description | string | Short description used for archives and SEO. |
image | string | Preview image URL. |
slug | string | Archive URL slug. |
buttondown_update_email_draft Edit an email draft
WRITE: edit the subject, body, description, slug or preview image of an email that is still a DRAFT (replaces those fields; the previous text is lost unless Buttondown's email history is used). Refuses any email that is not a draft, and never changes status or publish date, so nothing is sent or scheduled. PATCH /emails/{id}.
| Parameter | Type | Description |
|---|---|---|
email_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
body | string | New body in Markdown (or HTML); replaces the whole body. |
canonical_url | string | |
description | string | |
image | string | |
slug | string | |
subject | string |
buttondown_list_tags List tags
List subscriber tags with name, color, descriptions and whether subscribers can edit them. GET /tags.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_get_tag_analytics Get tag analytics
Subscribers created, open rate and click rate for one tag. GET /tags/{id}/analytics.
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag id (see buttondown_list_tags). |
buttondown_create_tag Create a tag
WRITE: create a subscriber tag (needs a Buttondown plan with tags). An existing tag with the same name is returned as an error and not changed. POST /tags.
| Parameter | Type | Description |
|---|---|---|
color * | string | Hex color, e.g. #FFD700. |
name * | string | Tag name (up to 100 characters). |
description | string | Internal description (only you see it). |
public_description | string | Public description shown in the subscriber portal. |
subscriber_editable | boolean | Let subscribers add/remove this tag themselves. Default false. |
buttondown_list_automations List automations
List automations (welcome sequences and other triggered e-mails) with name, status, trigger, actions and filters (webhook URLs in actions are shown by host only). Read-only: automations are not started or changed. GET /automations.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_get_automation Get automation
One automation by id with its trigger, actions and filters. GET /automations/{id}.
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
buttondown_get_automation_analytics Get automation analytics
Performance numbers for one automation. GET /automations/{id}/analytics.
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
buttondown_list_surveys List surveys
List surveys with question, answers, status and response count. GET /surveys.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
status | string | Only surveys with this status. |
buttondown_list_survey_responses List survey responses
List survey responses (who answered what), optionally for one survey, email or subscriber. GET /survey_responses.
| Parameter | Type | Description |
|---|---|---|
created_after | string | A date, yyyy-mm-dd. |
created_before | string | A date, yyyy-mm-dd. |
email_id | string | Only responses submitted from this email. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
subscriber_id | string | Only responses by this subscriber (id, not e-mail). |
survey_id | string | Only responses to this survey. |
buttondown_create_survey Create a survey
WRITE: create a survey (one question with answer choices that emails can ask subscribers). This tool sends no email itself. An identifier already in use is refused (identifier_already_exists) and nothing is created. POST /surveys.
| Parameter | Type | Description |
|---|---|---|
answers * | array | Answer choices, in order. |
identifier * | string | Short id used to reference the survey in emails, e.g. favorite_color. This server cannot change it later. |
question * | string | The question shown to subscribers. |
input_type | string | Control for the answer: radio, checkbox or text. |
is_freeform_response_enabled | boolean | Let subscribers also type a free-text answer. |
notes | string | Internal notes; subscribers do not see them. |
randomize_answers | boolean | Shuffle the answer order each time the survey is shown. |
response_cadence | string | once (one response per subscriber) or once_per_email. |
buttondown_update_survey Edit a survey
WRITE: edit a survey's answers, notes, status, response cadence, input type or freeform/shuffle settings. The question and identifier cannot be changed. Answers given replace the whole old list. Reads the survey first and returns the previous values. This tool sends no email itself. PATCH /surveys/{id}.
| Parameter | Type | Description |
|---|---|---|
survey_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
answers | array | New answer choices, in order (at least 2); replaces the whole list. |
input_type | string | |
is_freeform_response_enabled | boolean | |
notes | string | New internal notes. |
randomize_answers | boolean | |
response_cadence | string | |
status | string | New status. |
buttondown_list_segments List segments
List saved subscriber segments with name, description and filters. GET /segments.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_create_segment Create a segment
WRITE: create a saved subscriber segment (a named audience rule for later emails). This tool sends no email itself. A name already in use is refused by Buttondown and nothing is created. POST /segments.
| Parameter | Type | Description |
|---|---|---|
filters * | object | The audience rule, e.g. predicate and with one subscriber.metadata.role equals executive filter. |
name * | string | Segment name (up to 100 characters). |
description | string | Description shown when picking an audience. |
buttondown_update_segment Edit a segment
WRITE: edit a saved segment's name, description or audience rule. A rule given replaces the whole old rule. Reads the segment first and returns the previous values. This tool sends no email itself. PATCH /segments/{id}.
| Parameter | Type | Description |
|---|---|---|
segment_id * | string | The object's Buttondown id (a UUID or a prefixed id such as em_..., sub_..., tag_...). |
description | string | New description. |
filters | object | New audience rule; replaces the whole old rule. |
name | string | New name. |
buttondown_list_forms List forms
List sign-up forms with title, slug, status, tags and subscriber counts. GET /forms.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_list_snippets List snippets
List reusable content snippets with identifier, name, mode and how often each is referenced. GET /snippets.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_list_webhooks List webhooks
List configured webhooks with status and subscribed event types. The signing key is never returned and the URL is shown by host only. GET /webhooks.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
buttondown_list_events List email events
List delivery events (delivered, opened, clicked, bounced, unsubscribed, ...), newest first, optionally for one email or subscriber. GET /events.
| Parameter | Type | Description |
|---|---|---|
email_id | string | Only events for this email. |
event_type | string | Only events of this type. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-500 (default 100). |
subscriber_id | string | Only events for this subscriber (id, not e-mail). |