filesystem
The tracked changes tagged filesystem, newest release first. Every sentence is an item's summary.
Goes with
Changes
MCP reference servers v2.6.0
-
On Windows, server-filesystem list_directory, list_directory_with_sizes, directory_tree and search_files check a listed directory before and after the read and refuse paths with junctions or symlinks or a directory changed during the operation; swaps made and undone during the read are not detected on Windows; macOS and Linux are unchanged.
-
server-filesystem search_files empty results now state what was searched and how to widen the pattern.
-
server-filesystem now refuses to move a directory into itself with the accurate reason.
MCP reference servers v2.5.0
-
The TypeScript servers moved from date versions to semantic versions in 1.0.0, so package managers rank 2.4.0 below 2025.x and 2026.x versions and do not offer it as an upgrade; date-version users must install @modelcontextprotocol/server-filesystem@2.4.0 explicitly.
-
@modelcontextprotocol/server-filesystem 2.4.0 lists list_directory, list_directory_with_sizes, directory_tree and search_files in place after the directory check on Linux and macOS, so a directory swapped for a symlink can no longer expose entries outside allowed directories; the Windows listing is not yet anchored (issue #5600).
-
@modelcontextprotocol/server-filesystem 2.4.0 documents the Windows parent-directory swap as a limit of the implementation.
Claude Code v2.1.327
-
Changed path checks to refuse some symbolic links.
-
Changed what counts as inside a working directory, so some paths now ask for permission.
MCP reference servers v2.4.0
-
Filesystem read tools and file resources now open files relative to the checked directory on Linux and macOS, and refuse FIFOs, sockets and devices; on Windows this narrows the race without closing it (GHSA-p9cv-8g75-4xcg).
-
The filesystem move_file tool now moves only the source it checked, closing a symlink swap path that could bring an outside file into the allowed directories (GHSA-7m4x-rv66-mxhh).
-
TypeScript servers moved from date versions to semantic versions starting at 1.0.0, so package managers do not offer 2.3.0 as an upgrade from date-versioned npm releases; those users must install 2.3.0 explicitly.
-
Filesystem server adds per-directory read-only access through the --read-only-dir option.
-
Filesystem server refuses NTFS alternate-data-stream paths on Windows.
+7 more
-
Filesystem server refuses Windows device names and paths with trailing dots or spaces.
-
Filesystem search_files now reads excludePatterns the same way as directory_tree.
-
Filesystem excludePatterns entries ending in "/**" no longer prune the directory they name.
-
Filesystem edit_file now matches oldText that ends with a newline.
-
Filesystem server reports a missing parent directory as a directory error instead of a raw chdir error.
-
Tool input properties now have descriptions in the everything, filesystem and memory servers.
-
Filesystem, memory and sequentialthinking images are built from the workspace lockfile.
Claude Code v2.1.321
-
NotebookEdit no longer deletes or overwrites a notebook's first cell when the call names no cell, on network paths.
-
Edit no longer changes the first of several matches, replaces a whole file on an empty old_string, or edits a notebook as text, on network paths.
-
High memory use in long sessions that repeatedly read single lines from large files is fixed.
Claude Code v2.1.319
-
Fixed Claude Code listing every project file at start on Linux for projects on network file systems (NFS, SMB, Lustre and similar).
-
Fixed ~/.claude.json, settings and edited files ending up empty or cut off when the disk fills during a save in a read-only folder or to a bind-mounted file.
-
Fixed Write ending the turn as a refusal when it could not read the file to overwrite.
-
Fixed /rewind being able to restore or delete a file through a directory symlink.
-
Improved the refusal for a path outside the working directories on macOS and Windows: when only letter case differs, the message names that spelling.
MCP reference servers v2.3.0
-
Gave the real HFS+ volume test an explicit timeout.
-
Removed the unused glob dependency.
-
Set idempotentHint and destructiveHint on the read-only tools.
-
read_text_file with head or tail of 0 now returns no lines.
-
list_directory_with_sizes now reports the size of an unstattable entry as unknown.
+14 more
-
search_files now names the subdirectories it could not read.
-
search_files description now says it matches names, not contents.
-
A dangling symlink is now reported as broken instead of as a missing parent.
-
An allowed directory's name is no longer trimmed after realpath.
-
~\ is now expanded to the home directory on Windows.
-
Added an append_file tool.
-
Added a copy_file tool.
-
directory_tree accepts an optional depth parameter.
-
Files are exposed as resources through a file:// template.
-
edit_file shows the closest file lines when an edit has no match.
-
Added a --read-only mode that serves only read tools.
-
The effective allowed directories and their source are logged.
-
Added a --confine-roots option that keeps client Roots inside the command-line directories.
-
Moved minimatch to ^11.0.4 to address advisory GHSA-g3hv-75wg-m249.
MCP reference servers v2.2.0
-
server-filesystem accepts a case-only respelling of an allowed directory when the file system confirms it.
-
server-filesystem tail no longer counts a final newline as a line.
-
server-filesystem get_file_info reports the hard-link count, and hard links are documented.
-
server-filesystem bounds realpath and readdir waits and recursive walks.
-
server-filesystem compares overwrite identity using BigInt stats, with a fallback on Windows when no device is reported.
+4 more
-
server-filesystem retries a failed realpath once before dropping a root.
-
server-filesystem head returns CRLF lines normalized to LF, like tail.
-
server-filesystem accepts a client Root in its advertised form as well as its realpath.
-
server-filesystem moves a file across filesystems by copying it when a cross-device error occurs.
MCP reference servers v2.1.0
-
The filesystem server 2.0.1 keeps writes inside the checked directory on Linux and macOS, so a parent directory swapped for a symlink can no longer redirect write_file, edit_file, create_directory, or move_file destinations outside allowed directories; on Windows this is only partly fixed.
-
The filesystem server 2.0.1 checks paths exactly as they are used, so a sibling directory whose name matches an allowed one plus a trailing quote or whitespace is no longer reachable.
-
The filesystem server 2.0.1 rejects a symlink spelled in a different letter case for a new path on case-insensitive volumes, fixing a regression introduced in 2026.8.31.
-
The filesystem server 2.0.1 checks each entry in list_directory_with_sizes before reading its size, so symlinks inside allowed directories no longer reveal size and modification time of files outside them.
MCP reference servers v2.0.0
-
The filesystem server revokes access when a roots update leaves no valid root.
-
The filesystem server applies only the answer from the newest roots refresh.
-
The filesystem server holds tool calls while any roots refresh is pending.
MCP reference servers v1.0.0
-
filesystem resolves paths that differ from disk only in Unicode normalization form.
-
filesystem admits paths under a UNC share root allowed directory.
-
filesystem waits for initial roots before tool calls and fails visibly when no directories are available.
-
filesystem declares JSON Schema 2020-12 on every tool schema.
-
filesystem write_file overwrites existing files in place.
+2 more
-
filesystem edit_file keeps line endings and indentation.
-
filesystem roots revocation and roots refresh ordering fixes are included in the release branch.
MCP reference servers Release 2026.8.31
-
Updated the @modelcontextprotocol/server-filesystem package to version 2026.8.31.