productivity
MailerLite MCP, CLI, and Lua Integration for AI Agents
MailerLite integration docs for AI agents: MCP gateway setup, MailerLite CLI commands, Lua API reference, credentials, and function schemas.MailerLite for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
mailerlite.mailerlite_list_subscribers | Read read | 4 | List subscribers from MailerLite. Supports cursor pagination, status filtering, and groups include. |
mailerlite.mailerlite_get_subscriber | Read read | 1 | Get details for a single MailerLite subscriber by ID or email address. |
mailerlite.mailerlite_create_subscriber | Write write | 5 | Add a new subscriber to MailerLite. Provide an email address and optionally a name and custom fields. |
mailerlite.mailerlite_update_subscriber | Write write | 6 | Update an existing subscriber in MailerLite. Provide the subscriber ID and fields to update. |
mailerlite.mailerlite_delete_subscriber | Write write | 1 | Delete a subscriber from MailerLite by their ID. This action is permanent. |
mailerlite.mailerlite_list_subscriber_activity | Read read | 4 | List activity log entries for a subscriber with optional log-name, cursor, and limit filters. |
mailerlite.mailerlite_list_groups | Read read | 2 | List subscriber groups (segments) from MailerLite. Supports pagination. |
mailerlite.mailerlite_create_group | Write write | 1 | Create a subscriber group by name. |
mailerlite.mailerlite_update_group | Write write | 2 | Update a subscriber group name. |
mailerlite.mailerlite_delete_group | Write write | 1 | Delete a subscriber group by ID. |
mailerlite.mailerlite_list_group_subscribers | Read read | 4 | List subscribers belonging to a group with cursor pagination and status filtering. |
mailerlite.mailerlite_add_subscriber_to_group | Write write | 3 | Add a subscriber to a MailerLite group by providing the group ID and subscriber email. |
mailerlite.mailerlite_assign_subscriber_to_group | Write write | 2 | Assign an existing subscriber to a group by subscriber ID and group ID. |
mailerlite.mailerlite_unassign_subscriber_from_group | Write write | 2 | Remove an existing subscriber from a group by subscriber ID and group ID. |
mailerlite.mailerlite_import_subscribers_to_group | Write write | 2 | Bulk import subscriber payloads into a group and return the import progress URL. |
mailerlite.mailerlite_list_segments | Read read | 2 | List audience segments with pagination. |
mailerlite.mailerlite_list_segment_subscribers | Read read | 4 | List subscribers in a segment with cursor pagination and status filtering. |
mailerlite.mailerlite_update_segment | Write write | 2 | Update a segment name. |
mailerlite.mailerlite_delete_segment | Write write | 1 | Delete a segment by ID. |
mailerlite.mailerlite_list_fields | Read read | 2 | List custom subscriber fields. |
mailerlite.mailerlite_create_field | Write write | 2 | Create a custom subscriber field. Type must be text, number, or date. |
mailerlite.mailerlite_update_field | Write write | 2 | Update a custom field name. |
mailerlite.mailerlite_delete_field | Write write | 1 | Delete a custom subscriber field by ID. |
mailerlite.mailerlite_list_automations | Read read | 5 | List automations with optional enabled, name, and group filters. |
mailerlite.mailerlite_get_automation | Read read | 1 | Get an automation by ID, including its configured steps and stats. |
mailerlite.mailerlite_list_automation_activity | Read read | 3 | List subscriber activity for an automation. |
mailerlite.mailerlite_create_automation | Write write | 2 | Create a draft automation. Use payload for advanced automation fields or name for a simple draft. |
mailerlite.mailerlite_delete_automation | Write write | 1 | Delete an automation by ID. |
mailerlite.mailerlite_list_campaigns | Read read | 6 | List campaigns with optional status, type, name, sort, and pagination filters. |
mailerlite.mailerlite_get_campaign | Read read | 1 | Get a campaign by ID. |
mailerlite.mailerlite_create_campaign | Write write | 1 | Create a campaign. Use payload for the full MailerLite campaign body including emails, groups, segments, and settings. |
mailerlite.mailerlite_update_campaign | Write write | 2 | Update a campaign. Use payload for the full MailerLite update body. |
mailerlite.mailerlite_schedule_campaign | Write write | 2 | Schedule a campaign. Use payload for MailerLite scheduling fields. |
mailerlite.mailerlite_cancel_campaign | Write write | 1 | Cancel a campaign send when the campaign is still in a cancelable state. |
mailerlite.mailerlite_delete_campaign | Write write | 1 | Delete a campaign by ID. |
mailerlite.mailerlite_list_campaign_subscriber_activity | Read read | 3 | List subscriber activity for a sent campaign, including opens, clicks, bounces, and unsubscribes. |
mailerlite.mailerlite_list_forms | Read read | 5 | List forms by type: popup, embedded, or promotion. |
mailerlite.mailerlite_get_form | Read read | 1 | Get a form by ID. |
mailerlite.mailerlite_update_form | Write write | 2 | Update a form. Use payload for the full MailerLite form update body. |
mailerlite.mailerlite_delete_form | Write write | 1 | Delete a form by ID. |
mailerlite.mailerlite_list_form_subscribers | Read read | 3 | List subscribers who signed up to a specific form. |
mailerlite.mailerlite_list_webhooks | Read read | 2 | List configured webhooks. |
mailerlite.mailerlite_get_webhook | Read read | 1 | Get a webhook by ID. |
mailerlite.mailerlite_create_webhook | Write write | 6 | Create a webhook subscription for subscriber or campaign events. |
mailerlite.mailerlite_update_webhook | Write write | 7 | Update webhook name, events, callback URL, enabled state, or batchable flag. |
mailerlite.mailerlite_delete_webhook | Write write | 1 | Delete a webhook by ID. |
mailerlite.mailerlite_batch | Write write | 1 | Execute up to 50 MailerLite API requests in one batch. Paths must be relative API paths such as api/fields. |
mailerlite.mailerlite_get_current_user | Read read | 0 | Verify MailerLite credentials with a lightweight subscriber summary request. |
mailerlite.mailerlite_api_get | Read read | 2 | Call a relative MailerLite API path with GET for endpoints not yet wrapped by a dedicated tool. |
mailerlite.mailerlite_api_post | Write write | 2 | Call a relative MailerLite API path with POST for endpoints not yet wrapped by a dedicated tool. |
mailerlite.mailerlite_api_put | Write write | 2 | Call a relative MailerLite API path with PUT for endpoints not yet wrapped by a dedicated tool. |
mailerlite.mailerlite_api_patch | Write write | 2 | Call a relative MailerLite API path with PATCH for endpoints not yet wrapped by a dedicated tool. |
mailerlite.mailerlite_api_delete | Write write | 2 | Call a relative MailerLite API path with DELETE for endpoints not yet wrapped by a dedicated tool. |