All areas Feed Weekly digests

filesystem

The tracked changes tagged filesystem, newest release first. Every sentence is an item's summary.

71 items from 12 releases, 3 breaking Sources: Claude Code, MCP reference servers Last change:

Goes with

Changes

MCP reference servers v2.6.0

  1. fix

    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.

  2. feature

    server-filesystem search_files empty results now state what was searched and how to widen the pattern.

  3. fix

    server-filesystem now refuses to move a directory into itself with the accurate reason.

MCP reference servers v2.5.0

  1. breaking Breaking

    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.

  2. fix

    @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).

  3. docs

    @modelcontextprotocol/server-filesystem 2.4.0 documents the Windows parent-directory swap as a limit of the implementation.

Claude Code v2.1.327

  1. breaking Breaking

    Changed path checks to refuse some symbolic links.

  2. breaking Breaking

    Changed what counts as inside a working directory, so some paths now ask for permission.

MCP reference servers v2.4.0

  1. fix

    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).

  2. fix

    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).

  3. other

    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.

  4. feature

    Filesystem server adds per-directory read-only access through the --read-only-dir option.

  5. feature

    Filesystem server refuses NTFS alternate-data-stream paths on Windows.

+7 more
  1. feature

    Filesystem server refuses Windows device names and paths with trailing dots or spaces.

  2. fix

    Filesystem search_files now reads excludePatterns the same way as directory_tree.

  3. fix

    Filesystem excludePatterns entries ending in "/**" no longer prune the directory they name.

  4. fix

    Filesystem edit_file now matches oldText that ends with a newline.

  5. fix

    Filesystem server reports a missing parent directory as a directory error instead of a raw chdir error.

  6. feature

    Tool input properties now have descriptions in the everything, filesystem and memory servers.

  7. other

    Filesystem, memory and sequentialthinking images are built from the workspace lockfile.

Claude Code v2.1.321

  1. fix

    NotebookEdit no longer deletes or overwrites a notebook's first cell when the call names no cell, on network paths.

  2. fix

    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.

  3. fix

    High memory use in long sessions that repeatedly read single lines from large files is fixed.

Claude Code v2.1.319

  1. fix

    Fixed Claude Code listing every project file at start on Linux for projects on network file systems (NFS, SMB, Lustre and similar).

  2. fix

    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.

  3. fix

    Fixed Write ending the turn as a refusal when it could not read the file to overwrite.

  4. fix

    Fixed /rewind being able to restore or delete a file through a directory symlink.

  5. other

    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

  1. other

    Gave the real HFS+ volume test an explicit timeout.

  2. other

    Removed the unused glob dependency.

  3. feature

    Set idempotentHint and destructiveHint on the read-only tools.

  4. fix

    read_text_file with head or tail of 0 now returns no lines.

  5. fix

    list_directory_with_sizes now reports the size of an unstattable entry as unknown.

+14 more
  1. fix

    search_files now names the subdirectories it could not read.

  2. docs

    search_files description now says it matches names, not contents.

  3. fix

    A dangling symlink is now reported as broken instead of as a missing parent.

  4. fix

    An allowed directory's name is no longer trimmed after realpath.

  5. fix

    ~\ is now expanded to the home directory on Windows.

  6. feature

    Added an append_file tool.

  7. feature

    Added a copy_file tool.

  8. feature

    directory_tree accepts an optional depth parameter.

  9. feature

    Files are exposed as resources through a file:// template.

  10. feature

    edit_file shows the closest file lines when an edit has no match.

  11. feature

    Added a --read-only mode that serves only read tools.

  12. feature

    The effective allowed directories and their source are logged.

  13. feature

    Added a --confine-roots option that keeps client Roots inside the command-line directories.

  14. fix

    Moved minimatch to ^11.0.4 to address advisory GHSA-g3hv-75wg-m249.

MCP reference servers v2.2.0

  1. fix

    server-filesystem accepts a case-only respelling of an allowed directory when the file system confirms it.

  2. fix

    server-filesystem tail no longer counts a final newline as a line.

  3. feature

    server-filesystem get_file_info reports the hard-link count, and hard links are documented.

  4. performance

    server-filesystem bounds realpath and readdir waits and recursive walks.

  5. fix

    server-filesystem compares overwrite identity using BigInt stats, with a fallback on Windows when no device is reported.

+4 more
  1. fix

    server-filesystem retries a failed realpath once before dropping a root.

  2. fix

    server-filesystem head returns CRLF lines normalized to LF, like tail.

  3. fix

    server-filesystem accepts a client Root in its advertised form as well as its realpath.

  4. fix

    server-filesystem moves a file across filesystems by copying it when a cross-device error occurs.

MCP reference servers v2.1.0

  1. fix

    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.

  2. fix

    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.

  3. fix

    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.

  4. fix

    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

  1. fix

    The filesystem server revokes access when a roots update leaves no valid root.

  2. fix

    The filesystem server applies only the answer from the newest roots refresh.

  3. fix

    The filesystem server holds tool calls while any roots refresh is pending.

MCP reference servers v1.0.0

  1. fix

    filesystem resolves paths that differ from disk only in Unicode normalization form.

  2. fix

    filesystem admits paths under a UNC share root allowed directory.

  3. fix

    filesystem waits for initial roots before tool calls and fails visibly when no directories are available.

  4. fix

    filesystem declares JSON Schema 2020-12 on every tool schema.

  5. fix

    filesystem write_file overwrites existing files in place.

+2 more
  1. fix

    filesystem edit_file keeps line endings and indentation.

  2. fix

    filesystem roots revocation and roots refresh ordering fixes are included in the release branch.

MCP reference servers Release 2026.8.31

  1. other

    Updated the @modelcontextprotocol/server-filesystem package to version 2026.8.31.