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

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

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

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

3. **Limit the tools**

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

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

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

## Employee: connect Retool

### In the portal

1. **Open Retool in the catalog**

   Sign in to your portal and open Retool. 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 retool
metorial setup <catalog-item-id>
```

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

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

## Check it worked

```bash
metorial list retool
metorial tools <integration-id>
metorial call <integration-id> list_groups -d '{}'
```

`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. Needs `direction`.
- `get_user`: Retrieve detailed information about a specific Retool user by their ID. Needs `userId`.
- `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. Needs `runId`.
- `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. Needs `groupId`.
- `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. Needs `appName`.
- `manage_group_members`: Add or remove users from a permission group. Needs `groupId`, `action` and `members`.
- `update_user`: Update a Retool user's properties such as name, email, active status, or metadata. Needs `userId`.
- `manage_permissions`: Grant or revoke access permissions for users or groups on Retool objects (apps, folders, resources, resource configurations). Needs `action`, `subjectType`, `subjectId`, `objectType`, `objectId` and `accessLevel`.
- `update_app`: Compatibility action. Needs `appId`.
- `manage_folder`: Create, update, or delete a folder in the Retool organization. Needs `action`.
- `create_group`: Create a new permission group in the Retool organization. Needs `groupName`.
- `manage_space`: Create, update, or delete a Space in the Retool organization. Needs `action`.
- `update_group`: Update a permission group's settings including name, universal access levels, and organizational permissions. Needs `groupId`.
- `create_user`: Create a new user in the Retool organization. Needs `email`, `firstName` and `lastName`.
- `manage_user_attributes`: Set or delete custom attributes (key-value metadata) on a Retool user. Needs `userId`, `action` and `attributeName`.

### Destructive tools (3)

- `delete_group`: Delete a permission group from the Retool organization. Needs `groupId`.
- `delete_user`: Disable a user in the Retool organization. Needs `userId`.
- `delete_app`: Request deletion of an exact Retool application. Needs `appId`.

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