Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Updated deprecation URL (#3108)

SrzStephen1ed97708926a
diff --git a/src/fastmcp/tools/function_tool.py b/src/fastmcp/tools/function_tool.py
index 38d3116c6..7ef6df398 100644
--- a/src/fastmcp/tools/function_tool.py
+++ b/src/fastmcp/tools/function_tool.py
@@ -193,7 +193,7 @@ class FunctionTool(Tool):
warnings.warn(
"The `exclude_args` parameter is deprecated as of FastMCP 2.14. "
"Use dependency injection with `Depends()` instead for better lifecycle management. "
- "See https://gofastmcp.com/servers/dependencies for examples.",
+ "See https://gofastmcp.com/servers/dependency-injection#using-depends for examples.",
DeprecationWarning,
stacklevel=2,
)