@j0hanz/filesystem-mcp
Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.
Versions
1.19.1latest1.19.01.18.01.17.11.17.0+ show 50 moreshow less
1.16.31.16.21.16.11.16.01.15.51.15.41.15.31.15.21.15.11.15.01.14.11.14.01.13.21.13.11.13.01.12.01.11.11.11.01.10.01.9.11.9.01.8.01.7.31.7.21.7.11.7.01.6.21.6.11.6.01.5.41.5.31.5.21.5.11.5.01.4.01.3.21.3.11.3.01.2.41.2.31.2.21.2.11.2.01.1.21.1.11.1.01.0.41.0.31.0.11.0.0Tools 13
list_roots List the allowed workspace root directories. Call this first to discover what paths are accessible; all other tools are scoped to these roots. Allowed directories are configured via CLI arguments, the FS_ALLOWED_DIRS environment variable, or --allow-cwd.
search_text Search file contents by text or regex (grep-style). Returns matching lines with file path,
list List sorted directory entries and an ASCII tree. maxDepth=1 is top-level.
replace_text Bulk search-and-replace across files matching a glob pattern.
delete Permanently delete one or more files, directories, or symlinks (max 1000 per call). This action is irreversible.
edit Apply sequential literal string replacements to one or more files (max 5 files per call).
stat Get metadata for one or more files or directories: size, type, permissions, MIME type, timestamps, and tokenEstimate.
patch Apply a single-file unified diff to one file and write the result. Pass { path, diff }.
create Create one or more files (max 100), creating parent directories as needed.
diff Compare two files and return a unified diff with line counts. Pass the two paths as a and b.
read Read one or more text files and return content.
move Move, rename, or copy files and directories to explicit destination paths (max 100 operations per call).
find_files Find files matching a glob pattern. Returns matched paths with optional metadata.
Permissions 4
network medium filesystem low shell high env_vars low