Skip to content

Conversation

@connor4312
Copy link
Member

Closes #271812

Copilot AI review requested due to automatic review settings December 9, 2025 18:54
@connor4312 connor4312 enabled auto-merge (squash) December 9, 2025 18:54
@connor4312 connor4312 self-assigned this Dec 9, 2025
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures consistent drive letter casing for MCP server roots by normalizing file URIs to use uppercase drive letters (e.g., C: instead of c:). This addresses issue #271812 where inconsistent drive letter casing could cause problems with MCP root handling.

Key Changes

  • Added normalization of drive letters for file scheme URIs in MCP roots
  • Imported normalizeDriveLetter utility and Schemas constant
  • Applied normalization after URI transformation but before converting to string

@connor4312 connor4312 merged commit 99d11ac into main Dec 9, 2025
33 of 34 checks passed
@connor4312 connor4312 deleted the connor4312/271812 branch December 9, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP: roots and ${workspaceFolder} drive letter inconsistency on Windows

3 participants