MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_calls_tokeninfo_endpoint
verify_token calls the tokeninfo endpoint, not the userinfo endpoint, for verification.
tests/server/auth/providers/test_google.py:505
Methodtest_camel_case
(self)
tests/cli/test_generate_cli.py:717
Methodtest_can_disable_host_origin_protection
(self)
tests/server/http/test_http_auth_middleware.py:419
Methodtest_cancel_mounted_task
(self)
tests/tasks/server/test_task_mount.py:528
Functiontest_cancel_parked_task_reports_cancelled_and_refuses_resume
Cancelling an `input_required` task actually cancels it. A parked guard leg's Docket execution is already COMPLETED, so cancelling only that
tests/tasks/server/test_guard_reentrant.py:83
Functiontest_cancel_transitions_task_to_cancelled
()
tests/tasks/server/test_extension.py:271
Methodtest_cancelled_connection_task_is_cleaned_up
(self)
tests/client/test_stdio.py:166
Functiontest_cancelled_context_entry_waiter_does_not_close_active_session
( fastmcp_server, )
tests/client/client/test_client.py:545
Methodtest_cancelled_scope_still_stops_unshared_subprocess
(self, stdio_script)
tests/client/test_stdio.py:359
Functiontest_canonical_multi_client_with_transforms
Test that transforms are not applied to servers in a canonical MCPConfig.
tests/test_mcp_config.py:984
Methodtest_cant_call_disabled_tool
(self)
tests/server/providers/local_provider_tools/test_enabled.py:122
Methodtest_cant_get_disabled_prompt
(self)
tests/server/providers/test_local_provider_prompts.py:408
Methodtest_cant_read_disabled_resource
(self)
tests/server/providers/test_local_provider_resources.py:825
Methodtest_cant_read_disabled_template
(self)
tests/server/providers/test_local_provider_resources.py:983
Methodtest_capabilities_include_ui_extension
(self)
tests/test_apps.py:401
Functiontest_capability_absent_without_extension
()
tests/tasks/server/test_extension.py:91
Functiontest_capability_absent_without_handler
(mode)
tests/server/test_completions.py:85
Functiontest_capability_absent_without_registration
A server with no extensions advertises none of its own.
tests/server/test_extensions.py:81
Functiontest_capability_advertised_to_modern_client
()
tests/tasks/server/test_extension.py:78
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
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:218
Methodtest_chain_shortfall_drops_already_granted_scope
(self)
tests/server/auth/test_authorization.py:1342
Methodtest_chain_shortfall_spans_consecutive_scope_only_layers
(self)
tests/server/auth/test_authorization.py:1447
Methodtest_chain_shortfall_stops_at_unevaluated_opaque_layer
(self)
tests/server/auth/test_authorization.py:1417
Methodtest_chain_shortfall_withholds_scopes_of_opaque_sibling
(self)
tests/server/auth/test_authorization.py:1390
Methodtest_chained_transforms_inline_types
Test that chained transformations produce correct schemas with $ref/$defs.
tests/tools/tool_transform/test_schemas.py:481
Methodtest_challenge_includes_resource_metadata
( self, rsa_key_pair: RSAKeyPair, base_url: str, resource_base_url: str | None )
tests/contrib/test_component_manager.py:974
Methodtest_challenge_scope_translation_falls_back_for_protocol_verifier
(self)
tests/server/auth/test_remote_auth_provider.py:205
Methodtest_challenge_scopes_not_translated_by_multiple_verifiers
(self)
tests/server/auth/test_multi_auth.py:165
Methodtest_challenge_scopes_respect_required_scopes_override
(self)
tests/server/auth/test_multi_auth.py:181
Methodtest_challenge_scopes_translated_by_single_verifier
(self)
tests/server/auth/test_multi_auth.py:154
Methodtest_challenge_without_base_url_has_no_resource_metadata
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:1000
Methodtest_change_instruction
(self)
tests/server/test_server.py:22
Functiontest_changed_notes_format_fails_visibly
(monkeypatch: pytest.MonkeyPatch)
tests/scripts/test_release_contributor_credit.py:154
Functiontest_chat_completion_to_create_message_result
()
tests/client/sampling/handlers/test_openai_handler.py:295
Methodtest_child_is_subclass_of_parent
Test that a child class is recognized as a subclass of its parent.
tests/utilities/test_types.py:110
Methodtest_child_not_mutated_by_mount
Mounting should not mutate the child server's mask setting.
tests/server/mount/test_mount.py:626
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:839
Methodtest_choice
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:235
Methodtest_choose_returns_structured_content
(self)
tests/apps/test_choice.py:8
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:516
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_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:632
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
Methodtest_class_is_subclass_of_itself
Test that a class is a subclass of itself.
tests/utilities/test_types.py:114
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:467
Methodtest_claude_code_basic
Test basic claude-code install command parsing.
tests/cli/test_install.py:43
Methodtest_claude_code_with_new_options
Test claude-code install with new uv options.
tests/cli/test_install.py:75
Methodtest_claude_code_with_options
Test claude-code install with various options.
tests/cli/test_install.py:55
Methodtest_claude_desktop_basic
Test basic claude-desktop install command parsing.
tests/cli/test_install.py:100
Methodtest_claude_desktop_with_config_path
Test claude-desktop install with custom config path.
tests/cli/test_install.py:148
Methodtest_claude_desktop_with_env_vars
Test claude-desktop install with environment variables.
tests/cli/test_install.py:110
Methodtest_claude_desktop_with_new_options
Test claude-desktop install with new uv options.
tests/cli/test_install.py:127
Methodtest_claude_desktop_without_config_path
Test claude-desktop install without config path defaults to None.
tests/cli/test_install.py:156
Methodtest_claude_skills_provider_path
Test ClaudeSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:76
Methodtest_clean_exit_recovers
Recovery works when the subprocess exits cleanly (exit code 0), not just crashes.
tests/client/test_stdio.py:613
Methodtest_clean_schema_output_no_unused_defs
Test that unused schema definitions are removed from tool schemas.
tests/server/providers/openapi/test_server.py:233
Methodtest_cleanup_expired_before_eviction
(self)
tests/utilities/test_token_cache.py:180
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:347
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:630
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:474
Methodtest_cli_filename_in_utility_commands
(self)
tests/cli/test_generate_cli.py:859
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:333
Methodtest_client_accepts_none_auth_for_transports_without_auth_support
(self)
tests/client/transports/test_transports.py:38
Methodtest_client_accepts_timedelta_or_float_timeout
(self, server, timeout)
tests/test_compat.py:246
Methodtest_client_and_server_share_same_session_id
Client and server spans should have the same session ID.
tests/client/telemetry/test_client_tracing.py:651
Methodtest_client_and_server_spans_created
Both client and server should create spans for the same operation.
tests/client/telemetry/test_client_tracing.py:240
Methodtest_client_automatic_deserialization_with_dataclass_result
Test that clients automatically deserialize dataclass results from structured content.
tests/tools/tool/test_content.py:526
Methodtest_client_automatic_deserialization_with_dict_result
Test that clients automatically deserialize dict results from structured content.
tests/tools/tool/test_content.py:503
Methodtest_client_binds_provider_from_url
(self)
tests/client/auth/test_client_credentials.py:660
Methodtest_client_cancelled_notification_reaches_on_message
A ``notifications/cancelled`` from the client is observed by ``on_message`` and ``on_notification`` — it never reaches a FastMCP handl
tests/server/middleware/test_message_visibility.py:90
Methodtest_client_completes_tool_call_with_protection_enabled
( self, protected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:224
← previousnext →6,801–6,900 of 13,374, ranked by callers