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

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

Share Stitch with your team in Claude, ChatGPT and Cursor through Metorial: API access token sign-in, 24 tools (12 read-only).

---

To give your team Stitch in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Stitch integration in a Metorial portal, and each person connects with an API access token. Agents can manage Stitch Data sources, warehouse destinations, stream selection and replication schedules with the Connect API. The integration has 24 tools, 12 read-only, 1 write and 11 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API access token from Stitch 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 |
| --- | --- | --- |
| **API Access Token** | API token | `token` |

### API Access Token

To connect, a person enters:

- `token`: Stitch API access token. For Connect API: generate from Account Settings. For Import API: generate from Integration Settings.

### Setup settings

Setup also asks for:

- `region` (optional): Data pipeline region. "us" uses api.stitchdata.com, "eu" uses api.eu-central-1.stitchdata.com. One of "us", "eu".
- `clientId` (optional): Stitch client ID (found in your Stitch dashboard URL). Required for Import API operations and extraction/load monitoring.

## Admin: share Stitch 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 Stitch. For how members connect, choose **Each person connects** so everyone enters their own API access token, or **Shared connection** to enter one API 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 Stitch.

4. **Choose who gets it**

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

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

## Employee: connect Stitch

### In the portal

1. **Open Stitch in the catalog**

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

2. **Authenticate**

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

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 stitch
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Stitch 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 stitch
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 12 read-only tools, such as `get_source` and `get_stream`, and lose the write tool `create_source`, and the 11 destructive tools, such as `push_data` or `delete_source`.

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 stitch
metorial tools <integration-id>
metorial call <integration-id> list_sources -d '{}'
```

`metorial tools` lists the 24 tools, minus any you rejected. `list_sources` takes no input. 

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

## Tools

### Read-only tools (12)

- `list_source_types`: Lists all available data source types that can be configured in Stitch, or retrieves the configuration details for a specific source type.
- `get_extraction_logs`: Retrieves detailed logs for a specific extraction job. Needs `jobName`.
- `get_stream`: Retrieves detailed schema and metadata for a specific stream (table), including all available fields and their properties. Needs `sourceId` and `streamId`.
- `list_sources`: Lists all configured data sources (integrations) in the Stitch account.
- `validate_data`: Validates data records against the Import API without actually persisting them. Needs `tableName` and `records`.
- `get_source`: Retrieves detailed information about a specific data source (integration) including its configuration properties, connection status, and report card. Needs `sourceId`.
- `list_notifications`: Lists all configured notifications for the Stitch account, including custom email recipients and post-load webhook hooks.
- `list_streams`: Lists all available streams (tables) for a data source, including their selection status and replication metadata. Needs `sourceId`.
- `list_loads`: Lists recent data load operations for the Stitch account.
- `get_destination`: Retrieves the current destination (data warehouse) configuration.
- `list_extractions`: Lists the latest completed extraction per source from the past 60 days, including paused or deleted sources.
- `get_import_status`: Checks the public Import API health for your configured region.

### Write tools (1)

- `create_source`: Creates a new data source (integration) in Stitch. Needs `type` and `displayName`.

### Destructive tools (11)

- `delete_destination`: Deletes the destination (data warehouse) from the Stitch account. Needs `destinationId`.
- `manage_post_load_hook`: Create, enable, disable, or delete a post-load webhook. Needs `action`.
- `create_destination`: Creates a new destination (data warehouse) for the Stitch account. Needs `type` and `properties`.
- `update_destination`: Updates the destination (data warehouse) configuration. Needs `destinationId`.
- `stop_replication`: Requests stopping an in-progress extraction for a source. Needs `sourceId`.
- `update_source`: Updates an existing data source's configuration. Needs `sourceId`.
- `delete_source`: Permanently deletes a data source (integration) from the Stitch account. Needs `sourceId`.
- `update_stream_selection`: Selects or deselects streams (tables) and fields (columns) for replication. Needs `sourceId` and `streams`.
- `start_replication`: Initiates a replication (sync) job for a data source. Needs `sourceId`.
- `push_data`: Pushes data records into Stitch via the Import API (Batch endpoint). Needs `tableName`, `schema` and `records`.
- `manage_custom_email`: Create, enable, disable, or delete a custom email notification recipient. Needs `action`.

## Triggers

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

- `extraction_job_status`: [Polling fallback] Polls for new or updated extraction jobs.
- `post_load_hook`: Triggers when data is loaded into the destination warehouse.

## 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 Stitch there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Stitch on metorial.com](https://metorial.com/integrations/stitch): the integration overview