Back to MCP Servers
🧩

Filelayer MCP Server

API key required

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

To add Filelayer to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 14 environment variables, listed below.

Files

Install

npx -y @filelayer/core@0.33.0

Environment variables

DATABASE_URLSet in your MCP config
FILELAYER_ASSet in your MCP config
FILELAYER_ORGSet in your MCP config
FILELAYER_DATA_DIRSet in your MCP config
S3_ENDPOINTSet in your MCP config
S3_BUCKETSet in your MCP config
S3_REGIONSet in your MCP config
S3_ACCESS_KEY_IDSet in your MCP config
S3_SECRET_ACCESS_KEYSet in your MCP config
FILELAYER_MCP_AGENT_LABELSet in your MCP config
FILELAYER_MCP_ALLOW_DESTRUCTIVESet in your MCP config
FILELAYER_MCP_EXPOSE_AUDITSet in your MCP config
FILELAYER_MCP_RETURN_BYTESSet in your MCP config
FILELAYER_BASE_URLSet in your MCP config

Install with your client

Terminal
claude mcp add filelayer --env DATABASE_URL=<YOUR_DATABASE_URL> --env FILELAYER_AS=<YOUR_FILELAYER_AS> --env FILELAYER_ORG=<YOUR_FILELAYER_ORG> --env FILELAYER_DATA_DIR=<YOUR_FILELAYER_DATA_DIR> --env S3_ENDPOINT=<YOUR_S3_ENDPOINT> --env S3_BUCKET=<YOUR_S3_BUCKET> --env S3_REGION=<YOUR_S3_REGION> --env S3_ACCESS_KEY_ID=<YOUR_S3_ACCESS_KEY_ID> --env S3_SECRET_ACCESS_KEY=<YOUR_S3_SECRET_ACCESS_KEY> --env FILELAYER_MCP_AGENT_LABEL=<YOUR_FILELAYER_MCP_AGENT_LABEL> --env FILELAYER_MCP_ALLOW_DESTRUCTIVE=<YOUR_FILELAYER_MCP_ALLOW_DESTRUCTIVE> --env FILELAYER_MCP_EXPOSE_AUDIT=<YOUR_FILELAYER_MCP_EXPOSE_AUDIT> --env FILELAYER_MCP_RETURN_BYTES=<YOUR_FILELAYER_MCP_RETURN_BYTES> --env FILELAYER_BASE_URL=<YOUR_FILELAYER_BASE_URL> -- npx -y @filelayer/core@0.33.0

Run this in a terminal to add the server to Claude Code.

What this does

Filelayer exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

DATABASE_URL
FILELAYER_AS
FILELAYER_ORG
FILELAYER_DATA_DIR
S3_ENDPOINT
S3_BUCKET
S3_REGION
S3_ACCESS_KEY_ID
S3_SECRET_ACCESS_KEY
FILELAYER_MCP_AGENT_LABEL
FILELAYER_MCP_ALLOW_DESTRUCTIVE
FILELAYER_MCP_EXPOSE_AUDIT
FILELAYER_MCP_RETURN_BYTES
FILELAYER_BASE_URL

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Filelayer?

Run the Claude Code command in the install section to add Filelayer to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Filelayer?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Filelayer as well.

Does Filelayer need an API key?

Yes. Before it can run, set these environment variables: DATABASE_URL, FILELAYER_AS, FILELAYER_ORG, FILELAYER_DATA_DIR, S3_ENDPOINT, S3_BUCKET, S3_REGION, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, FILELAYER_MCP_AGENT_LABEL, FILELAYER_MCP_ALLOW_DESTRUCTIVE, FILELAYER_MCP_EXPOSE_AUDIT, FILELAYER_MCP_RETURN_BYTES, FILELAYER_BASE_URL. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/dev-filelayer-core)](https://clauderules.net/mcp/dev-filelayer-core)
HTML
<a href="https://clauderules.net/mcp/dev-filelayer-core" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/dev-filelayer-core" alt="Listed on clauderules.net" /></a>