mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
- Client task support is opt-in via importing fastmcp_tasks (drop the core auto-load of companion packages); a plain Client never advertises tasks. - A worker restores the submitting caller's auth token and headers from the task snapshot into the standard ambient context, so get_access_token() / get_http_headers() work in a distributed worker with no new core hooks. - worker_cli validates the loaded extension's resolved backend, not env defaults, so a constructor-configured Redis worker starts. - Thread the per-call read timeout through task polling; bound ToolTask.wait by its deadline; set_elicitation_callback rebuilds internal extensions so a later-set handler answers in-task input. - README imports TaskConfig from fastmcp.utilities.tasks. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| client-only-package.mdx | ||
| client.mdx | ||
| elicitation.mdx | ||
| fastmcp-remote.mdx | ||
| logging.mdx | ||
| notifications.mdx | ||
| progress.mdx | ||
| prompts.mdx | ||
| resources.mdx | ||
| roots.mdx | ||
| sampling.mdx | ||
| tasks.mdx | ||
| tools.mdx | ||
| transports.mdx | ||