MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / server_stderr

Function server_stderr

tests/transports/stdio/test_windows.py:99–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 with (tmp_path / "errlog.txt").open("w+", encoding="utf-8") as errlog:
98
99 def server_stderr() -> str:
100 errlog.seek(0)
101 return errlog.read()
102
103 streams: list[anyio.abc.SocketStream] = []
104 spawn_started = anyio.current_time()

Calls 1

readMethod · 0.45

Tested by

no test coverage detected