MailerLite MCP server
officialTurn AI tools into your email marketing assistant.
What can you do with MailerLite MCP?
Connect an AI assistant to MailerLite at https://mcp.mailerlite.com/mcp to manage email marketing from a conversation.
- Subscriber management — Add, update, list, or delete subscribers, and check counts by status or signup date.
- Campaign handling — Create, update, schedule, or cancel campaigns, and review link click stats for sent ones.
- Automation building — Build automations from a plan as an off-by-default draft, then add, reorder, or delete steps.
- Email content checks — Validate drafted subject lines and bodies for length, spam trigger words, and missing calls to action.
- E-commerce data — Read shops, products, orders, and carts, or manage them with create, update, delete, and import actions.
- Webhooks and docs — Create or update webhooks, and search the MailerLite developer documentation from the assistant.
Hosted MCP Server
npx add-mcp 'https://mcp.mailerlite.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Search⌘``K
Help Classic API GitHub Welcome to MailerLite API docs Getting started
MailerLite API
Subscribers Groups Segments Fields Automations Automation triggers Automation steps Automation emails Automation templates Automation reports Campaigns Emails Brand styles Files Forms Batching Webhooks Timezones Campaign languages
E-commerce API
MCP Server
MailerLite MCP Server Examples Changelog
Guides
Introduction Basic integrations E-commerce integrations
Ask AI
MCP Server
MailerLite MCP Server
Connect AI assistants like Claude, Cursor, and VS Code to MailerLite over the Model Context Protocol.
Copy MarkdownOpen
This is the Model Context Protocol (MCP) server that provides seamless integration with MailerLite's email marketing API. This server enables AI assistants to manage subscribers, campaigns, groups, and many other things through standardized MCP tools.
MCP server version v4.23.0 · MCP protocol 2026-07-28 · Changelog
How MCP WorksCopy Anchor Link
The Model Context Protocol (MCP) is a standardized protocol for AI assistants to interact with external systems. Think of it as USB-C port for AI. You can connect multiple MCPs that talk to each-other and get things done for you.
Connecting a ClientCopy Anchor Link
You can connect any MCP-compatible client to the running server. The server supports a streamable HTTP endpoint up to the latest MCP server specifications. Usually, you would just add https://mcp.mailerlite.com/mcp as a remote MCP address in any tooling that you are working with.
Claude (desktop and web)Copy Anchor Link
Open Claude (Desktop), go to Settings > Connectors, and then Add Custom Connector. Name can be whatever you want, but we suggest using MailerLite as name, and Remote MCP server URL is https://mcp.mailerlite.com/mcp. Click connect and follow the login process.
Claude CodeCopy Anchor Link
Execute this in terminal:
Copy Text
claude mcp add --transport http mailerlite https://mcp.mailerlite.com/mcp
Gemini CLICopy Anchor Link
Add following lines in your ~/.gemini/settings.json file:
Copy Text
{
"mcpServers": {
"mailerlite": {
"httpUrl": "https://mcp.mailerlite.com/mcp",
"timeout": 5000
}
}
}
VSCodeCopy Anchor Link
You can use one-click install to add it to VSCode.
CursorCopy Anchor Link
ChatGPTCopy Anchor Link
Eligibility: Available to Pro and Plus accounts on the web.
- First, Enable developer mode: Go to: Settings → Connectors → Advanced → Developer mode.
- Go to back to Connectors main screen, click Create next to Browse connectors and in the dialog that opens enter the following:
Name: MailerLite Description: leave empty or fill as you wish MCP Server URL: https://mcp.mailerlite.com/mcp Authentication: OAuth
Click on I trust this application checkbox and then click Create. It will guide you through the authentication process.
In order to use connectors in conversations: Open a new convo, choose Developer mode from the Plus menu and select connectors. You may need to explore different prompting techniques to call the correct tools.
Available ToolsCopy Anchor Link
Subscriber ManagementCopy Anchor Link
- add_subscriber: Add a new subscriber or update an existing one (supports email, name, fields, groups)
- get_subscriber: Get subscriber info by ID or email
- update_subscriber: Update subscriber information (non-destructive)
- list_subscribers: List subscribers with filtering by status (active, unsubscribed, unconfirmed, bounced, junk) and date subscribed
- get_subscriber_activity: Get activity history for a subscriber
- get_subscriber_count: Get the total count of subscribers, optionally by status or by date subscribed (for example, how many joined last month)
- delete_subscriber: Delete a subscriber (keeps info for re-subscription)
Campaign ManagementCopy Anchor Link
- create_campaign: Create a new email campaign (regular, ab, resend types)
- get_campaign: Get specific campaign details
- list_campaigns: List campaigns with filtering by status and type
- update_campaign: Update campaign details (name, subject, from, content)
- delete_campaign: Delete a campaign
- schedule_campaign: Schedule a campaign to be sent
- cancel_campaign: Cancel a scheduled campaign
- get_campaign_subscribers: Get subscribers who received a campaign, with filters
- get_campaign_links: List the links in a sent campaign with their click stats
- get_campaign_link_recipients: Get the subscribers who clicked a specific link
- list_campaign_languages: List the languages available for campaign localization, with their IDs
- list_timezones: List timezones and their IDs, for scheduling a campaign at a specific time
Group ManagementCopy Anchor Link
- create_group: Create a new subscriber group
- update_group: Update a group name
- delete_group: Delete a group
- get_group_subscribers: Get subscribers in a group
- assign_subscriber_to_group: Add a subscriber to a group
- unassign_subscriber_from_group: Remove a subscriber from a group
- import_subscribers_to_group: Bulk import subscribers into a group
Segment ManagementCopy Anchor Link
- list_segments: List all segments
- create_segment: Create a new segment
- get_segment: Get a single segment's details
- update_segment: Update a segment name
- delete_segment: Delete a segment
- get_segment_subscribers: Get subscribers in a segment, with status filtering
Field ManagementCopy Anchor Link
- list_fields: List custom subscriber fields
- create_field: Create a custom field (text, number, or date)
- update_field: Rename a custom field
- delete_field: Delete a custom field
Form ManagementCopy Anchor Link
- list_forms: List forms by type (popup, embedded, promotion)
- create_form: Create a new form
- get_form: Get a single form's details
- update_form: Update a form name
- delete_form: Delete a form
- get_form_subscribers: Get subscribers who signed up through a form
Automation ManagementCopy Anchor Link
- list_automations: List automations with filtering by enabled status
- get_automation_stats: Get sent, opens, clicks, and unsubscribes for an automation, overall and per email
- get_automation_activity: Get subscriber activity for an automation, with status filtering
- start_automation_conversation: Begin a guided, conversational automation build
- get_automation_build_guide: Get the plan format that build_automation accepts
- build_automation: Build a whole automation from a plan (triggers, emails, delays, conditions, A/B splits, actions) as a draft that stays off
- build_custom_automation: Plan and validate a custom automation before creating it
- create_automation: Create an automation with its trigger and its email and delay steps
- update_automation: Rename an automation, turn it on or off, or change whether subscribers can repeat it
- update_automation_trigger: Update the configuration of an automation's trigger
- replace_automation_trigger: Change an automation trigger's type
- add_automation_step: Add an email, delay, condition, A/B split, or action step to an automation
- copy_automation_step: Duplicate a step and insert the copy into the workflow
- reorder_automation_step: Move a step to a new position in the workflow
- delete_automation_step: Delete a step from an automation
- update_automation_delay: Update the duration of a delay step
- get_automation_email: Read an automation email: subject, preheader, sender, reply-to, plain text, and HTML
- update_automation_email: Update an automation email's subject, plain text, sender, sender name, reply-to, and preheader
- update_automation_email_content: Replace the HTML body of an automation email, overwriting the existing design
- dry_run_automation: List an automation's steps in the order they run, with warnings, without sending anything
- send_test_automation: Send test emails for an automation
- delete_automation: Delete an automation
TemplatesCopy Anchor Link
- discover_automation_templates: Browse available automation templates
- install_template: Install an automation template into the account
- list_email_templates: List available email templates
- list_form_templates: List available form templates
Email ContentCopy Anchor Link
- validate_email_content: Check a drafted subject and body for length, spam trigger words, and a missing call to action
- validate_subject_lines: Check drafted subject lines for length, spam trigger words, and other issues
E-commerce ManagementCopy Anchor Link
- read_ecommerce_data: List or fetch shops, products, variants, customers, orders, categories, carts, cart items, and the products in a category
- get_ecommerce_report: Get revenue reports for campaigns, automations, shops, and subscribers
- manage_ecommerce_shops: Create, update, or delete shops
- manage_ecommerce_products: Create, update, delete, or bulk-import products in a shop, enable or disable a product, or set its categories
- manage_ecommerce_product_variants: Sync, update, or delete a product's variants
- manage_ecommerce_customers: Create, update, delete, or bulk-import customers in a shop
- manage_ecommerce_orders: Create, update, delete, or bulk-import orders in a shop
- manage_ecommerce_categories: Create, update, delete, or bulk-import product categories
- manage_ecommerce_carts: Update a shopping cart
- manage_ecommerce_cart_items: Create, update, or delete the line items of a cart
- manage_ecommerce_category_products: Attach a product to a category, or detach it
Each manage_ecommerce_* tool takes an action parameter (e.g. create, update, delete, import) rather than exposing a separate tool per operation. To read e-commerce data, use read_ecommerce_data.
Webhook ManagementCopy Anchor Link
- list_webhooks: List all webhooks
- get_webhook: Get a specific webhook's details
- create_webhook: Create a new webhook with a name, URL, and events
- update_webhook: Update a webhook, including enabling/disabling it
- delete_webhook: Delete a webhook
Discovery & UtilityCopy Anchor Link
- search: Search campaigns, groups, forms, automations, and segments by name and key fields
- fetch: Get the full record of a resource found with search
- list_resources: List groups, forms, shops, or segments, with an optional name filter
- select_resource: Confirm a resource picked in the ChatGPT resource picker
- batch_requests: Run up to 50 API requests in a single call
- get_dashboard_link: Get a link to a resource or a settings page in the MailerLite dashboard
Developer DocumentationCopy Anchor Link
- search_developer_docs: Search the MailerLite developer documentation
- read_developer_docs_page: Read a developer documentation page as Markdown
AuthenticationCopy Anchor Link
- get_auth_status: Get the current authentication status
MailerLite CLI Install and use the MailerLite CLI to manage subscribers, campaigns, automations, and more from your terminal. Examples Example prompts that show how AI assistants can manage campaigns, subscribers, automations, e-commerce, and more through the MailerLite MCP server.
On this page
How MCP Works Connecting a Client Claude (desktop and web) Claude Code Gemini CLI VSCode Cursor ChatGPT Available Tools Subscriber Management Campaign Management Group Management Segment Management Field Management Form Management Automation Management Templates Email Content E-commerce Management Webhook Management Discovery & Utility Developer Documentation Authentication