io.github.j0hanz/filesystem-context
๐ Read-only MCP server for secure filesystem exploration, searching, and analysis
Versions
1.0.9latestTools 13
list_roots List the directories this server can access, as absolute paths, including any the user granted during this session.
list List a directory's files and subdirectories as a tree of names, like ls or tree.
diff Compare two text files and return a unified diff from a to b, like diff -u.
create Write whole text files: create new ones, overwrite, or append. Missing parent directories are created.
replace_text Find and replace every occurrence of literal text or an RE2 regex, like sed -i, in one file or all files
stat Get metadata without reading contents, like ls -ld: type, size (a directory reports its own entry, not its contents),
read Read text files, like cat: whole, or one slice via head, tail, or startLine/endLine.
delete Permanently delete files, directories, or symlinks, like rm or rm -r. Paths are exact; globs are not expanded.
edit Edit text files in place by replacing exact oldText with newText, like str_replace.
find_files Find files by name or glob pattern; returns file paths relative to the searched directory.
search_text Search file contents for literal text or an RE2 regex, like grep; returns matching lines with line numbers
move Move, rename, or copy files and directories, like mv or cp -r.
patch Apply a single-file unified diff to one existing text file, like git apply.
Permissions 4
network medium filesystem low shell high env_vars low