MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Functiontest_capability_advertised_to_modern_client
A registered extension's settings appear under capabilities.extensions. Uses ``mode='auto'`` so the client negotiates the modern era via ``se
tests/server/test_extensions.py:59
Functiontest_capability_declared_when_handler_registered
(completion_server, mode)
tests/server/test_completions.py:77
Methodtest_capability_error_propagates_as_protocol_error
(self)
tests/test_exceptions.py:128
Functiontest_capability_sniff_empty_settings_is_opt_in
An empty settings dict is a valid opt-in, distinct from absence (None).
tests/server/test_extensions.py:433
Functiontest_capability_sniff_reads_declared_settings
()
tests/server/test_extensions.py:424
Functiontest_capability_sniff_returns_none_when_not_opted_in
(meta)
tests/server/test_extensions.py:448
Methodtest_case_collision
(self)
tests/cli/test_generate_cli.py:1064
Functiontest_catalog_fallback_retains_provider_lookup
()
tests/server/providers/test_catalog_tool_names.py:109
Functiontest_catalog_names_select_the_app_tool_version
(namespace: bool)
tests/server/providers/test_catalog_tool_names.py:76
Functiontest_catalog_names_work_for_name_and_app_calls
(namespace: bool)
tests/server/providers/test_catalog_tool_names.py:33
Functiontest_categories_brief_shows_tag_counts
()
tests/experimental/transforms/test_code_mode_discovery.py:91
Functiontest_categories_detail_override_per_call
LLM can override default_detail on a per-call basis.
tests/experimental/transforms/test_code_mode_discovery.py:193
Functiontest_categories_full_lists_tools_per_tag
()
tests/experimental/transforms/test_code_mode_discovery.py:119
Functiontest_categories_includes_untagged
()
tests/experimental/transforms/test_code_mode_discovery.py:147
Functiontest_categories_tool_in_multiple_tags
()
tests/experimental/transforms/test_code_mode_discovery.py:171
Methodtest_cgnat_blocked
Fetch to RFC6598 CGNAT IP should be blocked.
tests/server/auth/test_ssrf_protection.py:240
Methodtest_chain_shortfall_drops_already_granted_scope
(self)
tests/server/auth/test_authorization.py:1359
Methodtest_chain_shortfall_spans_consecutive_scope_only_layers
(self)
tests/server/auth/test_authorization.py:1464
Methodtest_chain_shortfall_stops_at_unevaluated_opaque_layer
(self)
tests/server/auth/test_authorization.py:1434
Methodtest_chain_shortfall_withholds_scopes_of_opaque_sibling
(self)
tests/server/auth/test_authorization.py:1407
Methodtest_chained_transforms_inline_types
Test that chained transformations produce correct schemas with $ref/$defs.
tests/tools/tool_transform/test_schemas.py:656
Methodtest_challenge_includes_resource_metadata
( self, rsa_key_pair: RSAKeyPair, base_url: str, resource_base_url: str | None )
tests/contrib/test_component_manager.py:1026
Methodtest_challenge_names_resource_metadata_the_provider_serves
( self, transport: Literal["http", "sse"] )
tests/server/http/test_http_auth_middleware.py:240
Methodtest_challenge_scope_translation_falls_back_for_protocol_verifier
(self)
tests/server/auth/test_remote_auth_provider.py:207
Methodtest_challenge_scopes_keep_override_matching_server_default
(self)
tests/server/auth/test_multi_auth.py:245
Methodtest_challenge_scopes_not_translated_by_multiple_verifiers
(self)
tests/server/auth/test_multi_auth.py:204
Methodtest_challenge_scopes_respect_required_scopes_override
(self)
tests/server/auth/test_multi_auth.py:222
Methodtest_challenge_scopes_translated_by_single_verifier
(self)
tests/server/auth/test_multi_auth.py:193
Methodtest_challenge_scopes_use_server_default_selection
(self)
tests/server/auth/test_multi_auth.py:240
Methodtest_challenge_without_base_url_has_no_resource_metadata
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:1052
Methodtest_change_instruction
(self)
tests/server/test_server.py:22
Methodtest_changed_issuer_does_not_reuse_cached_token
( self, provider_type, previous_issuer )
tests/client/auth/test_client_credentials.py:309
Methodtest_changed_key_does_not_reuse_encrypted_tokens
( self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_client_commands.py:654
Functiontest_changed_list_items_replace_incompatible_parent_schema
A string-list transform must advertise the string input it converts for the parent.
tests/tools/tool_transform/test_schema_compatibility.py:84
Functiontest_changed_notes_format_fails_visibly
(monkeypatch: pytest.MonkeyPatch)
tests/scripts/test_release_contributor_credit.py:154
Functiontest_changed_root_is_not_reused
(model: bool)
tests/utilities/json_schema_type/test_caching.py:73
Functiontest_chat_completion_to_create_message_result
()
tests/client/sampling/handlers/test_openai_handler.py:354
Functiontest_chat_completion_to_create_message_result_maps_stop_reason
Without tools, a reply cut off at max_tokens must say so too.
tests/client/sampling/handlers/test_openai_handler.py:387
Functiontest_child_attached_as_provider_notify_reaches_parent_listeners
( server: FastMCP, attach )
tests/server/test_subscriptions.py:305
Methodtest_child_cancellation
(self, return_exceptions: bool)
tests/utilities/test_async_utils.py:61
Methodtest_child_cancellation_cleans_up_siblings
(self)
tests/utilities/test_async_utils.py:73
Methodtest_child_is_subclass_of_parent
Test that a child class is recognized as a subclass of its parent.
tests/utilities/test_types.py:111
Methodtest_child_not_mutated_by_mount
Mounting should not mutate the child server's mask setting.
tests/server/mount/test_mount.py:751
Functiontest_child_provider_lifespan_accepts_root_supported_bundle
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:80
Methodtest_child_required_scopes_checked_against_parent_token
( self, rsa_key_pair: RSAKeyPair, token_scopes: list[str], expected_status: in
tests/contrib/test_component_manager.py:891
Functiontest_child_rules_stay_isolated_and_reset
( mode: Literal["auto", "legacy"], )
tests/server/mount/test_session_visibility.py:117
Functiontest_child_session_enable_allows_dispatch
( mode: Literal["auto", "legacy"], nested: bool, component: str )
tests/server/mount/test_session_visibility.py:17
Functiontest_child_session_enable_allows_hashed_app_dispatch
( mode: Literal["auto", "legacy"], )
tests/server/mount/test_session_visibility.py:90
Methodtest_choice
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:382
Functiontest_choice_shorthand_accepts_offered_choices
(response_type, valid, invalid)
tests/client/test_elicitation_enums.py:424
Functiontest_choice_shorthand_rejects_values_not_offered
(response_type, valid, invalid)
tests/client/test_elicitation_enums.py:433
Methodtest_choose_returns_structured_content
(self)
tests/apps/test_choice.py:8
Functiontest_ci_off_main_without_a_pr_is_ignored
(receiver)
tests/test_floor_receiver.py:194
Functiontest_ci_run_on_main_is_one_record_that_only_moves_forward
(receiver)
tests/test_floor_receiver.py:174
Methodtest_cimd_client_is_not_persisted
URL-derived clients should not grow the persistent DCR registry.
tests/server/auth/oauth_proxy/test_client_registration.py:110
Methodtest_cimd_document_attached_to_client
The fetched CIMDDocument is attached to the created client.
tests/server/auth/test_cimd_validators.py:752
Methodtest_cimd_empty_proxy_allowlist_rejects_redirect_uri
An explicit empty proxy allowlist should reject all CIMD redirect URIs.
tests/server/auth/test_oauth_proxy_redirect_validation.py:288
Methodtest_cimd_loopback_no_port_matches_dynamic_port
RFC 8252 §7.3: CIMD redirect_uris without port match any loopback port.
tests/server/auth/test_oauth_proxy_redirect_validation.py:264
Methodtest_cimd_manager_receives_valid_scopes
The CIMD manager must know the proxy's scope allowlist.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:147
Methodtest_cimd_manager_valid_scopes_fall_back_to_required_scopes
Without valid_scopes, required_scopes gate CIMD documents.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:164
Methodtest_cimd_none_redirect_uri_respects_proxy_patterns
CIMD fallback redirect_uri must still satisfy proxy allowlist patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:231
Methodtest_cimd_none_redirect_uri_single_exact
CIMD clients may omit redirect_uri only when a single exact URI exists.
tests/server/auth/test_oauth_proxy_redirect_validation.py:215
Methodtest_cimd_none_redirect_uri_wildcard_rejected
CIMD clients must specify redirect_uri when only wildcard patterns exist.
tests/server/auth/test_oauth_proxy_redirect_validation.py:248
Methodtest_cimd_redirect_uris_enforced
Test that CIMD document redirect_uris are enforced. Even if proxy patterns allow http://localhost:*, a CIMD client should only accept
tests/server/auth/test_cimd_validators.py:868
Methodtest_circular_output_schema_serialization
Output schemas with self-referential types must survive model_dump(). This is the exact crash from issue #3242: Pydantic raises Value
tests/utilities/openapi/test_circular_references.py:70
Methodtest_circular_references_handled
Circular references (A→B→A) must be handled without infinite loops.
tests/utilities/openapi/test_transitive_references.py:462
Functiontest_claims_only_subjects_keep_user_ownership_separate
()
tests/server/auth/test_auth_source_identities.py:267
Methodtest_class_is_subclass_of_itself
Test that a class is a subclass of itself.
tests/utilities/test_types.py:115
Functiontest_class_with_methods
Test that class methods are not included in the schema
tests/utilities/test_typeadapter.py:260
Methodtest_classes_from_one_conversion_are_charged_for_its_root_schema
( self, monkeypatch: pytest.MonkeyPatch )
tests/utilities/json_schema_type/test_generated_classes.py:707
Methodtest_classes_referencing_a_large_definition_are_charged_for_it
( self, monkeypatch: pytest.MonkeyPatch, additional_properties: bool )
tests/utilities/json_schema_type/test_generated_classes.py:720
Methodtest_classmethod
(self)
tests/tools/tool/test_tool.py:556
Methodtest_claude_code_basic
Test basic claude-code install command parsing.
tests/cli/test_install.py:46
Methodtest_claude_code_with_new_options
Test claude-code install with new uv options.
tests/cli/test_install.py:78
Methodtest_claude_code_with_options
Test claude-code install with various options.
tests/cli/test_install.py:58
Methodtest_claude_desktop_basic
Test basic claude-desktop install command parsing.
tests/cli/test_install.py:103
Methodtest_claude_desktop_preserves_non_ascii_values_from_existing_config
Re-installing a server must not rewrite its env values through the locale codec.
tests/cli/test_install.py:226
Methodtest_claude_desktop_with_config_path
Test claude-desktop install with custom config path.
tests/cli/test_install.py:151
Methodtest_claude_desktop_with_env_vars
Test claude-desktop install with environment variables.
tests/cli/test_install.py:113
Methodtest_claude_desktop_with_new_options
Test claude-desktop install with new uv options.
tests/cli/test_install.py:130
Methodtest_claude_desktop_without_config_path
Test claude-desktop install without config path defaults to None.
tests/cli/test_install.py:159
Methodtest_claude_skills_provider_path
Test ClaudeSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:84
Methodtest_clean_exit_recovers
Recovery works when the subprocess exits cleanly (exit code 0), not just crashes.
tests/client/test_stdio.py:817
Methodtest_clean_schema_output_no_unused_defs
Test that unused schema definitions are removed from tool schemas.
tests/server/providers/openapi/test_server.py:234
Methodtest_clean_shutdown
(self, holder: str)
tests/server/test_server_lifespan.py:717
Methodtest_cleanup_expired_before_eviction
(self)
tests/utilities/test_token_cache.py:217
Methodtest_clear_empties_and_keeps_collection_usable
(self)
tests/client/client/test_kv_response_cache.py:142
Methodtest_clear_keeps_the_session_but_empties_state
(self)
tests/server/test_sessions.py:212
Methodtest_clear_keeps_the_session_valid
`session.clear()` empties state but the session still resolves.
tests/server/test_session_provider.py:400
Methodtest_clear_removes_everything
(self)
tests/server/test_sessions.py:116
Methodtest_clear_removes_token_expiry
clear() should also remove the stored token expiry.
tests/client/auth/test_oauth_client.py:655
Methodtest_clear_scoped_to_own_collection
Two adapters over one backend clear independently.
tests/client/client/test_kv_response_cache.py:164
Methodtest_clear_visibility_rules
Test that reset_visibility removes all session rules.
tests/server/test_session_visibility.py:241
Methodtest_clear_visibility_rules_sends_notifications
Test that reset_visibility sends notifications.
tests/server/test_session_visibility.py:461
Methodtest_clerk_user_data_in_claims
The full userinfo response is stored in clerk_user_data claim.
tests/server/auth/providers/test_clerk.py:514
Methodtest_cli_filename_in_utility_commands
(self)
tests/cli/test_generate_cli.py:923
Functiontest_client
(auth_app)
tests/server/test_auth_integration_errors.py:224
Functiontest_client
(auth_app)
tests/server/test_auth_integration.py:229
Methodtest_client_abandoned_by_cancellation_does_not_wedge_transport
A Client exited by a cancelled scope, once garbage-collected, must not leave the transport unusable for the next Client, and must stop its
tests/client/test_stdio.py:419
Methodtest_client_accepts_none_auth_for_transports_without_auth_support
(self)
tests/client/transports/test_transports.py:40
← previousnext →9,101–9,200 of 17,519, ranked by callers