You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude Desktop Filesystem extension ships outdated dist with root path normalization bug #3417
The Filesystem MCP server extension bundled with Claude Desktop (macOS) ships a compiled dist/path-utils.js that contains a bug already fixed in the source.
The bug
normalizePath("/") returns "" (empty string), causing the server to crash on startup with:
Error accessing directory : Error: ENOENT: no such file or directory, stat ''
Root cause
The installed extension (version 2025.8.21) has the old regex in dist/path-utils.js:
returnp.replace(/\/+/g,'/').replace(/\/+$/,'');
This strips the trailing slash from /, producing an empty string.
Already fixed in source
The current TypeScript source (src/filesystem/path-utils.ts) uses a negative lookbehind that correctly preserves /:
Then update claude_desktop_config.json to point to the global install.
Root cause speculation:
The extension version 2025.8.21 suggests a snapshot from August 2025. If the fix landed after that snapshot was taken, it wouldn't be in the bundled build. The versioning gap (2025.8.21 vs upstream 0.6.3) makes it hard to track which commits are included.
Suggestion for maintainers:
Consider adding a CI check that verifies the dist/ output is deterministic and matches a clean rebuild from src/. This would catch cases where dist/ gets out of sync with src/ before a release.
Thank you for reporting this, and apologies for the long wait for a response.
Since this was filed, the reference servers have been rebuilt for the 2026-07-28 MCP specification (#4857) and released as v2 (2.0.0 on npm for the TypeScript servers, 2026.10.19 on PyPI for the Python servers). Each server now runs on v2 of its SDK, and the behavior described here has either been fixed or no longer exists in the same form. The root-path normalization fix is in current source; the outdated build ships in the Claude Desktop extension bundle, which is maintained outside this repository.
This is not a judgment on whether the problem was real; it's a consequence of the code it describes having been replaced. This is happening as part of the backlog triage in #4875.
If this still happens on the v2 release, we'd genuinely like to know. Please open a fresh issue with the version you're running and steps to reproduce, and we'll look at it. Note that this repository accepts contributions as issues rather than pull requests; see CONTRIBUTING.md.
Activity
xXMrNidaXx commentedon Feb 28, 2026
This is a build/release pipeline issue — the extension bundle shipped to Claude Desktop users doesn't match the source.
Immediate workaround for affected users:
Find the installed extension:
Check
mcpServers.filesystem.commandfor the path to the installed package.Patch the regex directly in
dist/path-utils.js:Or, install the upstream version directly instead of using the bundled extension:
Then update
claude_desktop_config.jsonto point to the global install.Root cause speculation:
The extension version
2025.8.21suggests a snapshot from August 2025. If the fix landed after that snapshot was taken, it wouldn't be in the bundled build. The versioning gap (2025.8.21vs upstream0.6.3) makes it hard to track which commits are included.Suggestion for maintainers:
Consider adding a CI check that verifies the
dist/output is deterministic and matches a clean rebuild fromsrc/. This would catch cases wheredist/gets out of sync withsrc/before a release.cliffhall commentedon Oct 19, 2026
Closing: superseded by the v2 release.
Thank you for reporting this, and apologies for the long wait for a response.
Since this was filed, the reference servers have been rebuilt for the 2026-07-28 MCP specification (#4857) and released as v2 (2.0.0 on npm for the TypeScript servers, 2026.10.19 on PyPI for the Python servers). Each server now runs on v2 of its SDK, and the behavior described here has either been fixed or no longer exists in the same form. The root-path normalization fix is in current source; the outdated build ships in the Claude Desktop extension bundle, which is maintained outside this repository.
This is not a judgment on whether the problem was real; it's a consequence of the code it describes having been replaced. This is happening as part of the backlog triage in #4875.
If this still happens on the v2 release, we'd genuinely like to know. Please open a fresh issue with the version you're running and steps to reproduce, and we'll look at it. Note that this repository accepts contributions as issues rather than pull requests; see
CONTRIBUTING.md.Thanks for taking the time to report it.