MailerLite MCP Server
for AI Agents
Connect your AI agent to StackOne's MailerLite MCP server and give it 51 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
51 Agent Actions
Create, read, update, and delete across MailerLite — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your MailerLite MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every MailerLite tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every MailerLite call.
Tools Discovery →What is the MailerLite MCP Server?
A MailerLite MCP server lets AI agents read and write MailerLite data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's MailerLite MCP server ships with 51 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All MailerLite MCP Tools
Every action from MailerLite's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Automations
- Create Automation
Create a draft automation.
- List Automations
List automations in the account.
- Get Automation
Fetch a single automation by ID.
- Delete Automation
Delete an automation by ID.
Campaigns
- Create Campaign
Create a new campaign.
- List Campaigns
List campaigns in the account.
- Get Campaign
Fetch a single campaign by ID.
- Update Campaign
Update an existing campaign.
- Delete Campaign
Delete a campaign by ID.
Fields
- Create Field
Create a custom subscriber field.
- List Fields
List custom subscriber fields.
- Update Field
Rename a custom field.
- Delete Field
Delete a custom field by ID.
Forms
- List Forms
List forms of a given type.
- Get Form
Fetch a single form by ID.
- Update Form
Rename a form.
- Delete Form
Delete a form by ID.
Groups
- Create Group
Create a new subscriber group.
- List Groups
List subscriber groups in the account.
- Update Group
Rename an existing group.
- Delete Group
Delete a group by ID.
Segments
- List Segments
List segments in the account.
- Update Segment
Rename an existing segment.
- Delete Segment
Delete a segment by ID.
Subscribers
- List Subscribers
List subscribers in the MailerLite account.
- Get Subscriber
Fetch a single subscriber by ID or email address.
- Update Subscriber
Update an existing subscriber by ID.
- Delete Subscriber
Delete a subscriber by ID.
Webhooks
- Create Webhook
Create a webhook subscription.
- List Webhooks
List webhooks configured in the account.
- Get Webhook
Fetch a single webhook by ID.
- Update Webhook
Update an existing webhook.
- Delete Webhook
Delete a webhook by ID.
Other (18)
- Send Batch Request
Send multiple API operations in a single batch request.
- Import Subscribers To Group
Bulk import subscribers to a group.
- Create Or Update Subscriber
Create a new subscriber or update an existing one (upsert by email).
- List Automation Subscribers
List subscriber activity for an automation.
- Get Campaign Subscriber Activity
Get subscriber activity for a sent campaign.
- List Form Subscribers
List subscribers who signed up through a form.
- List Group Subscribers
List subscribers belonging to a group.
- List Campaign Languages
List all supported campaign languages.
- List Segment Subscribers
List subscribers belonging to a segment.
- Get Subscribers Count
Fetch the total number of subscribers.
- Get Subscriber Activity
Fetch the activity log for a subscriber.
- Get Subscriber Import
Get a single subscriber import report.
- List Timezones
List all timezones supported by MailerLite.
- Schedule Campaign
Schedule or send a campaign.
- Cancel Campaign
Cancel a ready (scheduled) campaign.
- Assign Subscriber To Group
Assign a subscriber to a group.
- Unassign Subscriber From Group
Remove a subscriber from a group.
- Forget Subscriber
Forget (GDPR delete) a subscriber by ID.
MailerLite AI Agent Use Cases
Connect your AI agent to MailerLite and help your team scale the marketing operations they run by hand today.
Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.
ViewUse StackOne to connect your AI agent to your marketing automation, email, and analytics platforms to automate campaign performance reporting.
ViewUse StackOne to connect your AI agent to your document stores, email platforms, and messaging tools to automate content repurposing and distribution.
ViewSet Up Your MailerLite MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to MailerLite in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
MailerLite MCP Server FAQ
Does StackOne have a MailerLite MCP server?
MailerLite MCP server vs direct API integration — what's the difference?
How does MailerLite authentication work for AI agents?
origin_owner_id.Are MailerLite MCP tools vulnerable to prompt injection?
What is the context bloat of a MailerLite agent and how do I avoid it?
Can I limit which actions my MailerLite agent can access?
Can I create custom agent actions for my MailerLite MCP server?
When should I NOT use a MailerLite MCP server?
What AI frameworks and AI clients does the StackOne MailerLite MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.