> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up RudderStack in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/rudderstack
Last updated: 2026-11-24

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 will 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](https://metorial.com/docs/platform/workforce/portals) 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](https://metorial.com/docs/platform/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

1. **Open Shared Resources**

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

2. **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.

3. **Limit the tools**

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

4. **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:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search rudderstack
```

## Employee: connect RudderStack

### In the portal

1. **Open RudderStack in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your access token (serviceAccessToken).

3. **Confirm**

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

### With the CLI

```bash
metorial catalog search rudderstack
metorial setup <catalog-item-id>
```

`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.

```bash
metorial list rudderstack
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 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](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list rudderstack
metorial tools <integration-id>
metorial call <integration-id> list_libraries -d '{}'
```

`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. Needs `eventType`.
- `send_batch_events`: Send multiple customer events to RudderStack in a single batch request. Needs `batch`.

### Destructive tools (8)

- `manage_retl_sync`: Trigger, stop, or check the status of a Reverse ETL sync. Needs `action` and `connectionId`.
- `manage_transformation`: Create, update, or delete a RudderStack transformation. Needs `action`.
- `manage_library`: Create, update, or delete a RudderStack transformation library. Needs `action`.
- `test_event_delivery`: Test event transformation and delivery for a given source or source-destination setup without using the Live Events tab. Needs `testType` and `sourceId`.
- `suppress_user`: Create a user suppression regulation in RudderStack for GDPR/CCPA compliance. Needs `regulationType` and `users`.
- `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. Needs `action`.
- `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](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use RudderStack there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [RudderStack on metorial.com](https://metorial.com/integrations/rudderstack): the integration overview