Skip to content

fix: output JRE download message to stderr for MCP server compatibility#402

Merged
shannah merged 1 commit intomasterfrom
fix/npm-cli-mcp-server-support
Feb 5, 2026
Merged

fix: output JRE download message to stderr for MCP server compatibility#402
shannah merged 1 commit intomasterfrom
fix/npm-cli-mcp-server-support

Conversation

@shannah
Copy link
Copy Markdown
Owner

@shannah shannah commented Feb 5, 2026

MCP servers use stdout for JSON-RPC protocol communication. Progress messages written to stdout would corrupt the protocol. Changed the "Downloading java runtime environment" message to use console.error (stderr) instead of console.log (stdout).

MCP servers use stdout for JSON-RPC protocol communication. Progress
messages written to stdout would corrupt the protocol. Changed the
"Downloading java runtime environment" message to use console.error
(stderr) instead of console.log (stdout).
@shannah shannah merged commit 01fd329 into master Feb 5, 2026
10 checks passed
@shannah shannah deleted the fix/npm-cli-mcp-server-support branch February 5, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant