Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
Function
test_recursive_default_on_a_reserved_property_name
()
tests/utilities/json_schema_type/test_recursive_hydration.py:138
Method
test_recursive_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:1030
Method
test_recursive_defaults_are_hydrated
(self, many: bool)
tests/utilities/json_schema_type/test_advanced.py:72
Method
test_recursive_ref_in_anyof_does_not_recurse_forever
(self)
tests/utilities/json_schema_type/test_advanced.py:1047
Function
test_recursive_reference_in_prefix_items_tail
A `$ref` cycle through the tail of a positional array still resolves.
tests/utilities/json_schema_type/test_prefix_items.py:266
Function
test_recursive_reference_in_prefix_position
A `$ref` cycle through a prefix position still resolves.
tests/utilities/json_schema_type/test_prefix_items.py:282
Function
test_recursive_references_use_root_context
(model: bool)
tests/utilities/json_schema_type/test_caching.py:98
Method
test_recursive_schema_naming
(self)
tests/utilities/json_schema_type/test_advanced.py:1136
Method
test_recursive_schema_with_invalid_python_name
Test that recursive schemas work with titles that aren't valid Python identifiers
tests/utilities/json_schema_type/test_advanced.py:1169
Function
test_redacted_attribute_survives_a_redacting_sampler
A sampler that deliberately replaces one of FastMCP's attributes (e.g. redacting `mcp.method.name` for privacy) must have that decision survive.
tests/telemetry/test_span_attributes.py:303
Method
test_redirect_error_includes_proxy_issuer
Authorization error redirects should include RFC 9207 issuer.
tests/server/auth/test_enhanced_error_responses.py:252
Method
test_redirect_error_matches_path_base_url_metadata_issuer
Authorization error redirects should match the metadata issuer exactly.
tests/server/auth/test_enhanced_error_responses.py:286
Method
test_redirect_path_normalization
Test that redirect_path is normalized with leading slash.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:198
Method
test_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
Method
test_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
Method
test_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
Method
test_redirect_uri_whitespace_only_rejected
Test that whitespace-only redirect_uris are rejected.
tests/server/auth/test_cimd.py:149
Method
test_redirect_uri_without_host_rejected
Test that redirect_uris without a host are rejected.
tests/server/auth/test_cimd.py:120
Method
test_redirect_uri_without_scheme_rejected
Test that redirect_uris without a scheme are rejected.
tests/server/auth/test_cimd.py:112
Function
test_redirect_without_location_has_no_extra_detail
()
tests/server/providers/openapi/test_http_error_details_regression.py:85
Function
test_redis_prefix_anonymous
()
tests/tasks/server/test_task_keys.py:138
Function
test_redis_prefix_authenticated
()
tests/tasks/server/test_task_keys.py:134
Function
test_redis_prefix_disjoint_for_anon_vs_literal_anon_scope
()
tests/tasks/server/test_task_keys.py:142
Function
test_redis_prefix_disjoint_for_anon_vs_literal_underscore_scope
()
tests/tasks/server/test_task_keys.py:146
Function
test_redis_prefix_encodes_special_characters
()
tests/tasks/server/test_task_keys.py:150
Function
test_reentrant_wrapper_preserves_signature
The wrapper keeps the tool's parameters so Docket DI is unchanged.
tests/tasks/server/test_guard_reentrant.py:222
Function
test_reexpand
(t: DrawnTemplate)
tests/pbt/test_uri_template.py:51
Function
test_ref_chain_with_sibling_properties_sends_all_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:140
Method
test_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
Function
test_ref_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:307
Function
test_ref_to_any_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:288
Function
test_ref_to_object_with_all_of_still_merges
()
tests/server/providers/openapi/test_body_ref_siblings.py:255
Function
test_ref_to_one_of_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:271
Function
test_ref_to_pattern_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:299
Function
test_ref_to_string_with_all_of_keeps_referenced_constraints
()
tests/server/providers/openapi/test_body_ref_siblings.py:243
Function
test_ref_with_all_of_to_additional_properties_target_keeps_the_ref
()
tests/server/providers/openapi/test_body_ref_siblings.py:315
Function
test_ref_with_discriminator_advertises_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:221
Function
test_ref_with_discriminator_sends_subtype_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:232
Function
test_ref_with_sibling_properties_advertises_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:60
Function
test_ref_with_sibling_properties_merges_required
()
tests/server/providers/openapi/test_body_ref_siblings.py:84
Function
test_ref_with_sibling_properties_sends_both_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:72
Function
test_ref_without_siblings_exposes_referenced_fields
()
tests/server/providers/openapi/test_body_ref_siblings.py:180
Function
test_refcount_survives_nested_holds
Two holds (sibling extensions): the wrap stays until the last release.
tests/tasks/server/test_wire_production.py:85
Function
test_reference_context_in_containers
(container: str)
tests/utilities/json_schema_type/test_caching.py:118
Function
test_reference_inside_sibling_property_is_resolved
()
tests/server/providers/openapi/test_body_ref_siblings.py:124
Method
test_referer_does_not_replace_the_origin_check
(self)
tests/cli/test_apps_dev_server.py:500
Method
test_refill
Test token refill over time.
tests/server/middleware/test_rate_limiting.py:66
Method
test_refresh_body
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:202
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Function
test_refresh_interval_requires_finite_nonnegative_value
(interval: float)
tests/server/auth/test_jwks_refresh.py:151
Method
test_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
Method
test_refresh_lock_cache_bounded
_get_refresh_lock never grows beyond _REFRESH_LOCK_CACHE_SIZE.
tests/server/auth/oauth_proxy/test_tokens.py:1936
Method
test_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
Method
test_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
Function
test_refresh_rejects_nonpositive_expires_in_before_state_mutation
( jwt_verifier, expires_in )
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:88
Method
test_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
Method
test_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
Method
test_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
Method
test_refuses_a_different_event_loop_while_in_use
( self, stdio_script, keep_alive )
tests/client/test_stdio.py:547
Function
test_register_all_applies_tool_prefix_and_separator
()
tests/contrib/test_bulk_tool_caller.py:422
Method
test_register_all_does_not_evaluate_properties
(self)
tests/contrib/test_mcp_mixin.py:350
Method
test_register_all_no_prefix
Test register_all method registers all types without a prefix.
tests/contrib/test_mcp_mixin.py:170
Method
test_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
Method
test_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
Method
test_register_and_get_client
Test registering and retrieving a client.
tests/server/auth/test_oauth_proxy_storage.py:65
Method
test_register_client
Test client registration creates ProxyDCRClient.
tests/server/auth/oauth_proxy/test_client_registration.py:22
Method
test_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
Method
test_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
Method
test_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
Function
test_register_tools_applies_prefix_and_separator
()
tests/contrib/test_bulk_tool_caller.py:410
Method
test_register_with_docket_is_noop
Registering a forbidden base component is a no-op.
tests/tasks/server/test_custom_subclass_tasks.py:227
Function
test_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
Function
test_registration_debug_log_names_extension_provider_and_server
( caplog: pytest.LogCaptureFixture, )
tests/server/test_provider_extensions.py:267
Function
test_registration_during_extension_startup_rejected
()
tests/server/test_provider_extensions.py:339
Function
test_registration_rejects_sharing_a_bound_instance
()
tests/server/test_provider_extensions.py:403
Method
test_registry_can_be_overridden
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:784
Method
test_regular_prompt_error_logs_at_error
PromptError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:476
Method
test_regular_resource_error_logs_at_error
ResourceError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:431
Method
test_regular_tool_error_logs_at_error
ToolError with default log_level logs at ERROR.
tests/client/client/test_error_handling.py:385
Method
test_reject_fragment
Test that {#fragment} is rejected.
tests/resources/test_resource_template_level3.py:190
Method
test_reject_label_expansion
Test that {.ext} label expansion is rejected.
tests/resources/test_resource_template_level3.py:222
Method
test_reject_mixed_path_and_unsupported
Test that templates mixing path params and unsupported operators are rejected.
tests/resources/test_resource_template_level3.py:266
Method
test_reject_path_segment
Test that {/segment} is rejected.
tests/resources/test_resource_template_level3.py:206
Method
test_reject_path_style
{;param} expands into the path, so it is rejected.
tests/resources/test_resource_template_level3.py:238
Method
test_reject_reserved_expansion
Test that {+path} reserved expansion is rejected.
tests/resources/test_resource_template_level3.py:174
Method
test_reject_set_expansion
Test that {a,b} set expansion is rejected.
tests/resources/test_resource_template_level3.py:286
Method
test_reject_set_expansion_with_path
Test that set expansion mixed with path params is rejected.
tests/resources/test_resource_template_level3.py:302
Function
test_rejected_batch_keeps_existing_contents
()
tests/apps/test_file_upload_retention.py:62
Method
test_rejected_conversion_leaves_cache_unchanged
(self)
tests/utilities/json_schema_type/test_generated_classes.py:592
Function
test_rejected_explicit_extension_can_be_registered_on_another_server
( failure: str, )
tests/server/test_provider_extensions.py:428
Method
test_rejects_absolute
(self, value: str)
tests/resources/test_resource_security.py:58
Method
test_rejects_bad_settings
(self)
tests/experimental/transforms/test_jev_search.py:392
Method
test_rejects_blank_issuer
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:180
Method
test_rejects_empty_role_list
A check with no roles would admit any authenticated caller.
tests/server/auth/test_authorization.py:164
Method
test_rejects_empty_tokens
(self, token)
tests/server/auth/providers/test_debug.py:19
Method
test_rejects_expired_token
Test that expired tokens are rejected.
tests/server/auth/test_cimd_validators.py:335
Method
test_rejects_incompatible_or_unsupported_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:191
← previous
next →
13,101–13,200 of 16,098, ranked by callers