Skip to content

Conversation

@alex-feel
Copy link
Owner

Set MSYS_NO_PATHCONV=1 environment variable on Windows to prevent Git Bash from converting /c cmd.exe flags to C:/ drive paths. This fixes MCP server configuration where user-scoped servers failed due to corrupted command arguments. The fix is isolated to Windows platform and preserves existing environment variables. Includes comprehensive test coverage with 8 test cases covering Windows, Linux, and macOS platforms.

Set MSYS_NO_PATHCONV=1 environment variable on Windows to prevent Git Bash from converting /c cmd.exe flags to C:/ drive paths.
This fixes MCP server configuration where user-scoped servers failed due to corrupted command arguments.
The fix is isolated to Windows platform and preserves existing environment variables.
Includes comprehensive test coverage with 8 test cases covering Windows, Linux, and macOS platforms.
@github-actions
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  scripts
  setup_environment.py
Project Total  

This report was generated by python-coverage-comment-action

@alex-feel alex-feel merged commit 6fb1c5a into main Jan 22, 2026
12 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch January 22, 2026 14:32
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.

2 participants