Skip to content

fix(mcp): honor subprocess PATHEXT for stdio resolution - #56594

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-56536
Closed

fix(mcp): honor subprocess PATHEXT for stdio resolution#56594
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-56536

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #56536.\n\n## Summary\n- resolve stdio MCP commands using PATHEXT from the MCP subprocess environment on Windows\n- restore the parent process PATHEXT after lookup\n- add regression coverage for PATH/PATHEXT resolution plumbing\n\n## Tests\n- scripts/run_tests.sh tests/tools/test_mcp_stdio_resolution.py

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have tool/mcp MCP client and OAuth platform/windows Native Windows-specific behavior or breakage sweeper:risk-platform-windows Sweeper risk: may break or behave differently on native Windows labels Jul 1, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

This was generated by AI during triage.

Related to #56537 (@ooiuuii), which fixes the same issue (#56536) and is open + earlier. This PR fixes the PATHEXT resolution only; #56537 covers the same PATHEXT fix plus Windows case-insensitive env-key handling (_env_key/_env_get, PATH mixed-case). Flagging the overlap so a maintainer can pick the broader one.

@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Stale — 12-13 days without merge activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have platform/windows Native Windows-specific behavior or breakage sweeper:risk-platform-windows Sweeper risk: may break or behave differently on native Windows tool/mcp MCP client and OAuth type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP stdio resolution ignores env PATHEXT on Windows

3 participants