fastmcp/tests/server
HootRock aa6aac869d
fix: preserve input requests in resource and prompt tools (#5476)
The generated `read_resource` and `get_prompt` tools now forward input-required results instead of formatting them as empty successful output.

Co-authored-by: HootRock <261611789+HootRock@users.noreply.github.com>
Co-authored-by: andreivince <96037738+andreivince@users.noreply.github.com>
2026-10-08 14:48:59 -04:00
..
auth fix(auth): preserve verifier-defined challenge scopes through wrappers (#5478) 2026-10-08 14:37:30 -04:00
http fix(http): preserve the SDK's default session idle timeout (#5229) 2026-10-04 21:08:54 -04:00
middleware Keep is_error when ResponseLimitingMiddleware truncates a result (#5309) 2026-10-04 20:29:26 -04:00
mount Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
providers Skip skills whose SKILL.md is not valid UTF-8 during directory discovery (#5497) 2026-10-08 14:47:47 -04:00
telemetry feat: Add telemetry interop mode for FastMCP (#4046) 2026-07-27 16:05:29 -04:00
transforms fix: preserve input requests in resource and prompt tools (#5476) 2026-10-08 14:48:59 -04:00
versioning fix(server): VersionFilter get_tool/get_resource/get_prompt respect include_unversioned=False (#4949) 2026-10-08 14:38:01 -04: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 Migrate to MCP SDK v2.0.0b2 (httpx2) (#4503) 2026-07-18 15:12:47 -04:00
test_auth_integration_errors.py Migrate to MCP SDK v2.0.0b2 (httpx2) (#4503) 2026-07-18 15:12:47 -04:00
test_cache_hints.py Add server-level cache hints (SEP-2549) (#4464) 2026-07-08 09:10:41 -04:00
test_call_arguments.py Support CallArgument and Depends bindings from uncalled-for 0.4.0 (#4802) 2026-08-13 22:19:17 -05:00
test_completions.py completions: revert the list-based visibility check (#5240, #5244) (#5250) 2026-09-23 17:56:35 -05:00
test_context.py Baseline tools-call-sampling; fix removal leftovers flagged by ruff 2026-07-26 15:07:24 -04:00
test_dependencies.py Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
test_dependencies_advanced.py fix: keep generator iteration inside dependency lifetime (#5438) 2026-10-04 19:51:36 -04:00
test_event_store.py Serialize the event store's stream list read-modify-write (#4758) 2026-08-06 20:09:36 -04:00
test_extension_runtime.py Fix mounted extension runtime tracking (#5392) 2026-10-02 20:51:00 -04:00
test_extensions.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_fastapi_testclient_compat.py fix: FastAPI TestClient compatibility and lifespan re-initialization (#3736) 2026-04-06 19:53:27 -04:00
test_file_server.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_generator_dependency_lifetime.py Fix tool body validation errors at the MCP boundary (#5485) 2026-10-08 14:48:25 -04:00
test_hashed_tool_dispatch.py Apply transforms, enabled state, and auth to hashed tool lookups (#5415) 2026-10-04 10:26:55 -04:00
test_icons.py Audit mode="legacy" pins in server tests and top-level stragglers 2026-07-20 16:00:27 -04:00
test_input_validation.py Fix tool body validation errors at the MCP boundary (#5485) 2026-10-08 14:48:25 -04:00
test_legacy_httpx_errors.py Preserve legacy httpx compatibility without importing it (#4766) 2026-08-05 18:09:16 -04:00
test_log_level.py Allow pre-bound HTTP sockets (#4222) 2026-05-23 10:08:49 -04:00
test_logging.py Refactor server.py into mixins (#2939) 2026-01-19 11:36:00 -05:00
test_mrtr_guards.py Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
test_mrtr_guards_components.py Format the split guard-components test module 2026-07-26 17:03:04 -04:00
test_pagination.py fix(server): reject a malformed pagination cursor offset (#5071) 2026-09-14 14:37:52 -05:00
test_protocol_eras.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
test_provider_extensions.py Fix mounted extension runtime tracking (#5392) 2026-10-02 20:51:00 -04:00
test_providers.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_server.py Repoint tests and examples off removed deprecations 2026-07-07 07:53:11 -04:00
test_server_docket.py Remove obsolete Docket memory fixtures (#4912) 2026-08-27 11:08:04 -05:00
test_server_lifespan.py Update ty ignore comments for 0.0.25 compatibility (#3614) 2026-03-24 20:26:26 -04:00
test_server_safety.py fix: reject self-mount to prevent infinite recursion (#3925) 2026-04-14 12:10:19 -04:00
test_session_provider.py Add stateless session state (UserSession / SessionId) (#4604) 2026-07-23 19:21:00 -04:00
test_session_visibility.py Audit mode="legacy" pins in server tests and top-level stragglers 2026-07-20 16:00:27 -04:00
test_sessions.py Add stateless session state (UserSession / SessionId) (#4604) 2026-07-23 19:21:00 -04:00
test_streamable_http_no_redirect.py Migrate to MCP SDK v2.0.0b2 (httpx2) (#4503) 2026-07-18 15:12:47 -04:00
test_tool_annotations.py Implement SEP-2663 tasks extension: TasksExtension, poll-based task lifecycle 2026-07-21 23:00:38 -04:00
test_tool_transformation.py Migrate to MCP SDK v2.0.0b2 (httpx2) (#4503) 2026-07-18 15:12:47 -04:00
test_transport.py Forward-port HTTP host guard compatibility (#4474) 2026-07-08 20:55:56 -04:00