Fix broken /servers/dependencies deprecation URL

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fq4Ruzsg2oBBbjNCqbvQxp
This commit is contained in:
Claude 2026-02-07 13:23:05 +00:00
commit adb8a50a8e
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

View file

@ -906,6 +906,14 @@
{
"destination": "/servers/transforms/transforms",
"source": "/patterns/tool-transformation"
},
{
"destination": "/servers/dependency-injection",
"source": "/servers/dependencies"
},
{
"destination": "/v2/servers/context#using-depends",
"source": "/v2/servers/dependencies"
}
],
"search": {

View file

@ -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,
)