Chrome version
N/A (CLI / MCP protocol backend issue)
Extension version
@nhonh/react-debugger@latest
React version
N/A (CLI issue)
Page URL
N/A (CLI issue)
Steps to reproduce
- Install an MCP client (such as the Cline VS Code extension) on a Windows environment.
- Add the React Debugger MCP configuration block using
npx @nhonh/react-debugger@latest mcp as the command server arguments.
- Attempt to initialize or launch the server connection from the host client.
- Observe the connection dropping immediately with strict JSON parsing stream crashes.
Expected behavior
The MCP server should communicate strictly using pure JSON-RPC over the standard stdout channel. Any human-readable diagnostic messages, installer telemetry text, or bootstrap logging should be isolated completely to stderr so it does not corrupt the strict client-side JSON input stream parser.
Actual behavior
The CLI bootstrap layer leaks raw installation and initialization diagnostic text logs directly into the stdout pipe on Windows environments. This passes raw, unformatted text strings to the client stream listener, triggering JSON parser exceptions and abruptly dropping the connection. ### Environment Info
- OS: Windows
- Node.js Version: v22.18.0
Console errors
Unexpected token 'R', " React Debu"... is not valid JSON
Unexpected token 'R', "Running in"... is not valid JSON
Unexpected token 'I', "Installing"... is not valid JSON
Unexpected token 'D', "Downloadin"... is not valid JSON
Unexpected token 'D', "Download complete!" is not valid JSON
Unexpected token '✓', "✓ Installa"... is not valid JSON
MCP error -32000: Connection closed
Screenshot of the extension panel
No response
Pre-submission checklist
Chrome version
N/A (CLI / MCP protocol backend issue)
Extension version
@nhonh/react-debugger@latest
React version
N/A (CLI issue)
Page URL
N/A (CLI issue)
Steps to reproduce
npx @nhonh/react-debugger@latest mcpas the command server arguments.Expected behavior
The MCP server should communicate strictly using pure JSON-RPC over the standard
stdoutchannel. Any human-readable diagnostic messages, installer telemetry text, or bootstrap logging should be isolated completely tostderrso it does not corrupt the strict client-side JSON input stream parser.Actual behavior
The CLI bootstrap layer leaks raw installation and initialization diagnostic text logs directly into the
stdoutpipe on Windows environments. This passes raw, unformatted text strings to the client stream listener, triggering JSON parser exceptions and abruptly dropping the connection. ### Environment InfoConsole errors
Screenshot of the extension panel
No response
Pre-submission checklist