Skip to content

Conversation

findleyr
Copy link
Contributor

@findleyr findleyr commented Oct 7, 2025

We need to close stdin when the stdio transport is shut down, to unblock its read loop. However, we don't technically need to close stdout.

Fixes #548

We need to close stdin when the stdio transport is shut down, to unblock
its read loop. However, we don't technically need to close stdout.

Fixes modelcontextprotocol#548
@findleyr findleyr requested a review from samthanawalla October 7, 2025 14:41
samthanawalla
samthanawalla previously approved these changes Oct 7, 2025
@findleyr
Copy link
Contributor Author

findleyr commented Oct 7, 2025

Sorry @samthanawalla, I had a couple typos which I've now fixed. Would you mind re-reviewing?

@findleyr findleyr merged commit e8685b3 into modelcontextprotocol:main Oct 7, 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.

Using mcp.StdioTransport{} breaks code coverage reporting during tests

2 participants