**Describe the bug** MCP stdio client only sets windowsHide for electron apps https://github.com/modelcontextprotocol/typescript-sdk/blob/v1.x/src/client/stdio.ts#L128 This makes an empty console window (cmd.exe) show up if launched outside of electron. **To Reproduce** Steps to reproduce the behavior: 1. Use StdioClientTransport to launch a Node.js based server on Windows **Expected behavior** No windows should show up. **Logs** If applicable, add logs to help explain your problem. **Additional context** Mentioned here https://github.com/modelcontextprotocol/typescript-sdk/pull/1104
Activity
OrKoN commentedon Mar 6, 2026
I suggest to always set windowsHide to true as 1) it is windows-specific already 2) non-Electron apps also want their server not to have any windows.
chore: work around the SDK's MCP client issues (#1137)
fix(stdio): always set windowsHide on Windows, not just in Electron
fix(stdio): always set windowsHide on Windows, not just in Electron
fix(stdio): always set windowsHide on Windows, not just in Electron
chore: work around the SDK's MCP client issues (#1137)