π The fast, Pythonic way to build MCP servers and clients.
Document as_proxy backend keyword migration
Jeremiah Lowinda5754671b52
diff --git a/docs/getting-started/upgrading/from-fastmcp-2.mdx b/docs/getting-started/upgrading/from-fastmcp-2.mdxindex 3dc471963..e8c384f70 100644--- a/docs/getting-started/upgrading/from-fastmcp-2.mdx+++ b/docs/getting-started/upgrading/from-fastmcp-2.mdx@@ -393,13 +393,17 @@ mcp.add_transform(ToolTransform({"name": config}))**FastMCP.as_proxy() β create_proxy()** (Removed in v4)+The proxy target is passed positionally in both APIs, so most calls migrate unchanged. If you passed the target by keyword, note that the parameter was renamed from `backend=` to `target=`.+```python# Removed in v4proxy = FastMCP.as_proxy("http://example.com/mcp")+proxy = FastMCP.as_proxy(backend="http://example.com/mcp") # keyword form# Newfrom fastmcp.server import create_proxyproxy = create_proxy("http://example.com/mcp")+proxy = create_proxy(target="http://example.com/mcp") # as_proxy(backend=X) β create_proxy(target=X)```## v2.14.0