fastmcp/tests/server
Jeremiah Lowin 5ade5a4838 Simplify Provider transform architecture
Replace _get_all_transforms() with a .transforms property that returns
[*self._transforms, self._visibility]. This cleanly separates user transforms
from visibility filtering while keeping visibility applied last (outermost).

Also:
- AuthMiddleware now uses get_* instead of _get_* for proper component auth
- Remove redundant _is_component_enabled checks (visibility is a transform)
- Delete dead code (get_component method)
- Add versions field to FastMCPMeta
- Replace asserts with NotFoundError in component_service
2026-01-17 11:35:47 -05:00
..
auth Merge remote-tracking branch 'origin/main' into refactor-provider-inheritance-v2 2026-01-17 08:41:58 -05:00
http Add loq file size limits and clean up type ignores (#2859) 2026-01-13 07:29:12 -05:00
middleware Rename _fastmcp metadata namespace to fastmcp and make non-optional (#2895) 2026-01-16 21:35:53 -05:00
providers Merge main into refactor-provider-inheritance-v2 2026-01-16 22:13:29 -05:00
sampling SEP-1577: Sampling with tools (#2551) 2025-12-14 13:51:05 -05:00
tasks Add component versioning and VersionFilter transform (#2894) 2026-01-16 20:53:18 -05:00
telemetry Add component versioning and VersionFilter transform (#2894) 2026-01-16 20:53:18 -05:00
__init__.py restore 1.x code 2025-04-09 11:54:42 -04:00
test_app_state.py Update docs and test 2025-06-20 13:06:48 -04:00
test_auth_integration.py Update FastMCP for MCP SDK 1.23.1 auth changes 2025-12-03 11:50:08 -05:00
test_context.py Add session-scoped state persistence (#2873) 2026-01-16 14:11:21 -05:00
test_dependencies.py Make pydocket optional and unify DI systems (#2835) 2026-01-10 16:23:32 -05:00
test_event_store.py Replace type: ignore[attr-defined] with isinstance assertions in tests (#2665) 2025-12-21 16:37:20 -05:00
test_file_server.py Introduce ResourceResult as canonical resource return type (#2734) 2025-12-25 21:21:55 -05:00
test_icons.py Implement icon support (#2121) 2025-10-17 17:28:08 -04:00
test_input_validation.py Replace type: ignore[attr-defined] with isinstance assertions in tests (#2665) 2025-12-21 16:37:20 -05:00
test_log_level.py Add log level support for stdio and HTTP transports (#1840) 2025-09-19 13:46:30 -04:00
test_logging.py Fix uvicorn 0.39+ test timeouts and FastMCPError propagation (#2699) 2025-12-23 19:02:47 -05:00
test_mount.py Simplify Provider transform architecture 2026-01-17 11:35:47 -05:00
test_providers.py Add component versioning and VersionFilter transform (#2894) 2026-01-16 20:53:18 -05:00
test_run_server.py Update tests for prompts 2025-06-04 16:37:41 -04:00
test_server.py Rename _fastmcp metadata namespace to fastmcp and make non-optional (#2895) 2026-01-16 21:35:53 -05:00
test_server_docket.py Make pydocket optional and unify DI systems (#2835) 2026-01-10 16:23:32 -05:00
test_server_lifespan.py Add composable lifespans (#2828) 2026-01-10 11:16:50 -05:00
test_streamable_http_no_redirect.py Improve redirect handling to address 307's (#1387) 2025-08-08 11:55:30 -04:00
test_tool_annotations.py Consolidate get_* and _list_* methods into single API (#2719) 2025-12-24 22:26:52 -05:00
test_tool_transformation.py Refactor FastMCP to inherit from Provider 2026-01-16 16:50:56 -05:00
test_versioning.py Merge remote-tracking branch 'origin/main' into refactor-provider-inheritance-v2 2026-01-17 08:41:58 -05:00