Set up Egnyte in Metorial for Claude, ChatGPT and Cursor
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'll 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 with at least one access group
- An account with Egnyte for each person who connects
- For the CLI steps: the Metorial 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.
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.
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.
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
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 Egnyte. For how members connect, choose Each person connects, so everyone signs in to Egnyte as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Egnyte.
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:
Employee: connect Egnyte
In the portal
Open Egnyte in the catalog
Sign in to your portal and open Egnyte. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. An Egnyte sign-in tab opens. Sign in and approve the permissions listed.
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 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.
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.
Check it worked
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. NeedsworkflowId.list_folder: List the contents of a folder in Egnyte. NeedsfolderPath.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. NeedsreportTypeandreportId.get_user: Retrieve detailed information about a specific user in Egnyte by their user ID. NeedsuserId.list_groups: List custom groups in your Egnyte domain.list_comments: List all comments (notes) on a specific file in Egnyte. NeedsfilePath.get_permissions: Retrieve the permissions assigned to a folder in Egnyte. NeedsfolderPath.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. Needsquery.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. NeedsfolderPath.create_audit_report: Generate an audit report in Egnyte for login activity, file actions, permission changes, user provisioning, or group management. NeedsreportType,dateStartanddateEnd.create_link: Create a sharing link for a file or folder in Egnyte. Needspath,typeandaccessibility.create_group: Create a new group in your Egnyte domain with optional initial members. NeedsdisplayName.set_permissions: Set or update folder permissions in Egnyte for specific users and/or groups. NeedsfolderPath.update_group: Update a group in Egnyte. NeedsgroupId.create_user: Create a new user in your Egnyte domain. NeedsuserName,email,givenNameandfamilyName.copy_item: Copy a file or folder to a new location in Egnyte. NeedssourcePathanddestinationPath.create_workflow: Create a review and approval workflow on a file in Egnyte. Needsname,workflowType,fileGroupIdandsteps.restore_from_trash: Restore a file or folder from the Egnyte trash back to its original location. NeedstrashItemPath.add_comment: Add a comment (note) to a file in Egnyte. NeedsfilePathandmessage.update_user: Update an existing user's properties in Egnyte. NeedsuserId.lock_file: Lock or unlock a file in Egnyte to prevent or allow concurrent edits. Needspath,actionandlockToken.set_metadata: Set custom metadata key-value pairs on a file or folder in Egnyte within a specific namespace. NeedstargetType,targetId,namespaceandproperties.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. NeedscommentId.move_item: Move a file or folder to a new location in Egnyte. NeedssourcePathanddestinationPath.cancel_workflow: Request cancellation of an in-progress workflow in Egnyte. NeedsworkflowId.delete_user: Delete a user from your Egnyte domain. NeedsuserId.empty_trash: Legacy whole-trash operation.delete_group: Delete a group from your Egnyte domain. NeedsgroupId.delete_item: Delete a file or folder in Egnyte. Needspath.delete_link: Delete a sharing link in Egnyte. NeedslinkId.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use Egnyte there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Egnyte on metorial.com: the integration overview