otherapi_key

MailerLite

MailerLite is an email marketing service that offers tools for creating and managing email campaigns, automating workflows, and building landing pages.

Verdict

MailerLite lets your team manage email campaigns, subscriber lists, and marketing automations directly from Switchy. @mention it to create segments, build automation workflows, sync e-commerce customers, or register webhooks for real-time event tracking. Marketing teams use it to draft campaigns without leaving their workspace; ops teams use it to keep subscriber data in sync with CRM or shop platforms. The MCP exposes 38 tools covering subscribers, groups, fields, automations, and webhooks. You'll need an API key with full account access — MailerLite doesn't offer granular scopes, so the integration can read and write across your entire account.

Common use cases

  • Build automation workflows from chat
  • Sync e-commerce customers after checkout
  • Create subscriber segments for campaigns
  • Register webhooks for event tracking
  • Add custom fields before importing lists

Integration

Vendor
MailerLite
Category
other
Auth
API_KEY
Tools
38
Composio slug
mailerlite

Tools

  • Create automation

    Create automation

  • Create E-commerce Shop

    Tool to connect a new e-commerce shop. use when you need to integrate a store for automations, product imports, and sales tracking.

  • Create Field

    Tool to create a new custom field. use when distinct subscriber attributes are needed before assigning or updating subscriber data. call once per field key.

  • Create Group

    Tool to create a new subscriber group. use after deciding the group name for categorization.

  • Create Segment

    Tool to create a new subscriber segment. use when grouping subscribers by custom criteria before sending targeted campaigns.

  • Create/Update E-commerce Customer

    Tool to create or update a customer record for a shop. use when syncing shop customers or onboarding new purchases.

  • Create Webhook

    Tool to register a new webhook url for specified event types. use when you need real-time notifications for selected mailerlite events.

  • Delete Automation
    destructive

    Tool to delete an automation workflow by id. use when you need to remove an automation after confirming it's no longer needed. returns success=true on 204 no content.

  • Delete E-commerce Customer
    destructive

    Tool to delete a customer from an e-commerce shop by ids. use when you need to remove a specific customer from your mailerlite store.

  • Delete E-commerce Shop
    destructive

    Tool to disconnect an e-commerce shop by id. use when you have the shop's unique identifier and want to remove it from your mailerlite account.

  • Delete Field
    destructive

    Tool to delete a custom field. use when a field is obsolete and you need to remove it from your mailerlite account. returns success=true on 204 no content.

  • Delete Group
    destructive

    Tool to delete a subscriber group by id. use when you need to remove an existing subscriber group from your mailerlite account. returns success=true on 204 no content.

  • Delete Segment
    destructive

    Tool to delete a segment by id. use when you need to remove an existing segment from your mailerlite account. returns success=true on 204 no content.

  • Delete Subscriber
    destructive

    Tool to delete a subscriber by id. use when you have the subscriber id and want to remove them from your mailerlite account. returns success=true on 204 no content.

  • Delete Webhook
    destructive

    Tool to remove a webhook subscription by id. use when you need to delete a webhook after confirming it is no longer needed. returns success=true on 204 no content.

  • Fetch Total E-commerce Customers Count

    Tool to fetch total ecommerce customers count for a shop. use when only the aggregate count is required without retrieving detailed records.

  • Get Account Info

    Tool to retrieve basic mailerlite account details. use when you need to verify authentication and review account metadata.

  • Get Account Stats

    Tool to retrieve usage statistics and performance metrics for the account. use after sending campaigns to analyze engagement and deliverability.

  • Get Automation

    Tool to retrieve details of a specific automation by id. use when you have the automation id and need its full configuration. example: "get automation 7267552".

  • Get Campaigns

    Tool to retrieve a list of all campaigns. use when you need to fetch campaigns optionally filtered by status or type, with pagination.

  • Get E-commerce Customer

    Tool to fetch details of a customer by shop and customer id. use after confirming shop id and customer id.

  • Get E-commerce Customers

    Tool to list customers for a specific shop. use when you need to retrieve and paginate ecommerce customers after you have a shop id. example: "list customers for shop 123".

  • Get E-commerce Shop

    Tool to fetch details of a specific e-commerce shop by id. use when you need detailed configuration or stats of a connected shop.

  • Get E-commerce Shops

    Tool to list all e-commerce shops connected to the account. use when you need to retrieve and paginate shop listings for an account.

  • Get Fields

    Tool to retrieve all custom fields defined in the account. use when you need to list or paginate through subscriber custom fields.

  • Get Groups

    Tool to retrieve all subscriber groups. use when you need to list or paginate through subscriber groups.

  • Get Group Subscribers

    Tool to list subscribers within a group by id. use when you need to retrieve subscribers belonging to a specific mailerlite group before targeted campaigns. use after confirming the group id is valid.

  • Get Segments

    Tool to retrieve all segments in the account. use when you need to list or paginate through segments.

  • Get Subscribers

    Tool to retrieve all subscribers. use after connecting account and when listing subscribers by status or paginating. limited by mailerlite connect api quotas.

  • Get Webhooks

    Tool to retrieve all configured webhooks. use when you need to list webhooks for your mailerlite account.

  • Set Double Opt-In

    Tool to enable or disable double opt-in for new subscribers. use when configuring subscription confirmation settings.

  • Update E-commerce Customer

    Tool to update a customer's data for a shop by ids. use when you need to change email, marketing opt-in, or spend totals for an existing customer.

  • Update E-commerce Shop

    Tool to update settings of a connected e-commerce shop by id. use when you need to modify shop details (name, url, currency) or toggle features after verifying the shop exists.

  • Update Field

    Tool to update the title of an existing custom field. use when renaming a field label (e.g., correct typos or rebranding).

  • Update Group

    Tool to update a group's name by id. use when renaming an existing group after confirming its id.

  • Update Segment

    Tool to rename an existing segment by id. use when you need to update a segment's name after confirming its id.

  • Update Subscriber

    Tool to update an existing subscriber's information by id. use when altering subscriber details.

  • Update Webhook

    Tool to update an existing mailerlite webhook. use when you need to change its url or event triggers by id.

