MetorialDocs

Set up MailerLite in Metorial for Claude, ChatGPT and Cursor

Share MailerLite with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 21 tools (11 read-only).

To give your team MailerLite in Claude, ChatGPT, Cursor and other AI clients, an admin shares the MailerLite integration in a Metorial portal, and each person connects with an API key. Agents can manage email marketing subscribers, campaigns, automations, and signup forms. The integration has 21 tools, 11 read-only, 8 write and 2 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares MailerLite in a portal and how each person connects
  • What MailerLite asks for when you connect, and where to find it
  • How to keep the 11 read-only tools and reject the other 10

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: MailerLite API key. Generate one from Integrations > MailerLite API in your MailerLite dashboard.

Admin: share MailerLite in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose MailerLite. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from MailerLite.

Choose who gets it

Add the access groups that should see MailerLite. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user MailerLite integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search mailerlite

Employee: connect MailerLite

In the portal

Open MailerLite in the catalog

Sign in to your portal and open MailerLite. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search mailerlite
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your MailerLite connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list mailerlite
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as list_forms and list_groups, and lose the 8 write tools, such as manage_group or manage_webhook, and the 2 destructive tools, such as delete_campaign or delete_subscriber.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list mailerlite
metorial tools <integration-id>
metorial call <integration-id> list_timezones -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_timezones takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • list_subscribers: Retrieves a paginated list of subscribers.
  • get_campaign_report: Retrieves campaign details and subscriber activity reports for a sent campaign. Needs campaignId.
  • list_groups: Retrieves all subscriber groups in the account.
  • list_automations: Retrieves automations in the account, optionally filtered by enabled status, name, or group.
  • list_campaigns: Retrieves a list of campaigns.
  • list_forms: Retrieves signup forms filtered by type (popup, embedded, promotion). Needs formType.
  • get_subscriber: Fetches detailed information about a single subscriber by their ID or email address. Needs subscriberIdOrEmail.
  • get_subscriber_activity: Retrieves activity logs for a specific subscriber, including email opens, link clicks, group changes, bounces, and more. Needs subscriberId.
  • list_segments: Retrieves all segments in the account.
  • list_timezones: Lists MailerLite timezone IDs and offsets.
  • list_campaign_languages: Lists MailerLite campaign language IDs and codes.

Write tools (8)

  • manage_custom_field: Creates, updates, lists, or deletes custom subscriber fields. Needs action.
  • manage_group_subscribers: Assigns or removes a subscriber from a group, or lists all subscribers in a group. Needs action and groupId.
  • manage_group: Creates, updates, or deletes a subscriber group. Needs action.
  • create_or_update_subscriber: Creates a new subscriber or updates an existing one by email address. Needs email.
  • create_campaign: Creates a new email campaign. Needs name, type and emails.
  • schedule_or_send_campaign: Schedules a campaign for delivery or sends it immediately. Needs campaignId and action.
  • manage_webhook: Lists, gets, creates, updates, or deletes MailerLite webhooks for subscriber and campaign events. Needs action.
  • update_campaign: Updates a draft MailerLite campaign. Needs campaignId.

Destructive tools (2)

  • delete_campaign: Permanently deletes a campaign from the account. Needs campaignId.
  • delete_subscriber: Deletes a subscriber from the account, or performs a GDPR-compliant "forget" operation that permanently removes all subscriber data within 30 days. Needs subscriberId.

Triggers

MailerLite has 2 triggers, which fire on events in MailerLite:

  • subscriber_events: Triggers when subscriber events occur, such as creation, updates, unsubscribes, group changes, bounces, spam reports, and automation activity.
  • campaign_events: Triggers when campaign events occur, such as a campaign finishing sending, a subscriber opening a campaign, or clicking a link.

Next steps