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

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

Share Egnyte with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 40 tools (17 read-only).

---

To give your team Egnyte in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Egnyte integration in a Metorial portal, and each person signs in to Egnyte with their own account. Agents can manage Egnyte files, folders, sharing links, permissions, users and custom groups. The integration has 40 tools, 17 read-only, 15 write and 8 destructive, plus 2 triggers.

**What you will learn**

- How an admin shares Egnyte in a portal and how each person connects
- The 7 OAuth scopes Egnyte can request, and what each one allows
- How to keep the 17 read-only tools and reject the other 23

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Egnyte for each person who connects
- 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 |
| --- | --- | --- |
| **OAuth** | OAuth | Signs in to Egnyte after entering `domain` |

### OAuth

Before the sign-in, setup asks for:

- `domain`: Your Egnyte domain (the subdomain part of {domain}.egnyte.com, e.g. "mycompany")

People sign in to Egnyte and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `Egnyte.filesystem` | File System | Read, write, and delete files and folders |
| `Egnyte.link` | Links | Create and delete file/folder sharing links |
| `Egnyte.user` | Users | Create, update, and delete users |
| `Egnyte.permission` | Permissions | Add, update, delete, and report on folder permissions |
| `Egnyte.audit` | Audit | Generate audit reports for login, file, and permission activity |
| `Egnyte.bookmark` | Bookmarks | Manage bookmarks to files and folders |
| `Egnyte.projectfolders` | Project Folders | Manage project folder structures and activities |

### Setup settings

Setup also asks for:

- `domain`: Your Egnyte domain (the subdomain part of {domain}.egnyte.com, e.g. "mycompany")

## Use your own Egnyte OAuth app

With your own OAuth app, people see your company's name on the Egnyte consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Egnyte and copy the **Redirect URI**.

2. **Register the app with Egnyte**

   Create an OAuth app or client in Egnyte and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Egnyte integration.

## Admin: share Egnyte 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 Egnyte. For how members connect, choose **Each person connects**, so everyone signs in to Egnyte as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Egnyte

### In the portal

1. **Open Egnyte in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. An Egnyte sign-in tab opens. Sign in and approve the permissions listed.

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

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Egnyte 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 egnyte
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 17 read-only tools, such as `search` and `get_user`, and lose the 15 write tools, such as `copy_item` or `lock_file`, and the 8 destructive tools, such as `move_item` or `delete_item`.

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

`metorial tools` lists the 40 tools, minus any you rejected. `list_links` takes no input. It lists sharing links in Egnyte.

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

## Tools

### Read-only tools (17)

- `get_workflow`: Get details of a specific workflow in Egnyte including its status, steps, tasks, and completion information. Needs `workflowId`.
- `list_folder`: List the contents of a folder in Egnyte. Needs `folderPath`.
- `list_links`: List sharing links in Egnyte.
- `get_audit_report`: Check an audit report generation job, then retrieve its JSON page or prepare the CSV report for download when complete. Needs `reportType` and `reportId`.
- `get_user`: Retrieve detailed information about a specific user in Egnyte by their user ID. Needs `userId`.
- `list_groups`: List custom groups in your Egnyte domain.
- `list_comments`: List all comments (notes) on a specific file in Egnyte. Needs `filePath`.
- `get_permissions`: Retrieve the permissions assigned to a folder in Egnyte. Needs `folderPath`.
- `get_file_info`: Retrieve metadata for a file or folder in Egnyte.
- `list_users`: List users in your Egnyte domain.
- `list_trash`: List one page of items in the Egnyte trash.
- `search`: Search for files and folders in Egnyte by filename, content, or metadata. Needs `query`.
- `list_workflow_tasks`: List pending workflow tasks assigned to the current user in Egnyte.
- `get_resource`: Read one sharing link, custom group, metadata namespace definition, or exact file/folder metadata values.
- `list_resources`: Discover metadata namespaces or workflows visible to the connected user.
- `get_current_user`: Identify the Egnyte user associated with this connection.
- `download_file`: Prepare an Egnyte file for download using its persistent group ID.

### Write tools (15)

- `create_folder`: Create a new folder at the specified path in Egnyte. Needs `folderPath`.
- `create_audit_report`: Generate an audit report in Egnyte for login activity, file actions, permission changes, user provisioning, or group management. Needs `reportType`, `dateStart` and `dateEnd`.
- `create_link`: Create a sharing link for a file or folder in Egnyte. Needs `path`, `type` and `accessibility`.
- `create_group`: Create a new group in your Egnyte domain with optional initial members. Needs `displayName`.
- `set_permissions`: Set or update folder permissions in Egnyte for specific users and/or groups. Needs `folderPath`.
- `update_group`: Update a group in Egnyte. Needs `groupId`.
- `create_user`: Create a new user in your Egnyte domain. Needs `userName`, `email`, `givenName` and `familyName`.
- `copy_item`: Copy a file or folder to a new location in Egnyte. Needs `sourcePath` and `destinationPath`.
- `create_workflow`: Create a review and approval workflow on a file in Egnyte. Needs `name`, `workflowType`, `fileGroupId` and `steps`.
- `restore_from_trash`: Restore a file or folder from the Egnyte trash back to its original location. Needs `trashItemPath`.
- `add_comment`: Add a comment (note) to a file in Egnyte. Needs `filePath` and `message`.
- `update_user`: Update an existing user's properties in Egnyte. Needs `userId`.
- `lock_file`: Lock or unlock a file in Egnyte to prevent or allow concurrent edits. Needs `path`, `action` and `lockToken`.
- `set_metadata`: Set custom metadata key-value pairs on a file or folder in Egnyte within a specific namespace. Needs `targetType`, `targetId`, `namespace` and `properties`.
- `upload_file`: Upload a text or base64 file to an Egnyte folder, replacing the current content if that filename exists.

### Destructive tools (8)

- `delete_comment`: Delete a comment (note) from a file in Egnyte. Needs `commentId`.
- `move_item`: Move a file or folder to a new location in Egnyte. Needs `sourcePath` and `destinationPath`.
- `cancel_workflow`: Request cancellation of an in-progress workflow in Egnyte. Needs `workflowId`.
- `delete_user`: Delete a user from your Egnyte domain. Needs `userId`.
- `empty_trash`: Legacy whole-trash operation.
- `delete_group`: Delete a group from your Egnyte domain. Needs `groupId`.
- `delete_item`: Delete a file or folder in Egnyte. Needs `path`.
- `delete_link`: Delete a sharing link in Egnyte. Needs `linkId`.

## Triggers

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

- `content_events`: Triggered when files, folders, links, comments, metadata, permissions, workflows, or groups change in Egnyte.
- `file_activity`: [Polling fallback] Polls the Egnyte Events API (v2) for file system, comment, and permission change events.

## 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 Egnyte there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Egnyte on metorial.com](https://metorial.com/integrations/egnyte): the integration overview