From 9ca994b94d2e7626dd13f9ebb8c4d460ddda6760 Mon Sep 17 00:00:00 2001
From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
Date: Thu, 22 May 2025 22:17:35 -0400
Subject: [PATCH] Bump 2.3.6 reference to 2.4.0
---
docs/clients/client.mdx | 2 +-
docs/clients/transports.mdx | 2 +-
docs/servers/composition.mdx | 2 +-
docs/servers/proxy.mdx | 2 +-
src/fastmcp/server/server.py | 12 ++++++------
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/docs/clients/client.mdx b/docs/clients/client.mdx
index 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
-
+
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.mdx
index 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
-
+
- **Class:** `fastmcp.client.transports.MCPConfigTransport`
- **Inferred From:** An instance of `MCPConfig` or a dictionary matching the MCPConfig schema
diff --git a/docs/servers/composition.mdx b/docs/servers/composition.mdx
index 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.
-
+
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.mdx
index ef2899cd2..d78d6d694 100644
--- a/docs/servers/proxy.mdx
+++ b/docs/servers/proxy.mdx
@@ -106,7 +106,7 @@ proxy = FastMCP.as_proxy(
### Configuration-Based Proxies
-
+
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.py
index 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 FastMCPProxy
if tool_separator is not None:
- # Deprecated since 2.3.6
+ # Deprecated since 2.4.0
warnings.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.0
warnings.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.0
warnings.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.0
warnings.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.0
warnings.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.0
warnings.warn(
"The prompt_separator parameter is deprecated and will be removed in a future version. "
"Prompts are now prefixed using 'prefix_promptname' format.",