MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodtest_mutual_circular_references_serialization
Mutually circular schemas (A→B→A) must survive serialization.
tests/utilities/openapi/test_circular_references.py:116
Functiontest_mutual_recursion_keeps_distinct_types
(model: bool, titles: bool)
tests/utilities/json_schema_type/test_recursive_hydration.py:31
Methodtest_mutual_recursion_multiple_levels
(self, mutually_recursive)
tests/utilities/json_schema_type/test_advanced.py:399
Methodtest_mutual_recursion_single_level
(self, mutually_recursive)
tests/utilities/json_schema_type/test_advanced.py:390
Functiontest_mutual_recursion_with_root_reference
(model: bool)
tests/utilities/json_schema_type/test_recursive_hydration.py:82
Methodtest_name_accumulates_through_nested_mounts
(self)
tests/server/providers/test_prefab_roundtrip.py:316
Methodtest_name_caching_with_different_titles
Ensure schemas with different titles create different cached classes
tests/utilities/json_schema_type/test_advanced.py:1227
Methodtest_name_collision_disambiguation
Properties that sanitize to the same parameter name are disambiguated like colliding flags are, instead of aborting the whole script.
tests/cli/test_generate_cli.py:365
Methodtest_name_from_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1165
Methodtest_name_only_allowed_for_objects
(self)
tests/utilities/json_schema_type/test_advanced.py:1188
Methodtest_name_override_does_not_reuse_stale_nested_class
(self)
tests/utilities/json_schema_type/test_advanced.py:554
Functiontest_named_call_argument_reads_tool_parameter
CallArgument("name") reads a tool parameter with a different name.
tests/server/test_call_arguments.py:32
Functiontest_named_oauth_server_is_quiet
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_client_commands.py:749
Functiontest_named_sources_preserve_raw_fields_and_source_token
()
tests/server/auth/test_auth_source_identities.py:66
Functiontest_names_are_nonempty_and_unambiguous
(name: str)
tests/server/auth/test_auth_source_identities.py:106
Methodtest_namespace_get_resource
Test that resources can be looked up by transformed URI.
tests/server/providers/test_transforming_provider.py:289
Methodtest_namespace_get_resource_template_with_hostless_uri
Same for templates, which share the URI reversal.
tests/server/providers/test_transforming_provider.py:330
Methodtest_namespace_get_resource_with_hostless_uri
A URI with no protocol://path is listed unprefixed, so it must resolve as-is.
tests/server/providers/test_transforming_provider.py:308
Methodtest_namespace_get_tool
Test that tools can be looked up by transformed name.
tests/server/providers/test_transforming_provider.py:250
Methodtest_namespace_prefixes_prompt_names
Test that namespace is applied as prefix to prompt names.
tests/server/providers/test_transforming_provider.py:37
Methodtest_namespace_prefixes_resource_uris
Test that namespace is inserted into resource URIs.
tests/server/providers/test_transforming_provider.py:54
Methodtest_namespace_prefixes_template_uris
Test that namespace is inserted into resource template URIs.
tests/server/providers/test_transforming_provider.py:71
Methodtest_namespace_prefixes_tool_names
Test that namespace is applied as prefix to tool names.
tests/server/providers/test_transforming_provider.py:19
Methodtest_namespace_prompt_result_without_links_is_unchanged
A prompt result with no resource links is returned as is.
tests/server/providers/test_transforming_provider.py:174
Methodtest_namespace_resource_link_rewrite_keeps_raw_structured_result
A proxied non-object structured result keeps its type and value.
tests/server/providers/test_transforming_provider.py:180
Methodtest_namespace_rewrites_resource_links_in_prompt_results
Resource links returned by namespaced prompts use the public URI.
tests/server/providers/test_transforming_provider.py:132
Methodtest_namespace_rewrites_resource_links_in_tool_results
Resource links returned by namespaced tools use the public URI.
tests/server/providers/test_transforming_provider.py:88
Methodtest_namespaced_app_backend_tool_round_trip
A FastMCPApp mounted with a namespace: the UI tool is called by its namespaced display name, the backend tool is called by its hashed
tests/server/providers/test_prefab_roundtrip.py:123
Methodtest_namespaced_display_name_also_works
Model-visible tools still resolve through Namespace as before.
tests/test_fastmcp_app.py:513
Functiontest_namespaced_file_read_does_not_alias_parent_resource
( mode: str, template: bool )
tests/server/mount/test_resources.py:362
Methodtest_namespaced_mount_still_synthesizes_resource
(self)
tests/server/providers/test_prefab_synthesis.py:222
Methodtest_namespaced_server_emits_its_namespaced_name
(self)
tests/server/providers/test_prefab_roundtrip.py:309
Methodtest_namespaced_task_rewrites_resource_link_results
(self)
tests/tasks/server/test_task_mount.py:117
Functiontest_namespaces_rewrite_every_uri
()
tests/skills/test_composition.py:63
Methodtest_nan_converted_by_custom_field_serializer_is_preserved
(self)
tests/tools/tool/test_nonfinite_serialization.py:102
Methodtest_nan_in_dict_raises_with_value_and_path
(self)
tests/tools/tool/test_nonfinite_serialization.py:55
Methodtest_nan_in_list_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:66
Methodtest_nan_in_nested_containers_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:77
Methodtest_nan_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:22
Methodtest_narrower_scopes_are_prompted
The remembered entry is the exact scope set, so a subset of it is a different request and is shown to the user once.
tests/server/auth/test_oauth_consent_remembered_key.py:167
Methodtest_native_accepts_app_and_private_use_schemes
Native clients keep every scheme outside the unsafe set. FastMCP deliberately does not try to classify a native client's scheme as "p
tests/server/auth/test_oauth_proxy_redirect_validation.py:669
Methodtest_native_accepts_entire_loopback_range
The widened loopback range cuts both ways: native gains 127.0.0.0/8.
tests/server/auth/test_oauth_proxy_redirect_validation.py:703
Methodtest_native_accepts_localhost_namespace
These are legitimate loopback dev callbacks and must not be rejected.
tests/server/auth/test_oauth_proxy_redirect_validation.py:782
Methodtest_native_accepts_loopback_and_custom_schemes
(self, uri: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:641
Methodtest_native_application_type_rejects_backslash_localhost
(self)
tests/server/auth/test_redirect_validation.py:860
Methodtest_native_by_default
(self)
tests/telemetry/test_interop.py:54
Methodtest_native_client_accepts_loopback
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:348
Methodtest_native_client_accepts_loopback_at_authorization
(self)
tests/server/auth/test_oauth_proxy_redirect_validation.py:575
Methodtest_native_client_with_loopback_accepted_over_http
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:485
Methodtest_native_client_without_redirect_uris_still_allowed
Native clients may still defer redirect_uris to authorization time.
tests/server/auth/oauth_proxy/test_client_registration.py:410
Functiontest_native_effect_discovery_and_lifespan
(bridge)
examples/smart_home/tests/test_lights.py:75
Methodtest_native_loopback_range_registers_then_authorizes_new_port
A native client on 127.0.0.2 keeps loopback port flexibility. Registration accepts the whole 127.0.0.0/8 range, and the stored client
tests/server/auth/oauth_proxy/test_client_registration.py:320
Functiontest_native_preserves_tool_middleware_parent
( trace_exporter: InMemorySpanExporter, )
tests/server/telemetry/test_span_links.py:146
Methodtest_native_rejects_non_loopback_cleartext_http
Native may use cleartext http only against a loopback host.
tests/server/auth/test_oauth_proxy_redirect_validation.py:651
Methodtest_native_rejects_plain_http_to_non_loopback_lookalikes
(self, uri: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:793
Functiontest_native_windows_cmd_wrapper_receives_literal_arguments
( installer: Installer, monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_install_cli_arguments.py:527
Methodtest_natively_cancelled_only_context_stops_the_session
A native cancellation, repeated by the awaiter's scope, must not stop the last exit from stopping the session.
tests/client/client/test_client.py:1212
Methodtest_needs_uv
Test needs_uv() method.
tests/cli/test_config.py:74
Methodtest_needs_uv_empty
Test that needs_uv returns False with empty config.
tests/utilities/test_cli.py:188
Methodtest_needs_uv_with_dependencies
Test that environment with dependencies needs UV.
tests/cli/test_mcp_server_config_integration.py:136
Methodtest_needs_uv_with_dependencies
Test that needs_uv returns True with dependencies.
tests/utilities/test_cli.py:168
Methodtest_needs_uv_with_editable
Test that needs_uv returns True with editable.
tests/utilities/test_cli.py:183
Methodtest_needs_uv_with_empty_lists
Test that needs_uv returns False with empty lists.
tests/utilities/test_cli.py:193
Methodtest_needs_uv_with_project
Test that needs_uv returns True with project.
tests/utilities/test_cli.py:178
Methodtest_needs_uv_with_python
Test that needs_uv returns True with Python version.
tests/utilities/test_cli.py:163
Methodtest_needs_uv_with_python_version
Test that environment with Python version needs UV.
tests/cli/test_mcp_server_config_integration.py:146
Methodtest_needs_uv_with_requirements
Test that needs_uv returns True with requirements.
tests/utilities/test_cli.py:173
Methodtest_negative_infinity_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:44
Methodtest_negative_max_cache_size_raises
Negative max_cache_size is a caller bug and should raise.
tests/server/auth/providers/test_introspection.py:617
Methodtest_negative_max_size_raises
(self)
tests/utilities/test_token_cache.py:45
Methodtest_negative_page_size_raises
Negative page size should raise ValueError.
tests/server/test_pagination.py:390
Methodtest_negative_ttl_ms_raises_validation_error
Negative ttl_ms raises ValidationError.
tests/resources/test_resources.py:304
Methodtest_negative_ttl_raises
(self)
tests/utilities/test_token_cache.py:41
Methodtest_neither_server_spec_nor_command_exits
(self)
tests/cli/test_client_commands.py:459
Methodtest_neither_unstructured_or_structured_content
(self, client)
tests/tools/tool/test_results.py:46
Methodtest_nested_accepts_valid
(self, nested_object)
tests/utilities/json_schema_type/test_containers.py:356
Methodtest_nested_additional_properties
Test nested objects with additionalProperties
tests/utilities/json_schema_type/test_advanced.py:1428
Methodtest_nested_annotated_with_member_is_member
Test that nested Annotated with a member class is a member.
tests/utilities/test_types.py:95
Methodtest_nested_array_mixed_types
(self, nested_union_array)
tests/utilities/json_schema_type/test_unions.py:108
Methodtest_nested_array_parameter
(self)
tests/cli/test_generate_cli.py:320
Methodtest_nested_array_rejects_invalid
(self, nested_union_array)
tests/utilities/json_schema_type/test_unions.py:113
Functiontest_nested_boolean_exclusive_bounds_are_converted
()
tests/utilities/openapi/test_exclusive_bounds.py:52
Functiontest_nested_child_setup_preserves_ancestor_interceptor_configuration
()
tests/server/test_provider_extensions.py:746
Methodtest_nested_class_named_like_root_does_not_shadow_root
(self)
tests/utilities/json_schema_type/test_advanced.py:491
Methodtest_nested_classes_depend_on_root_definitions
(self)
tests/utilities/json_schema_type/test_generated_classes.py:686
Functiontest_nested_client_with_another_timeout_shares_the_active_session
( sleepy_server: Path, first_timeout: float | None, second_timeout: float, caplog: pytest.LogC
tests/client/test_stdio_session_kwargs.py:60
Methodtest_nested_defaults_empty_object
(self, nested_defaults)
tests/utilities/json_schema_type/test_advanced.py:291
Methodtest_nested_defaults_partial_override
(self, nested_defaults)
tests/utilities/json_schema_type/test_advanced.py:297
Methodtest_nested_defs_non_object
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:410
Methodtest_nested_defs_path
Refs like #/$defs/Outer/$defs/Inner should walk into nested dicts.
tests/server/providers/local_provider_tools/test_output_schema.py:393
Functiontest_nested_dependencies
Test that dependencies can depend on other dependencies.
tests/server/test_dependencies.py:105
Methodtest_nested_direct_root_reference_points_at_root
(self)
tests/utilities/json_schema_type/test_advanced.py:755
Methodtest_nested_directory_structure
FileSystemProvider should work with nested directories.
tests/fs/test_provider.py:566
Methodtest_nested_exit_in_a_task_cancelled_by_its_awaiter
LangChain runs each tool call in its own task and awaits it, so a deadline on the caller reaches the call as a native cancellation, which can
tests/client/client/test_client.py:1159
Methodtest_nested_files_use_posix_paths
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:216
Methodtest_nested_grandchild_lifespan_runs
A grandchild's lifespan is entered exactly once and visible to its tools.
tests/server/mount/test_advanced.py:555
Methodtest_nested_merge
(self)
tests/utilities/json_schema_type/test_advanced.py:997
Methodtest_nested_model_validation
Test validation of nested models.
tests/utilities/openapi/test_models.py:364
Methodtest_nested_models_use_their_own_alias_configs
Nested models can independently enable and disable aliases.
tests/tools/tool/test_results.py:414
Methodtest_nested_mount_prefix_accumulation
(self)
tests/tasks/server/test_task_mount.py:412
← previousnext →12,801–12,900 of 17,519, ranked by callers