MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_schema_type_basic
(schema: Any, expected: str)
tests/experimental/transforms/test_code_mode_serialization.py:35
Functiontest_schema_type_unions
(schema: Any, expected: str)
tests/experimental/transforms/test_code_mode_serialization.py:56
Methodtest_schema_validation_rejects_arrays
Test that non-enum array schemas are rejected.
tests/client/test_elicitation.py:713
Methodtest_schema_validation_rejects_nested_objects
Test that nested object schemas are rejected.
tests/client/test_elicitation.py:695
Methodtest_schema_validation_rejects_non_object
Test that non-object schemas are rejected.
tests/client/test_elicitation.py:689
Methodtest_schema_without_type
(self)
tests/utilities/json_schema_type/test_advanced.py:1023
Functiontest_schema_without_write_only_is_unchanged
(openapi_version: str)
tests/server/providers/openapi/test_write_only_responses.py:426
Methodtest_scheme_mismatch_blocked
Test that scheme mismatches are blocked.
tests/server/auth/test_redirect_validation.py:482
Functiontest_scope_401_is_still_an_invalid_token
()
tests/server/auth/providers/test_github_transient_failures.py:288
Methodtest_scope_defaults_to_private
(self)
tests/server/test_cache_hints.py:42
Methodtest_scope_defaults_to_private
(self)
tests/server/test_cache_hints.py:130
Methodtest_scope_discovery_retries_after_transient_failure
A transient discovery failure is not cached and is retried.
tests/server/auth/providers/test_descope.py:146
Methodtest_scope_extraction_list
Test scope extraction from list format.
tests/server/auth/test_jwt_provider_bearer.py:320
Methodtest_scope_extraction_string
Test scope extraction from space-separated string.
tests/server/auth/test_jwt_provider_bearer.py:304
Methodtest_scope_failure_keeps_identity_without_inventing_scopes
A scope-endpoint outage may verify identity, but must not invent scopes.
tests/server/auth/providers/test_github.py:282
Methodtest_scope_normalization
(self, scopes, expected)
tests/client/auth/test_client_credentials.py:162
Methodtest_scope_patch_applied_when_tokens_identical
Regression test: scopes must be patched even when id_token and access_token carry the same JWT value (fixes #3461).
tests/server/auth/test_oidc_proxy_token.py:378
Functiontest_scope_permanent_client_error_is_an_invalid_token
(status_code)
tests/server/auth/providers/test_github_transient_failures.py:300
Functiontest_scope_pipe_separator_is_preserved
``get_task_scope`` composes ``client_id|sub`` — the ``|`` must survive.
tests/tasks/server/test_task_keys.py:109
Methodtest_scope_precedence_over_scp
Test that 'scope' claim takes precedence over 'scp' claim when both are present.
tests/server/auth/test_jwt_provider_bearer.py:386
Functiontest_scope_rate_limit_raises_typed_error
(status_code, headers)
tests/server/auth/providers/test_github_transient_failures.py:182
Functiontest_scope_secondary_rate_limit_message_is_operational_error
()
tests/server/auth/providers/test_github_transient_failures.py:194
Functiontest_scope_server_failure_does_not_grant_required_user_scope_and_recovers
( status_code, )
tests/server/auth/providers/test_github_transient_failures.py:211
Functiontest_scope_transport_failure_does_not_grant_user_scope_and_recovers
()
tests/server/auth/providers/test_github_transient_failures.py:260
Functiontest_scope_with_colons_is_recovered
()
tests/tasks/server/test_task_keys.py:102
Methodtest_scope_without_ttl_raises
(self)
tests/server/test_cache_hints.py:64
Methodtest_scope_without_ttl_rejected
(self, scope)
tests/server/test_cache_hints.py:53
Methodtest_scopes_forwarded_as_list
(self)
tests/client/auth/test_oauth_cimd.py:116
Methodtest_scopes_forwarded_as_string
(self)
tests/client/auth/test_oauth_cimd.py:126
Methodtest_scopes_on_server_without_auth_return_401
( self, required_scopes: list[str] )
tests/contrib/test_component_manager.py:988
Methodtest_scopes_supported_and_required_scopes_can_differ
Test that scopes_supported and required_scopes can be configured independently.
tests/server/auth/providers/test_descope.py:246
Methodtest_scopes_supported_defaults_to_verifier
Test that metadata uses verifier scopes_supported when parameter not set.
tests/server/auth/test_remote_auth_provider.py:586
Methodtest_scopes_supported_empty_when_no_required_scopes
(self)
tests/server/auth/providers/test_azure_scopes.py:574
Methodtest_scopes_supported_overrides_metadata
Test that scopes_supported parameter overrides what's in metadata.
tests/server/auth/test_remote_auth_provider.py:557
Methodtest_scopes_supported_returns_prefixed_form
(self)
tests/server/auth/providers/test_azure_scopes.py:516
Methodtest_scp_claim_extraction_list
Test scope extraction from 'scp' claim with list format.
tests/server/auth/test_jwt_provider_bearer.py:368
Methodtest_scp_claim_extraction_string
Test scope extraction from 'scp' claim with space-separated string.
tests/server/auth/test_jwt_provider_bearer.py:352
Methodtest_screening_still_works_with_sdk
(self)
tests/resources/test_resource_security.py:182
Functiontest_script
(tmp_path: Path)
tests/test_mcp_config.py:1517
Methodtest_script_connects_to_the_configured_server
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, entry: dict[str, Any]
tests/cli/test_generate_cli_remote.py:151
Methodtest_script_keeps_oauth
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_generate_cli_remote.py:163
Methodtest_script_path_arrives_literally
(self, script: str)
tests/cli/test_install_cli_arguments.py:256
Methodtest_script_receives_arguments
( self, tmp_path: Path, args: list[str] )
tests/client/test_stdio.py:1082
Methodtest_sdk_elicit_result_accept_carries_its_content
An accepted SDK `ElicitResult` supplies its content to the resolver.
tests/client/client/test_input_required_driver.py:157
Functiontest_sdk_failure_is_tool_error
(bridge)
examples/smart_home/tests/test_lights.py:137
Functiontest_sdk_v1_constructor_params_fastmcp_rejects_are_documented
Every v1 keyword FastMCP 4 refuses must be named in the v1 guide. The guide's headline is that upgrading is a single import change. That is o
tests/docs/test_upgrade_guide_api_claims.py:178
Functiontest_sdk_verifier_tokens_retain_original_client_id_after_serialization
()
tests/server/auth/test_auth_source_identities.py:401
Methodtest_seam_method_emits_single_server_span
A seam-spanned method must produce exactly one SERVER span, not two.
tests/server/telemetry/test_server_tracing.py:471
Methodtest_seam_span_has_protocol_version
Seam-only methods (never reaching the high-level path) also carry the protocol version. Pinned to legacy: `logging/setLevel` is a han
tests/server/telemetry/test_server_tracing.py:750
Functiontest_search_applies_limits_after_ranking
( default_limit: int | None, override: dict[str, int | None], expected_count: int, )
tests/experimental/transforms/test_code_mode_search_limits.py:55
Methodtest_search_by_description
(self)
tests/server/transforms/test_search.py:245
Methodtest_search_by_name
(self)
tests/server/transforms/test_search.py:237
Methodtest_search_by_param_description
(self)
tests/server/transforms/test_search.py:261
Methodtest_search_by_param_name
(self)
tests/server/transforms/test_search.py:253
Methodtest_search_case_insensitive
(self)
tests/server/transforms/test_search.py:279
Methodtest_search_database_tools
(self)
tests/server/transforms/test_search.py:418
Functiontest_search_default_detail_detailed_skips_get_schema
Two-stage pattern: Search(default_detail='detailed') returns schemas inline.
tests/experimental/transforms/test_code_mode_discovery.py:318
Functiontest_search_default_limit_from_constructor
Search(default_limit=N) caps results by default.
tests/experimental/transforms/test_code_mode_discovery.py:505
Methodtest_search_empty_query
(self)
tests/server/transforms/test_search.py:470
Functiontest_search_first_result_is_the_best_match_registered_last
Ranking decides what survives a small limit, not registration order.
tests/experimental/transforms/test_code_mode_search_limits.py:92
Functiontest_search_full_detail_empty_results_returns_json
Search with detail=full and no matches returns valid JSON, not plain text.
tests/experimental/transforms/test_code_mode_discovery.py:341
Functiontest_search_full_detail_returns_current_schema
()
tests/experimental/transforms/test_code_mode_discovery.py:361
Methodtest_search_invalid_pattern
(self)
tests/server/transforms/test_search.py:287
Functiontest_search_limit_caps_results
Search with limit returns at most that many results.
tests/experimental/transforms/test_code_mode_discovery.py:476
Functiontest_search_listing_still_hides_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:93
Methodtest_search_max_results
(self)
tests/server/transforms/test_search.py:295
Methodtest_search_max_results
(self)
tests/server/transforms/test_search.py:430
Methodtest_search_no_matches
(self)
tests/server/transforms/test_search.py:304
Methodtest_search_no_matches
(self)
tests/server/transforms/test_search.py:438
Functiontest_search_omits_annotation_when_all_tools_returned
Search does not annotate when results include every tool.
tests/experimental/transforms/test_code_mode_discovery.py:455
Methodtest_search_or_pattern
(self)
tests/server/transforms/test_search.py:269
Functiontest_search_pattern_syntax
(pattern: str, expected: list[str])
tests/server/transforms/test_search_regex.py:30
Methodtest_search_proxy_returns_task_tool_result
(self)
tests/tasks/server/test_task_catalog_transforms.py:121
Functiontest_search_reads_a_negative_limit_as_a_count
A limit is a maximum result count, so it can never be negative. Python's slice semantics would otherwise read ``limit=-1`` as "all but the la
tests/experimental/transforms/test_code_mode_search_limits.py:75
Methodtest_search_rebuilds_when_description_contains_catalog_delimiter
( self, )
tests/server/transforms/test_search.py:391
Methodtest_search_rebuilds_when_names_change_but_searchable_text_matches
( self, )
tests/server/transforms/test_search.py:372
Methodtest_search_relevance
(self)
tests/server/transforms/test_search.py:407
Functiontest_search_repeated_alternatives
()
tests/server/transforms/test_search_regex.py:48
Methodtest_search_respects_auth_middleware
Tools filtered by auth middleware should not appear in search.
tests/server/transforms/test_search.py:176
Methodtest_search_respects_session_visibility
Tools disabled via session visibility should not appear in search.
tests/server/transforms/test_search.py:202
Methodtest_search_respects_visibility_filtering
Tools disabled via Visibility transform should not appear in search.
tests/server/transforms/test_search.py:162
Methodtest_search_returns_current_schema
(self, version: str)
tests/server/transforms/test_search.py:330
Methodtest_search_returns_full_schema
(self)
tests/server/transforms/test_search.py:312
Methodtest_search_returns_full_schema
(self)
tests/server/transforms/test_search.py:478
Functiontest_search_shows_catalog_size_when_results_are_subset
Search annotates results with 'N of M tools' when not all tools match.
tests/experimental/transforms/test_code_mode_discovery.py:428
Methodtest_search_tool_takes_a_query
(self)
tests/experimental/transforms/test_jev_search.py:131
Functiontest_search_with_tags_filter
()
tests/experimental/transforms/test_code_mode_discovery.py:238
Functiontest_search_with_tags_filter_no_matches
()
tests/experimental/transforms/test_code_mode_discovery.py:259
Functiontest_search_with_untagged_filter
Search with tags=["untagged"] matches tools that have no tags.
tests/experimental/transforms/test_code_mode_discovery.py:296
Functiontest_search_without_tags_returns_all
Search without tags parameter searches the full catalog.
tests/experimental/transforms/test_code_mode_discovery.py:274
Methodtest_searches_with_different_catalogs_do_not_interfere
Two sessions can see different tools and search at the same time; neither may lose the text it needs mid-search.
tests/experimental/transforms/test_jev_search.py:342
Methodtest_second_client_serves_first_clients_cache
Two independent Clients sharing one adapter-backed store: client B's first list_tools is served from the entry client A populated, with zero w
tests/client/client/test_kv_response_cache.py:232
Functiontest_second_client_uses_its_own_timeout
( sleepy_server: Path, first_timeout: float | None, second_timeout: float | None )
tests/client/test_stdio_session_kwargs.py:38
Methodtest_second_continuation_group_and_exploded
(self)
tests/resources/test_resource_template_level3.py:141
Methodtest_second_fresh_flow_is_asked_again
A second fresh flow must be asked the same question. Serving it a cached final answer would skip the component's own per-round logic
tests/server/middleware/test_caching_guards.py:112
Methodtest_second_list_tools_served_from_cache
A cached tools/list round-trip: the second call is served from the cache without a second wire request.
tests/client/client/test_response_cache.py:75
Methodtest_second_page_with_cursor
Second page should continue from cursor.
tests/server/test_pagination.py:82
Methodtest_second_query_block_params_are_matched
(self)
tests/resources/test_resource_template_query_params.py:511
Functiontest_secondary_rate_limit_message_is_operational_error
( headers: dict[str, str], )
tests/server/auth/providers/test_github_transient_failures.py:112
Methodtest_seconds_converted_to_ms
(self)
tests/server/test_cache_hints.py:35
← previousnext →13,701–13,800 of 15,974, ranked by callers