MailerLite MCP Server

This is the beta version of 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.

How MCP Works

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 Client

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)

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 Code

Execute this in terminal:

claude mcp add --transport http mailerlite https://mcp.mailerlite.com/mcp
1

Gemini CLI

Add following lines in your ~/.gemini/settings.json file:

{
  "mcpServers": {
    "mailerlite": {
      "httpUrl": "https://mcp.mailerlite.com/mcp",
      "timeout": 5000
    }
  }
}
1
2
3
4
5
6
7
8

VSCode

You can use one-click install to add it to VSCode.

Cursor

Install MCP Server

ChatGPT

caution: it is only available for the ChatGPT Pro and team plans

Please follow the urlopen in new window on how to setup the custom connectors in ChatGPT.

Available Tools

Subscriber Management

  • add_subscriber: Add a new subscriber or update existing (supports email, name, fields, groups)
  • get_subscriber: Get subscriber info by ID or email
  • update_subscriber: Update subscriber information (non-destructive)
  • list_subscribers: List all subscribers with filtering by status (active, unsubscribed, unconfirmed, bounced, junk)
  • get_subscriber_activity: Get activity history for a subscriber
  • get_subscriber_count: Get total count of subscribers
  • delete_subscriber: Delete a subscriber (keeps info for re-subscription)
  • forget_subscriber: GDPR-compliant complete removal of subscriber data
  • get_single_import: Get details of a single import

Campaign Management

  • create_campaign: Create a new email campaign (regular, ab, resend types)
  • get_campaign: Get specific campaign details
  • list_campaigns: List all 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

Group Management

  • list_groups: List all subscriber groups
  • create_group: Create a new subscriber group
  • update_group: Update 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 to a group

Webhook Management

  • list_webhooks: List all webhooks
  • get_webhook: Get specific webhook details
  • create_webhook: Create a new webhook with name, URL, and events
  • update_webhook: Update webhook details including enabling/disabling
  • delete_webhook: Delete a webhook

Segment Management

  • list_segments: List all segments
  • get_subscribers_in_segment: Get subscribers in a segment with status filtering
  • update_segment: Update segment name
  • delete_segment: Delete a segment

Automation Management

  • list_automations: List all automations with filtering by name, group, enabled status
  • get_automation: Get single automation details
  • get_automation_activity: Get subscriber activity for an automation with status filtering
  • create_automation: Create a draft automation
  • delete_automation: Delete an automation

Form Management

  • list_forms: List forms by type (popup, embedded, promotion)
  • get_form: Get single form details
  • update_form: Update form name
  • delete_form: Delete a form
  • get_form_subscribers: Get subscribers who signed up through a form

Authentication

  • get_auth_status: Get current authentication status

Feedback

We are always eager about feedback of the exciting things we are working on. If you have feedback about our MCP, feel free to send an email to mcp@mailerlite.com.

Last Updated: