MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Methodtest_settings_property_removed
(self)
tests/deprecated/test_deprecated.py:12
Functiontest_shadowed_file_hides_skill
()
tests/skills/test_provider.py:168
Methodtest_shadowed_registered_tool_is_not_listed
Listing and calling agree when an injected tool shadows a registered one.
tests/server/middleware/test_tool_injection.py:437
Functiontest_shared_aggregate_checks_every_active_server_and_releases_scopes
()
tests/server/test_provider_extensions.py:659
Functiontest_shared_all_of_references_do_not_hang_projection
()
tests/server/providers/openapi/test_write_only_responses.py:332
Methodtest_shared_async_context_manager
Shared dependency from an async context manager stays open across calls.
tests/server/test_dependencies.py:1070
Methodtest_shared_async_function
Shared dependency from an async function resolves and is reused.
tests/server/test_dependencies.py:1044
Functiontest_shared_body_members_advertise_and_send_declared_fields
()
tests/utilities/openapi/test_composition_graphs.py:51
Functiontest_shared_child_keeps_second_roots_restrictions_after_first_exits
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:143
Functiontest_shared_child_rejection_leaves_its_registrations_unchanged
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:176
Methodtest_shared_excluded_from_schema
Shared dependencies are not exposed in the tool schema.
tests/server/test_dependencies.py:1131
Methodtest_shared_in_prompt
Shared dependencies work in prompt functions.
tests/server/test_dependencies.py:1169
Methodtest_shared_in_resource
Shared dependencies work in resource functions.
tests/server/test_dependencies.py:1147
Functiontest_shared_members_are_collected_once
()
tests/utilities/openapi/test_composition_graphs.py:24
Functiontest_shared_mounted_aggregate_checks_every_root
( bundle: BundledLocalProvider, wrapped: bool )
tests/server/test_extension_runtime.py:100
Functiontest_shared_mounted_child_accepts_bundle_supported_by_all_roots
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:127
Methodtest_shared_pattern_cache_is_bounded
Template strings can come from a proxied server, so the shared cache must not grow with every template a remote ever sends.
tests/resources/test_resource_template.py:949
Methodtest_shared_references_are_converted_once
( self, monkeypatch: pytest.MonkeyPatch )
tests/utilities/json_schema_type/test_generated_classes.py:504
Methodtest_shared_resolves_on_task_capable_server
Shared() dependencies resolve on a normal request even when the server has task-enabled components. When pydocket is installed AND a
tests/server/test_dependencies.py:1197
Methodtest_shared_sync_function
Shared dependency from a sync function resolves and is reused.
tests/server/test_dependencies.py:1018
Methodtest_shared_with_depends
Shared and Depends can coexist in the same tool.
tests/server/test_dependencies.py:1099
Functiontest_short_arrays_under_typed_additional_properties
Missing prefix positions stay optional when the enclosing object validates defaults for its typed additional properties.
tests/utilities/json_schema_type/test_prefix_items.py:325
Methodtest_shortfall_names_only_unmet_scopes
(self)
tests/server/auth/test_authorization.py:1233
Methodtest_shortfall_union_drops_already_granted_scope
(self)
tests/server/auth/test_authorization.py:1315
Methodtest_shortfall_unions_across_middleware_chain
(self)
tests/server/auth/test_authorization.py:1335
Methodtest_shortfall_unions_every_unmet_scope_check
(self)
tests/server/auth/test_authorization.py:1293
Functiontest_should_close_non_maintainer_issue_without_author_activity
()
tests/scripts/test_auto_close_needs_mre.py:38
Functiontest_should_not_close_maintainer_issues
(author_association: str)
tests/scripts/test_auto_close_needs_mre.py:25
Functiontest_should_not_close_non_maintainer_issue_with_author_activity
()
tests/scripts/test_auto_close_needs_mre.py:51
Methodtest_should_retry_checks_cause_chain
Retry should match on __cause__ since FastMCP wraps tool errors. When a tool raises ConnectionError, FastMCP catches it and raises To
tests/server/middleware/test_error_handling.py:370
Methodtest_should_retry_false
Test retry decision for non-retryable errors.
tests/server/middleware/test_error_handling.py:363
Methodtest_should_retry_true
Test retry decision for retryable errors.
tests/server/middleware/test_error_handling.py:356
Methodtest_show_banner_defaults_to_setting_true
Test that show_banner=None uses the setting (default True).
tests/server/test_server.py:362
Methodtest_show_banner_explicit_false_overrides_setting
Test that explicit show_banner=False overrides True setting.
tests/server/test_server.py:395
Methodtest_show_banner_explicit_true_overrides_setting
Test that explicit show_banner=True overrides False setting.
tests/server/test_server.py:384
Methodtest_show_banner_respects_setting_false
Test that show_banner=None uses the setting when False.
tests/server/test_server.py:372
Methodtest_show_server_banner_setting
Test that show_server_banner setting works with environment variable.
tests/cli/test_cli.py:396
Methodtest_shutdown_failure_does_not_mask_body_error
A broken teardown must never hide the failure the caller actually cares about.
tests/utilities/test_asgi_transport.py:166
Methodtest_shutdown_failure_raises
(self)
tests/utilities/test_asgi_transport.py:155
Functiontest_sibling_dependency_resolves_once
A CallArgument reference to a dependency-backed sibling shares one value.
tests/server/test_call_arguments.py:120
Functiontest_sibling_keywords_come_from_the_referenced_definition
()
tests/utilities/test_json_schema_expansion.py:261
Functiontest_signature_rejections_leave_cached_key_available
( key_data: dict[str, Any], rsa_key_pair: RSAKeyPair )
tests/server/auth/test_jwks_refresh.py:158
Methodtest_signed_assertion_flow
(self)
tests/client/auth/test_client_credentials.py:631
Functiontest_signed_assertion_reaches_refresh_grant
( token_client: TestClient, rsa_key_pair: RSAKeyPair, include_client_id: bool, grant_type: str
tests/server/auth/test_private_key_jwt_auth.py:85
Functiontest_simple_array_preserves_omission_and_explicit_values
( arguments: list[str], expected: list[str] )
tests/cli/test_generate_cli_empty_arrays.py:67
Methodtest_simple_boolean
(self)
tests/cli/test_generate_cli.py:51
Methodtest_simple_command
(self)
tests/cli/test_client_commands.py:511
Methodtest_simple_defaults_empty_object
(self, simple_defaults)
tests/utilities/json_schema_type/test_advanced.py:279
Methodtest_simple_defaults_partial_override
(self, simple_defaults)
tests/utilities/json_schema_type/test_advanced.py:285
Methodtest_simple_direct_array_schema
Test route with direct array request body schema.
tests/utilities/openapi/test_direct_array_schemas.py:16
Functiontest_simple_initialization_hook
Test that the on_initialize hook is called.
tests/server/middleware/test_initialization_middleware.py:115
Methodtest_simple_integer
(self)
tests/cli/test_generate_cli.py:41
Methodtest_simple_merge
(self)
tests/utilities/json_schema_type/test_advanced.py:990
Methodtest_simple_name
(self)
tests/cli/test_generate_cli.py:758
Methodtest_simple_name
(self)
tests/cli/test_goose.py:17
Methodtest_simple_number
(self)
tests/cli/test_generate_cli.py:46
Methodtest_simple_output_schema
(self, annotation)
tests/server/providers/local_provider_tools/test_output_schema.py:48
Functiontest_simple_prompt
A simple prompt for conformance testing.
tests/conformance/server.py:798
Methodtest_simple_ref_to_non_object
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:386
Methodtest_simple_ref_to_object
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:377
Methodtest_simple_return_annotation
(self, annotation)
tests/tools/tool/test_output_schema.py:52
Functiontest_simple_sampling
(fastmcp_server: FastMCP)
tests/client/test_sampling.py:99
Methodtest_simple_string
(self)
tests/cli/test_generate_cli.py:36
Methodtest_simple_string
(self)
tests/cli/test_generate_cli.py:790
Functiontest_simple_text
A simple text tool for conformance testing.
tests/conformance/server.py:95
Methodtest_simple_with_context
(self)
tests/tools/test_tool_future_annotations.py:73
Methodtest_single_check_fails
(self)
tests/server/auth/test_authorization.py:307
Methodtest_single_check_passes
(self)
tests/server/auth/test_authorization.py:303
Functiontest_single_client_group_provides_namespacing_alone
()
tests/client/group/test_client_group.py:271
Methodtest_single_dot_segment_rejected
(self)
tests/server/auth/test_redirect_validation.py:522
Functiontest_single_human_coauthor_of_bot_pr_is_credited
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:184
Methodtest_single_json_object_as_positional
(self)
tests/cli/test_client_commands.py:287
Methodtest_single_modern_capable_server_is_not_forced_legacy
A single Streamable HTTP backend stays modern-capable under mode='auto'.
tests/test_mcp_config.py:128
Methodtest_single_path_as_list
Test that single path can be passed as a list.
tests/server/providers/test_skills_provider.py:945
Methodtest_single_path_as_string
Test that single path can be passed as string.
tests/server/providers/test_skills_provider.py:953
Methodtest_single_query_param
Test resource template with single query parameter.
tests/resources/test_resource_template_query_params.py:11
Methodtest_single_request_orders_by_choice_probability
(self)
tests/experimental/transforms/test_jev_search.py:142
Methodtest_single_round_completes
One full MRTR round: the server asks, the client's elicitation_handler answers, and the tool completes with the answered value.
tests/client/client/test_input_required_driver.py:99
Functiontest_single_schema_keyword_refs_are_rewritten
(keyword: str)
tests/utilities/openapi/test_subschema_keyword_refs.py:29
Functiontest_single_server_config_include_tags_filtering
include_tags should filter tools even with a single server in the config.
tests/test_mcp_config.py:1133
Methodtest_single_server_config_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1487
Functiontest_single_server_config_transform_added_tags_filtering
Tags added by a `tools` transform are visible to include_tags/exclude_tags on a single-server config, matching the multi-server behavior (#6196).
tests/test_mcp_config.py:1540
Functiontest_single_server_config_transport
Test that single-server configs delegate directly without creating a composite.
tests/test_mcp_config.py:1385
Functiontest_single_server_per_call_timeout_overrides_entry
( backend_sessions: list[ClientSession], server_entry: dict[str, Any] )
tests/client/transports/test_config_timeout.py:109
Functiontest_single_server_transform_added_tags_filtering_in_memory
Same as the subprocess test above, but in-memory so it runs everywhere. The transforming single-server path must apply the `tools` transform
tests/test_mcp_config.py:1585
Methodtest_single_sse_server_mirrors_legacy_only
A single SSE backend is legacy-only because SSE cannot serve modern.
tests/test_mcp_config.py:137
Methodtest_single_verifier_not_in_list
A single TokenVerifier (not in a list) is accepted.
tests/server/auth/test_multi_auth.py:97
Methodtest_size_budget_evicts_large_schemas
(self, monkeypatch: pytest.MonkeyPatch)
tests/utilities/json_schema_type/test_generated_classes.py:615
Methodtest_size_limit_enforced_during_streaming
Verify that size limit is enforced as chunks are received, not after.
tests/server/auth/test_ssrf_protection.py:522
Functiontest_skill_accepts_dynamic_resources
()
tests/skills/test_models.py:128
Functiontest_skill_accepts_non_skill_scheme_and_nested_path
()
tests/skills/test_models.py:139
Functiontest_skill_client_cache_mode_bypass_reaches_server
()
tests/skills/test_extension.py:267
Functiontest_skill_client_cache_serves_list_and_keys_get_by_uri
()
tests/skills/test_extension.py:237
Methodtest_skill_contains_tools
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:713
Methodtest_skill_file_resource_meta
SkillFileResource populates meta with skill name.
tests/server/providers/test_skills_provider.py:491
Functiontest_skill_is_exported_from_fastmcp
()
tests/skills/test_skill.py:203
Functiontest_skill_is_immutable
()
tests/skills/test_skill.py:170
Methodtest_skill_meta_survives_mounting
Skill metadata in _meta is preserved when accessed through a mounted server.
tests/server/providers/test_skills_provider.py:502
Functiontest_skill_nested_in_another_roots_skill_is_skipped
(tmp_path: Path)
tests/skills/test_directory_provider.py:114
Functiontest_skill_preserves_protocol_metadata
()
tests/skills/test_models.py:255
← previousnext →14,201–14,300 of 16,224, ranked by callers