@kieksme/listmonk-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port to listen on (default 3000). Ignored in stdio mode. | 3000 |
| LISTMONK_URL | Yes | Base URL of your Listmonk instance, e.g. https://newsletter.example.com | |
| MCP_TRANSPORT | No | Transport mode: 'stdio' or 'http' (default). The --stdio CLI flag is equivalent and takes precedence over this variable. | http |
| LISTMONK_API_USER | Yes | API user name (Listmonk Admin → Users) | |
| LISTMONK_API_TOKEN | Yes | API token for that user | |
| MCP_SERVER_AUTH_TOKEN | No | If set, /mcp requires Authorization: Bearer <token>. If unset, /mcp is open at the application layer. Ignored in stdio mode. | |
| LISTMONK_ENABLED_TOOLS | No | JSON array (or comma-separated list) of tool/category selectors. Empty/unset = all 72 tools. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| listmonk_list_subscribersA | Lists/searches subscribers with pagination, sorting, and an optional Listmonk SQL filter expression ( |
| listmonk_create_subscriberC | Creates a new subscriber, optionally subscribing them to one or more lists immediately. |
| listmonk_get_subscriberB | Retrieves a single subscriber by numeric id, including their list memberships. |
| listmonk_update_subscriberC | Updates fields on an existing subscriber by id. Only provided fields are changed. |
| listmonk_delete_subscriberB | Permanently deletes a single subscriber by id. |
| listmonk_delete_subscribers_by_idsA | Permanently deletes multiple subscribers given an explicit list of ids. |
| listmonk_manage_subscriber_lists_bulkC | Adds, removes, or unsubscribes an explicit set of subscribers (by id) from one or more target lists. |
| listmonk_manage_subscriber_list_membershipA | Adds, removes, or unsubscribes subscribers from a single specific list ( |
| listmonk_blocklist_subscribers_bulkB | Blocklists an explicit set of subscribers by id, preventing further campaign sends to them. |
| listmonk_blocklist_subscriberA | Blocklists a single subscriber by id, preventing further campaign sends to them. |
| listmonk_export_subscriberA | Exports a subscriber's full profile (personal data, list memberships, campaign views) as a JSON object, e.g. for GDPR data-subject access requests. |
| listmonk_get_subscriber_bouncesB | Lists bounce records recorded for a single subscriber. |
| listmonk_delete_subscriber_bouncesA | Deletes all bounce records for a single subscriber. |
| listmonk_send_subscriber_optinA | Sends a double opt-in confirmation e-mail to a subscriber for their pending list subscriptions. |
| listmonk_delete_subscribers_by_queryA | BULK, IRREVERSIBLE, NO-PREVIEW: permanently deletes every subscriber matching a Listmonk SQL |
| listmonk_blocklist_subscribers_by_queryA | BULK, NO-PREVIEW: blocklists every subscriber matching a Listmonk SQL |
| listmonk_manage_subscriber_lists_by_queryA | BULK, NO-PREVIEW: adds, removes, or unsubscribes every subscriber matching a Listmonk SQL |
| listmonk_list_campaignsA | Lists/searches campaigns with pagination, status/tag filters, and sorting. |
| listmonk_create_campaignB | Creates a new campaign as a draft. Drafts must be explicitly scheduled/started via listmonk_update_campaign_status. |
| listmonk_get_campaignC | Retrieves a single campaign by id. |
| listmonk_update_campaignA | Updates fields on an existing campaign by id. Only provided fields are changed. Does not change campaign status/schedule — use listmonk_update_campaign_status for that. |
| listmonk_delete_campaignA | Permanently deletes a campaign by id. Only campaigns that have not started sending can be deleted. |
| listmonk_get_running_campaign_statsA | Returns live send-rate statistics for all currently running campaigns. |
| listmonk_get_campaign_analyticsB | Returns view/click/link/bounce analytics for one or more campaigns over a date range ( |
| listmonk_get_campaign_previewA | Renders an HTML (or plain-text) preview of a campaign exactly as currently saved in Listmonk. |
| listmonk_preview_campaign_draftA | Renders an HTML/text preview of an UNSAVED body/content_type combination for campaign |
| listmonk_preview_campaign_textA | Renders the plain-text version of a campaign (defaults content_type to 'plain'), useful for checking the text-fallback rendering or for spam-score review. Does not persist anything. |
| listmonk_update_campaign_statusA | Changes a campaign's lifecycle status, e.g. set to 'running' to start sending, 'paused' or 'cancelled' to stop an in-flight send. This is how campaigns are actually launched — creating a campaign alone leaves it as a 'draft'. |
| listmonk_update_campaign_archiveC | Publishes or unpublishes a campaign to Listmonk's public campaign archive page. |
| listmonk_convert_campaign_contentA | Converts a campaign body between content formats (e.g. markdown to HTML) and returns the converted body. This does NOT read or write the campaign's stored body — pass the body text explicitly and, if you want to keep the result, save it yourself via listmonk_update_campaign. |
| listmonk_send_campaign_testA | Sends a one-off test copy of a campaign to specific subscriber e-mail addresses (they must exist as subscribers). Uses the campaign's currently saved fields; pass overrides only for fields you want to test differently for this send. |
| listmonk_list_templatesB | Lists all campaign and transactional templates. |
| listmonk_create_templateC | Creates a new campaign or transactional template. |
| listmonk_get_templateA | Retrieves a single template by id, including its full HTML body. |
| listmonk_update_templateB | Updates fields on an existing template by id. Only provided fields are changed. |
| listmonk_delete_templateA | Permanently deletes a template by id. The default template cannot be deleted. |
| listmonk_preview_template_draftA | Renders an HTML preview of an UNSAVED template body/type combination, without creating or modifying anything. Use before listmonk_create_template to check formatting. |
| listmonk_preview_templateA | Renders an HTML preview of an existing saved template by id, exactly as currently stored. |
| listmonk_set_default_templateA | Marks a template as the default template used for new campaigns. |
| listmonk_list_listsA | Lists all mailing lists with subscriber counts, optionally filtered by name. |
| listmonk_create_listC | Creates a new mailing list. |
| listmonk_get_listA | Retrieves a single mailing list by id, including its subscriber count. |
| listmonk_update_listB | Updates fields on an existing mailing list by id. Only provided fields are changed. |
| listmonk_delete_listA | Permanently deletes a mailing list by id. Subscribers themselves are not deleted, only their membership in this list. |
| listmonk_list_mediaB | Lists all uploaded media files (images used in campaigns/templates). |
| listmonk_upload_mediaB | Uploads an image file to the media library for use in campaigns/templates. |
| listmonk_get_mediaA | Retrieves metadata for a single uploaded media file by id. |
| listmonk_delete_mediaA | Permanently deletes an uploaded media file by id. |
| listmonk_get_import_statusB | Returns the status of the current/last subscriber import job. |
| listmonk_import_subscribersA | Bulk-imports subscribers from a ZIP archive of one or more CSV files into the given target lists. Runs asynchronously — poll listmonk_get_import_status afterwards to track progress. |
| listmonk_stop_import_subscribersB | Sends a stop signal to the currently running subscriber import job. |
| listmonk_get_import_logsA | Returns the log output of the current/last subscriber import job. |
| listmonk_list_bouncesB | Lists e-mail bounce records, optionally filtered by campaign or bounce source. |
| listmonk_delete_bouncesA | Deletes bounce records in bulk — either all of them ( |
| listmonk_get_bounceC | Retrieves a single bounce record by id. |
| listmonk_delete_bounceB | Deletes a single bounce record by id. |
| listmonk_get_settingsB | Returns Listmonk's full server settings object (SMTP, app config, privacy, security, etc). |
| listmonk_update_settingsA | Updates Listmonk server settings. THIS CAN AFFECT MAIL DELIVERY AND SERVER BEHAVIOR SERVER-WIDE — confirm the exact keys/values with the user before calling. Fetch current values with listmonk_get_settings first. |
| listmonk_test_smtp_settingsA | Tests connectivity to an SMTP server configuration without saving it, by sending a test e-mail. |
| listmonk_delete_gc_subscribersA | PERMANENTLY DELETES subscribers matching a maintenance class ('blocklisted' or 'orphan' — subscribers with no list memberships). Irreversible; confirm with the user before calling. |
| listmonk_delete_gc_campaign_analyticsA | PERMANENTLY DELETES campaign analytics records (views/clicks/all) older than a given date. Irreversible; confirm with the user before calling. |
| listmonk_delete_unconfirmed_subscriptionsA | PERMANENTLY DELETES pending (unconfirmed double opt-in) subscriptions older than a given date. Irreversible; confirm with the user before calling. |
| listmonk_get_public_listsA | Returns the public-facing list of subscribable mailing lists (uuid + name only), as seen by the public subscription page. |
| listmonk_create_public_subscriptionA | Submits a subscription request via Listmonk's public (unauthenticated) subscription endpoint, as if a visitor filled out the public sign-up form. Triggers double opt-in e-mails for lists that require them. |
| listmonk_send_transactional_messageA | Sends a one-off transactional e-mail to a subscriber by rendering a 'tx'-type template with the given |
| listmonk_get_logsB | Returns Listmonk's recent in-memory application log entries. |
| listmonk_reload_appA | Restarts Listmonk's background workers/app process (used after certain settings changes). Briefly interrupts campaign sending and API availability. Confirm with the user before calling. |
| listmonk_get_healthA | Checks whether the Listmonk API is reachable and healthy. Use this first to verify connectivity. |
| listmonk_get_server_configB | Returns Listmonk's general server configuration (site name, languages, permissions, etc). |
| listmonk_get_i18n_langB | Returns the UI translation strings for a given language code. |
| listmonk_get_dashboard_chartsA | Returns time-series chart data (subscriber growth, campaign views) shown on the Listmonk dashboard. |
| listmonk_get_dashboard_countsB | Returns summary counts (total subscribers, lists, campaigns, etc) shown on the Listmonk dashboard. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 72 tools
Most tools are clearly separated by resource and action, and descriptions explicitly clarify tricky boundaries such as single vs bulk vs query-based operations and saved vs draft previews. A few closely related tools remain, especially campaign preview variants and subscriber-specific vs global bounce deletion, which could cause occasional misselection in such a large set.
Tool names consistently use the listmonk_ prefix, snake_case, and a verb_resource pattern such as listmonk_create_subscriber, listmonk_update_campaign, and listmonk_delete_template. Variations like get/list and manage are semantically motivated and do not break the predictable convention.
The server exposes 72 tools, far above a practical 3-15 range, and many are narrow variants for previews, bulk/query operations, maintenance deletion, and diagnostics. While Listmonk is a broad product, much of this surface could be consolidated to reduce agent overload.
Coverage is extensive across subscribers, campaigns, templates, lists, media, imports, bounces, settings, public subscription endpoints, transactional sending, logs, maintenance, health, and dashboard data. CRUD and lifecycle operations are present throughout, with only negligible possible gaps such as media metadata updates.