Install Filelayer for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"filelayer-core": {
"command": "npx",
"args": [
"-y",
"@filelayer/core@0.33.0"
],
"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": ""
}
}
}
}