Setup

Setup guide

  1. 11. In Switchy, open your workspace settings and navigate to the Integrations tab. 2. Click 'Add MCP Integration' and select MailerLite from the catalog. 3. Open your MailerLite dashboard, go to Settings > API, and generate a new API key (label it 'Switchy' so you can revoke it later if needed). 4. Paste the API key into Switchy's connection form and click 'Connect'. 5. Switchy will verify the key by fetching your account details; if successful, you'll see 'Connected' status. 6. Open any Space, type '@MailerLite list my groups' and send the message to confirm the integration responds with your subscriber groups. 7. If the test fails, double-check the API key hasn't expired and that your MailerLite plan includes API access.

What teammates see: by default, memories from MailerLite are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

List Active Automations

@MailerLite show me all active automations in my account, including their names and trigger types.
Open in a Space →

Create Welcome Segment

@MailerLite create a segment called 'New Subscribers' that includes anyone who subscribed in the past 30 days.
Open in a Space →

Add Custom Field

@MailerLite create a custom field named 'referral_source' with type text so I can tag where subscribers came from.
Open in a Space →

Connect Shopify Store

@MailerLite connect my Shopify store at mystore.myshopify.com so I can sync customers and trigger post-purchase emails.
Open in a Space →

Register Webhook

@MailerLite register a webhook at https://myapp.com/hooks/mailerlite for subscriber.updated and subscriber.unsubscribed events.
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@MailerLite show me all active subscriber segments and how many people are in each one

Output

Found 4 active segments in your MailerLite account: 'High Engagement' (1,247 subscribers), 'Recent Sign-ups' (389 subscribers), 'Cart Abandoners' (156 subscribers), and 'VIP Customers' (92 subscribers). The High Engagement segment filters for subscribers who opened at least 3 emails in the last 30 days. Recent Sign-ups captures anyone added in the past 14 days. This snapshot reflects counts as of now; segment membership updates automatically as subscriber behavior changes.

Notes

This example uses read-only list operations, so no API key scopes beyond basic read access are required. Segment counts can shift between queries if subscribers meet or leave filter criteria. Useful for auditing audience structure before launching a targeted campaign.

Prompt

@MailerLite create a new custom field called 'Referral Source' as a text field so we can track where subscribers heard about us

Output

Created custom field 'Referral Source' (key: referral_source, type: TEXT) in your MailerLite account. You can now assign values to this field when adding or updating subscribers via automation, import, or API. The field will appear in subscriber profiles and can be used as a filter criterion in segments. Remember to populate it consistently—empty values won't match segment rules that reference this field.

Notes

This example demonstrates a write operation that modifies your MailerLite schema. Once created, custom fields persist until manually deleted; there's no undo. Plan field keys carefully (they're immutable) and confirm your API key has write permissions before running similar prompts.

Prompt

@MailerLite draft an automation that sends a welcome email 1 hour after someone joins the 'New Subscribers' group, then follows up 3 days later with our product guide

