fastmcp/tests
nate nowack 2a2080c6c7
add independent client groups (#4904)
* feat(client): add experimental independent client groups

🤖 Generated with Pi

* refactor(client): narrow client group naming policy

🤖 Generated with Pi

* fix(client): avoid repeated discovery for unknown tools

🤖 Generated with Pi

* feat(client): expose client group tool routes

🤖 Generated with Pi

* docs(client): compare client and session groups

🤖 Generated with Pi

* docs(client): clarify modern session group gap

🤖 Generated with OpenAI Codex

* refactor(client): align client group call signatures with Client

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* docs(client): cross-link client groups from multi-server config docs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* refactor(client): promote client group out of experimental

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* fix(client): harden client group invariants

Immutable membership, race-free group entry, and per-route connection checks so one dead server does not fail calls routed to healthy servers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* test(client): satisfy ty on immutable membership test

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* perf(client): connect group clients concurrently

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

* fix(client): refresh group catalog past client response caches

Explicit group.list_tools() now defaults to cache_mode='refresh' via a new cache_mode parameter on Client.list_tools, so a cache-hinted server cannot leave the documented refresh mechanism serving a stale catalog. Lazy cold-start discovery still allows cache hits.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DrQJXPeMepQgJay5xF91yE

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-27 21:21:48 -05:00
..
apps Late-bind app tool names so UIs survive composition (#4682) 2026-07-28 10:54:19 -04:00
cli fix(ci): satisfy latest ty control-flow checks (#4928) 2026-08-27 14:54:44 -05:00
client add independent client groups (#4904) 2026-08-27 21:21:48 -05:00
conformance Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
contrib Speed up the unit test suite, and fix the task-notification race it surfaced (#4550) 2026-07-19 18:52:04 -04:00
deprecated Remove 3.x-era compatibility shims (#4661) 2026-07-27 14:59:43 -04:00
docs Split the SDK upgrade guides by SDK version (#4684) 2026-07-28 10:47:39 -04:00
experimental Fix CodeMode tool error propagation (#4704) 2026-08-02 09:41:36 -04:00
fixtures test: vendor ext-tasks draft schema as fixture 2026-07-21 20:19:28 -04:00
fs fix(fs): isolate same-named package imports across providers (#4361) 2026-06-24 10:57:01 -04:00
integration_tests Merge remote-tracking branch 'origin/main' into feature/client-auto-default 2026-07-20 12:02:38 -04:00
prompts Preserve string-compatible prompt arguments (#4730) 2026-08-02 14:56:05 -04:00
resources Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
scripts Exempt maintainers from MRE auto-close (#4220) 2026-05-23 09:02:44 -04:00
server add independent client groups (#4904) 2026-08-27 21:21:48 -05:00
tasks Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
telemetry feat: Add telemetry interop mode for FastMCP (#4046) 2026-07-27 16:05:29 -04:00
tools Delegate typed tool output serialization to Pydantic (#4771) 2026-08-06 19:59:19 -04:00
utilities Include instructions in MCP inspect output (#4873) 2026-08-21 19:50:27 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
test_apps.py Audit mode="legacy" pins in server tests and top-level stragglers 2026-07-20 16:00:27 -04:00
test_apps_prefab.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_compat.py Avoid loading MCP and CLI stacks during lightweight imports (#4763) 2026-08-05 10:56:13 -04:00
test_exceptions.py Pass the MCP conformance suite's draft and pending scenarios 2026-07-26 15:00:08 -04:00
test_fastmcp_app.py Late-bind app tool names so UIs survive composition (#4682) 2026-07-28 10:54:19 -04:00
test_json_schema_generation.py fix: resolve Pyright "Module is not callable" on @tool, @resource, @prompt decorators (#3540) 2026-03-17 18:11:42 -04:00
test_mcp_config.py fix: support modern protocol in multi-server clients (#4893) 2026-08-24 21:09:41 -05:00
test_no_legacy_httpx.py Preserve legacy httpx compatibility without importing it (#4766) 2026-08-05 18:09:16 -04:00
test_settings.py Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core 2026-07-21 21:51:45 -04:00
test_upgrade_from_v3.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00