Skip to content

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

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

findleyr merged 1 commit into
modelcontextprotocol:mainfrom
isfzhang:fix/mcp-windows-crlf

Conversation

@isfzhang

Copy link
Copy Markdown
Contributor

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

Fixes #664

@findleyr findleyr left a comment

Copy link
Copy Markdown
Contributor

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