Email and calendar
MailerLite for AI agents.
Make the right campaign easier to review.
Read accessible campaigns and related records in MailerLite. Prepare a source-grounded campaign performance briefing within the selected account.
About MailerLite
With the MailerLite connector, your agent reads email marketing data in each user’s own MailerLite account. It can list campaigns, read a campaign, list subscribers, read a subscriber, and list groups, using only the tools your project allows.
MailerLite is an email marketing platform for newsletters and automations.
Tools
What your agent can do in MailerLite.
Each tool is a capability the model can call. You decide which ones a project allows, and every call runs with the end user's own MailerLite connection.
-
List campaigns
Readmailerlite_list_campaignsFind campaigns in the connected MailerLite account.
-
Read a campaign
Readmailerlite_get_campaignRetrieve one identified campaign and available metrics.
-
List subscribers
Readmailerlite_list_subscribersFind subscribers with supported filters and pagination.
-
Read a subscriber
Readmailerlite_get_subscriberRetrieve one subscriber by ID or email.
-
List groups
Readmailerlite_list_groupsFind subscriber groups in the account.
No tool matches that search.
Control
Limits you can set.
You decide what your agent may do in MailerLite, and Agent200 runs every call within those limits.
-
Turn single tools on or off
Let the agent read campaigns and groups, and switch off
mailerlite_list_subscribersif it should not see subscriber lists. -
Restrict what the agent reaches
Choose the endpoints and scopes a project may use, for example campaigns and groups but not subscribers. A call outside them is refused.
Get started
Connect MailerLite
in three steps.
-
1
Set up the SDK
Add the Agent200 SDK to the codebase you already have and authenticate with your API key. The key covers every connector enabled for the project.
agent.jsConceptual exampleSet up the SDK with the Agent200 API key // One Agent200 API key covers every connector enabled for the project. const agent200 = new Agent200({ apiKey: process.env.AGENT200_API_KEY, }); -
2
Let your user connect MailerLite
Each end user authorizes their own MailerLite account once. Agent200 runs the OAuth flow, handles the callback, stores the tokens and refreshes them.
connect.jsConceptual exampleLet an end user connect their account (managed OAuth) // Each end user authorizes their own MailerLite account, once. const connection = await agent200 .user("user_123") .connect("mailerlite"); if (connection.authorizationUrl) { // Show this link to your user; Agent200 handles the rest. console.log(connection.authorizationUrl); } -
3
Run with the MailerLite tools
Name the user, the model and the tools. The model decides which MailerLite tools to call, and Agent200 executes them with that user's connection.
run.jsConceptual exampleRun a request with the connector's tools const result = await agent200 .user("user_123") .run({ model: "openai/gpt-5.6-sol", input: "List the campaigns we sent last month", tools: ["mailerlite"], }); console.log(result.output);
Access
Sign-in and permissions.
-
Connect the intended account
Use the documented MailerLite authorization route. Confirm the organization, team or workspace before reading records.
-
Match access to the request
The MailerLite MCP server uses OAuth. Connect the intended account and use the tool names and schemas actually advertised by that server.
-
Preserve the application user
Keep the same stable application user identity for connection and later requests. Store the Agent200 key outside prompts and code.
For agents
Instructions for AI agents.
Using a coding agent? Paste this brief into it, or give it the address of this page. It describes the MailerLite connector and how to use it.
Connector: MailerLite, through Agent200. In code: "mailerlite". What it does: Read accessible campaigns and related records in MailerLite. Prepare a source-grounded campaign performance briefing within the selected account. Page: https://www.agent200.com/connectors/mailerlite/ 1. Get an Agent200 API key. If the developer has none, send them to https://agent200.com/platform/apikeys/ and ask them to choose "Create an API key". Read the key from the AGENT200_API_KEY environment variable. Never ask for it in chat, and never write it into code, prompts or logs. 2. Sign-in is managed OAuth. Each end user approves access once, on MailerLite's own page, through the authorization link Agent200 returns. Never ask a user for a MailerLite password or token in chat. 3. Give every request a stable id for the end user. Agent200 uses only that user's own connection. 4. Read tools: mailerlite_list_campaigns, mailerlite_get_campaign, mailerlite_list_subscribers, mailerlite_get_subscriber, mailerlite_list_groups. Name "mailerlite" in the tools of a request; the model decides which tool to call. 5. Stay within the project's settings. If a tool is turned off or a call is refused, tell the user. Do not work around it. 6. Before a write, confirm with the user, unless they asked for that exact change. 7. For setup with a specific framework, follow its guide: https://www.agent200.com/connectors/mailerlite/framework/claude/ https://www.agent200.com/connectors/mailerlite/framework/chatgpt/ https://www.agent200.com/connectors/mailerlite/framework/claude-code/ https://www.agent200.com/connectors/mailerlite/framework/muse/ https://www.agent200.com/connectors/mailerlite/framework/grok-bot/ https://www.agent200.com/connectors/mailerlite/framework/openai-dots/ https://www.agent200.com/connectors/mailerlite/framework/claude-duet/ https://www.agent200.com/connectors/mailerlite/framework/hermes-agent/ https://www.agent200.com/connectors/mailerlite/framework/openclaw/ The code on the connector page is a conceptual example of the SDK. SDK reference: https://docs.igpt.ai/
This page is also available as Markdown, for agents and LLMs: /connectors/mailerlite.md
Guides
Use MailerLite with the AI you build on.
Step-by-step setup for MailerLite with a specific model, assistant or agent framework.
-
MailerLite + Claude
How to connect MailerLite to Claude
-
MailerLite + ChatGPT
How to connect MailerLite to ChatGPT
-
MailerLite + Claude Code
How to connect MailerLite to Claude Code
-
MailerLite + Muse
How to connect MailerLite to Muse
-
MailerLite + Grok Bot
How to connect MailerLite to Grok Bot
-
MailerLite + OpenAI Dots
How to connect MailerLite to OpenAI Dots
-
MailerLite + Claude Duet
How to connect MailerLite to Claude Duet
-
MailerLite + Hermes Agent
How to connect MailerLite to Hermes Agent
-
MailerLite + OpenClaw
How to connect MailerLite to OpenClaw
FAQ
MailerLite and Agent200, answered.
What access does MailerLite need?
The MailerLite MCP server uses OAuth. Connect the intended account and use the tool names and schemas actually advertised by that server. Provider documentation.
Does a list include every record?
Subscriber data is personal data. Limit the requested scope and avoid treating a partial list or sampled search as a complete audience.
Can this workflow make changes?
The listed MailerLite operations are read-only. A proposed change in the agent answer does not edit the source.
How should I verify the answer?
Identify the selected campaign and compare the answer with campaign, subscriber and engagement fields. Disclose missing or inaccessible fields.
Are these exact runtime tool schemas?
The listed identifiers describe catalogue capabilities. Discover the actual runtime tool names and input schemas before executing a request.