From 45b3d1e73a8aa5620d2870d0321ec64e35ed8999 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Tue, 20 May 2025 09:37:31 -0400 Subject: [PATCH] Update release numbers for anticipated version --- docs/deployment/cli.mdx | 2 +- src/fastmcp/server/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/cli.mdx b/docs/deployment/cli.mdx index 7bfd13566..832a82a7e 100644 --- a/docs/deployment/cli.mdx +++ b/docs/deployment/cli.mdx @@ -47,7 +47,7 @@ This command runs the server directly in your current Python environment. You ar | Log Level | `--log-level`, `-l` | Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | #### Server Specification - + The server can be specified in three ways: 1. `server.py` - imports the module and looks for a FastMCP object named `mcp`, `server`, or `app`. Errors if no such object is found. diff --git a/src/fastmcp/server/server.py b/src/fastmcp/server/server.py index 0435ebe02..d8c86eb65 100644 --- a/src/fastmcp/server/server.py +++ b/src/fastmcp/server/server.py @@ -1145,7 +1145,7 @@ class FastMCP(Generic[LifespanResultT]): """ Create a FastMCP proxy server from a FastMCP client. """ - # Deprecated since 2.4.0 + # Deprecated since 2.3.5 warnings.warn( "FastMCP.from_client() is deprecated; use FastMCP.as_proxy() instead.", DeprecationWarning,