Set up Stitch in Metorial for Claude, ChatGPT and Cursor
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'll 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 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, 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
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 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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Stitch.
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:
Employee: connect Stitch
In the portal
Open Stitch in the catalog
Sign in to your portal and open Stitch. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API access token (token).
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 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.
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.
Check it worked
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. NeedsjobName.get_stream: Retrieves detailed schema and metadata for a specific stream (table), including all available fields and their properties. NeedssourceIdandstreamId.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. NeedstableNameandrecords.get_source: Retrieves detailed information about a specific data source (integration) including its configuration properties, connection status, and report card. NeedssourceId.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. NeedssourceId.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. NeedstypeanddisplayName.
Destructive tools (11)
delete_destination: Deletes the destination (data warehouse) from the Stitch account. NeedsdestinationId.manage_post_load_hook: Create, enable, disable, or delete a post-load webhook. Needsaction.create_destination: Creates a new destination (data warehouse) for the Stitch account. Needstypeandproperties.update_destination: Updates the destination (data warehouse) configuration. NeedsdestinationId.stop_replication: Requests stopping an in-progress extraction for a source. NeedssourceId.update_source: Updates an existing data source's configuration. NeedssourceId.delete_source: Permanently deletes a data source (integration) from the Stitch account. NeedssourceId.update_stream_selection: Selects or deselects streams (tables) and fields (columns) for replication. NeedssourceIdandstreams.start_replication: Initiates a replication (sync) job for a data source. NeedssourceId.push_data: Pushes data records into Stitch via the Import API (Batch endpoint). NeedstableName,schemaandrecords.manage_custom_email: Create, enable, disable, or delete a custom email notification recipient. Needsaction.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use Stitch there
- Tool permissions: tool filters and what employees see
- Stitch on metorial.com: the integration overview