From 4bb3503b63cbf7f56bcef4f6242a34dd0bcd2583 Mon Sep 17 00:00:00 2001 From: yihuang Date: Mon, 21 Apr 2025 11:24:33 +0800 Subject: [PATCH] Update src/fastmcp/server/proxy.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/fastmcp/server/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastmcp/server/proxy.py b/src/fastmcp/server/proxy.py index 99708b654..39bbc5435 100644 --- a/src/fastmcp/server/proxy.py +++ b/src/fastmcp/server/proxy.py @@ -176,7 +176,7 @@ class FastMCPProxy(FastMCP): async with self.client: try: - client_tools =await self.client.list_tools() + client_tools = await self.client.list_tools() except McpError as e: if e.error.code == METHOD_NOT_FOUND: client_tools = []