Skip to content

Conversation

@alex-feel
Copy link
Owner

User-scope STDIO MCP commands containing tildes (~) were passed directly to Git Bash without Python-side expansion. Git Bash expanded ~ to Unix-style paths (/c/Users/...) which Windows cannot resolve, causing MCP servers to fail with "os error 3". This fix applies Python-side tilde expansion before building the command string, preventing Git Bash from performing Unix-style expansion. Includes comprehensive test coverage with 8 tests.

User-scope STDIO MCP commands containing tildes (~) were passed directly to Git Bash without Python-side expansion. Git Bash expanded ~ to Unix-style paths (/c/Users/...) which Windows cannot resolve, causing MCP servers to fail with "os error 3".
This fix applies Python-side tilde expansion before building the command string, preventing Git Bash from performing Unix-style expansion.
Includes comprehensive test coverage with 8 tests.
@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 d4a2d4a into main Jan 22, 2026
12 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch January 22, 2026 20:54
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