mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-15 15:32:40 +00:00
- Introduced a shared event loop running in a background thread to manage MCP connections efficiently. - Updated the MCPNativeTool class to ensure all async operations are dispatched to this dedicated loop, preventing cross-loop cancel-scope issues. - Enhanced error handling during tool execution to ensure clean disconnection and reconnection processes.