π The fast, Pythonic way to build MCP servers and clients.
Bump 2.3.6 reference to 2.4.0
Jeremiah Lowin9ca994b94d2e
diff --git a/docs/clients/client.mdx b/docs/clients/client.mdxindex 70c47bfa9..c53ecee03 100644--- a/docs/clients/client.mdx+++ b/docs/clients/client.mdx@@ -91,7 +91,7 @@ For more control over connection details (like headers for SSE, environment vari### Multi-Server Clients-<VersionBadge version="2.3.6" />+<VersionBadge version="2.4.0" />FastMCP supports creating clients that connect to multiple MCP servers through a single client interface using a standard MCP configuration format (`MCPConfig`). This configuration approach makes it easy to connect to multiple specialized servers or create composable systems with a simple, declarative syntax.diff --git a/docs/clients/transports.mdx b/docs/clients/transports.mdxindex b89f46884..3669c8b25 100644--- a/docs/clients/transports.mdx+++ b/docs/clients/transports.mdx@@ -323,7 +323,7 @@ Communication happens through efficient in-memory queues, making it very fast an### MCPConfig Transport-<VersionBadge version="2.3.6" />+<VersionBadge version="2.4.0" />- **Class:** `fastmcp.client.transports.MCPConfigTransport`- **Inferred From:** An instance of `MCPConfig` or a dictionary matching the MCPConfig schemadiff --git a/docs/servers/composition.mdx b/docs/servers/composition.mdxindex dc584bced..73b40affc 100644--- a/docs/servers/composition.mdx+++ b/docs/servers/composition.mdx@@ -35,7 +35,7 @@ The choice of importing or mounting depends on your use case and requirements.FastMCP supports [MCP proxying](/patterns/proxy), which allows you to mirror a local or remote server in a local FastMCP instance. Proxies are fully compatible with both importing and mounting.-<VersionBadge version="2.3.6" />+<VersionBadge version="2.4.0" />You can also create proxies from configuration dictionaries that follow the MCPConfig schema, which is useful for quickly connecting to one or more remote servers. See the [Proxy Servers documentation](/servers/proxy#configuration-based-proxies) for details on configuration-based proxying. Note that MCPConfig follows an emerging standard and its format may evolve over time.diff --git a/docs/servers/proxy.mdx b/docs/servers/proxy.mdxindex ef2899cd2..d78d6d694 100644--- a/docs/servers/proxy.mdx+++ b/docs/servers/proxy.mdx@@ -106,7 +106,7 @@ proxy = FastMCP.as_proxy(### Configuration-Based Proxies-<VersionBadge version="2.3.6" />+<VersionBadge version="2.4.0" />You can create a proxy directly from a configuration dictionary that follows the MCPConfig schema. This is useful for quickly setting up proxies to remote servers without manually configuring each connection detail.diff --git a/src/fastmcp/server/server.py b/src/fastmcp/server/server.pyindex 389ad9600..6ce1dff96 100644--- a/src/fastmcp/server/server.py+++ b/src/fastmcp/server/server.py@@ -998,7 +998,7 @@ class FastMCP(Generic[LifespanResultT]):from fastmcp.server.proxy import FastMCPProxyif tool_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The tool_separator parameter is deprecated and will be removed in a future version. ""Tools are now prefixed using 'prefix_toolname' format.",@@ -1007,7 +1007,7 @@ class FastMCP(Generic[LifespanResultT]):)if resource_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The resource_separator parameter is deprecated and ignored. ""Resource prefixes are now added using the protocol://prefix/path format.",@@ -1016,7 +1016,7 @@ class FastMCP(Generic[LifespanResultT]):)if prompt_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The prompt_separator parameter is deprecated and will be removed in a future version. ""Prompts are now prefixed using 'prefix_promptname' format.",@@ -1083,7 +1083,7 @@ class FastMCP(Generic[LifespanResultT]):prompt_separator: Deprecated. Separator for prompt names."""if tool_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The tool_separator parameter is deprecated and will be removed in a future version. ""Tools are now prefixed using 'prefix_toolname' format.",@@ -1092,7 +1092,7 @@ class FastMCP(Generic[LifespanResultT]):)if resource_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The resource_separator parameter is deprecated and ignored. ""Resource prefixes are now added using the protocol://prefix/path format.",@@ -1101,7 +1101,7 @@ class FastMCP(Generic[LifespanResultT]):)if prompt_separator is not None:- # Deprecated since 2.3.6+ # Deprecated since 2.4.0warnings.warn("The prompt_separator parameter is deprecated and will be removed in a future version. ""Prompts are now prefixed using 'prefix_promptname' format.",