Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
test_explicit_required_scopes_skip_discovery
Test that explicit required_scopes disable well-known discovery.
tests/server/auth/providers/test_descope.py:258
Function
test_explicit_root_configuration_wins_over_mounted_child
()
tests/server/test_provider_extensions.py:568
Method
test_explicit_scopes_supported_skip_discovery
Test that explicit scopes_supported disable well-known discovery.
tests/server/auth/providers/test_descope.py:272
Method
test_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:281
Method
test_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
Function
test_explicit_skill_root_can_be_a_directory_link
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:92
Method
test_explicit_strict_configuration
Test default configuration with explicit True strict setting and valid dict.
tests/server/auth/test_oidc_proxy.py:277
Method
test_explicit_strict_configuration_raises_error
Test default configuration with explicit True strict setting and invalid dict.
tests/server/auth/test_oidc_proxy.py:296
Method
test_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
Method
test_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
Function
test_explicit_subjects_keep_task_ownership_distinct
()
tests/server/auth/test_auth_source_identities.py:459
Method
test_explicit_title_is_kept
(self)
tests/tools/tool/test_title.py:139
Method
test_explicit_title_reaches_client
(self)
tests/tools/tool/test_title.py:206
Method
test_explicit_token_issuer_is_used
An explicit token_issuer string is passed to the verifier.
tests/server/auth/providers/test_azure.py:1043
Method
test_explicit_tools_capability_is_preserved
Explicitly passing tools capability should be respected.
tests/client/test_sampling.py:223
Method
test_explicit_transport_preserves_query_and_fragment
(self, transport)
tests/cli/test_client_commands.py:483
Function
test_explicit_type_decides_object_schema
(schema_type: Any, expected: bool)
tests/server/providers/local_provider_tools/test_output_schema.py:346
Function
test_explicit_type_override_keeps_parent_extension_keys
()
tests/tools/tool_transform/test_schema_compatibility.py:388
Function
test_explicit_type_override_replaces_bounds_and_keeps_renamed_default
Explicit type overrides intentionally replace validation even for the same type.
tests/tools/tool_transform/test_schema_compatibility.py:303
Method
test_explicit_version_honored_within_filter_range
Explicit version="1.0" request should work within filter range.
tests/server/versioning/test_filtering.py:586
Method
test_explode_default_dict_expands_to_separate_params
Default explode (None → true) on objects expands properties.
tests/utilities/openapi/test_director.py:984
Method
test_explode_false_booleans_lowercased
Booleans serialize as true/false, not True/False.
tests/utilities/openapi/test_director.py:825
Method
test_explode_false_comma_joins
explode=false sends values=hello,world.
tests/utilities/openapi/test_director.py:672
Method
test_explode_false_dict_value
style=form, explode=false on objects serializes as key,value pairs.
tests/utilities/openapi/test_director.py:873
Method
test_explode_false_empty_dict_omitted
Empty dict with explode=false omits the parameter.
tests/utilities/openapi/test_director.py:1043
Method
test_explode_false_empty_list_omitted
Empty list with explode=false omits the parameter entirely.
tests/utilities/openapi/test_director.py:850
Method
test_explode_false_with_integers
explode=false works with non-string values.
tests/utilities/openapi/test_director.py:725
Method
test_explode_none_defaults_to_true
When explode is unset, OpenAPI default for form style is explode=true.
tests/utilities/openapi/test_director.py:700
Method
test_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:912
Method
test_explode_true_empty_dict_omitted
Empty dict with explode=true omits the parameter.
tests/utilities/openapi/test_director.py:1020
Method
test_explode_true_repeats_keys
Default behavior: explode=true sends values=a&values=b.
tests/utilities/openapi/test_director.py:645
Method
test_exploded_continuation_param
{&tags*} marks tags as exploded, like {?tags*}.
tests/resources/test_resource_template_level3.py:44
Function
test_exploded_object_property_and_parameter_both_send
( q_parameter: dict[str, Any], q_value: Any, q_items: list[tuple[str, str]], filter_first: boo
tests/server/providers/openapi/test_query_key_collisions.py:80
Method
test_exploded_param_in_second_block
(self)
tests/resources/test_resource_template_query_params.py:540
Method
test_exploded_query_param_collects_repeated_values
Regression for #4378: `{?tags*}` collects every repetition.
tests/resources/test_resource_template.py:1168
Method
test_exploded_query_param_reaches_the_function
End-to-end: repeated values arrive as a list[str] argument.
tests/resources/test_resource_template.py:1189
Method
test_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:1175
Function
test_export_retains_old_files_if_installation_fails
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, restore_fails: bool )
tests/skills/test_skill.py:271
Function
test_exported_schema_agrees_with_positional_validation
( constraints: dict[str, Any], items: Any )
tests/utilities/json_schema_type/test_prefix_items.py:186
Method
test_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:1107
Method
test_extension_and_tool_together
Server advertises extension AND tool has app meta.
tests/test_apps.py:604
Function
test_extension_auto_registration_requires_opt_in
(bundled: bool)
tests/server/test_provider_extensions.py:356
Function
test_extension_capability_absent_without_extension
The tasks extension is not advertised when no extension is registered.
tests/tasks/server/test_task_capabilities.py:30
Function
test_extension_capability_advertised
The tasks extension is advertised when registered.
tests/tasks/server/test_task_capabilities.py:16
Function
test_extension_folds_into_session_kwargs
A ClientExtension's ad and claim reach the session kwargs, alongside tasks.
tests/client/test_client_extensions.py:130
Function
test_extension_live_reads_do_not_disable_unrelated_caching
( register_extension: bool, )
tests/server/middleware/test_extension_resource_caching.py:9
Function
test_extension_owned_discovery_result_bypasses_metadata_forwarding
()
tests/server/providers/proxy/test_server_metadata.py:558
Function
test_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
Function
test_extension_rejects_duplicate_provider_reference
()
tests/skills/test_extension.py:372
Function
test_extension_rejects_provider_without_source_contract
()
tests/skills/test_extension.py:379
Function
test_extension_rejects_server_level_transform
()
tests/skills/test_extension.py:396
Function
test_extension_rejects_transform_added_after_registration
()
tests/skills/test_extension.py:404
Function
test_extension_rejects_transformed_provider
()
tests/skills/test_extension.py:387
Function
test_extension_requires_at_least_one_provider
()
tests/skills/test_extension.py:367
Function
test_extension_requires_provider_registered_directly
()
tests/skills/test_extension.py:359
Function
test_extensions_added_to_aggregate_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:302
Function
test_extensions_added_to_mounted_child_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:286
Method
test_extensions_without_client_info
clientInfo is optional on 2026-07-28 while clientCapabilities is not, so a client can declare the extension with no client params on the
tests/test_apps.py:488
Function
test_external_pr_does_not_automatically_credit_distinct_issue_author
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:114
Method
test_external_ref_error
Test that external references are handled gracefully.
tests/utilities/openapi/test_parser.py:437
Function
test_external_user_cannot_override_dependency
Test that external MCP clients cannot override dependency parameters.
tests/server/test_dependencies.py:581
Method
test_extra_authorize_params_add_new_params
Test that user can add additional authorize params.
tests/server/auth/providers/test_google.py:145
Method
test_extra_authorize_params_default_none
WorkOS doesn't set provider-specific defaults — empty unless caller opts in.
tests/server/auth/providers/test_workos.py:110
Method
test_extra_authorize_params_defaults
Test that Google-specific defaults are set for refresh token support.
tests/server/auth/providers/test_google.py:111
Method
test_extra_authorize_params_forwarded
Test that extra authorize parameters are forwarded to upstream.
tests/server/auth/oauth_proxy/test_authorization.py:229
Method
test_extra_authorize_params_initialization
Test extra authorize params initialization.
tests/server/auth/test_oidc_proxy.py:791
Method
test_extra_authorize_params_override_default_prompt
Caller-supplied params win over the select_account default.
tests/server/auth/providers/test_azure.py:937
Method
test_extra_authorize_params_override_defaults
Test that user can override default extra authorize params.
tests/server/auth/providers/test_google.py:127
Method
test_extra_authorize_params_passed_through
Test that extra authorize params are forwarded.
tests/server/auth/providers/test_clerk.py:154
Method
test_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:123
Method
test_extra_fields_forbidden
Test that extra fields are not allowed.
tests/utilities/test_components.py:183
Method
test_extra_fields_preserved
Unknown CSP directives from future spec versions pass through.
tests/test_apps.py:113
Method
test_extra_fields_preserved
Unknown permissions from future spec versions pass through.
tests/test_apps.py:151
Method
test_extra_parameters_initialization
Test other parameters initialization.
tests/server/auth/test_oidc_proxy.py:521
Method
test_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
Method
test_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
Method
test_extra_token_params_initialization
Test extra token params initialization.
tests/server/auth/test_oidc_proxy.py:822
Method
test_extract_applies_incoming_parent
(self, mode)
tests/telemetry/test_interop.py:167
Method
test_extract_continuation_only
Test extraction from {¶m} when no {?...} is present.
tests/resources/test_resource_template_level3.py:29
Method
test_extract_continuation_query_params
Test extraction from {¶m1,param2} syntax.
tests/resources/test_resource_template_level3.py:24
Method
test_extract_every_continuation_group
Every {&...} group contributes, not just the first.
tests/resources/test_resource_template_level3.py:39
Method
test_extract_initial_query_params
Test extraction from {?param1,param2} syntax.
tests/resources/test_resource_template_level3.py:19
Method
test_extract_multiple_components
Should extract multiple component types.
tests/fs/test_discovery.py:218
Method
test_extract_no_components
Should return empty list for module with no components.
tests/fs/test_discovery.py:181
Method
test_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
Method
test_extract_prompt_preserves_version
Prompts discovered from files should have their version attribute set.
tests/fs/test_discovery.py:461
Method
test_extract_resource_preserves_version
Resources discovered from files should have their version attribute set.
tests/fs/test_discovery.py:421
Method
test_extract_resource_template
Should extract ResourceTemplate objects.
tests/fs/test_discovery.py:274
Method
test_extract_resource_template_preserves_security
Resource templates discovered from files should keep their security policy.
tests/fs/test_discovery.py:295
Method
test_extract_resource_template_preserves_version
Resource templates discovered from files should have their version set.
tests/fs/test_discovery.py:441
Method
test_extract_scopes_from_array
Test scope extraction from array.
tests/server/auth/providers/test_introspection.py:93
Method
test_extract_scopes_from_string
Test scope extraction from space-separated string.
tests/server/auth/providers/test_introspection.py:86
Method
test_extract_scopes_includes_permissions
(self)
tests/server/auth/providers/test_auth0_mcp.py:34
Method
test_extract_scopes_missing
Test scope extraction when scope field is missing.
tests/server/auth/providers/test_introspection.py:100
Method
test_extract_scopes_permissions_string
(self)
tests/server/auth/providers/test_auth0_mcp.py:44
Method
test_extract_scopes_with_extra_whitespace
Test scope extraction handles extra whitespace.
tests/server/auth/providers/test_introspection.py:107
Method
test_extract_skips_private_components
Should skip private components (those starting with _).
tests/fs/test_discovery.py:248
Method
test_extract_tool_component
Should extract Tool objects.
tests/fs/test_discovery.py:197
Method
test_extract_tool_preserves_version
Tools discovered from files should have their version attribute set.
tests/fs/test_discovery.py:395
Function
test_extraction_failure_keeps_other_tools_callable
( tmp_path: Path, invalid_component: tuple[str, str], reload: bool )
tests/fs/test_extraction_failures.py:76
← previous
next →
9,501–9,600 of 15,974, ranked by callers