Skip to content

Stdio client does not set windowsHide #1638

@OrKoN

Description

@OrKoN

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 #1104

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions