fastmcp/docs/servers
Chris Guidry ba283ddb4c
Support CallArgument and Depends bindings from uncalled-for 0.4.0 (#4802)
* Support CallArgument and Depends bindings from uncalled-for 0.4.0

uncalled-for 0.4.0 adds explicit argument references: CallArgument()
lets a dependency factory read an argument of the function it serves,
and Depends(factory, **bindings) supplies factory arguments at the
declaration site (https://github.com/chrisguidry/uncalled-for/pull/12).
FastMCP's resolver now opens a frame_scope() around dependency
resolution, with the sanitized user arguments as the frame's provided
values. A CallArgument can reference a tool call's public parameters,
but a caller-supplied value for a dependency parameter name is still
stripped before resolution. CallArgument and CycleError are re-exported
from fastmcp.dependencies, and the dependency-injection docs cover both
features.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Raise the pydocket floor to 0.24.0 outside Windows

pydocket 0.24.0 resolves TaskArgument and CallArgument through
uncalled-for 0.4.0's call-scoped frames. Windows keeps the 0.20.0
floor: the burner-redis<0.1.7 pin there transitively caps pydocket to
<0.20.2, and burner-redis has shipped no fixed release yet.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Bump the pydocket floor to 0.24.1 for reliable worker shutdown

docket 0.24.1 fixes a lost cancellation in worker shutdown on Python
3.10 and 3.11 (chrisguidry/docket#456): asyncio.wait_for swallowed a
cancellation delivered in the same event-loop tick that its inner future
completed, so cancelling run_forever during our lifespan teardown left
the worker running and hung the test session. That is what timed out the
Python 3.10 and lowest-direct jobs here. The floor stays platform-split;
Windows keeps >=0.20.0 under the burner-redis pin.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Drop the Windows burner-redis pin and unify the pydocket floor at 0.24.1

The pin blamed the wrong package. The Windows "interpreter crash" that
motivated it (#4618) was pydocket 0.23.1 losing an external cancellation
during worker teardown; pytest-timeout's hard kill of the hung xdist
worker discarded its stdout and looked like a native fault. Capping
burner-redis also dragged pydocket below 0.20.2, so the two variables
were never separated. The repro matrix on prefectlabs/burner-redis#7
shows the July environment failing as resolved, passing with only
pydocket rolled back, and passing with pydocket 0.24.1 alongside
burner-redis 0.1.7 on Windows. pydocket 0.24.1 carries the fix
(chrisguidry/docket#456), so every platform now shares one floor.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: nate nowack <thrast36@gmail.com>
2026-08-13 22:19:17 -05:00
..
auth Add audience pinning to GoogleTokenVerifier (#4827) 2026-08-13 15:59:16 -04:00
providers Forward proxy server metadata across protocol eras (#4776) 2026-08-06 19:09:05 -04:00
transforms Rewrite the v4 What's New page and document server extensions (#4698) 2026-07-28 20:05:45 -04:00
authorization.mdx Audit v4 docs: fix missing version badges, fill whats-new gaps (#4668) 2026-07-27 15:03:18 -04:00
completions.mdx Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
composition.mdx Align server component docs (#4260) 2026-07-19 14:23:36 -04:00
context.mdx Use mcp.types directly instead of aliasing to mcp_types in docs (#4696) 2026-07-28 19:08:44 -04:00
dependency-injection.mdx Support CallArgument and Depends bindings from uncalled-for 0.4.0 (#4802) 2026-08-13 22:19:17 -05:00
elicitation.mdx Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
extensions.mdx Rewrite the v4 What's New page and document server extensions (#4698) 2026-07-28 20:05:45 -04:00
icons.mdx Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
lifespan.mdx Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00
logging.mdx Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00
middleware.mdx Forward proxy server metadata across protocol eras (#4776) 2026-08-06 19:09:05 -04:00
pagination.mdx Align server component docs (#4260) 2026-07-19 14:23:36 -04:00
progress.mdx Align server component docs (#4260) 2026-07-19 14:23:36 -04:00
prompts.mdx Improve the v4 docs (#4707) 2026-07-29 09:51:13 -04:00
resources.mdx Improve the v4 docs (#4707) 2026-07-29 09:51:13 -04:00
sampling.mdx Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
server.mdx Document sampling handlers on both protocol routes; qualify log-level override 2026-07-26 15:19:11 -04:00
sessions.mdx Add stateless session state (UserSession / SessionId) (#4604) 2026-07-23 19:21:00 -04:00
storage-backends.mdx Rewrite the v4 What's New page and document server extensions (#4698) 2026-07-28 20:05:45 -04:00
tasks.mdx Encrypt task context snapshots at rest (#4772) 2026-08-06 20:01:40 -04:00
telemetry.mdx feat: Add telemetry interop mode for FastMCP (#4046) 2026-07-27 16:05:29 -04:00
testing.mdx Restructure docs navigation: CLI section, Composition, More (#3361) 2026-03-02 21:09:48 -05:00
tool-fingerprinting.mdx docs: add tool fingerprinting recipe for stable schema hashing (#4233) 2026-05-27 10:52:14 -04:00
tools.mdx Improve the v4 docs (#4707) 2026-07-29 09:51:13 -04:00
versioning.mdx Align server component docs (#4260) 2026-07-19 14:23:36 -04:00
visibility.mdx Align server component docs (#4260) 2026-07-19 14:23:36 -04:00