Set up Retool in Metorial for Claude, ChatGPT and Cursor
Share Retool with your team in Claude, ChatGPT and Cursor through Metorial: API access token sign-in, 32 tools (18 read-only).
To give your team Retool in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Retool integration in a Metorial portal, and each person connects with an API access token. Agents can programmatically manage a Retool organization's users, groups, apps, permissions, and infrastructure. The integration has 32 tools, 18 read-only, 11 write and 3 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Retool in a portal and how each person connects
- What Retool asks for when you connect, and where to find it
- How to keep the 18 read-only tools and reject the other 14
Before you start
- A portal with at least one access group
- An API access token from Retool 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: Retool API access token. Organization admins can create access tokens from Settings > API.
Setup settings
Setup also asks for:
baseUrl(optional): Base URL for the Retool API. Use https://api.retool.com for cloud-hosted or https://retool.example.com for self-hosted instances.
Admin: share Retool 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 Retool. 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 Retool.
Choose who gets it
Add the access groups that should see Retool. 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 Retool integration. Once it exists, check which groups have it:
Employee: connect Retool
In the portal
Open Retool in the catalog
Sign in to your portal and open Retool. 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 Retool 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 18 read-only tools, such as get_app and get_user, and lose the 11 write tools, such as create_app or update_app, and the 3 destructive tools, such as delete_app or delete_user.
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 32 tools, minus any you rejected. list_groups takes no input. It lists all permission groups in the Retool organization.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (18)
list_apps: List all Retool applications in the organization.list_permissions: Query permissions in two ways: list all objects a user/group has access to, or list all users/groups that have access to a specific object. Needsdirection.get_user: Retrieve detailed information about a specific Retool user by their ID. NeedsuserId.get_organization: Retrieve information about the current Retool organization, including its native organization ID and selected advanced settings.list_environments: List all environments (e.g., staging, production) configured in the Retool organization.list_resources: List all data source resources (database connections, API configurations, etc.) in the Retool organization.get_source_control_config: Retrieve the current source control configuration for the Retool organization.get_workflow_run: Read an existing workflow run's status, workflow and trigger IDs, creation timestamp, and documented user-task details. NeedsrunId.list_groups: List all permission groups in the Retool organization.list_spaces: List all Spaces (isolated sub-environments) in the Retool organization.list_workflows: List all workflows in the Retool organization.list_folders: List all folders in the Retool organization.get_group: Retrieve detailed information about a specific permission group, including its members and access settings. NeedsgroupId.list_users: List users in the Retool organization with optional filtering by email, first name, or last name.list_access_tokens: List all API access tokens configured for the Retool organization.get_app: Read exact Retool app metadata.get_resource: Read exact Retool data-source resource metadata.get_workflow: Read exact Retool workflow metadata.
Write tools (11)
create_app: Compatibility action. NeedsappName.manage_group_members: Add or remove users from a permission group. NeedsgroupId,actionandmembers.update_user: Update a Retool user's properties such as name, email, active status, or metadata. NeedsuserId.manage_permissions: Grant or revoke access permissions for users or groups on Retool objects (apps, folders, resources, resource configurations). Needsaction,subjectType,subjectId,objectType,objectIdandaccessLevel.update_app: Compatibility action. NeedsappId.manage_folder: Create, update, or delete a folder in the Retool organization. Needsaction.create_group: Create a new permission group in the Retool organization. NeedsgroupName.manage_space: Create, update, or delete a Space in the Retool organization. Needsaction.update_group: Update a permission group's settings including name, universal access levels, and organizational permissions. NeedsgroupId.create_user: Create a new user in the Retool organization. Needsemail,firstNameandlastName.manage_user_attributes: Set or delete custom attributes (key-value metadata) on a Retool user. NeedsuserId,actionandattributeName.
Destructive tools (3)
delete_group: Delete a permission group from the Retool organization. NeedsgroupId.delete_user: Disable a user in the Retool organization. NeedsuserId.delete_app: Request deletion of an exact Retool application. NeedsappId.
Triggers
Retool has 2 triggers, which fire on events in Retool:
user_changes: Detects changes to users in the Retool organization by polling the user list and comparing with previous snapshots.inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Retool there
- Tool permissions: tool filters and what employees see
- Retool on metorial.com: the integration overview