Skip to content

Comments

fix: handle Windows CRLF in MCP client(#664)#665

Merged
findleyr merged 1 commit intomodelcontextprotocol:mainfrom
isfzhang:fix/mcp-windows-crlf
Dec 1, 2025
Merged

fix: handle Windows CRLF in MCP client(#664)#665
findleyr merged 1 commit intomodelcontextprotocol:mainfrom
isfzhang:fix/mcp-windows-crlf

Conversation

@isfzhang
Copy link
Contributor

This change updates the MCP client stdio JSON decoder to correctly handle
both Unix (\n) and Windows (\r\n) line endings.

Fixes #664

Copy link
Contributor

@findleyr findleyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@findleyr findleyr merged commit 1bec3c6 into modelcontextprotocol:main Dec 1, 2025
5 checks passed
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.

Windows stdio incompatibility: MCP client cannot parse Python MCP server messages

2 participants