tinyagent icon indicating copy to clipboard operation
tinyagent copied to clipboard

Fix multiple MCPClient cleanup: separate async contexts to avoid cancel scope errors

Open askdevai-bot opened this issue 7 months ago • 0 comments

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

askdevai-bot avatar May 30 '25 00:05 askdevai-bot