MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_accepts_a_generator
(self)
tests/utilities/test_async_utils.py:65
Methodtest_accepts_asymmetric_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:185
Methodtest_accepts_client_id_argument
client_id parameter should be accepted but ignored.
tests/server/auth/providers/test_scalekit.py:64
Methodtest_access_jti_mapping_ttl_matches_configured_lifetime
The access JTI mapping must outlive the upstream access token. The JWT exp and the JTI mapping TTL are set from the same value, so a
tests/server/auth/oauth_proxy/test_tokens.py:927
Functiontest_ack_results_match_schema
(model: Any)
tests/tasks/server/test_wire_models.py:176
Methodtest_acquires_and_attaches_token
(self)
tests/client/auth/test_client_credentials.py:209
Functiontest_actions_are_idempotent_and_reject_malformed_ids
()
examples/apps/media_picker/test_media_picker.py:111
Functiontest_actuator_errors_surface_as_a_playback_failure
()
examples/apps/media_picker/test_media_picker.py:150
Methodtest_adapters_are_cached_by_normalized_schema
(self)
tests/utilities/json_schema_type/test_generated_classes.py:645
Methodtest_add_multiple_tools
Test adding multiple tools.
tests/server/providers/test_local_provider.py:42
Functiontest_add_parametrized
Test add tool with multiple parameter combinations
examples/testing_demo/tests/test_server.py:61
Methodtest_add_prompt
Test adding a prompt to LocalProvider.
tests/server/providers/test_local_provider.py:127
Methodtest_add_resource
Test adding a resource to LocalProvider.
tests/server/providers/test_local_provider.py:83
Methodtest_add_template
Test adding a resource template to LocalProvider.
tests/server/providers/test_local_provider.py:105
Methodtest_add_to_docket_raises_not_implemented_when_allowed
add_component_to_docket raises NotImplementedError for an unknown type.
tests/tasks/server/test_custom_subclass_tasks.py:244
Methodtest_add_to_docket_raises_when_forbidden
add_component_to_docket raises RuntimeError when mode is 'forbidden'.
tests/tasks/server/test_custom_subclass_tasks.py:236
Functiontest_add_tool
Test the add tool with simple addition
examples/testing_demo/tests/test_server.py:28
Methodtest_add_tool
Test adding a tool to LocalProvider.
tests/server/providers/test_local_provider.py:28
Methodtest_add_tool_delegates_to_local_provider
Test that mcp.add_tool() registers with the local provider.
tests/server/test_server.py:94
Methodtest_add_tool_findable_via_get_app_tool
(self)
tests/test_fastmcp_app.py:807
Methodtest_add_tool_from_function
(self)
tests/test_fastmcp_app.py:785
Functiontest_add_tool_method_annotations
Test that tool annotations work with add_tool method.
tests/server/test_tool_annotations.py:168
Methodtest_add_tool_object
(self)
tests/test_fastmcp_app.py:817
Methodtest_add_tool_tagged_with_app_name
(self)
tests/test_fastmcp_app.py:797
Methodtest_add_tool_with_custom_name
Test adding a tool with a custom name using server.add_tool().
tests/server/providers/local_provider_tools/test_decorator.py:209
Methodtest_add_transform_applies_tool_transforms
Test that add_transform with ToolTransform applies tool transformations.
tests/server/providers/test_local_provider.py:597
Methodtest_adding_prompt_after_mounting
Test adding a prompt after mounting.
tests/server/mount/test_prompts.py:30
Methodtest_adding_resource_after_mounting
Test adding a resource after mounting.
tests/server/mount/test_resources.py:74
Methodtest_adding_tool_after_mounting
Test that tools added after mounting are accessible.
tests/server/mount/test_advanced.py:18
Methodtest_additional_properties_false_vs_missing
Test difference between additionalProperties: false and missing additionalProperties
tests/utilities/json_schema_type/test_advanced.py:831
Methodtest_additional_properties_type_consistency
Test that the same schema always returns the same type
tests/utilities/json_schema_type/test_advanced.py:875
Methodtest_additional_properties_with_defaults
Test additionalProperties with default values
tests/utilities/json_schema_type/test_advanced.py:855
Methodtest_adds_get_prompt_tool
Transform adds get_prompt tool.
tests/server/transforms/test_prompts_as_tools.py:25
Methodtest_adds_list_prompts_tool
Transform adds list_prompts tool.
tests/server/transforms/test_prompts_as_tools.py:15
Methodtest_adds_list_resources_tool
Transform adds list_resources tool.
tests/server/transforms/test_resources_as_tools.py:18
Methodtest_adds_read_resource_tool
Transform adds read_resource tool.
tests/server/transforms/test_resources_as_tools.py:28
Functiontest_advertised_interval_caps_the_ramp
An advertised interval is the ceiling the ramp tops out at.
tests/tasks/client/test_poll_interval.py:30
Methodtest_advertises_grant_when_enabled
(self, config: IdentityAssertion)
tests/server/auth/oauth_proxy/test_identity_assertion.py:237
Methodtest_advertises_none_auth_method_without_cimd
( self, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:251
Functiontest_aggregate_setup_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:805
Functiontest_aggregate_startup_accepts_supported_bundle_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:886
Functiontest_aggregate_startup_rejects_new_extension_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:866
Methodtest_algorithm_configuration
Test that algorithm can be configured for different JWT signing methods.
tests/server/auth/providers/test_supabase.py:98
Methodtest_algorithm_default_es256
Test that algorithm defaults to ES256 when not specified.
tests/server/auth/providers/test_supabase.py:118
Methodtest_algorithm_from_parameter
Test that algorithm can be configured via parameter.
tests/server/auth/providers/test_supabase.py:128
Methodtest_algorithm_rejects_hs256
Test that HS256 is rejected for Supabase's JWKS-based verifier.
tests/server/auth/providers/test_supabase.py:109
Methodtest_alias_chain_keeps_outer_siblings
(self)
tests/utilities/test_json_schema.py:1077
Methodtest_alias_cycle_or_missing_target_is_unchanged
(self, defs: dict[str, Any])
tests/utilities/test_json_schema.py:1114
Methodtest_alias_map_is_bidirectional
Verify the alias map covers the known Google shorthands.
tests/server/auth/providers/test_google.py:248
Methodtest_aliased_ask_arm_stripped
A lone aliased arm (`str | AskAlias`) is recognized as a guard signal and stripped, leaving the data arm's schema.
tests/server/test_mrtr_guards.py:194
Methodtest_aliased_guard_union_stripped
A `type Result = str | InputRequiredResult` alias is unwrapped before stripping, so the ask arm never leaks into the output schema.
tests/server/test_mrtr_guards.py:182
Methodtest_all_arguments_together_arrive_literally
(self)
tests/cli/test_install_cli_arguments.py:242
Methodtest_all_classes_generate_valid_schemas
Verify all affected classes can generate valid JSON schemas.
tests/test_json_schema_generation.py:149
Methodtest_all_criteria_must_match
Multiple criteria use AND logic - all must match.
tests/server/transforms/test_visibility.py:78
Methodtest_all_defaults_preserved_together
Test that all default types are preserved when used together.
tests/client/test_elicitation_enums.py:475
Methodtest_all_fields
(self)
tests/test_apps.py:47
Methodtest_all_fields
(self)
tests/test_apps.py:88
Methodtest_all_fields
(self)
tests/test_apps.py:134
Methodtest_all_four_domain_fields_preserved
The old singleton silently dropped frame_domains and base_uri_domains; the synthesizer covers all four fields.
tests/server/providers/test_prefab_synthesis.py:45
Methodtest_all_optional_parameters
Test initialization with all optional parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:46
Functiontest_all_primitive_field_types
()
tests/client/test_elicitation.py:576
Methodtest_all_providers_instantiable
Test that all vendor providers can be instantiated.
tests/server/providers/test_skills_vendor_providers.py:83
Methodtest_all_providers_support_reload
Test that all providers support reload parameter.
tests/server/providers/test_skills_vendor_providers.py:100
Methodtest_all_providers_support_supporting_files
Test that all providers support supporting_files parameter.
tests/server/providers/test_skills_vendor_providers.py:116
Methodtest_all_proxy_used_as_fallback
ALL_PROXY routes the fetch when HTTPS_PROXY is not set.
tests/server/auth/test_ssrf_protection.py:702
Methodtest_all_raising_returns_none
If every source raises, verify_token returns None.
tests/server/auth/test_multi_auth.py:301
Methodtest_all_watched_extensions_are_accepted
Test that every extension in WATCHED_EXTENSIONS is accepted.
tests/cli/test_run.py:663
Functiontest_allof_at_requestbody_top_level
Test that allOf schemas at requestBody top level are properly merged.
tests/utilities/openapi/test_allof_requestbody.py:10
Methodtest_allof_reference_dereferenced
Test that schemas referenced in allOf are preserved and unused defs pruned.
tests/utilities/openapi/test_schemas.py:693
Methodtest_allof_reference_fields_reach_tool_schema_and_request_body
(self)
tests/server/providers/openapi/test_openapi_features.py:1472
Methodtest_allof_reference_request_body_does_not_crash
Required fields inherited through a reference can be sent together.
tests/server/providers/openapi/test_openapi_features.py:1505
Functiontest_allof_with_nested_properties
Test allOf with nested object properties.
tests/utilities/openapi/test_allof_requestbody.py:72
Methodtest_allof_with_nullable
Test nullable handling with allOf constructs.
tests/utilities/openapi/test_nullable_fields.py:228
Functiontest_allof_with_overlapping_properties
Test allOf with overlapping property names (later schemas override).
tests/utilities/openapi/test_allof_requestbody.py:139
Methodtest_allowed_redirect_uri_patterns_stored_on_client
Proxy's allowed_redirect_uri_patterns are forwarded to the created client.
tests/server/auth/test_cimd_validators.py:490
Methodtest_allowlist_matches_cacheable_methods
The allowlist covers exactly the SDK's cacheable result models.
tests/client/client/test_kv_response_cache.py:198
Methodtest_allowlist_pattern
Disable all, then enable specific = allowlist.
tests/server/transforms/test_visibility.py:265
Methodtest_allows_access_when_tag_not_present
(self)
tests/server/auth/test_authorization.py:249
Methodtest_allows_access_when_tag_present_with_scope
(self)
tests/server/auth/test_authorization.py:271
Methodtest_allows_configured_host_and_origin
(self)
tests/server/http/test_http_auth_middleware.py:278
Methodtest_allows_configured_loopback_origin_for_public_host
(self)
tests/server/http/test_http_auth_middleware.py:367
Methodtest_allows_loopback_origin_for_loopback_host
(self)
tests/server/http/test_http_auth_middleware.py:324
Methodtest_allows_safe_values
Dots inside a segment, benign relative paths, and dotfiles pass. This mirrors the SDK's component-based `contains_path_traversal`: on
tests/resources/test_resource_security.py:87
Methodtest_allows_same_request_origin
(self)
tests/server/http/test_http_auth_middleware.py:302
Methodtest_already_nullable_union_unchanged
Test that union types already containing null are not modified.
tests/utilities/openapi/test_nullable_fields.py:162
Methodtest_already_prefixed_scopes_pass_through
(self)
tests/server/auth/providers/test_azure_scopes.py:536
Methodtest_already_slugified
(self)
tests/cli/test_goose.py:23
Methodtest_always_visible_pins_tools
(self)
tests/server/transforms/test_search.py:89
Methodtest_ambiguous_identity_raises_rather_than_guessing
The same app composed into two branches yields two tools with one identity. Routing to either would silently execute the wrong branch's
tests/server/providers/test_prefab_roundtrip.py:695
Methodtest_ambiguous_name
(self, tmp_path: Path)
tests/cli/test_discovery.py:641
Functiontest_ambiguous_name_never_writes
(bridge)
examples/smart_home/tests/test_lights.py:126
Methodtest_ambiguous_resolved_by_qualified
(self, tmp_path: Path)
tests/cli/test_discovery.py:649
Methodtest_an_image_is_not_duplicated_into_structured_content
The regression this exists to prevent.
tests/tools/tool/test_output_schema.py:698
Methodtest_annotated_bare_guard_returns_suppress_schema
The wholesale suppression also covers Annotated wrappings of a bare guard return — including an aliased one — which exact-match replacement
tests/server/test_mrtr_guards.py:241
Methodtest_annotated_field_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:151
Methodtest_annotated_field_with_default_in_signature
Test that Annotated[type, Field(...)] with default in signature works.
tests/prompts/test_prompt.py:806
Methodtest_annotated_list_query_param_splits_commas
`Annotated[...]` must be unwrapped before the list check.
tests/resources/test_resource_template.py:1090
Methodtest_annotated_member_is_member
Test that Annotated with a member class is detected as a member.
tests/utilities/test_types.py:72
Methodtest_annotated_non_member_is_not_member
Test that Annotated with a non-member class is not a member.
tests/utilities/test_types.py:80
Methodtest_annotated_prefab_app_inferred
(self)
tests/test_apps_prefab.py:280
← previousnext →6,101–6,200 of 13,374, ranked by callers