🚀 The fast, Pythonic way to build MCP servers and clients.
docs: fix dead links to relocated Anthropic and Docket docs (#5205)
uhhgxg3517bc49b986
diff --git a/docs/cli/generate-cli.mdx b/docs/cli/generate-cli.mdxindex 2754d199a..76bce4fdd 100644--- a/docs/cli/generate-cli.mdx+++ b/docs/cli/generate-cli.mdx@@ -85,7 +85,7 @@ python cli.py call-tool create_user \## Agent Skill-Alongside the CLI script, `generate-cli` writes a `SKILL.md` file — a [Claude Code agent skill](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/skills) that documents every tool's exact invocation syntax, parameter flags, types, and descriptions. An agent can pick up the CLI immediately without running `--help` or experimenting with flag names.+Alongside the CLI script, `generate-cli` writes a `SKILL.md` file — a [Claude Code agent skill](https://code.claude.com/docs/en/skills) that documents every tool's exact invocation syntax, parameter flags, types, and descriptions. An agent can pick up the CLI immediately without running `--help` or experimenting with flag names.To skip skill generation:diff --git a/docs/servers/dependency-injection.mdx b/docs/servers/dependency-injection.mdxindex f419afc16..784d5f0fd 100644--- a/docs/servers/dependency-injection.mdx+++ b/docs/servers/dependency-injection.mdx@@ -316,7 +316,7 @@ async def long_running_task(- **`Progress()`**: Track task progress with atomic updates<Note>-`CurrentDocket()` and `CurrentWorker()` require `pip install 'fastmcp[tasks]'`. They resolve once the server lifespan has initialized Docket, which happens as soon as any component on the server is task-enabled — so regular foreground tools, resources, and prompts can inject them too, not only task-enabled components. `Progress()` can be injected anywhere regardless, though cross-process task progress requires Docket. For comprehensive task patterns, see the [Docket documentation](https://chrisguidry.github.io/docket/dependencies/).+`CurrentDocket()` and `CurrentWorker()` require `pip install 'fastmcp[tasks]'`. They resolve once the server lifespan has initialized Docket, which happens as soon as any component on the server is task-enabled — so regular foreground tools, resources, and prompts can inject them too, not only task-enabled components. `Progress()` can be injected anywhere regardless, though cross-process task progress requires Docket. For comprehensive task patterns, see the [Docket documentation](https://docket.lol/en/latest/task-patterns/).</Note>## Custom Dependencies@@ -490,4 +490,4 @@ async def show_account(A binding that is a `Dependency`, such as `CallArgument(...)` or another `Depends(...)`, resolves first and the factory receives its value. Any other value passes through as it is. A binding replaces the default of the factory's own parameter, which is then never resolved. Two dependencies on the same factory share one cached result only when their bindings match. See the [Docket dependency documentation](https://docket.lol/en/latest/dependency-injection/) for more detail on call arguments and bindings.-For advanced dependency patterns—like `TaskArgument()` for accessing task parameters, or custom `Dependency` subclasses—see the [Docket dependency documentation](https://chrisguidry.github.io/docket/dependencies/).+For advanced dependency patterns—like `TaskArgument()` for accessing task parameters, or custom `Dependency` subclasses—see the [Docket dependency documentation](https://docket.lol/en/latest/dependency-injection/).diff --git a/docs/servers/tools.mdx b/docs/servers/tools.mdxindex 39b5e2649..4105494f5 100644--- a/docs/servers/tools.mdx+++ b/docs/servers/tools.mdx@@ -891,7 +891,7 @@ async def long_running_task(...```-See the [Docket documentation](https://chrisguidry.github.io/docket/dependencies/#task-timeouts) for more on task timeouts and retries.+See the [Docket documentation](https://docket.lol/en/latest/task-behaviors/#task-timeouts) for more on task timeouts and retries.</Warning>When a tool times out, FastMCP logs a warning suggesting task mode. For operations you know will be long-running, use `task=True` instead—background tasks offload work to distributed workers and let clients poll for progress.