Server data from the Official MCP Registry
Filesystem MCP server with folder allow-list, tamper-evident audit log, dry-run writes and undo.
About
Filesystem MCP server with folder allow-list, tamper-evident audit log, dry-run writes and undo.
Security Report
fs-sandbox-mcp is a filesystem MCP server with path canonicalization, component-based confinement, deny globs, read-only roots, a hash-chained audit log, and dry-run/undo. No network exfiltration, shell execution, or hardcoded credentials were found in the provided code; filesystem access is inherent to its purpose and is bounded by the policy. Minor quality notes remain: the undo stack is in-memory with a predictable backup naming scheme, and the audit log is tamper-evident but not tamper-proof since the hash chain has no external anchor. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
8 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: FS_SANDBOX_RW_DIR
Environment variable: FS_SANDBOX_RO_DIR
Environment variable: FS_SANDBOX_POLICY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"fs-sandbox-mcp": {
"command": "npx",
"args": [
"-y",
"@cardinelabs/fs-sandbox-mcp@0.2.1"
],
"env": {
"FS_SANDBOX_POLICY": "your-fs-sandbox-policy-here",
"FS_SANDBOX_RO_DIR": "your-fs-sandbox-ro-dir-here",
"FS_SANDBOX_RW_DIR": "your-fs-sandbox-rw-dir-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
fs-sandbox-mcp — a filesystem MCP server that actually stays in its box
A drop-in filesystem server for AI agents with a declarative policy, a tamper-evident audit log, dry-run writes and undo.
Why
Path confinement is where filesystem servers break. Real advisories in 2025-2026:
- CVE-2025-53110: a prefix string check let
/allowed_dir_extrapass as inside/allowed_dir. - CVE-2025-53109: symlinks inside an allowed folder escaped the sandbox.
- CVE-2025-67366 (another server): paths validated before resolving symlinks.
fs-sandbox-mcp canonicalizes every path (symlinks resolved, also for files that don't exist yet) and compares by path components. Each of these bug classes has a regression test in this repo, run on Linux and Windows (junctions).
Features
- Policy file: roots with
ro/rwmode, deny patterns (.env,*.pem,.git...), max file size. - Audit log (JSONL, hash-chained): every read, write, denial and undo; edits or deletions in the log are detectable.
- Dry-run for writes; undo_last_write restores or removes.
- Tools:
read_file,list_dir,write_file,undo_last_write.
Quickstart
Zero config. Point it at one writable folder (and, optionally, one read-only folder):
{ "mcpServers": { "fs-sandbox": { "command": "npx", "args": ["-y", "@cardinelabs/fs-sandbox-mcp"],
"env": { "FS_SANDBOX_RW_DIR": "/path/to/workspace", "FS_SANDBOX_RO_DIR": "/path/to/docs" } } } }
Secrets (.env, keys, .git) are denied by default and the audit log goes to .fs-sandbox/audit.jsonl inside the writable folder.
Full policy. For several roots, custom deny patterns or a size limit, use a policy file (example: policy.example.json):
FS_SANDBOX_POLICY=./policy.json npx -y @cardinelabs/fs-sandbox-mcp
Claude Desktop. Download fs-sandbox-<version>.mcpb from the releases, double-click it and pick the folders.
Claude Code. Install the plugin from this repository:
/plugin marketplace add cardinelabs/fs-sandbox-mcp
/plugin install fs-sandbox@cardinelabs
The plugin confines the agent to the current project folder.
Limits
Text files only; no file watching; undo keeps the history of the current session only.
Privacy Policy
fs-sandbox-mcp runs entirely on your machine. It collects no telemetry and sends nothing over the network.
- Data collected: none by us. The server reads and writes only files inside the folders you configure.
- Use and storage: the audit log (
.fs-sandbox/audit.jsonl) and undo copies are stored locally, inside your writable folder. - Third-party sharing: none. File contents reach only the AI client you connected (for example Claude), under that client's own privacy policy.
- Retention: local files stay until you delete them; undo history lasts for the current session.
- Contact: open an issue at https://github.com/cardinelabs/fs-sandbox-mcp/issues.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
