Set up RudderStack in Metorial for Claude, ChatGPT and Cursor
Share RudderStack with your team in Claude, ChatGPT and Cursor through Metorial: access token sign-in, 17 tools (7 read-only).
To give your team RudderStack in Claude, ChatGPT, Cursor and other AI clients, an admin shares the RudderStack integration in a Metorial portal, and each person connects with an access token. Agents can collect and route customer event data through the HTTP API. The integration has 17 tools, 7 read-only, 2 write and 8 destructive, plus 1 trigger.
What you'll learn
- How an admin shares RudderStack in a portal and how each person connects
- What RudderStack 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
- An access token from RudderStack 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 |
|---|---|---|
| Access Token | API token | serviceAccessToken and sourceWriteKey |
Access Token
To connect, a person enters these values:
serviceAccessToken: Service Access Token (SAT) or Personal Access Token (PAT). Found in the RudderStack dashboard under Settings > Access Tokens.sourceWriteKey(optional): Source Write Key for sending events via the HTTP API. Found in the source settings in the RudderStack dashboard.
Setup settings
Setup also asks for:
datePlaneUrl(optional): Your RudderStack Data Plane URL (e.g., https://hosted.rudderlabs.com). Required for sending events via the HTTP API.region(optional): RudderStack deployment region. Determines the Control Plane API base URL. One of "us", "eu".
Admin: share RudderStack 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 RudderStack. For how members connect, choose Each person connects so everyone enters their own access token, or Shared connection to enter one access token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from RudderStack.
Choose who gets it
Add the access groups that should see RudderStack. 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 RudderStack integration. Once it exists, check which groups have it:
Employee: connect RudderStack
In the portal
Open RudderStack in the catalog
Sign in to your portal and open RudderStack. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your access token (serviceAccessToken).
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 RudderStack 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_audit_logs and list_libraries, and lose the 2 write tools, such as send_event or send_batch_events, and the 8 destructive tools, such as suppress_user or manage_library.
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_libraries takes no input. It retrieves published transformation libraries and optionally their version history.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (7)
get_audit_logs: Retrieve audit logs from RudderStack for security auditing.list_transformations: Retrieve published transformations and optionally their version history.list_regulations: Retrieve all user suppression regulations created via the User Suppression API.list_libraries: Retrieve published transformation libraries and optionally their version history.list_tracking_plans: Retrieve all tracking plans in your workspace, or get the details of a specific tracking plan by ID.get_event_audit: Retrieve event model information from RudderStack's Event Audit API for data governance.list_tracking_plan_events: Read events attached to a tracking plan, including the IDs needed to inspect and remove them.
Write tools (2)
send_event: Send a customer event to RudderStack via the HTTP API. NeedseventType.send_batch_events: Send multiple customer events to RudderStack in a single batch request. Needsbatch.
Destructive tools (8)
manage_retl_sync: Trigger, stop, or check the status of a Reverse ETL sync. NeedsactionandconnectionId.manage_transformation: Create, update, or delete a RudderStack transformation. Needsaction.manage_library: Create, update, or delete a RudderStack transformation library. Needsaction.test_event_delivery: Test event transformation and delivery for a given source or source-destination setup without using the Live Events tab. NeedstestTypeandsourceId.suppress_user: Create a user suppression regulation in RudderStack for GDPR/CCPA compliance. NeedsregulationTypeandusers.publish_transformations: Publish one or more transformations and/or libraries in a single operation, making their latest revisions live for incoming event traffic.manage_tracking_plan: Create, update, or delete a RudderStack tracking plan. Needsaction.cancel_regulation: Cancel a user suppression regulation by its ID.
Triggers
RudderStack has 1 trigger, which fire on events in RudderStack:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use RudderStack there
- Tool permissions: tool filters and what employees see
- RudderStack on metorial.com: the integration overview