files-stdio-mcp-server
Verified Safeby iceener
Overview
Provides a sandboxed filesystem interface for AI agents to explore directories, read, search, and safely edit text files with checksum verification and diff previews.
Installation
bun run /absolute/path/to/files-mcp/src/index.tsEnvironment Variables
- FS_ROOTS
- FS_ROOT
- LOG_LEVEL
- MAX_FILE_SIZE
- MCP_NAME
- MCP_VERSION
- MCP_INSTRUCTIONS
Security Notes
The server implements robust sandboxing through explicit path resolution, checking for absolute paths and directory traversal attempts ('..'). Access is restricted to user-configured 'FS_ROOTS' (or 'FS_ROOT') environment variables. Checksum verification prevents stale overwrites during file edits. No 'eval' or other dynamic code execution patterns were identified in the provided source. The server's security is highly dependent on the user correctly configuring the 'FS_ROOTS' variable to trusted directories.
Similar Servers
mcp-filesystem-server
Provides secure and controlled access to the local filesystem via the Model Context Protocol (MCP) for AI agents and other applications.
ipybox
A lightweight and secure Python code execution sandbox for AI agents to perform data analysis or execute code actions within Docker containers.
PowerShell.MCP
Enables AI assistants to execute arbitrary PowerShell commands and CLI tools within a persistent, shared PowerShell console session on a local Windows system.
filesystem-mcp
Provides secure, efficient, and token-optimized filesystem operations for AI agents via the Model Context Protocol.