Repository navigation
v0.62.0
filex v0.62.0
Self-hosted file manager - Go single binary + multi-framework frontend.
Download a binary below, or pull a Docker image:
docker pull ghcr.io/brf-tech/filex:slim-v0.62.0
docker pull ghcr.io/brf-tech/filex:full-v0.62.0What changed
Added
- MCP clients connect with OAuth: the MCP address and a browser sign-in,
no API key to paste (task #374; thanks @benjaminstary, #140/#141). A
client that takes only a server URL (Confer was the one asked for) finds
filex's authorization server from a401on/api/ai/mcp, registers
itself, opens the browser on filex's own sign-in (a password, LDAP, or an
identity provider such as Pocket ID: nothing changes there), and the
person sees which app asks, at which address, as which account, for what,
and where the browser goes back to, before Allow access. The client
gets an hour-long key of the person's, labelled MCP OAuth: <client>
among their API keys, that opens/api/ai/mcpand nothing else, and a
refresh token that rotates (an old one coming back revokes the
connection). Authorization Code with S256 PKCE only, the exact registered
callback (a loopback one on any port),read mcpunless the client asks
forwrite,deleteor aroot:folder - never beyond what the person
may do, neveradmin; a connection lasts 30 days, and removing its key
ends it. On a multi-tenant install every address is its own issuer:
the platform's and each tenant's own, and a client, a code or a key made
at one is refused at every other; a sign-in handed to a tenant's address
takes the waiting connection along. Discovery (RFC 9728, RFC 8414),
dynamic registration (RFC 7591), revocation (RFC 7009), resource
indicators (RFC 8707). The API key way is unchanged. Under a base path
the discovery documents come before the base (/.well-known/oauth-*/filex):
the Helm chart's Ingress routes them whenbasePathis set, and the
sub-path samples in DEPLOYMENT.md do.
MCP.md → Connecting with OAuth.
Fixed
- MCP works behind a reverse proxy on the same machine (task #374).
Caddy or nginx in front of filex on127.0.0.1sends every request over a
loopback connection with the public host name, and the MCP SDK's
DNS-rebinding guard refused each one with403 Forbidden: invalid Host header- after filex had accepted the key - so neither an API key nor an
OAuth client could use/api/ai/mcpthere. The guard is off for this
endpoint: it answers nobody without an API key in a header, which a page
that rebinds a name to127.0.0.1cannot send; a request without one is
still a401.
MCP.md → MCP endpoint.
Verify: sha256sum -c checksums.txt
- Documentation - https://docs.filex.sh
- Report a bug - https://github.com/BRF-Tech/filex/issues
- Full changelog - https://github.com/BRF-Tech/filex/blob/main/CHANGELOG.md
- Every release - https://github.com/BRF-Tech/filex/releases