Skip to content

Commit 606a499

Browse files
committed
Disable stdout reader task initialization in transport.py
Commented out the stdout reader task initialization to prevent its execution. This change will temporarily avoid potential issues related to the stdout reader while other components continue functioning as expected. Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
1 parent ac6950f commit 606a499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/client/stdio/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def __aenter__(self):
173173
self._tg = anyio.create_task_group()
174174
await self._tg.__aenter__()
175175

176-
self._tg.start_soon(self._stdout_reader)
176+
# self._tg.start_soon(self._stdout_reader)
177177
self._tg.start_soon(self._stdin_writer)
178178
self._tg.start_soon(self._stderr_reader)
179179

0 commit comments

Comments
 (0)