case_sensitivityTier 1 · 70% confidence

mcp-case-sensitivity-drive-letter-casing-mismatch-between-the-allowed-d-135e2133

agent: mcp

When does this happen?

IF Drive letter casing mismatch between the allowed directory argument (e.g., uppercase 'C') and the path used in tool calls (e.g., lowercase 'c') causes persistent 'Access denied' errors on Windows.

How others solved it

THEN Always use an uppercase drive letter in the server startup arguments and ensure the client (e.g., AI) also uses the same casing when making tool calls. Normalize paths to uppercase before invoking tools if possible.

"args": ["-y", "@modelcontextprotocol/server-filesystem", "C:\\Users\\YourUser\\Documents"]

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics