Skip to content

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

try to fix test

zzstoatzz8d210ade05ee
diff --git a/tests/server/test_proxy.py b/tests/server/test_proxy.py
index 7f018332c..b77db9b38 100644
--- a/tests/server/test_proxy.py
+++ b/tests/server/test_proxy.py
@@ -74,7 +74,7 @@ async def test_create_proxy(fastmcp_server):
# Create a client
client = Client(transport=FastMCPTransport(fastmcp_server))
- server = FastMCPProxy.from_client(client)
+ server = FastMCPProxy.as_proxy(client)
assert isinstance(server, FastMCPProxy)
assert isinstance(server, FastMCP)