Skip to content

fix(server): close StdioServerTransport when stdin ends or closes - #2494

Open
claude[bot] wants to merge 6 commits into
mainfrom
claude/fix-2002-stdin-eof-close
Open

fix(server): close StdioServerTransport when stdin ends or closes#2494
claude[bot] wants to merge 6 commits into
mainfrom
claude/fix-2002-stdin-eof-close

fix(server): close the transport when stdin is already dead at start()

f9d3eed
Select commit
Loading
Failed to load commit list.
pkg.pr.new / Continuous Releases succeeded Jul 27, 2026 in 0s

Successful

Published successfully.

Details

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@f9d3eed

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@f9d3eed

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@f9d3eed

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@f9d3eed

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@f9d3eed

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@f9d3eed

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@f9d3eed

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@f9d3eed

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@f9d3eed