Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_accepts_a_generator
(self)
tests/utilities/test_async_utils.py:65
Method
test_accepts_asymmetric_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:185
Method
test_accepts_client_id_argument
client_id parameter should be accepted but ignored.
tests/server/auth/providers/test_scalekit.py:64
Method
test_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
Function
test_ack_results_match_schema
(model: Any)
tests/tasks/server/test_wire_models.py:176
Method
test_acquires_and_attaches_token
(self)
tests/client/auth/test_client_credentials.py:209
Function
test_actions_are_idempotent_and_reject_malformed_ids
()
examples/apps/media_picker/test_media_picker.py:111
Function
test_actuator_errors_surface_as_a_playback_failure
()
examples/apps/media_picker/test_media_picker.py:150
Method
test_adapters_are_cached_by_normalized_schema
(self)
tests/utilities/json_schema_type/test_generated_classes.py:645
Method
test_add_multiple_tools
Test adding multiple tools.
tests/server/providers/test_local_provider.py:42
Function
test_add_parametrized
Test add tool with multiple parameter combinations
examples/testing_demo/tests/test_server.py:61
Method
test_add_prompt
Test adding a prompt to LocalProvider.
tests/server/providers/test_local_provider.py:127
Method
test_add_resource
Test adding a resource to LocalProvider.
tests/server/providers/test_local_provider.py:83
Method
test_add_template
Test adding a resource template to LocalProvider.
tests/server/providers/test_local_provider.py:105
Method
test_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
Method
test_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
Function
test_add_tool
Test the add tool with simple addition
examples/testing_demo/tests/test_server.py:28
Method
test_add_tool
Test adding a tool to LocalProvider.
tests/server/providers/test_local_provider.py:28
Method
test_add_tool_delegates_to_local_provider
Test that mcp.add_tool() registers with the local provider.
tests/server/test_server.py:94
Method
test_add_tool_findable_via_get_app_tool
(self)
tests/test_fastmcp_app.py:807
Method
test_add_tool_from_function
(self)
tests/test_fastmcp_app.py:785
Function
test_add_tool_method_annotations
Test that tool annotations work with add_tool method.
tests/server/test_tool_annotations.py:168
Method
test_add_tool_object
(self)
tests/test_fastmcp_app.py:817
Method
test_add_tool_tagged_with_app_name
(self)
tests/test_fastmcp_app.py:797
Method
test_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
Method
test_add_transform_applies_tool_transforms
Test that add_transform with ToolTransform applies tool transformations.
tests/server/providers/test_local_provider.py:597
Method
test_adding_prompt_after_mounting
Test adding a prompt after mounting.
tests/server/mount/test_prompts.py:30
Method
test_adding_resource_after_mounting
Test adding a resource after mounting.
tests/server/mount/test_resources.py:74
Method
test_adding_tool_after_mounting
Test that tools added after mounting are accessible.
tests/server/mount/test_advanced.py:18
Method
test_additional_properties_false_vs_missing
Test difference between additionalProperties: false and missing additionalProperties
tests/utilities/json_schema_type/test_advanced.py:831
Method
test_additional_properties_type_consistency
Test that the same schema always returns the same type
tests/utilities/json_schema_type/test_advanced.py:875
Method
test_additional_properties_with_defaults
Test additionalProperties with default values
tests/utilities/json_schema_type/test_advanced.py:855
Method
test_adds_get_prompt_tool
Transform adds get_prompt tool.
tests/server/transforms/test_prompts_as_tools.py:25
Method
test_adds_list_prompts_tool
Transform adds list_prompts tool.
tests/server/transforms/test_prompts_as_tools.py:15
Method
test_adds_list_resources_tool
Transform adds list_resources tool.
tests/server/transforms/test_resources_as_tools.py:18
Method
test_adds_read_resource_tool
Transform adds read_resource tool.
tests/server/transforms/test_resources_as_tools.py:28
Function
test_advertised_interval_caps_the_ramp
An advertised interval is the ceiling the ramp tops out at.
tests/tasks/client/test_poll_interval.py:30
Method
test_advertises_grant_when_enabled
(self, config: IdentityAssertion)
tests/server/auth/oauth_proxy/test_identity_assertion.py:237
Method
test_advertises_none_auth_method_without_cimd
( self, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:251
Function
test_aggregate_setup_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:805
Function
test_aggregate_startup_accepts_supported_bundle_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:886
Function
test_aggregate_startup_rejects_new_extension_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:866
Method
test_algorithm_configuration
Test that algorithm can be configured for different JWT signing methods.
tests/server/auth/providers/test_supabase.py:98
Method
test_algorithm_default_es256
Test that algorithm defaults to ES256 when not specified.
tests/server/auth/providers/test_supabase.py:118
Method
test_algorithm_from_parameter
Test that algorithm can be configured via parameter.
tests/server/auth/providers/test_supabase.py:128
Method
test_algorithm_rejects_hs256
Test that HS256 is rejected for Supabase's JWKS-based verifier.
tests/server/auth/providers/test_supabase.py:109
Method
test_alias_chain_keeps_outer_siblings
(self)
tests/utilities/test_json_schema.py:1077
Method
test_alias_cycle_or_missing_target_is_unchanged
(self, defs: dict[str, Any])
tests/utilities/test_json_schema.py:1114
Method
test_alias_map_is_bidirectional
Verify the alias map covers the known Google shorthands.
tests/server/auth/providers/test_google.py:248
Method
test_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
Method
test_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
Method
test_all_arguments_together_arrive_literally
(self)
tests/cli/test_install_cli_arguments.py:242
Method
test_all_classes_generate_valid_schemas
Verify all affected classes can generate valid JSON schemas.
tests/test_json_schema_generation.py:149
Method
test_all_criteria_must_match
Multiple criteria use AND logic - all must match.
tests/server/transforms/test_visibility.py:78
Method
test_all_defaults_preserved_together
Test that all default types are preserved when used together.
tests/client/test_elicitation_enums.py:475
Method
test_all_fields
(self)
tests/test_apps.py:47
Method
test_all_fields
(self)
tests/test_apps.py:88
Method
test_all_fields
(self)
tests/test_apps.py:134
Method
test_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
Method
test_all_optional_parameters
Test initialization with all optional parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:46
Function
test_all_primitive_field_types
()
tests/client/test_elicitation.py:576
Method
test_all_providers_instantiable
Test that all vendor providers can be instantiated.
tests/server/providers/test_skills_vendor_providers.py:83
Method
test_all_providers_support_reload
Test that all providers support reload parameter.
tests/server/providers/test_skills_vendor_providers.py:100
Method
test_all_providers_support_supporting_files
Test that all providers support supporting_files parameter.
tests/server/providers/test_skills_vendor_providers.py:116
Method
test_all_proxy_used_as_fallback
ALL_PROXY routes the fetch when HTTPS_PROXY is not set.
tests/server/auth/test_ssrf_protection.py:702
Method
test_all_raising_returns_none
If every source raises, verify_token returns None.
tests/server/auth/test_multi_auth.py:301
Method
test_all_watched_extensions_are_accepted
Test that every extension in WATCHED_EXTENSIONS is accepted.
tests/cli/test_run.py:663
Function
test_allof_at_requestbody_top_level
Test that allOf schemas at requestBody top level are properly merged.
tests/utilities/openapi/test_allof_requestbody.py:10
Method
test_allof_reference_dereferenced
Test that schemas referenced in allOf are preserved and unused defs pruned.
tests/utilities/openapi/test_schemas.py:693
Method
test_allof_reference_fields_reach_tool_schema_and_request_body
(self)
tests/server/providers/openapi/test_openapi_features.py:1472
Method
test_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
Function
test_allof_with_nested_properties
Test allOf with nested object properties.
tests/utilities/openapi/test_allof_requestbody.py:72
Method
test_allof_with_nullable
Test nullable handling with allOf constructs.
tests/utilities/openapi/test_nullable_fields.py:228
Function
test_allof_with_overlapping_properties
Test allOf with overlapping property names (later schemas override).
tests/utilities/openapi/test_allof_requestbody.py:139
Method
test_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
Method
test_allowlist_matches_cacheable_methods
The allowlist covers exactly the SDK's cacheable result models.
tests/client/client/test_kv_response_cache.py:198
Method
test_allowlist_pattern
Disable all, then enable specific = allowlist.
tests/server/transforms/test_visibility.py:265
Method
test_allows_access_when_tag_not_present
(self)
tests/server/auth/test_authorization.py:249
Method
test_allows_access_when_tag_present_with_scope
(self)
tests/server/auth/test_authorization.py:271
Method
test_allows_configured_host_and_origin
(self)
tests/server/http/test_http_auth_middleware.py:278
Method
test_allows_configured_loopback_origin_for_public_host
(self)
tests/server/http/test_http_auth_middleware.py:367
Method
test_allows_loopback_origin_for_loopback_host
(self)
tests/server/http/test_http_auth_middleware.py:324
Method
test_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
Method
test_allows_same_request_origin
(self)
tests/server/http/test_http_auth_middleware.py:302
Method
test_already_nullable_union_unchanged
Test that union types already containing null are not modified.
tests/utilities/openapi/test_nullable_fields.py:162
Method
test_already_prefixed_scopes_pass_through
(self)
tests/server/auth/providers/test_azure_scopes.py:536
Method
test_already_slugified
(self)
tests/cli/test_goose.py:23
Method
test_always_visible_pins_tools
(self)
tests/server/transforms/test_search.py:89
Method
test_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
Method
test_ambiguous_name
(self, tmp_path: Path)
tests/cli/test_discovery.py:641
Function
test_ambiguous_name_never_writes
(bridge)
examples/smart_home/tests/test_lights.py:126
Method
test_ambiguous_resolved_by_qualified
(self, tmp_path: Path)
tests/cli/test_discovery.py:649
Method
test_an_image_is_not_duplicated_into_structured_content
The regression this exists to prevent.
tests/tools/tool/test_output_schema.py:698
Method
test_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
Method
test_annotated_field_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:151
Method
test_annotated_field_with_default_in_signature
Test that Annotated[type, Field(...)] with default in signature works.
tests/prompts/test_prompt.py:806
Method
test_annotated_list_query_param_splits_commas
`Annotated[...]` must be unwrapped before the list check.
tests/resources/test_resource_template.py:1090
Method
test_annotated_member_is_member
Test that Annotated with a member class is detected as a member.
tests/utilities/test_types.py:72
Method
test_annotated_non_member_is_not_member
Test that Annotated with a non-member class is not a member.
tests/utilities/test_types.py:80
Method
test_annotated_prefab_app_inferred
(self)
tests/test_apps_prefab.py:280
← previous
next →
6,101–6,200 of 13,374, ranked by callers