tinyagent
tinyagent copied to clipboard
Fix: separate MCPClient contexts teardown to avoid CancelScope errors
This PR applies the approved patch to separate the stdio_client and ClientSession contexts in MCPClient, resolving cancel scope conflicts when multiple clients are closed concurrently.
A developer on Askdev.AI requested this update