filex
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| app_actionsA | List the app actions (installed apps: Convert, e-signature, …) that apply to the file or folder at path, as the explorer's right-click menu offers them to you: {path, actions: [{plugin, id, label, view, output_mode, min_role, …}]}. Start one with app_run. An action with |
| app_runA | Run an app action on files (plugin and action from app_actions) - the explorer's menu action, with its rules: your role and grants on each file, the app's own permissions, the actions an administrator restricted. Without params an action that has a form answers it ({surface: …}) instead of running; call again with params holding the fields' values. With params (an empty object for an action without a form) the job is queued. It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel. An action an app starts itself (the second half of its own flow) cannot be run from here. |
| archive_createA | Pack files and folders into a NEW archive on the server: zip, 7z or the TAR family (format, or from dest's extension), optionally with a password (zip, 7z). The bytes never travel over MCP - share dest to hand it out. Refuses an existing dest (TARGET_EXISTS). Needs files.download on every source. An encrypted file does not leave its encrypted folder inside an archive (E2E_BOUNDARY); into an encrypted folder only with allow_plaintext. It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel. |
| archive_extractA | Extract an archive already in storage (zip, 7z, rar, tar, tar.gz, tar.bz2, tar.xz, …) into a folder on the server - its own folder unless dest says another - with password for a protected one (PASSWORD_REQUIRED when it needs one). members picks entries. Members under one of filex's own names are skipped; an encrypted archive cannot be opened (E2E_ENCRYPTED); into an encrypted folder only with allow_plaintext. It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel. |
| file_comment_addA | Comment on a file or folder. Everyone who can see the item reads it and its owner is told; needs the account's comments.write and the API key's comments:rw. |
| file_comment_deleteA | Delete a comment by its id: your own, or - for an administrator - any on the tenant's files. Needs the API key's comments:rw. |
| file_commentsC | The comments on a file or folder: {comments: [{id, user_id, body, created_at, …}], node_id}. Everyone who can see the item reads them. |
| file_convertA | Convert a file to another format (target: pdf, docx, xlsx, png, …) on the server with the Convert app - the explorer's Convert… action. Needs the Convert app installed by an administrator (else NOT_FOUND). The converted file lands beside the original under a free name. It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel. |
| file_copyA | Copy a file or folder to dst - within a storage or to another one - on the server, through the operations queue (the explorer's paste). dst is where the copy lands (its folder and its name), as for file_move. Never overwrites: a taken name lands beside it (rapor-copy.txt), so read the finished operation rather than assuming the name. Needs edit rights on the source and files.create in the destination folder. An encrypted file does not leave its encrypted folder (E2E_BOUNDARY). It answers 202 with the queued operation ({op: {id, …}}): follow it with op_get {id} until its status is ok (or partial, failed, cancelled), stop it with op_cancel. |
| file_deleteA | Soft-delete a file or folder (moved to filex trash, recoverable from the UI). |
| file_infoA | Get metadata (size, mime, type, modified time) for a single file or folder, including encrypted / e2e_root as file_list reports them. |
| file_listA | List files and folders in a directory. Path is adapter://dir (adapter = storage name); empty path lists the first storage's root. An entry with encrypted: true is end-to-end encrypted (inside the encrypted folder named by e2e_root, or a single encrypted .fxe file): filex holds no key, so its content cannot be read here. |
| file_mkdirC | Create a directory at the given adapter://path. |
| file_moveA | Move or rename a file/folder, within a storage or across two (the bytes are copied and verified, then the source is removed). Never overwrites: if dst is taken the item lands on a free name beside it (rapor-copy.txt), so use the returned entry.path - it may differ from what you asked for. entry.type says what moved: "dir" for a folder, "file" for a file. Moving an item onto its own path does nothing. A folder moved across storages that holds links filex cannot follow is copied WITHOUT them and its source is KEPT: then entry.source_kept is true and entry.left_behind names each one - a success, do not retry. |
| file_permission_revokeA | Take a grant away by its id (a row of file_permissions; group: true for a group's row - the two are numbered apart). Needs owner level on the item. |
| file_permission_setA | Grant a person (user_id) or a group (group_id) a level on a file or folder - viewer, editor or owner; a folder's grant reaches what is inside it. Needs owner level on the item and the account's share.users, and works on a storage with access control (storage_rbac); a viewer account can only be given viewer (RBAC.md). |
| file_permission_usersA | Find people to grant to, by part of a name or e-mail address, in your tenant: {users: [{id, email, display_name, username, role}]}. |
| file_permissionsA | Who may open a file or folder, as its Share dialog shows the owner: {path, storage_rbac, direct: [grants on it], inherited: [grants from a folder above], effective (your own level)}. Each grant has an id, kind (user or group), the person or group and the level. Needs owner level on the item. |
| file_readA | Read a file's contents. Returns UTF-8 text when the bytes are valid UTF-8, otherwise base64. Files above 8 MiB are rejected - use the REST download endpoint for those. An end-to-end encrypted file (encrypted: true) is refused with E2E_ENCRYPTED: filex holds no key; the person decrypts it in the filex web UI or with |
| file_request_createA | Create a file request: a public UPLOAD link into a folder, for people without a filex account to send files in (the explorer's File request). Needs edit rights on the folder and the account's share.upload_links. Never into an encrypted folder (E2E_ENCRYPTED). Answers the link ({share: {url, token, …}}); the PIN, when asked for, is answered once. |
| file_rootA | Report your access scope FIRST: the confinement root you're locked to (if any) and the storage adapter names you can address. If confined, address files with bare relative paths (they resolve UNDER your root) or full adapter://root/... paths - never guess adapter names. |
| file_searchA | Search file/folder names AND (by default) inside extracted file contents within a storage. Name matching is forgiving: |
| file_shareA | Create a public share link for a file or folder (folders download as a ZIP). Returns the URL, a one-time PIN if pin=true, and download_command: the ready curl and PowerShell lines that fetch it (PIN, folder ZIP and redirects already handled - pass them on as they are). Use this to hand a file to someone without filex access - do NOT stream large files back through file_read. An end-to-end encrypted folder and anything inside it is never shared (E2E_ENCRYPTED). A single encrypted file (.fxe) is: the result says encrypted: true, and its recipient needs the file's password to open it. |
| file_snapshotA | Keep a file's current content as a version now (edit rights). Writes normally keep one by themselves; this is the explicit one before a risky change. |
| file_starA | Star a file or folder for yourself (star: false takes it off) - the explorer's star; only you see it, and it is listed under Starred. |
| file_tagsA | Read or set a file's tags. Tags come in two kinds and every tag says which: |
| file_unshareB | Revoke a public link or a file request by its token (file_share and file_request_create answer it; share_list lists yours). |
| file_unzipA | Extract a .zip already in storage into dest_dir ON THE SERVER (zip-slip protected; every entry stays within your confinement root). Returns the number of files written. Extracting into an end-to-end encrypted folder is refused with E2E_PLAINTEXT_REFUSED unless allow_plaintext is set. |
| file_upload_ticketA | Upload a LOCAL file of any size (video, dataset, spreadsheet, archive) without its bytes passing through this conversation. Returns a short-lived, credential-free URL plus the exact |
| file_version_restoreA | Replace a file's content with one of its versions (version_id from file_versions). Needs edit rights (files.modify); the content it replaces is kept as a version first. A file an app has locked answers LOCKED. |
| file_versionsA | A file's version history: {versions: [{id, size, created_at, …}], node}. Restore one with file_version_restore. |
| file_writeA | Create or overwrite a file from content you produce here: UTF-8 text in |
| file_zipA | Pack one or more files/folders into a .zip ON THE SERVER (folders recurse). The archive is written to storage at |
| notification_readA | Mark a notice read ({id}), or every notice you can see ({all: true}). Your own bookkeeping: it needs read and is not audited, as in the bell. |
| notifications_listA | Your notification bell: {items: [{id, event, title, body, read_at, …}], total, limit, offset} - your notices and the broadcasts you may see, newest first. A token confined to a folder sees only the notices about files inside it (and the ones that name no file). |
| op_cancelA | Stop one of your pending or running operations. FINISHED: it has already ended; NOT_CANCELLABLE: it is one that finishes what it starts (a rename, a restore, a permanent delete). |
| op_getA | One operation's state: {id, kind, status (pending, running, ok, partial, failed, cancelled), total, done, failed, error, …}. Someone else's operation answers NOT FOUND, as one that never existed. |
| ops_listA | List your operations on the queue - copies, app jobs, archive jobs, trash restores - newest first: {ops: [{id, kind, status, total, done, failed, error, …}]}. Only the ones you queued (an administrator's unconfined key sees everybody's). |
| share_listA | List the public links and file requests YOU made, newest first: {shares: [{token, url, kind (download | drop), node_path, expires_at, download_count, …}], total}. Revoke one with file_unshare {token}. Only links inside your root. |
| trash_listA | List what you can bring back from the trash: {entries: [{id, path (where it was), name, size, deleted_at, deleted_by_self, …}], total, total_bytes, storages: [{storage_name, count, bytes, newest_deleted_at}], summary, limit, offset}. total and total_bytes count every entry, not the page; summary says it in your language. Only entries you could see where they were, inside your root. |
| trash_restoreA | Bring trash entries back to where they were (node_ids = the id of trash_list entries, at most 1000). Every entry is checked first - files.create where it came from, app locks - and nothing is queued unless all pass. A place that is taken meanwhile is reported on the operation. Answers 202 {ops: […], done, summary} (one op per storage); follow them with op_get, whose summary says how each ended. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 41 tools
Most tools target distinct resources and actions, but there are two clear overlapping pairs: file_zip vs archive_create and file_unzip vs archive_extract, which do nearly the same thing with slightly different format support. Descriptions help distinguish them, but an agent could easily pick the narrower tool when the broader one is needed, or vice versa.
The dominant pattern is a consistent prefix + verb_noun convention (file_list, file_read, file_permission_set, archive_create), with clear grouping by domain. Minor deviations exist, such as notifications_list vs notification_read and op_get vs ops_list (singular/plural mismatch), but overall it is readable and predictable.
At 41 tools, the surface is very heavy for a single MCP server, even for a full-featured file platform. While most tools serve a real subdomain (trash, shares, permissions, comments, ops, apps), the sheer count increases selection cost and includes near-duplicate archive/zip operations.
Coverage is broad: file CRUD, listing, search, move/copy, versions, permissions, comments, tags, sharing, uploads, trash, ops, archives, and apps are all represented. Minor gaps remain (e.g., no share/request update or expiry edit, no explicit rename separate from move), but agents can work around these.