MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Functiontest_expired_token_refreshes_instead_of_logging_in
(receiver)
tests/test_floor_receiver.py:118
Methodtest_expired_token_rejection
Test rejection of expired tokens.
tests/server/auth/test_jwt_provider_bearer.py:125
Methodtest_expired_token_replaces_existing_entry_with_miss
(self)
tests/utilities/test_token_cache.py:161
Methodtest_expired_token_returns_none
Test that expired tokens return None.
tests/server/auth/providers/test_introspection.py:159
Methodtest_expires_at_computed_from_expires_in
expires_at is set from expires_in returned by tokeninfo.
tests/server/auth/providers/test_google.py:529
Methodtest_expires_at_derived_from_expires_in
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:171
Methodtest_expires_at_from_introspection
expires_at is set from the 'exp' claim in the introspection response.
tests/server/auth/providers/test_clerk.py:445
Functiontest_expiry_does_not_refresh_on_read
(clock: list[float])
tests/apps/test_file_upload_retention.py:116
Functiontest_expiry_requires_positive_finite_value
(ttl: float)
tests/apps/test_file_upload_retention.py:173
Functiontest_expiry_returns_global_capacity
(clock: list[float])
tests/apps/test_file_upload_retention.py:142
Functiontest_explain_prompt_levels
Test explain prompt with different detail levels
examples/testing_demo/tests/test_server.py:93
Methodtest_explicit_app_config_not_overridden
(self)
tests/test_apps_prefab.py:178
Methodtest_explicit_auth_none_disables_oauth
(self)
tests/cli/test_client_commands.py:703
Functiontest_explicit_backend_handler_stays_declared
A handler passed to the proxy client answers on the proxy itself.
tests/server/providers/proxy/test_relayed_capabilities.py:163
Functiontest_explicit_child_extension_added_after_mount_is_discovered
()
tests/server/test_provider_extensions.py:557
Functiontest_explicit_client_id_must_match_assertion_subject
( token_client: TestClient, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:155
Methodtest_explicit_client_info_wins
(self, mode: str)
tests/client/client/test_initialize.py:144
Functiontest_explicit_configuration_suppresses_conflict_warning
( caplog: pytest.LogCaptureFixture, )
tests/server/test_provider_extensions.py:257
Functiontest_explicit_configuration_wins_and_removes_optional_method
( explicit_first: bool, )
tests/server/test_provider_extensions.py:199
Methodtest_explicit_description_keeps_docstring_arg_descriptions
Overriding the prompt description does not drop docstring-sourced argument descriptions — they come from separate parsing paths.
tests/prompts/test_prompt.py:629
Methodtest_explicit_field_description_overrides_docstring
Field(description=...) takes precedence over docstring.
tests/prompts/test_prompt.py:603
Methodtest_explicit_host_origin_protection_is_kept
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:715
Methodtest_explicit_http_overrides_sse_path
(self)
tests/cli/test_client_commands.py:495
Methodtest_explicit_is_binary_false_overrides_mime_type
An explicit is_binary=False is kept for a non-text MIME type.
tests/resources/test_file_resources.py:168
Methodtest_explicit_issuer_enforced
With an explicit token_issuer, wrong issuers are rejected.
tests/server/auth/providers/test_azure.py:1123
Functiontest_explicit_json_null
( version: str, property_schema: dict[str, Any], with_name: bool, media_type: str )
tests/utilities/openapi/test_null_body.py:27
Functiontest_explicit_label_signal_override_is_preserved
(ranking_module)
tests/test_issue_ranking.py:156
Functiontest_explicit_list_tools_refreshes_past_client_response_cache
A cache-hinted server must not leave group.list_tools() serving a stale catalog: the explicit call is the documented refresh mechanism.
tests/client/group/test_client_group.py:401
Methodtest_explicit_localhost_patterns
Test that explicitly passing DEFAULT_LOCALHOST_PATTERNS restricts to localhost.
tests/server/auth/test_redirect_validation.py:793
Functiontest_explicit_middleware_identity_decides_result_stamps
An explicit middleware identity governs results, not just discovery.
tests/server/providers/proxy/test_server_metadata.py:738
Methodtest_explicit_mime_type_overrides_ui_default
(self)
tests/test_apps.py:304
Functiontest_explicit_missing_history_fails_without_reset
(backlog, tmp_path, monkeypatch)
tests/test_backlog_status.py:95
Methodtest_explicit_mode_overrides_mirroring
An explicit ``create_proxy(mode=...)`` pins the backend era regardless of the front connection's era, overriding mirroring.
tests/server/test_mrtr_guards.py:611
Methodtest_explicit_mode_overrides_mirroring
An explicit ``create_proxy(mode=...)`` pins the era all the way down, overriding what the front negotiated.
tests/server/test_mrtr_guards.py:693
Methodtest_explicit_model_null_policy_is_preserved
(self)
tests/tools/tool/test_nonfinite_serialization.py:145
Methodtest_explicit_name_overrides_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1174
Methodtest_explicit_name_root_self_reference
(self)
tests/utilities/json_schema_type/test_advanced.py:470
Methodtest_explicit_none_disables
(self)
tests/resources/test_resource_security.py:324
Methodtest_explicit_none_raises_type_error
(self)
tests/client/test_elicitation.py:797
Functiontest_explicit_oauth_keeps_oauth_with_authorization_header
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:119
Methodtest_explicit_object_schema_with_dict_return
Test that explicit object schemas work when function returns a dict.
tests/tools/tool/test_output_schema.py:418
Methodtest_explicit_object_schema_with_non_dict_return_fails
Test that explicit object schemas fail when function returns non-dict.
tests/tools/tool/test_output_schema.py:439
Functiontest_explicit_override_after_startup_rejected
()
tests/server/test_provider_extensions.py:330
Functiontest_explicit_precedence_is_logged
(caplog: pytest.LogCaptureFixture)
tests/server/test_provider_extensions.py:278
Methodtest_explicit_required_scopes_skip_discovery
Test that explicit required_scopes disable well-known discovery.
tests/server/auth/providers/test_descope.py:258
Functiontest_explicit_root_configuration_wins_over_mounted_child
()
tests/server/test_provider_extensions.py:568
Methodtest_explicit_scopes_supported_skip_discovery
Test that explicit scopes_supported disable well-known discovery.
tests/server/auth/providers/test_descope.py:272
Methodtest_explicit_scopes_win_over_server_advertised
A caller's explicit scopes reach the token request even when the server advertises a different set (the inherited flow would otherwise
tests/client/auth/test_client_credentials.py:283
Methodtest_explicit_shared_keys_seal_and_complete
A server configured with explicit shared keys drives a full loop — the multi-replica configuration (RequestStateSecurity(keys=[...])).
tests/server/test_mrtr_guards.py:1121
Functiontest_explicit_skill_root_can_be_a_directory_link
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:92
Methodtest_explicit_strict_configuration
Test default configuration with explicit True strict setting and valid dict.
tests/server/auth/test_oidc_proxy.py:277
Methodtest_explicit_strict_configuration_raises_error
Test default configuration with explicit True strict setting and invalid dict.
tests/server/auth/test_oidc_proxy.py:296
Methodtest_explicit_strict_configuration_with_issuer_trailing_slash
Test default configuration with explicit True strict setting, valid dict and issuer trailing slash.
tests/server/auth/test_oidc_proxy.py:283
Methodtest_explicit_strict_with_bad_url_raises_error
Test default configuration with explicit True strict setting and bad URL setting.
tests/server/auth/test_oidc_proxy.py:310
Functiontest_explicit_subjects_keep_task_ownership_distinct
()
tests/server/auth/test_auth_source_identities.py:459
Methodtest_explicit_title_is_kept
(self)
tests/tools/tool/test_title.py:139
Methodtest_explicit_title_reaches_client
(self)
tests/tools/tool/test_title.py:206
Methodtest_explicit_token_issuer_is_used
An explicit token_issuer string is passed to the verifier.
tests/server/auth/providers/test_azure.py:1106
Methodtest_explicit_tools_capability_is_preserved
Explicitly passing tools capability should be respected.
tests/client/test_sampling.py:223
Methodtest_explicit_transport_preserves_query_and_fragment
(self, transport)
tests/cli/test_client_commands.py:484
Functiontest_explicit_type_decides_object_schema
(schema_type: Any, expected: bool)
tests/server/providers/local_provider_tools/test_output_schema.py:346
Functiontest_explicit_type_override_keeps_parent_extension_keys
()
tests/tools/tool_transform/test_schema_compatibility.py:388
Functiontest_explicit_type_override_replaces_bounds_and_keeps_renamed_default
Explicit type overrides intentionally replace validation even for the same type.
tests/tools/tool_transform/test_schema_compatibility.py:303
Methodtest_explicit_version_honored_within_filter_range
Explicit version="1.0" request should work within filter range.
tests/server/versioning/test_filtering.py:586
Methodtest_explode_default_dict_expands_to_separate_params
Default explode (None → true) on objects expands properties.
tests/utilities/openapi/test_director.py:984
Methodtest_explode_false_booleans_lowercased
Booleans serialize as true/false, not True/False.
tests/utilities/openapi/test_director.py:825
Methodtest_explode_false_comma_joins
explode=false sends values=hello,world.
tests/utilities/openapi/test_director.py:672
Methodtest_explode_false_dict_value
style=form, explode=false on objects serializes as key,value pairs.
tests/utilities/openapi/test_director.py:873
Methodtest_explode_false_empty_dict_omitted
Empty dict with explode=false omits the parameter.
tests/utilities/openapi/test_director.py:1043
Methodtest_explode_false_empty_list_omitted
Empty list with explode=false omits the parameter entirely.
tests/utilities/openapi/test_director.py:850
Methodtest_explode_false_with_integers
explode=false works with non-string values.
tests/utilities/openapi/test_director.py:725
Methodtest_explode_none_defaults_to_true
When explode is unset, OpenAPI default for form style is explode=true.
tests/utilities/openapi/test_director.py:700
Methodtest_explode_true_dict_expands_to_separate_params
style=form, explode=true on objects expands each property as a query param.
tests/utilities/openapi/test_director.py:912
Methodtest_explode_true_empty_dict_omitted
Empty dict with explode=true omits the parameter.
tests/utilities/openapi/test_director.py:1020
Methodtest_explode_true_repeats_keys
Default behavior: explode=true sends values=a&values=b.
tests/utilities/openapi/test_director.py:645
Methodtest_exploded_array_items_are_encoded
(self)
tests/server/providers/openapi/test_openapi_features.py:1749
Methodtest_exploded_continuation_param
{&tags*} marks tags as exploded, like {?tags*}.
tests/resources/test_resource_template_level3.py:44
Methodtest_exploded_object_keys_and_values_are_encoded
(self)
tests/server/providers/openapi/test_openapi_features.py:1762
Functiontest_exploded_object_property_and_parameter_both_send
( q_parameter: dict[str, Any], q_value: Any, q_items: list[tuple[str, str]], filter_first: boo
tests/server/providers/openapi/test_query_key_collisions.py:80
Methodtest_exploded_param_in_second_block
(self)
tests/resources/test_resource_template_query_params.py:540
Methodtest_exploded_query_param_collects_repeated_values
Regression for #4378: `{?tags*}` collects every repetition.
tests/resources/test_resource_template.py:1168
Methodtest_exploded_query_param_reaches_the_function
End-to-end: repeated values arrive as a list[str] argument.
tests/resources/test_resource_template.py:1189
Methodtest_exploded_query_param_with_single_value_is_a_list
A single value still arrives as a list, so the type is stable.
tests/resources/test_resource_template.py:1175
Functiontest_export_retains_old_files_if_installation_fails
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, restore_fails: bool )
tests/skills/test_skill.py:271
Functiontest_exported_schema_agrees_with_positional_validation
( constraints: dict[str, Any], items: Any )
tests/utilities/json_schema_type/test_prefix_items.py:186
Methodtest_extended_token_survives_upstream_expiry_via_refresh
End-to-end: a long-lived FastMCP token keeps working after the upstream access token expires, by transparently refreshing underneath.
tests/server/auth/oauth_proxy/test_tokens.py:1107
Methodtest_extension_and_tool_together
Server advertises extension AND tool has app meta.
tests/test_apps.py:604
Functiontest_extension_auto_registration_requires_opt_in
(bundled: bool)
tests/server/test_provider_extensions.py:356
Functiontest_extension_capability_absent_without_extension
The tasks extension is not advertised when no extension is registered.
tests/tasks/server/test_task_capabilities.py:30
Functiontest_extension_capability_advertised
The tasks extension is advertised when registered.
tests/tasks/server/test_task_capabilities.py:16
Functiontest_extension_folds_into_session_kwargs
A ClientExtension's ad and claim reach the session kwargs, alongside tasks.
tests/client/test_client_extensions.py:130
Functiontest_extension_live_reads_do_not_disable_unrelated_caching
( register_extension: bool, )
tests/server/middleware/test_extension_resource_caching.py:9
Functiontest_extension_owned_discovery_result_bypasses_metadata_forwarding
()
tests/server/providers/proxy/test_server_metadata.py:558
Functiontest_extension_populates_claim_by_model_index
The claim is indexed by its model so the resolution path can find it.
tests/client/test_client_extensions.py:145
Functiontest_extension_rejects_duplicate_provider_reference
()
tests/skills/test_extension.py:372
Functiontest_extension_rejects_provider_without_source_contract
()
tests/skills/test_extension.py:379
Functiontest_extension_rejects_transform_added_after_registration
()
tests/skills/test_extension.py:396
Functiontest_extension_rejects_transformed_provider
()
tests/skills/test_extension.py:387
Functiontest_extension_requires_at_least_one_provider
()
tests/skills/test_extension.py:367
Functiontest_extension_requires_provider_registered_directly
()
tests/skills/test_extension.py:359
← previousnext →10,001–10,100 of 16,725, ranked by callers