Filelayer
dev.filelayer/core
About Filelayer
Filelayer is an MCP server published by filelayer.dev. User files for a SaaS, under one person's authority: list, share with an expiry, revoke.
It runs on your own machine: your AI client starts it from the npm package @filelayer/core at version 0.33.0.
It asks for 3 secrets: DATABASE_URL, S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY. Give it a key with the least access that still works.
It also needs FILELAYER_AS and FILELAYER_ORG set before it starts.
Version 0.33.0 was published on 16 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
DATABASE_URL | Yes | Yes | Your own PostgreSQL, where this library keeps file ownership, grants and the audit chain. Apply node_modules/@filelayer/core/schema.sql once before starting. |
FILELAYER_AS | Yes | No | The ONE subject this server speaks for, in your own id space. Fixed for the life of the process: no tool reads it as an argument and no tool can change it, which is the only reason exposing these tools to an agent is safe. Write it yourself or have your provisioning write it, never derive it from a conversation. Serving several people means starting several servers. |
FILELAYER_ORG | Yes | No | The organisation this server is scoped to, in your own id space. |
FILELAYER_DATA_DIR | No | No | A local directory for the bytes. Needs no bucket and no IAM user. Set this OR the S3_* block: with neither, the server refuses to start rather than falling back to memory, which would work in a demo and lose the first real file. |
S3_ENDPOINT | No | No | An S3-compatible endpoint, for example https://<account>.r2.cloudflarestorage.com. Setting it makes S3_BUCKET, S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY required. |
S3_BUCKET | No | No | The bucket. It must be private: this library decides who may be GIVEN a URL and has no say in who the object store will answer. `npx -p @filelayer/core filelayer doctor` reports whether yours serves unauthenticated reads. |
S3_REGION | No | No | Region, or `auto` for Cloudflare R2. |
S3_ACCESS_KEY_ID | No | Yes | Access key id for the bucket. |
S3_SECRET_ACCESS_KEY | No | Yes | Secret access key for the bucket. |
FILELAYER_MCP_AGENT_LABEL | No | No | How this agent names itself in the audit trail, recorded on every event these tools produce. It is what lets the chain separate "the partner opened this document" from "the partner's assistant opened this document". |
FILELAYER_MCP_ALLOW_DESTRUCTIVE | No | No | Set to exactly `true` to register delete_file. Off by default because deleting is not recoverable and an agent that misreads a sentence deletes the wrong thing silently. |
FILELAYER_MCP_EXPOSE_AUDIT | No | No | Set to exactly `true` to register file_audit. Off by default because the trail is an organisation's whole history and a tool that returns it copies every file name, actor and denial into the model's context. Reading it is itself audited since 0.27.0, which was the previous reason; the default did not move. |
FILELAYER_MCP_RETURN_BYTES | No | No | Set to exactly `true` to register read_file. Off by default because a document returned by a tool is a document copied into a model's context; file_info plus a share link is usually what was actually needed. |
FILELAYER_BASE_URL | No | No | The base of the share URLs this instance mints. Without it, share links come back without a URL. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/filelayer/filelayer |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 3 secrets: DATABASE_URL, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via domain filelayer.dev |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @filelayer/core@0.33.0 runs nothing at install |
| Code red flags | Pass | Read 144 files in @filelayer/core@0.33.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 144 files, including comments and the README |
Popularity & health: 47 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | dev.filelayer/core |
|---|---|
| Publisher | Domain filelayer.dev |
| How the name is verified | Name verified via domain filelayer.dev. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @filelayer/core 0.33.0 (stdio) |
| Version | 0.33.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/filelayer/filelayer |
| Website | https://filelayer.dev |
| Category | Files & documents (assigned by keyword rule, not by hand) |
Related servers in Files & documents
- Microsoft 365 Files7/7Microsoft 365 OneDrive files via Graph: list, search, get, upload,…
Symbioza3/3Run a GPU job under a hard dollar cap and collect the files it writes.- gitlab-ci-mcp7/7GitLab CI/CD MCP — pipelines, jobs, schedules, MRs, files. Any…
- YouSpot4/4Query one person's second brain: contacts, companies, notes, files…
518.PLUS3/3518.PLUS: an MCP tool marketplace. Discover tools, process files,…- Tokenrip3/3Shared workspace where Claude, ChatGPT, Codex and Grok share files,…