You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code install command on the Connect page breaks in cmd.exe and Windows PowerShell 5.1 #217
This is a Windows-only product, and the copy-paste install command fails in both default Windows shells. Someone who hits that on their first try may not come back.
Evidence
docs/connect.html:98 and its generator scripts/build-docs-pages.mjs:267 give code --add-mcp '{"name":...}'.
Tested: cmd.exe passes '{name:screencast,...}' and Windows PowerShell 5.1 passes {name:screencast,...}, both invalid JSON. Only pwsh 7.3+ passes it intact.
Suggested approach
Show tabs for PowerShell and cmd with correctly escaped JSON ("{\"name\":...}"), or lead with the vscode:mcp/install?… deeplink button (see #178) and keep the CLI as a secondary option. Test each variant in its shell.
Done when
Each command shown works when pasted into cmd.exe, Windows PowerShell 5.1, and pwsh 7.
Activity