tinyagent
tinyagent copied to clipboard
Fix multiple MCPClient cleanup: separate async contexts to avoid cancel scope errors
This PR fixes the MCPClient implementation by managing stdio_client and ClientSession async contexts separately to avoid cancel scope mismatches when multiple clients are used in the same process.
A developer on Askdev.AI requested this update