From dc909e27133f833e33da20f6de0574680f33fe29 Mon Sep 17 00:00:00 2001 From: Om Chauhan Date: Sun, 15 Mar 2026 18:28:10 +0530 Subject: [PATCH] add changelog fragments --- changelog/4034.changed.md | 1 + changelog/4034.fixed.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/4034.changed.md create mode 100644 changelog/4034.fixed.md diff --git a/changelog/4034.changed.md b/changelog/4034.changed.md new file mode 100644 index 000000000..4b4637ffe --- /dev/null +++ b/changelog/4034.changed.md @@ -0,0 +1 @@ +- MCPClient now requires async with MCPClient(...) as mcp: or explicit start()/close() calls to manage the connection lifecycle. diff --git a/changelog/4034.fixed.md b/changelog/4034.fixed.md new file mode 100644 index 000000000..18d000d07 --- /dev/null +++ b/changelog/4034.fixed.md @@ -0,0 +1 @@ +- Fixed MCPClient opening a new connection for every tool call instead of reusing the session.