MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_unauthorized_enable_prompt
(self)
tests/contrib/test_component_manager.py:579
Methodtest_unauthorized_enable_tool
Test that unauthenticated requests to enable a tool are rejected.
tests/contrib/test_component_manager.py:233
Methodtest_unauthorized_enable_tool
(self)
tests/contrib/test_component_manager.py:514
Functiontest_unavailable_backend_does_not_block_connection
(frontend_mode: str)
tests/server/providers/proxy/test_server_metadata.py:533
Methodtest_unbound_provider_raises
(self)
tests/client/auth/test_client_credentials.py:198
Methodtest_unbound_provider_raises
(self)
tests/client/auth/test_client_credentials.py:630
Methodtest_unbound_raises_runtime_error
async_auth_flow should fail clearly when OAuth is not bound.
tests/client/auth/test_oauth_cimd.py:108
Functiontest_unbound_server_access_raises
()
tests/server/test_extensions.py:541
Methodtest_unbound_when_no_mcp_url
(self)
tests/client/auth/test_oauth_cimd.py:42
Functiontest_unconfigured_server_exposes_tools_but_refuses_calls
(monkeypatch)
examples/smart_home/tests/test_fire_tv.py:229
Methodtest_uncreated_id_is_rejected
An id that was never handed out by `create_session` does not resolve.
tests/server/test_session_provider.py:315
Methodtest_uncreated_session_does_not_exist
(self)
tests/server/test_sessions.py:189
Functiontest_undeclared_arguments_are_ignored
( method: str, arguments: dict[str, Any] )
tests/server/providers/openapi/test_undeclared_arguments.py:97
Functiontest_undeclared_arguments_are_ignored_after_schema_precalculation_fails
( monkeypatch: pytest.MonkeyPatch, )
tests/server/providers/openapi/test_undeclared_arguments.py:109
Methodtest_undecryptable_snapshot_fails_the_task
Fail closed: a worker that cannot recover the caller must not run. Running anyway would execute the tool as an anonymous caller, which for
tests/tasks/server/test_snapshot_encryption.py:257
Methodtest_underscore_name
(self)
tests/cli/test_generate_cli.py:702
Methodtest_unexpected_error_in_request_building_gives_useful_message
Unexpected exceptions during request building should produce useful errors.
tests/server/providers/openapi/test_comprehensive.py:934
Methodtest_unexpected_exception_still_logs_with_traceback
(self, caplog)
tests/server/test_input_validation.py:607
Methodtest_unhinted_server_not_cached
(self)
tests/server/test_cache_hints.py:171
Methodtest_unicode_normalization
(self)
tests/server/transforms/test_search.py:444
Methodtest_unicode_property_pattern_falls_back
Unicode \\p{...} patterns (unsupported by Rust regex) degrade gracefully.
tests/utilities/json_schema_type/test_json_schema_type.py:364
Methodtest_unicode_tokens
(self)
tests/server/transforms/test_search.py:439
Functiontest_uninstall_restores_stock_serializer
()
tests/tasks/server/test_wire_production.py:75
Methodtest_union_arm_stripped_keeps_data_schema
(self)
tests/server/test_mrtr_guards.py:171
Methodtest_union_constants
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:197
Methodtest_union_of_simple_types
(self)
tests/cli/test_generate_cli.py:80
Methodtest_union_type_pipes_escaped
(self)
tests/cli/test_generate_cli.py:880
Methodtest_union_type_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:253
Methodtest_union_types
(self)
tests/cli/test_generate_cli.py:743
Methodtest_union_types_with_nullable
Test nullable handling with existing union types (type as array).
tests/utilities/openapi/test_nullable_fields.py:155
Methodtest_union_with_context
(self)
tests/tools/test_tool_future_annotations.py:98
Methodtest_union_with_list_query_param_accepts_explode
A mixed union can opt into repeated values with explode.
tests/resources/test_resource_template.py:1129
Methodtest_union_with_scalar_query_param_does_not_require_explode
A scalar union branch preserves the existing plain-query contract.
tests/resources/test_resource_template.py:1107
Methodtest_unique_items_accepts_unique
(self, unique_items_array)
tests/utilities/json_schema_type/test_containers.py:70
Methodtest_unique_items_converts_duplicates
(self, unique_items_array)
tests/utilities/json_schema_type/test_containers.py:74
Methodtest_unique_match
(self, tmp_path: Path)
tests/cli/test_discovery.py:619
Methodtest_unknown_client_id_still_returns_none
Non-upstream, unregistered IDs still return None.
tests/server/auth/oauth_proxy/test_client_registration.py:530
Methodtest_unknown_issuer_rejected
An issuer outside the accepted set is still rejected.
tests/server/auth/providers/test_scalekit.py:176
Methodtest_unknown_kwarg_raises_standard_type_error
(self)
tests/deprecated/test_settings.py:52
Methodtest_unknown_launch_id_is_rejected
(self)
tests/cli/test_apps_dev_server.py:498
Methodtest_unknown_mode_rejected
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:47
Methodtest_unknown_refresh_token_logs_warning
(self, oauth_proxy, caplog)
tests/server/auth/oauth_proxy/test_tokens.py:1992
Functiontest_unknown_tools_do_not_repeat_discovery
()
tests/client/group/test_client_group.py:136
Methodtest_unknown_type_tag_is_a_miss
A stored envelope naming a type outside the allowlist is a miss, never imported.
tests/client/client/test_kv_response_cache.py:184
Functiontest_unmapped_human_author_is_flagged_without_guessing_a_handle
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:141
Methodtest_unmarked_is_enabled
Components without marks are enabled by default.
tests/server/transforms/test_visibility.py:164
Methodtest_unmodified_message_dispatches_unchanged
An observation-only hook leaves dispatch untouched.
tests/server/middleware/test_message_visibility.py:261
Methodtest_unnecessary_defs_preserved_when_referenced
Even seemingly unnecessary $defs must be preserved if they're referenced.
tests/utilities/openapi/test_transitive_references.py:596
Methodtest_unparseable_snapshot_fails_the_task
Fail closed extends past decryption: a parse failure also loses the caller, so it must not degrade to an anonymous run.
tests/tasks/server/test_snapshot_encryption.py:318
Methodtest_unreadable_snapshot_is_nonfatal_without_a_key
Without encryption a corrupt snapshot still only degrades the caller.
tests/tasks/server/test_snapshot_encryption.py:390
Methodtest_unrecognised_exits
(self)
tests/cli/test_client_commands.py:275
Functiontest_unregistered_argument_returns_empty_completion
(completion_server, mode)
tests/server/test_completions.py:109
Methodtest_unregistered_client_returns_html_for_browser
Test that unregistered client returns styled HTML for browser requests.
tests/server/auth/test_enhanced_error_responses.py:114
Methodtest_unregistered_client_returns_json_for_api
Test that unregistered client returns enhanced JSON for API clients.
tests/server/auth/test_enhanced_error_responses.py:147
Functiontest_unregistered_ref_returns_empty_completion
(completion_server, mode)
tests/server/test_completions.py:99
Methodtest_unrelated_class_is_not_member
Test that an unrelated class is not a member of the base class.
tests/utilities/test_types.py:42
Methodtest_unrelated_class_is_not_subclass
Test that an unrelated class is not a subclass.
tests/utilities/test_types.py:118
Functiontest_unrelated_client_validation_error_is_not_ignored
()
tests/server/providers/proxy/test_server_metadata.py:377
Functiontest_unrelated_extension_method_collision_is_rejected
()
tests/server/test_provider_extensions.py:413
Methodtest_unrelated_server_after_parent_with_mount
A parent with a mounted child must not contaminate later entries. ``FastMCPProvider`` sets ``_lifespan_root_active`` while entering the
tests/server/mount/test_advanced.py:528
Methodtest_unresolvable_identity_is_restored
An inner server binds to a name that means nothing further out, so a reference this server cannot resolve is restored to its identity
tests/server/providers/test_prefab_roundtrip.py:620
Methodtest_unresolvable_mapping_is_ignored
An unusable mapping leaves the parent schema as it was.
tests/server/providers/openapi/test_openapi_discriminator.py:215
Methodtest_unrotated_refresh_token_injected
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:167
Methodtest_unroutable_method_observed_by_on_message
An unknown method fails routing before any handler; the root dispatch still runs ``on_message``/``on_request`` around the failure.
tests/server/middleware/test_message_visibility.py:133
Methodtest_unsafe_scheme_rejected_regardless_of_type
( self, oauth_proxy, application_type )
tests/server/auth/oauth_proxy/test_client_registration.py:424
Methodtest_unsafe_schemes_rejected_for_all_types
( self, uri: str, application_type: str )
tests/server/auth/test_oauth_proxy_redirect_validation.py:806
Methodtest_unserializable_return_annotation
(self)
tests/tools/tool/test_output_schema.py:227
Methodtest_unset_config_uses_pydantic_default
A model with no serialize config uses Pydantic's field-name default.
tests/tools/tool/test_results.py:312
Methodtest_unsupported_method_raises
(self)
tests/server/auth/oauth_proxy/test_upstream_client.py:70
Methodtest_unsupported_pattern_preserved_in_schema_extra
The original pattern is preserved via json_schema_extra.
tests/utilities/json_schema_type/test_json_schema_type.py:330
Methodtest_untrusted_issuer_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:450
Methodtest_unversioned_always_passes
Unversioned components pass through any filter.
tests/server/versioning/test_filtering.py:131
Methodtest_unversioned_bypasses_version_filter
Unversioned components pass through any VersionFilter - by design.
tests/server/versioning/test_filtering.py:563
Methodtest_unversioned_components_do_not_crash_tiebreak
(self)
tests/server/versioning/test_versioning.py:145
Methodtest_unversioned_components_excluded_from_list
(self)
tests/server/versioning/test_versioning.py:454
Methodtest_unversioned_components_have_no_version
Components without version should have version=None.
tests/fs/test_discovery.py:469
Methodtest_unversioned_does_not_match_version_spec
Unversioned components (version=None) don't match a VersionSpec.
tests/server/transforms/test_visibility.py:58
Methodtest_unversioned_matches_any_version_spec
VersionSpec.matches(None) returns True for any spec.
tests/server/versioning/test_filtering.py:602
Methodtest_unversioned_no_versions_list
Unversioned components should not have versions list in meta.
tests/server/versioning/test_calls.py:160
Methodtest_unversioned_returned_for_exact_version_request
Requesting exact version of unversioned tool returns the tool.
tests/server/versioning/test_filtering.py:588
Methodtest_unwired_session_call_raises_unexpected_claimed
Regression guard for the half-wired bug: the raw session path raises. With the claim registered, calling `session.call_tool` directly (FastMC
tests/client/test_client_extensions.py:275
Methodtest_unwrapped_result_has_no_meta_flag
Unwrapped dict results do not include wrap_result in meta.
tests/server/providers/local_provider_tools/test_output_schema.py:283
Methodtest_unwraps_multiauth_with_azure_server
When auth is a MultiAuth wrapping an AzureProvider, return the inner provider.
tests/server/auth/providers/test_azure_scopes.py:831
Methodtest_update_default_scopes_applies_to_dcr_registration
DCR clients without scope should receive the updated default scopes.
tests/server/auth/oauth_proxy/test_client_registration.py:246
Methodtest_update_default_scopes_no_cimd_manager
update_default_scopes should work when CIMD is disabled (no manager).
tests/server/auth/oauth_proxy/test_oauth_proxy.py:178
Methodtest_update_default_scopes_updates_cimd_manager
update_default_scopes should update CIMD manager's default_scope.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:126
Methodtest_update_default_scopes_updates_registration_options
update_default_scopes should update client registration scope options.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:146
Methodtest_update_default_scopes_updates_scope_str
update_default_scopes should update the internal default scope string.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:108
Methodtest_upstream_claims_not_mutated_on_cached_token
( self, proxy, mock_verifier )
tests/server/auth/oauth_proxy/test_tokens.py:1714
Methodtest_upstream_claims_propagated
(self, proxy)
tests/server/auth/oauth_proxy/test_tokens.py:1706
Methodtest_upstream_client_id_inherits_allowed_redirect_uris
Synthetic upstream client respects the proxy's redirect URI restrictions.
tests/server/auth/oauth_proxy/test_client_registration.py:523
Methodtest_upstream_client_id_returns_synthetic_client
Clients that skip DCR and use upstream client_id directly are accepted.
tests/server/auth/oauth_proxy/test_client_registration.py:514
Methodtest_upstream_token_expiry_preserved_for_transparent_refresh
Decoupling must not corrupt the upstream token's real expiry. The stored upstream token still expires at ~upstream expires_in so that
tests/server/auth/oauth_proxy/test_tokens.py:901
Methodtest_uri_invalid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:78
Methodtest_uri_reference_invalid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:93
Methodtest_uri_reference_relative_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:88
Methodtest_uri_reference_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:83
Methodtest_uri_valid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:73
Methodtest_url
(self)
tests/cli/test_generate_cli.py:399
Methodtest_url_building
Test URL building with different base URLs.
tests/utilities/openapi/test_director.py:312
← previousnext →12,701–12,800 of 13,374, ranked by callers