Skip to content
MCP server
Registry

Filelayer MCP Server

User files for a SaaS, under one person's authority: list, share with an expiry, revoke.

Filelayer scores 52 (Fair), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Databases, Cloud. GitHub shows 0 stars. Package registries report about 1,882 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by filelayerApache-2.0TypeScript0 stars
Trust score
52Fair
Trust score 52 of 100, Fair

Fair trust

52 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 52 comes from

0 + 20 + 5 + 10 + 10 + 7 = 52. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "filelayer-core": {      "command": "npx",      "args": [        "-y",        "@filelayer/core@0.37.2"      ],      "env": {        "DATABASE_URL": "YOUR_DATABASE_URL",        "FILELAYER_AS": "",        "FILELAYER_ORG": "",        "FILELAYER_DATA_DIR": "",        "S3_ENDPOINT": "",        "S3_BUCKET": "",        "S3_REGION": "auto",        "S3_ACCESS_KEY_ID": "YOUR_S3_ACCESS_KEY_ID",        "S3_SECRET_ACCESS_KEY": "YOUR_S3_SECRET_ACCESS_KEY",        "FILELAYER_MCP_AGENT_LABEL": "filelayer-mcp",        "FILELAYER_MCP_ALLOW_DESTRUCTIVE": "false",        "FILELAYER_MCP_EXPOSE_AUDIT": "false",        "FILELAYER_MCP_RETURN_BYTES": "false",        "FILELAYER_BASE_URL": ""      }    }  }}

Environment variables

NameRequiredNotes
DATABASE_URLSecretRequiredYour own PostgreSQL, where this library keeps file ownership, grants and the audit chain. Apply node_modules/@filelayer/core/schema.sql once before starting.
FILELAYER_ASRequiredThe 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_ORGRequiredThe organisation this server is scoped to, in your own id space.
FILELAYER_DATA_DIROptionalA 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_ENDPOINTOptionalAn 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_BUCKETOptionalThe 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_REGIONOptionalRegion, or `auto` for Cloudflare R2.
S3_ACCESS_KEY_IDSecretOptionalAccess key id for the bucket.
S3_SECRET_ACCESS_KEYSecretOptionalSecret access key for the bucket.
FILELAYER_MCP_AGENT_LABELOptionalHow 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_DESTRUCTIVEOptionalSet 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_AUDITOptionalSet 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_BYTESOptionalSet 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_URLOptionalThe base of the share URLs this instance mints. Without it, share links come back without a URL.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

User files for SaaS: file authorization middleware for multi-tenant files on your own Postgres. It covers file sharing permissions and file upload permissions per user, org and role. Expiring file links and delegated share links are revocable links: revok

Frequently asked questions

What is Filelayer MCP Server?

User files for a SaaS, under one person's authority: list, share with an expiry, revoke.

How do I install Filelayer MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Filelayer MCP Server runs locally from the npm package @filelayer/core with the command npx -y @filelayer/core@0.37.2.

Is Filelayer MCP Server free and open source?

Yes. Filelayer MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Filelayer MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Filelayer MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Filelayer MCP Server's trust score calculated?

Filelayer MCP Server scores 52 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server