- Generate an overview of a user’s access across resources and groups
- Add or remove users from resources and groups
- Update user access levels and durations
- Manage group memberships
Installation
First, create an API Token in your Opal environment. Then, select a method and follow the instructions below.If you run self-hosted, remember to replace https://app.opal.dev to your own
domain.
- Claude Code
- Cursor
- Gemini CLI
- Other
To install, run the following command in your shell:Then authenticate with Opal.To learn more, see Claude Code documentation.
Available Tools
| Tool | Description |
|---|---|
opal_user | Retrieves detailed user information from Opal. This endpoint is designed to fetch user details by either user ID (UUID) or email address. The endpoint follows a strict precedence rule where user_id takes priority. |
opal_get_user_tags | Returns all tags applied to the user. |
opal_get_users | Returns a list of users for your organization. |
opal_update_resource_user | Updates a user’s access level or duration on this resource. |
opal_delete_resource_user | Removes a user’s direct access from this resource. |
opal_set_owner_users | Sets the list of users for this owner. If escalation is enabled, the order of this list is the escalation priority order of the users. If the owner has a source group, adding or removing users from this list won’t be possible. |
opal_get_owner_users | Gets the list of users for this owner, in escalation priority order if applicable. |
opal_add_group_user | Adds a user to this group. |
opal_update_group_user | Updates a user’s access level or duration in this group. |
opal_delete_group_user | Removes a user’s access from this group. |
opal_get_group_users | Gets the list of users for this group. |

