# 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.

- Page: https://www.agent200.com/connectors/mailerlite/
- Category: Email and calendar
- Authentication: Managed OAuth
- Identifier in code: `mailerlite`
- Create an API key: https://agent200.com/platform/apikeys/
- Updated: 2026-11-18

## Instructions for AI agents

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/

## About

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.

## MailerLite tools

- **List campaigns** (`mailerlite_list_campaigns`, read): Find campaigns in the connected MailerLite account.
- **Read a campaign** (`mailerlite_get_campaign`, read): Retrieve one identified campaign and available metrics.
- **List subscribers** (`mailerlite_list_subscribers`, read): Find subscribers with supported filters and pagination.
- **Read a subscriber** (`mailerlite_get_subscriber`, read): Retrieve one subscriber by ID or email.
- **List groups** (`mailerlite_list_groups`, read): Find subscriber groups in the account.

## Limits you can set

**Turn single tools on or off.** Let the agent read campaigns and groups, and switch off `mailerlite_list_subscribers` if 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

### Step 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.

File `agent.js`:

```js
// One Agent200 API key covers every connector enabled for the project.
const agent200 = new Agent200({
  apiKey: process.env.AGENT200_API_KEY,
});
```

(Conceptual example of the Agent200 SDK.)

### Step 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.

File `connect.js`:

```js
// 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);
}
```

(Conceptual example of the Agent200 SDK.)

### Step 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.

File `run.js`:

```js
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);
```

(Conceptual example of the Agent200 SDK.)

## 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.

## Example requests

- "List the campaigns we sent last month"
- "Find the subscriber record for dana@acme.com"
- "Which groups do we have in MailerLite"

## Guides: MailerLite with your AI framework

- [MailerLite + Claude](https://www.agent200.com/connectors/mailerlite/framework/claude.md): Read campaigns with Claude and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.
- [MailerLite + ChatGPT](https://www.agent200.com/connectors/mailerlite/framework/chatgpt.md): Use ChatGPT to build a separate read-only MailerLite assistant with Agent200. Ground the campaign performance briefing in returned source data.
- [MailerLite + Claude Code](https://www.agent200.com/connectors/mailerlite/framework/claude-code.md): Use Claude Code to build a separate read-only MailerLite assistant with Agent200. Ground the campaign performance briefing in returned source data.
- [MailerLite + Muse](https://www.agent200.com/connectors/mailerlite/framework/muse.md): Read campaigns with Muse and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.
- [MailerLite + Grok Bot](https://www.agent200.com/connectors/mailerlite/framework/grok-bot.md): Read campaigns with Grok Bot and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.
- [MailerLite + OpenAI Dots](https://www.agent200.com/connectors/mailerlite/framework/openai-dots.md): Use OpenAI Dots to build a separate read-only MailerLite assistant with Agent200. Ground the campaign performance briefing in returned source data.
- [MailerLite + Claude Duet](https://www.agent200.com/connectors/mailerlite/framework/claude-duet.md): Read campaigns with Claude Duet and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.
- [MailerLite + Hermes Agent](https://www.agent200.com/connectors/mailerlite/framework/hermes-agent.md): Read campaigns with Hermes Agent and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.
- [MailerLite + OpenClaw](https://www.agent200.com/connectors/mailerlite/framework/openclaw.md): Read campaigns with OpenClaw and Agent200. Prepare a campaign performance briefing using the connected user’s own MailerLite account.

## FAQ

### 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](https://developers.mailerlite.com/mcp).

### 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.

## Related connectors

- [Gmail](https://www.agent200.com/connectors/gmail.md): Read, search, draft and send email from each user's own Gmail account.
- [Outlook](https://www.agent200.com/connectors/outlook.md): Work with mail and calendar in each user's Microsoft Outlook account.
- [Google Calendar](https://www.agent200.com/connectors/google-calendar.md): Check availability and create, update or cancel events in your users' calendars.
- [Calendly](https://www.agent200.com/connectors/calendly.md): Find open times, share booking links, and book, review or cancel meetings in Calendly on behalf of each of your users.

---

Agent200: https://www.agent200.com/ · API keys: https://agent200.com/platform/apikeys/ · Docs: https://docs.igpt.ai/
