MCP Filesystem Server
A production-ready Model Context Protocol server that gives agents scoped filesystem access. Allow-list the directories, set size limits, and get an audit trail of every read and write.
Tools exposed
read_file(path)write_file(path, contents)list_dir(path)search(glob)
Security model
- Path allow-list — access is denied outside configured roots
- Size & rate limits — prevents runaway reads/writes
- Audit log — every tool call is recorded
Install
bash
npx nuclexa install mcp-filesystem-server --target mcpThen add it to your MCP config and restart the client.