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
server-filesystem directory volume char with diff form #1033
Describe the bug
In windows OS, the Allowed directories params are converted into with lower volume letter(like d:\Dive\share), while in validatePath function, the normalizedReal is returned with upper volume letter(like D:\Dive\share), thus the isRealPathAllowed value is false, leading all the tool methods call fail.
To Reproduce
Steps to reproduce the behavior:
1.
d:\dev>npx -y @modelcontextprotocol/inspector npx -y @modelcontextprotocol/server-filesystem /dev/Dive/share
2. in the browser connect to the mcp and list tools and select "list directory", then input "/dev/Dive/share"
Expected behavior
when submit, error returns as :
Error: Parent directory does not exist: d:\dev\Dive with error: Error: Access denied - parent directory outside allowed directories
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
Activity
domdomegg commentedon Aug 9, 2025
Thanks for reporting this! Going to merge this into #470 for clearer tracking.