fastmcp/tests/client
Jeremiah Lowin e16ffad420
Promote mcp-types to a core fastmcp-slim dependency
Bare `import fastmcp` loads mcp_types via _sdk_patches and _compat, so a
bare slim install (no [mcp] extra) hit ModuleNotFoundError. mcp-types only
pulls pydantic + typing-extensions (already core), so graduating it to core
fixes the import while the full mcp SDK stays in the [mcp] extra.
2026-07-06 10:58:51 -04:00
..
auth xfail extension-stripping app tests (sdk-feedback #2); assert MCPError for v2 401 surface 2026-07-05 23:14:41 -04:00
client Fix client meta forwarding, ClientNotification construction, and v1 test idioms for SDK v2 2026-07-05 21:52:35 -04:00
sampling Fix client meta forwarding, ClientNotification construction, and v1 test idioms for SDK v2 2026-07-05 21:52:35 -04:00
tasks Fix AnyUrl content-type test idioms; xfail wire-unexpressible prompt/resource tasks and background sampling (sdk-feedback #3/#9) 2026-07-05 22:46:11 -04:00
telemetry Select FastMCP client spans by component.key; assert span descendant vs SDK v2 intermediate spans 2026-07-05 23:10:57 -04:00
transports Add targeted coverage tests (#4230) 2026-05-25 18:57:28 -04:00
__init__.py clean up test inits 2025-05-31 19:32:08 -04:00
test_elicitation.py Merge remote-tracking branch 'origin/main' into sdkv2 2026-07-06 00:56:15 -04:00
test_elicitation_enums.py Merge remote-tracking branch 'origin/main' into sdkv2 2026-07-06 00:56:15 -04:00
test_logs.py Migrate mcp.types imports to mcp_types 2026-07-05 18:03:43 -04:00
test_notifications.py Update notification test helper for SDK v2 unwrapped notifications 2026-07-05 21:15:10 -04:00
test_oauth_callback_race.py Add fastmcp-remote bridge package (#4208) 2026-05-23 10:04:21 -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 Migrate mcp.types imports to mcp_types 2026-07-05 18:03:43 -04:00
test_progress.py Guard default progress handler against zero totals (#3432) 2026-03-07 11:41:11 -05:00
test_roots.py Add structured content & update almost all tests 2025-06-27 15:40:52 -04:00
test_sampling.py Adopt snake_case SDK type attribute access 2026-07-05 18:09:03 -04:00
test_sampling_result_types.py Adopt snake_case SDK type constructor kwargs 2026-07-05 18:11:04 -04:00
test_sampling_tool_loop.py Adopt snake_case SDK type constructor kwargs 2026-07-05 18:11:04 -04:00
test_slim_package_boundaries.py Promote mcp-types to a core fastmcp-slim dependency 2026-07-06 10:58:51 -04:00
test_sse.py Pass float session timeout to sse_client; update timeout-message assertions (SDK v2) 2026-07-05 21:08:46 -04:00
test_stdio.py fix: recover StdioTransport after subprocess exits (#3630) 2026-03-26 22:16:54 -04:00
test_streamable_http.py Merge remote-tracking branch 'origin/main' into sdkv2 2026-07-06 00:56:15 -04:00