On Windows, StdioClientTransport calls taskkill and triggers visible cmd windows #420
Labels
bug
Something isn't working
Content-Length: 217315 | pFad | http://github.com/modelcontextprotocol/csharp-sdk/issues/420
A3Fetched URL: http://github.com/modelcontextprotocol/csharp-sdk/issues/420
Alternative Proxies:
Describe the bug
When a StdioClientTransport shuts down, and the server-side process is still alive, MCP calls taskkill here.
When it does this, it triggers a visible cmd window on the user's machine.
I believe we can fix this by setting ProcessStartInfo.CreateNoWindow = true.
To Reproduce
I believe you just need to use STDIO transport, and close it on the client side.
Expected behavior
I expect taskkill to run without popping up any windows.
The text was updated successfully, but these errors were encountered: