Set up Customer.io in Metorial for Claude, ChatGPT and Cursor
Share Customer.io with your team in Claude, ChatGPT and Cursor through Metorial: API credentials sign-in, 17 tools (7 read-only).
To give your team Customer.io in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Customer.io integration in a Metorial portal, and each person connects with API credentials. Agents can track customer behavior and attributes, send targeted messages (email, SMS, push, in-app, Slack), and manage marketing automation workflows. The integration has 17 tools, 7 read-only, 7 write and 3 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Customer.io in a portal and how each person connects
- What Customer.io asks for when you connect, and where to find it
- How to keep the 7 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- API credentials from Customer.io for each person, or one set 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 Credentials | Custom credentials | token, siteId and trackApiKey |
API Credentials
To connect, a person enters these values:
token: App API Key (Bearer token) — found under Account Settings > API Credentials. Used to trigger messages, manage broadcasts, and fetch workspace data.siteId: Site ID — found under Account Settings > API Credentials. Used as the username for Track API basic authentication.trackApiKey: Track API Key — found under Account Settings > API Credentials. Used as the password for Track API basic authentication.
Setup settings
Setup also asks for:
region(optional): The data center region for your Customer.io account. US is the default for most accounts. One of "us", "eu".
Admin: share Customer.io 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 Customer.io. For how members connect, choose Each person connects so everyone enters their own API credentials, or Shared connection to enter the API credentials once for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Customer.io.
Choose who gets it
Add the access groups that should see Customer.io. 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 Customer.io integration. Once it exists, check which groups have it:
Employee: connect Customer.io
In the portal
Open Customer.io in the catalog
Sign in to your portal and open Customer.io. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API credentials (token, siteId and trackApiKey).
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 Customer.io 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 7 read-only tools, such as get_person and get_campaign, and lose the 7 write tools, such as track_event or manage_device, and the 3 destructive tools, such as merge_people or delete_person.
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 17 tools, minus any you rejected. list_segments takes no input. It retrieves all segments in your Customer.io workspace.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (7)
list_collections: Retrieve all collections in your Customer.io workspace.list_segments: Retrieve all segments in your Customer.io workspace.list_campaigns: Retrieve campaigns from your Customer.io workspace.search_people: Search for people in your Customer.io workspace using complex filters. Needsfilter.get_person: Look up a person in your Customer.io workspace and retrieve their attributes, segments, and recent activity. NeedspersonIdentifier.get_campaign: Retrieve detailed information about a specific campaign, including its actions, metrics, and configuration. NeedscampaignId.get_segment_membership: Retrieve the people who belong to a specific segment. NeedssegmentId.
Write tools (7)
manage_collection: Create, update, or delete a collection in your Customer.io workspace. Needsaction.manage_manual_segment: Add or remove people from a manual segment. Needsaction.track_event: Track a custom event for a person or an anonymous event. NeedseventName.manage_device: Register or remove a device for push notifications associated with a person. NeedspersonIdentifier,actionanddeviceToken.send_transactional_message: Send a transactional message (email, push notification, or SMS) to a person. NeedschannelandtransactionalMessageId.trigger_broadcast: Trigger an API-triggered broadcast to send messages to a wide audience. NeedsbroadcastId.upsert_person: Create a new person or update an existing person in your Customer.io workspace. NeedspersonIdentifier.
Destructive tools (3)
delete_person: Delete a person from your Customer.io workspace. NeedspersonIdentifier.merge_people: Merge two person profiles into one. NeedsprimaryIdentifierandsecondaryIdentifier.suppress_person: Suppress or unsuppress a person in your Customer.io workspace. NeedspersonIdentifierandaction.
Triggers
Customer.io has 2 triggers, which fire on events in Customer.io:
message_event: Triggered when a message-related event occurs in Customer.io — such as emails sent, opened, clicked, bounced; SMS delivered; push notifications opened; and more.subscription_event: Triggered when a subscription-related event occurs — a person subscribes, unsubscribes, or changes subscription preferences.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Customer.io there
- Tool permissions: tool filters and what employees see
- Customer.io on metorial.com: the integration overview