fastmcp/tests/client
Jeremiah Lowin 74e01d5e08
Add SEP-2663 client half: transparent call_tool, ResultClaim, Task handle
A FastMCP client now transparently completes tasked tools/call: the tasks
ClientExtension advertises the capability and claims the CreateTaskResult, and
the resolver drives the tasks/get poll loop to completion, answering in-task
input through the client's elicitation handler and returning the tool's real
result. call_tool is transparent, call_tool_mcp exposes the raw result, and
call_tool_task yields a Task handle. The client half moves to fastmcp-tasks;
the [tasks] client extension auto-wires into Client (ProxyClient opts out).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-22 15:21:10 -04:00
..
auth Add machine-to-machine client authentication (#4583) 2026-07-21 12:27:08 -04:00
client Add SEP-2663 client half: transparent call_tool, ResultClaim, Task handle 2026-07-22 15:21:10 -04:00
sampling Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
telemetry Add SEP-2663 client half: transparent call_tool, ResultClaim, Task handle 2026-07-22 15:21:10 -04:00
transports Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
__init__.py clean up test inits 2025-05-31 19:32:08 -04:00
minimal_stdio_server.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_client_extensions.py Add SEP-2663 client half: transparent call_tool, ResultClaim, Task handle 2026-07-22 15:21:10 -04:00
test_elicitation.py Audit tests/client/ mode="legacy" pins 2026-07-20 15:43:04 -04:00
test_elicitation_enums.py Default fastmcp.Client to mode="auto"; surface extensions=/result_claims= 2026-07-19 21:22:49 -04:00
test_logs.py Audit tests/client/ mode="legacy" pins 2026-07-20 15:43:04 -04:00
test_notifications.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_oauth_callback_race.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_oauth_callback_xss.py Escape all HTML to prevent XSS attack (#2090) 2025-10-14 12:30:21 -07:00
test_openapi.py Audit tests/client/ mode="legacy" pins 2026-07-20 15:43:04 -04:00
test_progress.py Guard default progress handler against zero totals (#3432) 2026-03-07 11:41:11 -05:00
test_roots.py Default fastmcp.Client to mode="auto"; surface extensions=/result_claims= 2026-07-19 21:22:49 -04:00
test_sampling.py Default fastmcp.Client to mode="auto"; surface extensions=/result_claims= 2026-07-19 21:22:49 -04:00
test_sampling_result_types.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_sampling_tool_loop.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_slim_package_boundaries.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_sse.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_stdio.py Restore upgraded dependency checks (#4576) 2026-07-20 18:46:30 -04:00
test_streamable_http.py Audit tests/client/ mode="legacy" pins 2026-07-20 15:43:04 -04:00