MailerLite’s API story is a two-part answer. For marketing operations (subscribers, campaigns, automations, forms) you use the MailerLite API v2 at connect.mailerlite.com/api — stable since 2022, 5 official SDKs, generous 120 req/min rate limit. For transactional email operations (send, templates, webhooks, delivery tracking) you route to MailerLite’s companion product MailerSend, which ships an official MCP server BETA at mcp.mailersend.com/mcp. Single sign-on links both accounts, so you can operate the marketing + transactional split from one login. This tab inventories both surfaces and the MCP capabilities a buyer needs to evaluate before committing.
Model Context Protocol is the emerging standard for connecting LLM agents to external tools. MailerLite’s MCP story splits: no official MCP for the Marketing API (yet), but its companion transactional product MailerSend ships a hosted MCP server in BETA that covers the transactional email surface plus SMS.
The MailerSend MCP Server is hosted at mcp.mailersend.com/mcp and speaks HTTP transport (aligned with the Model Context Protocol 2026-07-28 spec). Coverage is unusually wide for a BETA: email send + bulk send + status tracking, domains, SMTP config, templates, webhooks, inbound routing, recipient/suppression management, analytics, activity logs, email verification, DMARC and blocklist monitoring, token/user management, plus full SMS operations. Compatible with Claude Desktop / Claude web / Claude Code, Gemini CLI, VSCode, Cursor, and ChatGPT (Pro/Plus in beta).
Three ways to reach the MailerLite ecosystem from an AI agent as of August 2026, ordered by maturity. Only one is first-party.
Hosted at mcp.mailersend.com/mcp. HTTP transport. Wide coverage: email + bulk + SMTP + templates + webhooks + inbound + analytics + SMS + tokens. OAuth for ChatGPT, login for Claude. Compatible with Claude Desktop/web/Code, Gemini CLI, VSCode, Cursor, ChatGPT.
Not a MCP server per se, but a first-party Claude connector maintained by MailerLite. Perform Marketing API operations (subscribers, campaigns, automations, reports) through natural language prompts in Claude Desktop.
Bridge access via Zapier’s MCP layer (6,000+ integrations available through one endpoint). Useful if you already run Zapier and want unified MCP surface. Each MCP tool call consumes Zapier task credits.
The MailerLite API v2 follows REST conventions with clean JSON payloads and predictable pagination. Scope covers everything you can do in the MailerLite UI plus a few developer-only endpoints (batching, webhooks).
| Base URL | https://connect.mailerlite.com/api |
|---|---|
| Response format | JSON only |
| Version pinning | Optional X-Version header (date format); defaults to latest |
| Authentication | Bearer token: Authorization: Bearer YOUR_API_KEY |
| General rate limit | 120 requests per minute |
| Import rate limit | 5 requests per minute (batch upserts + subscriber imports) |
| Standard HTTP codes | 200, 201, 202, 204, 400, 401, 403, 404, 422, 429, 5xx |
| Classic API v1 | Still supported at developers-classic.mailerlite.com — use v2 for new work |
| Batching endpoint | Yes — execute multiple operations in one request |
| Webhooks | Configurable events (subscribe, unsubscribe, bounce, complaint, campaign sent) |
API v2 is the current focus. Classic v1 remains available for legacy integrations that have not migrated, but new development should target v2. The migration path from v1 to v2 is documented but not zero-effort (endpoint paths and response shapes changed).
Single mechanism, straightforward setup.
Generate an API key under Integrations › API in the MailerLite UI. Send it in the Authorization header on every request:
Authorization: Bearer YOUR_API_KEY Content-Type: application/json Accept: application/json
API keys are account-scoped and inherit the permission set of the user who created them. There is no granular scope system (no “read-only” or “campaigns-only” tokens). To limit blast radius of a leaked token, best practice is to generate per-integration keys and revoke individually when unused.
| Limit | Value | Notes |
|---|---|---|
| General requests | 120 per minute | Applies to most GET, POST, PATCH, DELETE operations. Enforced per API key. |
| Import operations | 5 per minute | Batch subscriber imports and batch upserts have a separate, much stricter throttle. |
| Response on exceed | HTTP 429 | Too Many Requests. Implement exponential backoff. Standard Retry-After header may be present. |
| Batch endpoint | Available | Execute multiple operations in a single HTTP request to reduce per-call overhead. |
| Webhook payload size | Not disclosed | Standard SaaS webhook conventions apply. Test with your endpoint. |
The 120 req/min general ceiling is generous for interactive dashboards and low-volume automation. The 5 req/min import ceiling catches teams off guard when migrating large subscriber lists — use the batch endpoint with large payloads instead of looping single-add calls. For genuinely high-volume operations (>10K subscribers/minute processing), reach out to MailerLite support to discuss dedicated infrastructure options.
Five official client libraries for the Marketing API v2. All maintained by MailerLite.
| Language | Package | Install | Repo |
|---|---|---|---|
| PHP | mailerlite/mailerlite-api-v2-php-sdk | composer require | GitHub |
| Node.js | @mailerlite/mailerlite-nodejs | npm install | GitHub |
| Python | mailerlite | pip install mailerlite | GitHub |
| Ruby | mailerlite-ruby | gem install mailerlite-ruby | GitHub |
| Go | github.com/mailerlite/mailerlite-go | go get | GitHub |
No official .NET, Java, or Rust SDKs. Community wrappers exist for .NET; teams building in Java or Rust typically call the API directly with their language’s standard HTTP client. For AI-agent access via natural language, the native Claude integration and ChatGPT integration cover most operational asks without writing code.
The endpoint groups you will actually use in production. Full reference at developers.mailerlite.com/docs.
| Resource | HTTP methods | Description |
|---|---|---|
| Subscribers /subscribers | GET, POST, PUT, DELETE | Full CRUD on subscribers. Bulk operations via batch endpoint. |
| Groups /groups | GET, POST, PATCH, DELETE | Manage subscriber groups (equivalent to Mailchimp lists). Add/remove members. |
| Segments /segments | GET | Read dynamic segments defined in the UI. Segments are UI-managed, not API-created. |
| Fields /fields | GET, POST, PATCH, DELETE | Custom subscriber fields (name, phone, custom text/number/date/boolean). |
| Campaigns /campaigns | GET, POST, PUT, DELETE | Full CRUD on campaigns. Schedule, cancel, get reports. |
| Automations /automations | GET, PATCH | List automations, activate/deactivate, view subscriber activity. Automation creation is UI-only. |
| Forms /forms | GET, POST, PATCH, DELETE | Signup forms, popups, embedded forms. Manage and retrieve submissions. |
| Webhooks /webhooks | GET, POST, PUT, DELETE | Configure webhooks for subscribe/unsubscribe/bounce/complaint/campaign-sent events. |
| Batching /batch | POST | Execute multiple API operations in a single request. Recommended for imports and bulk updates. |
| Ecommerce (shops) /ecommerce/shops | GET, POST, PATCH, DELETE | Manage shop metadata. Foundation for ecommerce integrations (Shopify, WooCommerce sync). |
| Ecommerce (carts / products / orders) /ecommerce/{shop_id}/* | GET, POST, PATCH, DELETE | Full ecommerce primitives: carts (for abandoned-cart flows), products, orders, customers, categories. |
Two representative snippets covering the most common first-day tasks: add a subscriber, then send a campaign to a group.
const MailerLite = require('@mailerlite/mailerlite-nodejs').default;
const mailerlite = new MailerLite({ api_key: 'YOUR_API_KEY' });
const params = {
email: 'subscriber@example.com',
fields: {
name: 'Alaa',
last_name: 'Touil'
},
groups: ['GROUP_ID_HERE'],
status: 'active'
};
mailerlite.subscribers.createOrUpdate(params)
.then(response => {
console.log('Subscriber upserted:', response.data.data.id);
})
.catch(error => {
console.error('Error:', error.response?.data || error.message);
});from mailerlite import Client
client = Client({'api_key': 'YOUR_API_KEY'})
# 1. Create the campaign
campaign = client.campaigns.create({
'name': 'Weekly Newsletter',
'type': 'regular',
'emails': [{
'subject': 'Test from the API',
'from_name': 'SMTPedia',
'from': 'hello@smtpedia.com',
'content': '<h1>Hello</h1><p>This is a test.</p>'
}],
'groups': ['GROUP_ID_HERE']
})
# 2. Schedule immediate delivery
client.campaigns.schedule(
campaign_id=campaign['data']['id'],
delivery='instant'
)
print(f"Campaign {campaign['data']['id']} scheduled")The MailerLite Marketing API v2 is for broadcasts and automations only. There is no POST /email/send equivalent for triggered transactional messages (order confirmations, password resets). For that you use MailerSend at developers.mailersend.com. Different API keys, different rate limits, different pricing. SSO links the two accounts so you can operate both from one login.
The general rate limit is 120 requests per minute, but subscriber imports and batch upserts have their own separate 5 requests per minute throttle. Migrating a large list one-subscriber-at-a-time hits this cap fast. Use the batch endpoint with large payloads (up to hundreds of subscribers per call) instead of looping single-add operations.
You can read dynamic segments via the API (GET /segments) but you cannot create or modify them programmatically — segments are UI-managed. If you need to build subscriber-selection logic in code, use /groups instead (fully CRUD-able) and treat groups as static segments.
The /automations endpoint lets you list, activate, and deactivate automations, and view subscriber-level activity. You cannot create a new automation via the API — the flow builder is UI-only. Similar to Mailchimp’s Customer Journey Builder gap. Plan around this: create your automation templates in the UI, then use the API to bulk-add subscribers or trigger enrollment.
A MailerLite API key can do anything the account allows. There is no read-only or campaigns-only scope. To limit blast radius of a leaked token, generate per-integration keys and revoke individually. Best practice: dedicated service-account user with per-integration tokens, rotated on staff turnover.
MailerLite maintains a changelog on the developers portal at developers.mailerlite.com. Key items to know:
Yes, via its transactional companion MailerSend. The MailerSend MCP Server is hosted at mcp.mailersend.com/mcp in BETA, HTTP transport, aligned with the MCP 2026-07-28 spec. Wide coverage: email send/bulk/status, SMTP config, templates, webhooks, inbound, analytics, activity logs, SMS. Compatible with Claude Desktop/web/Code, Gemini CLI, VSCode, Cursor, and ChatGPT (Pro/Plus beta). For the Marketing API side (broadcasts, automations, subscribers), there is no MCP server yet but MailerLite ships native Claude and ChatGPT integrations for natural-language operations.
Five official SDKs for the Marketing API v2: PHP, Node.js, Python, Ruby, Go. No official .NET, Java, Rust, Kotlin, or Swift SDK. Community wrappers exist for .NET. For unsupported languages, call the API directly with your language’s HTTP client — the JSON payloads are straightforward.
Two tiers. General requests are limited to 120 per minute per API key. Import operations (batch subscriber upserts and imports) have a stricter 5 requests per minute throttle. Exceeding either returns HTTP 429. Use the batch endpoint for bulk operations to reduce per-call overhead and stay under both ceilings.
Bearer token authentication. Generate an API key under Integrations › API in the MailerLite UI, then send it in the Authorization header: Authorization: Bearer YOUR_API_KEY. Tokens are account-scoped and inherit the permissions of the user who created them. No granular scopes — a token can do anything the account allows.
Different products for different jobs. MailerLite Marketing API v2 handles broadcasts, newsletters, automations, subscribers, forms, campaigns, and ecommerce integration. MailerSend handles transactional email (order confirmations, password resets, receipts) plus SMS. Different API keys, different rate limits, different pricing, different SDKs. SSO links the two accounts so you can operate both from one login. MailerSend has an official MCP server; the Marketing API does not (yet).
Two paths. For transactional email: connect the MailerSend MCP Server (mcp.mailersend.com/mcp) — hosted, HTTP transport, compatible with Claude Desktop/web/Code, Cursor, VSCode, ChatGPT. For marketing operations (drafting campaigns, analyzing open rates, managing subscribers): use MailerLite’s native Claude integration from the integrations directory — not an MCP server per se, but a first-party Claude connector for the Marketing API.
Not formally deprecated but no longer the recommended target. Classic API v1 remains available at developers-classic.mailerlite.com for legacy integrations. New development should target the current v2 at connect.mailerlite.com/api. MailerLite has not announced a v1 shutoff date, but the v2 documentation and SDKs receive all new feature work.
This review follows our email infrastructure testing methodology. We disclose affiliate relationships in our editorial independence policy.