Jeremiah Lowin commited on
Commit
87b03f8
·
1 Parent(s): 4863d2f

Bump 2.3.6 reference to 2.4.0

Browse files
docs/clients/client.mdx CHANGED
@@ -91,7 +91,7 @@ For more control over connection details (like headers for SSE, environment vari
91
 
92
  ### Multi-Server Clients
93
 
94
- <VersionBadge version="2.3.6" />
95
 
96
  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.
97
 
 
91
 
92
  ### Multi-Server Clients
93
 
94
+ <VersionBadge version="2.4.0" />
95
 
96
  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.
97
 
docs/clients/transports.mdx CHANGED
@@ -323,7 +323,7 @@ Communication happens through efficient in-memory queues, making it very fast an
323
 
324
  ### MCPConfig Transport
325
 
326
- <VersionBadge version="2.3.6" />
327
 
328
  - **Class:** `fastmcp.client.transports.MCPConfigTransport`
329
  - **Inferred From:** An instance of `MCPConfig` or a dictionary matching the MCPConfig schema
 
323
 
324
  ### MCPConfig Transport
325
 
326
+ <VersionBadge version="2.4.0" />
327
 
328
  - **Class:** `fastmcp.client.transports.MCPConfigTransport`
329
  - **Inferred From:** An instance of `MCPConfig` or a dictionary matching the MCPConfig schema
docs/servers/composition.mdx CHANGED
@@ -35,7 +35,7 @@ The choice of importing or mounting depends on your use case and requirements.
35
 
36
  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.
37
 
38
- <VersionBadge version="2.3.6" />
39
 
40
  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.
41
 
 
35
 
36
  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.
37
 
38
+ <VersionBadge version="2.4.0" />
39
 
40
  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.
41
 
docs/servers/proxy.mdx CHANGED
@@ -106,7 +106,7 @@ proxy = FastMCP.as_proxy(
106
 
107
  ### Configuration-Based Proxies
108
 
109
- <VersionBadge version="2.3.6" />
110
 
111
  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.
112
 
 
106
 
107
  ### Configuration-Based Proxies
108
 
109
+ <VersionBadge version="2.4.0" />
110
 
111
  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.
112
 
src/fastmcp/server/server.py CHANGED
@@ -998,7 +998,7 @@ class FastMCP(Generic[LifespanResultT]):
998
  from fastmcp.server.proxy import FastMCPProxy
999
 
1000
  if tool_separator is not None:
1001
- # Deprecated since 2.3.6
1002
  warnings.warn(
1003
  "The tool_separator parameter is deprecated and will be removed in a future version. "
1004
  "Tools are now prefixed using 'prefix_toolname' format.",
@@ -1007,7 +1007,7 @@ class FastMCP(Generic[LifespanResultT]):
1007
  )
1008
 
1009
  if resource_separator is not None:
1010
- # Deprecated since 2.3.6
1011
  warnings.warn(
1012
  "The resource_separator parameter is deprecated and ignored. "
1013
  "Resource prefixes are now added using the protocol://prefix/path format.",
@@ -1016,7 +1016,7 @@ class FastMCP(Generic[LifespanResultT]):
1016
  )
1017
 
1018
  if prompt_separator is not None:
1019
- # Deprecated since 2.3.6
1020
  warnings.warn(
1021
  "The prompt_separator parameter is deprecated and will be removed in a future version. "
1022
  "Prompts are now prefixed using 'prefix_promptname' format.",
@@ -1083,7 +1083,7 @@ class FastMCP(Generic[LifespanResultT]):
1083
  prompt_separator: Deprecated. Separator for prompt names.
1084
  """
1085
  if tool_separator is not None:
1086
- # Deprecated since 2.3.6
1087
  warnings.warn(
1088
  "The tool_separator parameter is deprecated and will be removed in a future version. "
1089
  "Tools are now prefixed using 'prefix_toolname' format.",
@@ -1092,7 +1092,7 @@ class FastMCP(Generic[LifespanResultT]):
1092
  )
1093
 
1094
  if resource_separator is not None:
1095
- # Deprecated since 2.3.6
1096
  warnings.warn(
1097
  "The resource_separator parameter is deprecated and ignored. "
1098
  "Resource prefixes are now added using the protocol://prefix/path format.",
@@ -1101,7 +1101,7 @@ class FastMCP(Generic[LifespanResultT]):
1101
  )
1102
 
1103
  if prompt_separator is not None:
1104
- # Deprecated since 2.3.6
1105
  warnings.warn(
1106
  "The prompt_separator parameter is deprecated and will be removed in a future version. "
1107
  "Prompts are now prefixed using 'prefix_promptname' format.",
 
998
  from fastmcp.server.proxy import FastMCPProxy
999
 
1000
  if tool_separator is not None:
1001
+ # Deprecated since 2.4.0
1002
  warnings.warn(
1003
  "The tool_separator parameter is deprecated and will be removed in a future version. "
1004
  "Tools are now prefixed using 'prefix_toolname' format.",
 
1007
  )
1008
 
1009
  if resource_separator is not None:
1010
+ # Deprecated since 2.4.0
1011
  warnings.warn(
1012
  "The resource_separator parameter is deprecated and ignored. "
1013
  "Resource prefixes are now added using the protocol://prefix/path format.",
 
1016
  )
1017
 
1018
  if prompt_separator is not None:
1019
+ # Deprecated since 2.4.0
1020
  warnings.warn(
1021
  "The prompt_separator parameter is deprecated and will be removed in a future version. "
1022
  "Prompts are now prefixed using 'prefix_promptname' format.",
 
1083
  prompt_separator: Deprecated. Separator for prompt names.
1084
  """
1085
  if tool_separator is not None:
1086
+ # Deprecated since 2.4.0
1087
  warnings.warn(
1088
  "The tool_separator parameter is deprecated and will be removed in a future version. "
1089
  "Tools are now prefixed using 'prefix_toolname' format.",
 
1092
  )
1093
 
1094
  if resource_separator is not None:
1095
+ # Deprecated since 2.4.0
1096
  warnings.warn(
1097
  "The resource_separator parameter is deprecated and ignored. "
1098
  "Resource prefixes are now added using the protocol://prefix/path format.",
 
1101
  )
1102
 
1103
  if prompt_separator is not None:
1104
+ # Deprecated since 2.4.0
1105
  warnings.warn(
1106
  "The prompt_separator parameter is deprecated and will be removed in a future version. "
1107
  "Prompts are now prefixed using 'prefix_promptname' format.",