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
- A portal with at least one access group
- An API key from MailerLite for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
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:
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
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.
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 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. NeedscampaignId.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). NeedsformType.get_subscriber: Fetches detailed information about a single subscriber by their ID or email address. NeedssubscriberIdOrEmail.get_subscriber_activity: Retrieves activity logs for a specific subscriber, including email opens, link clicks, group changes, bounces, and more. NeedssubscriberId.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. Needsaction.manage_group_subscribers: Assigns or removes a subscriber from a group, or lists all subscribers in a group. NeedsactionandgroupId.manage_group: Creates, updates, or deletes a subscriber group. Needsaction.create_or_update_subscriber: Creates a new subscriber or updates an existing one by email address. Needsemail.create_campaign: Creates a new email campaign. Needsname,typeandemails.schedule_or_send_campaign: Schedules a campaign for delivery or sends it immediately. NeedscampaignIdandaction.manage_webhook: Lists, gets, creates, updates, or deletes MailerLite webhooks for subscriber and campaign events. Needsaction.update_campaign: Updates a draft MailerLite campaign. NeedscampaignId.
Destructive tools (2)
delete_campaign: Permanently deletes a campaign from the account. NeedscampaignId.delete_subscriber: Deletes a subscriber from the account, or performs a GDPR-compliant "forget" operation that permanently removes all subscriber data within 30 days. NeedssubscriberId.
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
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use MailerLite there
- Tool permissions: tool filters and what employees see
- MailerLite on metorial.com: the integration overview