Does this issue occur when all extensions are disabled?:
- VS Code Version: 1.99-insiders
- OS Version: codespace/windows 11
Steps to Reproduce:
- create a dummy mcp javascript file and place it in the file system. In this case "../cli/built/genaiscript.cjs".
- update
.vscode/mcp.json to mount a MCP server on that file.
{
"servers": {
"genaiscript": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/../cli/built/genaiscript.cjs", "mcp"],
"envFile": "${workspaceFolder}/.env"
}
}
}
- Try to launch the server. If your file is loaded and contains a mcp server, it should succeed.
On WIndows, the filepath is resolved correctly and the MCP server starts correctly.
In the codespace, the filepath somewhat becomes a windows path and fails to load.
2025-03-20 14:41:00.910 [info] Error: Cannot find module 'C:\workspaces\genaiscript\packages\cli\built\genaiscript.cjs'
Does this issue occur when all extensions are disabled?:
Steps to Reproduce:
.vscode/mcp.jsonto mount a MCP server on that file.On WIndows, the filepath is resolved correctly and the MCP server starts correctly.
In the codespace, the filepath somewhat becomes a windows path and fails to load.