MetorialDocs

Set up Mailchimp in Metorial for Claude, ChatGPT and Cursor

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

To give your team Mailchimp in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mailchimp integration in a Metorial portal, and each person signs in to Mailchimp with their own account. Agents can manage email marketing audiences, campaigns, and automations. The integration has 21 tools, 8 read-only, 3 write and 10 destructive, plus 2 triggers.

What you'll learn

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

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Mailchimp
API KeyAPI tokentoken

The portal and metorial setup use OAuth unless someone picks another method.

OAuth

People sign in to Mailchimp and approve the permissions it lists.

API Key

To connect, a person enters:

  • token: Mailchimp API key (e.g., "abc123def-us19"). Find it under Profile > Extras > API Keys.

Setup settings

Whichever method you pick, setup also asks for:

  • serverPrefix (optional): Mailchimp data center prefix (e.g., "us19"). Required for API key auth; auto-detected for OAuth.

Use your own Mailchimp OAuth app

With your own OAuth app, people see your company's name on the Mailchimp consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Mailchimp and copy the Redirect URI.

Register the app with Mailchimp

In Mailchimp, open the Registered Apps page of your account and click Register An App. Fill in the form with the redirect URI from Metorial and click Create. The client ID and client secret appear at the bottom of the page. Copy the secret now, because Mailchimp shows it only once.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Mailchimp integration.

Admin: share Mailchimp 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 Mailchimp. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Mailchimp as themselves.

Limit the tools

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

Choose who gets it

Add the access groups that should see Mailchimp. 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 Mailchimp integration. Once it exists, check which groups have it:

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

Employee: connect Mailchimp

In the portal

Open Mailchimp in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Mailchimp sign-in tab opens. Sign in and approve the permissions listed.

Confirm

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

With the CLI

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

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Mailchimp 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 mailchimp
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 8 read-only tools, such as list_members and list_audiences, and lose the 3 write tools, such as manage_tags or add_member_event, and the 10 destructive tools, such as manage_member or send_campaign.

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 mailchimp
metorial tools <integration-id>
metorial call <integration-id> list_audiences -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_audiences takes no input. It retrieves all audiences (lists) in the Mailchimp account.

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

Tools

Read-only tools (8)

  • list_automations: Retrieve classic automation workflows from the Mailchimp account.
  • list_campaigns: Retrieve campaigns from the Mailchimp account.
  • list_members: Retrieve members (contacts) from an audience. Needs listId.
  • list_audiences: Retrieve all audiences (lists) in the Mailchimp account.
  • get_audience_activity: Retrieve recent activity and growth history for an audience. Needs listId.
  • list_templates: Retrieve email templates from the Mailchimp account.
  • get_campaign_report: Retrieve performance reports for a specific campaign or list all campaign reports.
  • search_members: Search for members (contacts) across all audiences or within a specific audience. Needs query.

Write tools (3)

  • manage_campaign_content: Get or set the HTML/plain-text content of a campaign. Needs campaignId.
  • add_member_event: Post a custom event for a list member. Needs listId, emailAddress and eventName.
  • manage_tags: Add or remove tags from a member in an audience, or list a member's current tags. Needs listId and emailAddress.

Destructive tools (10)

  • manage_campaign: Create, update, or delete an email campaign.
  • manage_template: Create, update, or delete an email template.
  • manage_audience: Create, update, or delete an audience (list).
  • send_campaign: Send, schedule, unschedule, or cancel a campaign. Needs campaignId and action.
  • manage_segments: List, create, update, or delete segments within an audience. Needs listId.
  • manage_member: Add, update, or remove a member (contact) in an audience. Needs listId and emailAddress.
  • manage_automation: Control a classic automation workflow: start, pause, or archive it. Needs workflowId and action.
  • manage_merge_fields: List, get, create, update, or delete audience merge fields. Needs listId.
  • manage_interest_groups: List, get, create, update, or delete audience interest categories and interests. Needs listId and resource.
  • manage_file_manager: List, get, upload, update, or delete File Manager files and folders. Needs resource.

Triggers

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

  • audience_webhook: Triggers on audience (list) changes including subscribe, unsubscribe, profile update, cleaned email, email address change, and campaign sending events.
  • campaign_sent: [Polling fallback] Triggers when a campaign is sent.

Next steps