MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_namespace_get_resource_template_with_hostless_uri
Same for templates, which share the URI reversal.
tests/server/providers/test_transforming_provider.py:219
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:197
Methodtest_namespace_get_tool
Test that tools can be looked up by transformed name.
tests/server/providers/test_transforming_provider.py:139
Methodtest_namespace_prefixes_prompt_names
Test that namespace is applied as prefix to prompt names.
tests/server/providers/test_transforming_provider.py:33
Methodtest_namespace_prefixes_resource_uris
Test that namespace is inserted into resource URIs.
tests/server/providers/test_transforming_provider.py:50
Methodtest_namespace_prefixes_template_uris
Test that namespace is inserted into resource template URIs.
tests/server/providers/test_transforming_provider.py:67
Methodtest_namespace_prefixes_tool_names
Test that namespace is applied as prefix to tool names.
tests/server/providers/test_transforming_provider.py:15
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
Functiontest_namespaces_rewrite_every_uri
()
tests/skills/test_composition.py:62
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:690
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
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_raises
(self)
tests/utilities/test_token_cache.py:41
Methodtest_neither_server_spec_nor_command_exits
(self)
tests/cli/test_client_commands.py:458
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:1352
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:415
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:215
Methodtest_nested_defaults_partial_override
(self, nested_defaults)
tests/utilities/json_schema_type/test_advanced.py:221
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:679
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:921
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:340
Methodtest_nested_mounting
Test .well-known routes with deeply nested mounts. Uses CANONICAL pattern: base_url includes all mount prefixes.
tests/server/auth/test_oauth_mounting.py:155
Methodtest_nested_mounts_in_process
(self, trace_exporter: InMemorySpanExporter)
tests/server/telemetry/test_provider_tracing.py:226
Functiontest_nested_mounts_share_renderer_and_keep_backend_identity
()
tests/server/providers/test_prefab_sharing.py:85
Functiontest_nested_object_and_array_item_scopes_stay_separate
()
tests/server/providers/openapi/test_write_only_responses.py:352
Methodtest_nested_object_default_with_additional_properties
Nested object defaults are preserved when additionalProperties is True.
tests/utilities/json_schema_type/test_json_schema_type.py:203
Methodtest_nested_object_integer_id
(self, nested_union_object)
tests/utilities/json_schema_type/test_unions.py:124
Methodtest_nested_object_names
(self)
tests/utilities/json_schema_type/test_advanced.py:1117
Methodtest_nested_object_string_id
(self, nested_union_object)
tests/utilities/json_schema_type/test_unions.py:118
Methodtest_nested_object_structure_in_request_body
Test nested object structures in request body are preserved.
tests/server/providers/openapi/test_deepobject_style.py:276
Methodtest_nested_omitted_field_preserves_invalid_default
(self)
tests/utilities/json_schema_type/test_advanced.py:55
Methodtest_nested_partial_async
(self)
tests/utilities/test_async_utils.py:44
Methodtest_nested_partial_sync
(self)
tests/utilities/test_async_utils.py:48
Methodtest_nested_property_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:969
Methodtest_nested_ref_to_boolean_schema_is_inlined_as_is
A nested $ref resolving to a boolean schema is kept in place. jsonref replaces the property node with the boolean itself, which is a
tests/utilities/test_json_schema.py:426
Functiontest_nested_reference_in_referenced_property_is_resolved
()
tests/server/providers/openapi/test_body_ref_siblings.py:161
Methodtest_nested_refs_in_schema_definitions_converted
$refs inside schema definitions must be converted from OpenAPI to JSON Schema format.
tests/utilities/openapi/test_transitive_references.py:19
Methodtest_nested_rejects_invalid
(self, nested_object)
tests/utilities/json_schema_type/test_containers.py:362
Methodtest_nested_schema_caching
(self)
tests/utilities/json_schema_type/test_advanced.py:859
Functiontest_nested_schema_contracts
Consumers must see compatible constraints and genuinely changed nested types.
tests/tools/tool_transform/test_schema_compatibility.py:167
Methodtest_nested_schema_hash
(self)
tests/utilities/json_schema_type/test_advanced.py:899
Methodtest_nested_self_reference_validates
( self, children: dict[str, Any], value: Any )
tests/utilities/json_schema_type/test_generated_classes.py:132
Functiontest_nested_sources_keep_the_inner_namespace
()
tests/server/auth/test_auth_source_identities.py:92
Functiontest_nested_sse_server_resolves_correctly
Test patch for https://github.com/modelcontextprotocol/python-sdk/pull/659
tests/client/test_sse.py:148
← previousnext →11,601–11,700 of 15,974, ranked by callers