continue-custom/core/context/mcp
shanevcantwell 5ddd0d37a1
fix: skip remote URIs when resolving MCP server cwd (#10844)
When the extension runs in the Local Extension Host on Windows while
connected to a remote workspace (SSH, Dev Container, etc.),
getWorkspaceDirs() returns vscode-remote:// URIs. These cannot be used
as a cwd for child_process.spawn(), causing "spawn cmd.exe ENOENT"
when starting MCP stdio servers.

Fall back to the user's home directory for non-file:// URIs so the
spawn has a valid local working directory.

Fixes #10842

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 17:12:29 -07:00
..
json fix: better agent errors in settings agent section (#8198) 2025-10-13 23:19:55 -07:00
MCPConnection.ts fix: skip remote URIs when resolving MCP server cwd (#10844) 2026-03-20 17:12:29 -07:00
MCPConnection.vitest.ts fix: skip remote URIs when resolving MCP server cwd (#10844) 2026-03-20 17:12:29 -07:00
MCPManagerSingleton.ts fix: cubic feedback 2025-10-01 10:52:44 -07:00
MCPManagerSingleton.vitest.ts feat: better settings page and open settings fixes 2025-09-29 15:59:46 -07:00
MCPOauth.ts merge main 2025-09-24 15:36:59 -07:00
MCPOauth.vitest.ts fix: cubic feedback, lint, format 2025-09-24 16:55:18 -07:00