Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Fix import

Jeremiah Lowinb67a5a5aeff2
diff --git a/src/fastmcp/server/server.py b/src/fastmcp/server/server.py
index ada608760..e7d730108 100644
--- a/src/fastmcp/server/server.py
+++ b/src/fastmcp/server/server.py
@@ -1125,6 +1125,7 @@ class FastMCP(Generic[LifespanResultT]):
:class:`~fastmcp.client.Client`. This mirrors the convenience of the
``Client`` constructor.
"""
+ from fastmcp.client.client import Client
from fastmcp.server.proxy import FastMCPProxy
if isinstance(backend, Client):