MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functiontest_explicit_oauth_keeps_oauth_with_authorization_header
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:110
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:280
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
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
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:874
Methodtest_explicit_tools_capability_is_preserved
Explicitly passing tools capability should be respected.
tests/client/test_sampling.py:223
Methodtest_explicit_version_honored_within_filter_range
Explicit version="1.0" request should work within filter range.
tests/server/versioning/test_filtering.py:528
Methodtest_explode_default_dict_expands_to_separate_params
Default explode (None → true) on objects expands properties.
tests/utilities/openapi/test_director.py:953
Methodtest_explode_false_booleans_lowercased
Booleans serialize as true/false, not True/False.
tests/utilities/openapi/test_director.py:794
Methodtest_explode_false_comma_joins
explode=false sends values=hello,world.
tests/utilities/openapi/test_director.py:641
Methodtest_explode_false_dict_value
style=form, explode=false on objects serializes as key,value pairs.
tests/utilities/openapi/test_director.py:842
Methodtest_explode_false_empty_dict_omitted
Empty dict with explode=false omits the parameter.
tests/utilities/openapi/test_director.py:1012
Methodtest_explode_false_empty_list_omitted
Empty list with explode=false omits the parameter entirely.
tests/utilities/openapi/test_director.py:819
Methodtest_explode_false_with_integers
explode=false works with non-string values.
tests/utilities/openapi/test_director.py:694
Methodtest_explode_none_defaults_to_true
When explode is unset, OpenAPI default for form style is explode=true.
tests/utilities/openapi/test_director.py:669
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:881
Methodtest_explode_true_empty_dict_omitted
Empty dict with explode=true omits the parameter.
tests/utilities/openapi/test_director.py:989
Methodtest_explode_true_repeats_keys
Default behavior: explode=true sends values=a&values=b.
tests/utilities/openapi/test_director.py:614
Methodtest_exploded_query_param_collects_repeated_values
Regression for #4378: `{?tags*}` collects every repetition.
tests/resources/test_resource_template.py:992
Methodtest_exploded_query_param_reaches_the_function
End-to-end: repeated values arrive as a list[str] argument.
tests/resources/test_resource_template.py:1013
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:999
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:985
Methodtest_extension_and_tool_together
Server advertises extension AND tool has app meta.
tests/test_apps.py:589
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_owned_discovery_result_bypasses_metadata_forwarding
()
tests/server/providers/proxy/test_server_metadata.py:555
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_extensions_added_to_aggregate_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:302
Functiontest_extensions_added_to_mounted_child_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:286
Functiontest_external_pr_does_not_automatically_credit_distinct_issue_author
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:114
Methodtest_external_ref_error
Test that external references are handled gracefully.
tests/utilities/openapi/test_parser.py:413
Functiontest_external_user_cannot_override_dependency
Test that external MCP clients cannot override dependency parameters.
tests/server/test_dependencies.py:581
Methodtest_extra_authorize_params_add_new_params
Test that user can add additional authorize params.
tests/server/auth/providers/test_google.py:145
Methodtest_extra_authorize_params_default_none
WorkOS doesn't set provider-specific defaults — empty unless caller opts in.
tests/server/auth/providers/test_workos.py:106
Methodtest_extra_authorize_params_defaults
Test that Google-specific defaults are set for refresh token support.
tests/server/auth/providers/test_google.py:111
Methodtest_extra_authorize_params_forwarded
Test that extra authorize parameters are forwarded to upstream.
tests/server/auth/oauth_proxy/test_authorization.py:226
Methodtest_extra_authorize_params_initialization
Test extra authorize params initialization.
tests/server/auth/test_oidc_proxy.py:791
Methodtest_extra_authorize_params_override_defaults
Test that user can override default extra authorize params.
tests/server/auth/providers/test_google.py:127
Methodtest_extra_authorize_params_passed_through
Test that extra authorize params are forwarded.
tests/server/auth/providers/test_clerk.py:135
Methodtest_extra_authorize_params_passed_through
Caller-supplied params are forwarded to the upstream authorize URL. Common use case: force `offline_access` into the scope so WorkOS issues
tests/server/auth/providers/test_workos.py:119
Methodtest_extra_fields_forbidden
Test that extra fields are not allowed.
tests/utilities/test_components.py:183
Methodtest_extra_fields_preserved
Unknown CSP directives from future spec versions pass through.
tests/test_apps.py:112
Methodtest_extra_fields_preserved
Unknown permissions from future spec versions pass through.
tests/test_apps.py:150
Methodtest_extra_parameters_initialization
Test other parameters initialization.
tests/server/auth/test_oidc_proxy.py:521
Methodtest_extra_params_merge_with_audience
Test that extra params merge with audience, with user params taking precedence.
tests/server/auth/test_oidc_proxy.py:847
Methodtest_extra_token_params_does_not_contain_scope
Test that extra_token_params doesn't contain scope to avoid TypeError. Previously, Azure provider set extra_token_params={"scope": ...} durin
tests/server/auth/providers/test_azure_scopes.py:373
Methodtest_extra_token_params_initialization
Test extra token params initialization.
tests/server/auth/test_oidc_proxy.py:822
Methodtest_extract_applies_incoming_parent
(self, mode)
tests/telemetry/test_interop.py:167
Methodtest_extract_multiple_components
Should extract multiple component types.
tests/fs/test_discovery.py:217
Methodtest_extract_no_components
Should return empty list for module with no components.
tests/fs/test_discovery.py:180
Methodtest_extract_preserves_current_context_values
Regression: extracting the incoming traceparent must not discard context values the caller already established. Extracting onto a fresh
tests/telemetry/test_interop.py:153
Methodtest_extract_prompt_preserves_version
Prompts discovered from files should have their version attribute set.
tests/fs/test_discovery.py:429
Methodtest_extract_resource_preserves_version
Resources discovered from files should have their version attribute set.
tests/fs/test_discovery.py:389
Methodtest_extract_resource_template
Should extract ResourceTemplate objects.
tests/fs/test_discovery.py:273
Methodtest_extract_resource_template_preserves_version
Resource templates discovered from files should have their version set.
tests/fs/test_discovery.py:409
Methodtest_extract_scopes_from_array
Test scope extraction from array.
tests/server/auth/providers/test_introspection.py:93
Methodtest_extract_scopes_from_string
Test scope extraction from space-separated string.
tests/server/auth/providers/test_introspection.py:86
Methodtest_extract_scopes_includes_permissions
(self)
tests/server/auth/providers/test_auth0_mcp.py:34
Methodtest_extract_scopes_missing
Test scope extraction when scope field is missing.
tests/server/auth/providers/test_introspection.py:100
Methodtest_extract_scopes_permissions_string
(self)
tests/server/auth/providers/test_auth0_mcp.py:44
Methodtest_extract_scopes_with_extra_whitespace
Test scope extraction handles extra whitespace.
tests/server/auth/providers/test_introspection.py:107
Methodtest_extract_skips_private_components
Should skip private components (those starting with _).
tests/fs/test_discovery.py:247
Methodtest_extract_tool_component
Should extract Tool objects.
tests/fs/test_discovery.py:196
Methodtest_extract_tool_preserves_version
Tools discovered from files should have their version attribute set.
tests/fs/test_discovery.py:363
Methodtest_factory_method_with_secret
_create_upstream_oauth_client includes the secret when configured.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:344
Methodtest_factory_method_without_secret
_create_upstream_oauth_client works when no secret is configured.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:329
Methodtest_fail_after_still_raises
(self, server: FastMCP)
tests/client/client/test_client.py:1018
Functiontest_failed_bundle_rolls_back_all_extensions_and_handlers
()
tests/server/test_provider_extensions.py:482
Methodtest_failed_component_request_is_observed_not_retried
A component request that dies in validation reaches the hooks as a failure. A hook cannot repair it from here: re-dispatching would run the
tests/server/middleware/test_message_visibility.py:310
Methodtest_failed_conversion_can_be_retried
(self)
tests/utilities/json_schema_type/test_generated_classes.py:585
Methodtest_failed_discovery_backs_off
( self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:858
Functiontest_failed_discovery_is_not_cached
(discovery_document)
tests/server/auth/test_oidc_discovery_cache.py:142
Functiontest_failed_entry_leaves_group_reenterable
()
tests/client/group/test_client_group.py:407
Methodtest_failed_files_refresh_on_reload
Reload mode should expose the latest load failures.
tests/fs/test_provider.py:65
Functiontest_failed_known_legacy_backend_does_not_downgrade_healthy_backends
()
tests/test_mcp_config.py:287
Functiontest_failed_origin_write_leaves_no_cross_origin_credential
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_configuration.py:111
Functiontest_failed_registration_preserves_an_existing_server_binding
()
tests/server/test_provider_extensions.py:461
Methodtest_failed_scope_discovery_is_not_cached
Clients can retry metadata discovery immediately after a failure.
tests/server/auth/providers/test_descope.py:615
Functiontest_failed_startup_releases_extension_restrictions
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:260
Methodtest_failed_subclass_construction_does_not_fabricate_an_event
The guard must skip the event, not invent one to set.
tests/client/test_stdio.py:154
Methodtest_failed_subclass_construction_is_collectable
(self, tmp_path)
tests/client/test_stdio.py:145
Functiontest_failed_task_raises_tool_error
A task whose tool raises surfaces as a ToolError through call_tool.
tests/tasks/client/test_transparent_tasks.py:76
Methodtest_failed_task_reports_an_error
A fail-closed task is still a well-formed `tasks/get` result.
tests/tasks/server/test_snapshot_encryption.py:413
Methodtest_failure
(self, mock_print, mock_open)
tests/cli/test_goose.py:218
Methodtest_failure_exits
(self, mock_process, mock_install)
tests/cli/test_goose.py:293
Methodtest_failures_are_not_cached
(self)
tests/server/auth/providers/test_github.py:241
← previousnext →8,001–8,100 of 13,374, ranked by callers