mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_cimd_cli.py | ||
| test_cli.py | ||
| test_client_commands.py | ||
| test_config.py | ||
| test_cursor.py | ||
| test_discovery.py | ||
| test_fastmcp_remote.py | ||
| test_generate_cli.py | ||
| test_goose.py | ||
| test_install.py | ||
| test_mcp_server_config_integration.py | ||
| test_mcp_server_config_schema.py | ||
| test_project_prepare.py | ||
| test_run.py | ||
| test_run_config.py | ||
| test_server_args.py | ||
| test_shared.py | ||
| test_tasks.py | ||
| test_with_argv.py | ||