Output

Here's a two-step automation outline for MailerLite: **Trigger**: Subscriber added to 'New Subscribers' group. **Step 1**: Wait 1 hour, then send email 'Welcome to [Your Brand]' (you'll need to create this email template in MailerLite first). **Step 2**: Wait 3 days, then send email 'Product Guide' (also requires a pre-built template). To implement, use the Create Automation tool with these delay and email action nodes. Note that MailerLite requires email content to exist before referencing it in automation steps—this prompt assumes those templates are ready.

Notes

This synthesis example pairs the MCP's automation-creation capability with the AI's workflow design reasoning. The MCP can scaffold the automation structure, but you must supply email template IDs from your MailerLite account. Test automations on a small group first to catch timing or content issues before broad deployment.

Use-case deep-dives

E-commerce onboarding automation setup

When MailerLite MCP wins for small shop launch workflows

A 3-person Shopify team launching their first product line needs to sync customers, trigger welcome sequences, and segment buyers by purchase tier—all without leaving their planning workspace. The MailerLite MCP handles this in one session: create the shop connection, define custom fields for order value brackets, build the automation, and register webhooks for real-time purchase events. With 38 tools covering the full lifecycle from field creation to webhook deletion, you can prototype the entire funnel before touching the MailerLite UI. This works until you hit complex conditional logic or need visual workflow editing—then you'll context-switch to the web app. If your launch checklist lives in Switchy and your email strategy is straightforward, this MCP collapses three tools into one conversation.

Weekly newsletter segment refresh

When this MCP saves time on recurring subscriber ops

A solo content creator publishes a weekly newsletter and manually updates subscriber segments every Monday based on engagement data from their analytics dashboard. The MailerLite MCP turns this into a scripted routine: pull the engagement CSV, create or update segments by open rate thresholds, assign subscribers to the right groups, and queue the next campaign—all in a single Switchy thread. The API key auth means no OAuth dance, and the segment and group tools let you define criteria programmatically instead of clicking through filters. This breaks down if you need to preview the segment UI or troubleshoot why a rule didn't match—MailerLite's web interface still owns the visual debugging. If your segmentation logic is stable and you're tired of the weekly login ritual, this MCP pays for itself in the first month.

SaaS trial-to-paid conversion tracking

When MailerLite MCP bridges product and marketing data

A 6-person SaaS team wants to trigger different email sequences when trial users hit specific in-app milestones—first login, feature adoption, upgrade intent. Their product engineer can use the MailerLite MCP to create custom fields for each milestone, register webhooks that fire when the app posts events, and build automations that route users into nurture tracks without waiting on the marketing lead. The create/update customer tool syncs user records in real time, and the automation tools let you version the sequences in code alongside your app logic. This setup falters if your milestone taxonomy changes weekly or you need A/B test variants—MailerLite's campaign builder is still faster for iteration. If your conversion funnel is instrumented and your team prefers infrastructure-as-code over drag-and-drop, this MCP keeps email ops in the same repo as your product.

Frequently asked

What can the MailerLite MCP do in Switchy?

It manages your MailerLite email marketing setup — creating automations, subscriber groups, segments, and custom fields. It also handles e-commerce integrations, syncing shop customers and tracking purchases. The MCP gives your team programmatic control over campaign infrastructure without logging into the MailerLite dashboard for repetitive tasks.

Do I need admin access to connect MailerLite?

You need an API key with write permissions. MailerLite doesn't use OAuth — you generate the key in your account settings under Integrations. Anyone with account owner or admin role can create one. The key grants full access to all 38 tools, so treat it like a password and store it in Switchy's credential vault.

Can the MCP send actual email campaigns?

No. It builds the infrastructure — automations, segments, groups, webhooks — but doesn't trigger one-off campaigns or newsletters. For that, you still use MailerLite's UI or their separate campaign API endpoints. Think of this MCP as the scaffolding tool, not the send button.

Why use this instead of MailerLite's dashboard?

Speed and repeatability. If you onboard clients with the same automation sequence, the MCP scripts it in seconds. If you sync e-commerce customers from another system, it handles batch updates without manual CSV uploads. The dashboard is better for designing email templates and reviewing analytics — the MCP is better for operational plumbing.

Who on the team should connect this MCP?

Whoever manages your email marketing ops — usually a growth lead or marketing ops person. They'll need the MailerLite API key and enough context to know which automations and segments exist. Developers can use it too, but the tools are marketing-focused, not engineering-focused.

Data last verified 607 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.