MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_redirect_uri_allowed_when_no_pattern_restriction
Ordinary redirect URIs are accepted when allowed_client_redirect_uris is None.
tests/server/auth/oauth_proxy/test_client_registration.py:535
Methodtest_redirect_uri_blocked_when_empty_allowlist
Empty allowed_client_redirect_uris blocks all redirect URIs, including localhost.
tests/server/auth/oauth_proxy/test_client_registration.py:564
Methodtest_redirect_uri_validated_against_patterns
Redirect URI validation honours allowed_client_redirect_uris when set.
tests/server/auth/oauth_proxy/test_client_registration.py:550
Methodtest_redirect_uri_whitespace_only_rejected
Test that whitespace-only redirect_uris are rejected.
tests/server/auth/test_cimd.py:149
Methodtest_redirect_uri_without_host_rejected
Test that redirect_uris without a host are rejected.
tests/server/auth/test_cimd.py:120
Methodtest_redirect_uri_without_scheme_rejected
Test that redirect_uris without a scheme are rejected.
tests/server/auth/test_cimd.py:112
Functiontest_redirect_without_location_has_no_extra_detail
()
tests/server/providers/openapi/test_http_error_details_regression.py:85
Functiontest_redis_prefix_anonymous
()
tests/tasks/server/test_task_keys.py:138
Functiontest_redis_prefix_authenticated
()
tests/tasks/server/test_task_keys.py:134
Functiontest_redis_prefix_disjoint_for_anon_vs_literal_anon_scope
()
tests/tasks/server/test_task_keys.py:142
Functiontest_redis_prefix_disjoint_for_anon_vs_literal_underscore_scope
()
tests/tasks/server/test_task_keys.py:146
Functiontest_redis_prefix_encodes_special_characters
()
tests/tasks/server/test_task_keys.py:150
Functiontest_reentrant_wrapper_preserves_signature
The wrapper keeps the tool's parameters so Docket DI is unchanged.
tests/tasks/server/test_guard_reentrant.py:222
Functiontest_ref_chain_with_sibling_properties_sends_all_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:140
Methodtest_ref_only_request_body_handled
Request bodies that are just a $ref (not an object with properties) must work.
tests/utilities/openapi/test_transitive_references.py:636
Functiontest_ref_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:307
Functiontest_ref_to_any_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:288
Functiontest_ref_to_object_with_all_of_still_merges
()
tests/server/providers/openapi/test_body_ref_siblings.py:255
Functiontest_ref_to_one_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:271
Functiontest_ref_to_pattern_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:299
Functiontest_ref_to_string_with_all_of_keeps_referenced_constraints
()
tests/server/providers/openapi/test_body_ref_siblings.py:243
Functiontest_ref_with_all_of_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:315
Functiontest_ref_with_discriminator_advertises_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:221
Functiontest_ref_with_discriminator_sends_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:232
Functiontest_ref_with_sibling_properties_advertises_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:60
Functiontest_ref_with_sibling_properties_merges_required
()
tests/server/providers/openapi/test_body_ref_siblings.py:84
Functiontest_ref_with_sibling_properties_sends_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:72
Functiontest_ref_without_siblings_exposes_referenced_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:180
Functiontest_refcount_survives_nested_holds
Two holds (sibling extensions): the wrap stays until the last release.
tests/tasks/server/test_wire_production.py:85
Functiontest_reference_context_in_containers
(container: str)
tests/utilities/json_schema_type/test_caching.py:118
Functiontest_reference_inside_sibling_property_is_resolved
()
tests/server/providers/openapi/test_body_ref_siblings.py:124
Methodtest_referer_does_not_replace_the_origin_check
(self)
tests/cli/test_apps_dev_server.py:500
Methodtest_refill
Test token refill over time.
tests/server/middleware/test_rate_limiting.py:66
Methodtest_refresh_body
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:202
Methodtest_refresh_exchange_claims_apply_to_all_tokens_of_session
Claims follow the upstream session through both refresh paths. After a transparent refresh and then a refresh grant, the newly issued
tests/server/auth/oauth_proxy/test_tokens.py:1220
Methodtest_refresh_exchange_decouples_access_token
Re-issued access tokens on refresh also honor the configured lifetime.
tests/server/auth/oauth_proxy/test_tokens.py:1180
Methodtest_refresh_exchange_persists_rotated_tokens_when_extraction_raises
A failing claims hook must not lose a rotated upstream refresh token.
tests/server/auth/oauth_proxy/test_tokens.py:1310
Methodtest_refresh_expires_in_zero_issues_refresh_token
refresh_expires_in=0 should fall back to the configured default. Keycloak returns refresh_expires_in=0 for offline tokens (offline_access sco
tests/server/auth/oauth_proxy/test_tokens.py:1540
Functiontest_refresh_interval_requires_finite_nonnegative_value
(interval: float)
tests/server/auth/test_jwks_refresh.py:151
Methodtest_refresh_jwt_exp_aligned_when_upstream_omits_refresh_token
Bug 2: JWT exp must align with storage TTL when upstream omits refresh_token. Cognito does NOT return a refresh_token on refresh. Previously
tests/server/auth/oauth_proxy/test_tokens.py:801
Methodtest_refresh_lock_cache_bounded
_get_refresh_lock never grows beyond _REFRESH_LOCK_CACHE_SIZE.
tests/server/auth/oauth_proxy/test_tokens.py:1936
Methodtest_refresh_lock_lru_evicts_least_recently_used
Touching an entry promotes it; eviction removes the oldest untouched entry.
tests/server/auth/oauth_proxy/test_tokens.py:1945
Methodtest_refresh_lock_same_token_returns_same_lock
Requesting the same token ID twice returns the same lock object.
tests/server/auth/oauth_proxy/test_tokens.py:1962
Functiontest_refresh_rejects_nonpositive_expires_in_before_state_mutation
( jwt_verifier, expires_in )
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:88
Methodtest_refs_in_array_items_converted
$refs inside array items must be converted from OpenAPI to JSON Schema format.
tests/utilities/openapi/test_transitive_references.py:281
Methodtest_refs_in_composition_keywords_converted
$refs inside oneOf/anyOf/allOf must be converted from OpenAPI to JSON Schema format.
tests/utilities/openapi/test_transitive_references.py:322
Methodtest_refs_in_nested_content_schemas
$refs in nested content schemas (the original bug location) must be converted.
tests/utilities/openapi/test_transitive_references.py:550
Methodtest_refuses_a_different_event_loop_while_in_use
( self, stdio_script, keep_alive )
tests/client/test_stdio.py:547
Functiontest_register_all_applies_tool_prefix_and_separator
()
tests/contrib/test_bulk_tool_caller.py:422
Methodtest_register_all_does_not_evaluate_properties
(self)
tests/contrib/test_mcp_mixin.py:350
Methodtest_register_all_no_prefix
Test register_all method registers all types without a prefix.
tests/contrib/test_mcp_mixin.py:170
Methodtest_register_all_with_prefix_custom_separators
Test register_all method registers all types with a prefix and custom separators.
tests/contrib/test_mcp_mixin.py:231
Methodtest_register_all_with_prefix_default_separators
Test register_all method registers all types with a prefix and default separators.
tests/contrib/test_mcp_mixin.py:198
Methodtest_register_and_get_client
Test registering and retrieving a client.
tests/server/auth/test_oauth_proxy_storage.py:65
Methodtest_register_client
Test client registration creates ProxyDCRClient.
tests/server/auth/oauth_proxy/test_client_registration.py:22
Methodtest_register_client_allows_external_https_by_default
Default DCR registration accepts ordinary external HTTPS callbacks.
tests/server/auth/oauth_proxy/test_client_registration.py:39
Methodtest_register_client_rejects_unsafe_redirect_scheme_by_default
Default DCR registration rejects active browser redirect schemes.
tests/server/auth/oauth_proxy/test_client_registration.py:53
Methodtest_register_client_without_redirect_uris_defers_allowlist_validation
DCR clients may omit redirect_uris until the authorization request.
tests/server/auth/oauth_proxy/test_client_registration.py:66
Functiontest_register_tools_applies_prefix_and_separator
()
tests/contrib/test_bulk_tool_caller.py:410
Methodtest_register_with_docket_is_noop
Registering a forbidden base component is a no-op.
tests/tasks/server/test_custom_subclass_tasks.py:227
Functiontest_registration_after_lifespan_start_rejected
Registering once the server is serving would skip the extension's lifespan, leaving it silently half-active — so it raises instead.
tests/server/test_extensions.py:475
Functiontest_registration_debug_log_names_extension_provider_and_server
( caplog: pytest.LogCaptureFixture, )
tests/server/test_provider_extensions.py:267
Functiontest_registration_during_extension_startup_rejected
()
tests/server/test_provider_extensions.py:339
Functiontest_registration_rejects_sharing_a_bound_instance
()
tests/server/test_provider_extensions.py:403
Methodtest_registry_can_be_overridden
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:784
Methodtest_regular_prompt_error_logs_at_error
PromptError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:476
Methodtest_regular_resource_error_logs_at_error
ResourceError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:431
Methodtest_regular_tool_error_logs_at_error
ToolError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:385
Methodtest_reject_fragment
Test that {#fragment} is rejected.
tests/resources/test_resource_template_level3.py:190
Methodtest_reject_label_expansion
Test that {.ext} label expansion is rejected.
tests/resources/test_resource_template_level3.py:222
Methodtest_reject_mixed_path_and_unsupported
Test that templates mixing path params and unsupported operators are rejected.
tests/resources/test_resource_template_level3.py:266
Methodtest_reject_path_segment
Test that {/segment} is rejected.
tests/resources/test_resource_template_level3.py:206
Methodtest_reject_path_style
{;param} expands into the path, so it is rejected.
tests/resources/test_resource_template_level3.py:238
Methodtest_reject_reserved_expansion
Test that {+path} reserved expansion is rejected.
tests/resources/test_resource_template_level3.py:174
Methodtest_reject_set_expansion
Test that {a,b} set expansion is rejected.
tests/resources/test_resource_template_level3.py:286
Methodtest_reject_set_expansion_with_path
Test that set expansion mixed with path params is rejected.
tests/resources/test_resource_template_level3.py:302
Functiontest_rejected_batch_keeps_existing_contents
()
tests/apps/test_file_upload_retention.py:62
Methodtest_rejected_conversion_leaves_cache_unchanged
(self)
tests/utilities/json_schema_type/test_generated_classes.py:592
Functiontest_rejected_explicit_extension_can_be_registered_on_another_server
( failure: str, )
tests/server/test_provider_extensions.py:428
Methodtest_rejects_absolute
(self, value: str)
tests/resources/test_resource_security.py:58
Methodtest_rejects_bad_settings
(self)
tests/experimental/transforms/test_jev_search.py:392
Methodtest_rejects_blank_issuer
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:180
Methodtest_rejects_empty_role_list
A check with no roles would admit any authenticated caller.
tests/server/auth/test_authorization.py:164
Methodtest_rejects_empty_tokens
(self, token)
tests/server/auth/providers/test_debug.py:19
Methodtest_rejects_expired_token
Test that expired tokens are rejected.
tests/server/auth/test_cimd_validators.py:335
Methodtest_rejects_incompatible_or_unsupported_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:191
Methodtest_rejects_invalid_script_path
(self, script: str)
tests/cli/test_install_cli_arguments.py:266
Methodtest_rejects_iss_hand_specified_in_params
`iss` must come from the keyword-only `iss` argument, never from the `params` dict -- this keeps exactly one place a caller can set it
tests/server/auth/test_redirect_validation.py:218
Methodtest_rejects_line_breaks
(self, argument: str)
tests/cli/test_install_cli_arguments.py:227
Methodtest_rejects_loopback_origin_for_public_host
(self)
tests/server/http/test_http_auth_middleware.py:454
Functiontest_rejects_lossy_or_invalid_frontmatter
(extra: str)
tests/skills/test_frontmatter.py:24
Methodtest_rejects_missing_jti
Test that missing jti claim is rejected.
tests/server/auth/test_cimd_validators.py:251
Methodtest_rejects_non_string_assertion_algorithm
A header whose alg is not a string is an invalid assertion, not a crash.
tests/server/auth/test_cimd_validators.py:447
Methodtest_rejects_null_bytes
(self, value: str)
tests/resources/test_resource_security.py:68
Methodtest_rejects_replayed_jti
Test that replayed JTI is detected and rejected.
tests/server/auth/test_cimd_validators.py:274
Methodtest_rejects_same_host_different_origin
(self, origin: str)
tests/server/http/test_http_auth_middleware.py:506
Methodtest_rejects_shell_metacharacters
(self, name: str)
tests/cli/test_install.py:639
Methodtest_rejects_token_from_different_discord_application
Token must be bound to configured Discord client_id.
tests/server/auth/providers/test_discord.py:108
Methodtest_rejects_token_with_wrong_audience
Tokens for a different application must be rejected.
tests/server/auth/providers/test_azure_scopes.py:496
Methodtest_rejects_traversal
(self, value: str)
tests/resources/test_resource_security.py:45
← previousnext →13,001–13,100 of 15,974, ranked by callers