MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_missing_file
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:366
Methodtest_missing_file_error
Test error when file doesn't exist.
tests/resources/test_file_resources.py:93
Methodtest_missing_host_rejected
URLs without host should be rejected.
tests/server/auth/test_ssrf_protection.py:163
Methodtest_missing_nested_segment_returns_false
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:396
Functiontest_missing_noninteractive_credential_is_explicit
(tmp_path: Path)
tests/cli/deploy/test_credentials.py:209
Functiontest_missing_path_filtered_checks_are_not_reported
(status_module, monkeypatch)
tests/test_maintenance_status.py:118
Methodtest_missing_query_param_uses_default
Test that missing query parameters fall back to defaults.
tests/resources/test_resource_template_query_params.py:177
Methodtest_missing_redirect_uris_rejected
Test that redirect_uris is required for CIMD.
tests/server/auth/test_cimd.py:95
Methodtest_missing_required_argument
(self)
tests/tools/tool/test_argument_validation.py:51
Methodtest_missing_required_field_error
Test error message for missing required fields.
tests/server/test_input_validation.py:333
Methodtest_missing_required_scope_rejected
(self, idp_key: RSAKeyPair)
tests/server/auth/oauth_proxy/test_identity_assertion.py:520
Methodtest_missing_required_scope_returns_none
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:188
Methodtest_missing_sdk_is_a_clear_error
(self, monkeypatch)
tests/experimental/transforms/test_jev_search.py:416
Methodtest_missing_snapshot_fails_the_task
Fail closed extends to a snapshot that is gone, not just unreadable. A missing snapshot is reachable in production through TTL expiry, and
tests/tasks/server/test_snapshot_encryption.py:292
Methodtest_missing_source_rejected
Test that config without source is rejected.
tests/cli/test_mcp_server_config_integration.py:270
Methodtest_missing_sub_returns_none
Token with no 'sub' in introspection or userinfo is rejected.
tests/server/auth/providers/test_clerk.py:261
Methodtest_missing_sub_returns_none
A 200 response without 'sub' is rejected.
tests/server/auth/providers/test_google.py:417
Methodtest_missing_sub_returns_none
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:215
Methodtest_missing_token_is_not_insufficient_scope
(self)
tests/server/auth/test_authorization.py:1234
Methodtest_missing_type
(self)
tests/cli/test_generate_cli.py:751
Methodtest_mixed_defaults_and_required
Test that fields with defaults are not in required list.
tests/client/test_elicitation_enums.py:498
Methodtest_mixed_formats_object
(self, mixed_formats_object)
tests/utilities/json_schema_type/test_formats.py:108
Functiontest_mixed_hidden_args_with_custom_function
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:204
Methodtest_mixed_nullable_and_non_nullable
Test mix of nullable and non-nullable fields.
tests/utilities/openapi/test_nullable_fields.py:63
Methodtest_mixed_params_with_direct_array
Test route with both URL parameters and direct array request body.
tests/utilities/openapi/test_direct_array_schemas.py:89
Methodtest_mixed_raw_and_encoded_rejected
(self)
tests/server/auth/test_redirect_validation.py:480
Methodtest_mixed_required_and_optional
(self)
tests/cli/test_client_commands.py:200
Methodtest_mixed_string_and_typed_args
Test mixing string args (no conversion) with typed args (conversion needed).
tests/prompts/test_prompt.py:303
Methodtest_mixed_sync_and_async_checks
A mix of sync and async checks should all be evaluated.
tests/server/auth/test_authorization.py:381
Methodtest_mixed_type_array
(self)
tests/utilities/json_schema_type/test_advanced.py:528
Methodtest_mixed_unserializable_return_annotation
(self)
tests/tools/tool/test_output_schema.py:242
Methodtest_mixed_versioned_and_unversioned
(self)
tests/server/transforms/test_catalog.py:166
Methodtest_mixing_unversioned_after_versioned_rejected
Cannot add unversioned tool when versioned exists.
tests/server/versioning/test_versioning.py:305
Methodtest_mixing_versioned_and_unversioned_rejected
Cannot mix versioned and unversioned tools with the same name.
tests/server/versioning/test_versioning.py:288
Methodtest_model_copy_deep_parameter
Test that model_copy respects the deep parameter.
tests/utilities/test_components.py:424
Methodtest_model_copy_preserves_all_attributes
Test that model_copy preserves all component attributes.
tests/utilities/test_components.py:374
Methodtest_model_copy_with_update
Test that model_copy works with update dict.
tests/utilities/test_components.py:392
Methodtest_model_in_typed_mapping_respects_config
A typed mapping's schema and result use the model's field names.
tests/tools/tool/test_results.py:335
Methodtest_model_reconstruction
Test reconstructing models from serialized data.
tests/utilities/openapi/test_models.py:441
Methodtest_model_visible_tool_findable
@app.tool(model=True) has app visibility and IS findable.
tests/test_fastmcp_app.py:411
Methodtest_model_visible_tool_in_list_tools
@app.tool(model=True) (visibility=["app","model"]) appears in list_tools.
tests/test_fastmcp_app.py:636
Methodtest_modern_front_mirrors_modern_backend
A modern front through a proxy with NO explicit mode gets a modern backend session, so a guard tool round-trips end-to-end.
tests/server/test_mrtr_guards.py:554
Methodtest_modern_front_reaches_modern_backends
A modern front reaches each real backend on a modern session, and a backend guard tool round-trips end to end across both proxy hops.
tests/server/test_mrtr_guards.py:654
Methodtest_modern_union_syntax_works
Test that modern | union syntax works with future annotations.
tests/tools/test_tool_future_annotations.py:136
Methodtest_modified_message_reaches_sdk_dispatch
A ``logging/setLevel`` carrying an invalid level fails params validation inside ``call_next``. Middleware that rewrites the message to
tests/server/middleware/test_message_visibility.py:238
Functiontest_monty_provider_applies_default_limits
()
tests/experimental/transforms/test_code_mode.py:906
Functiontest_monty_provider_cancels_future_when_task_cancelled
Cancelling the awaiting task must cancel the underlying sandbox future. Otherwise the Monty worker keeps running to completion after a client
tests/experimental/transforms/test_code_mode.py:997
Functiontest_monty_provider_default_limits_are_not_shared_between_instances
Each default provider must own its limits dict. `limits` is a mutable public attribute; if instances shared the module-level baseline, mutati
tests/experimental/transforms/test_code_mode.py:926
Functiontest_monty_provider_explicit_limits_override_defaults
()
tests/experimental/transforms/test_code_mode.py:921
Functiontest_monty_provider_explicit_none_disables_limits
()
tests/experimental/transforms/test_code_mode.py:914
Functiontest_monty_provider_forwards_inputs
()
tests/experimental/transforms/test_code_mode.py:898
Functiontest_monty_provider_forwards_limits
()
tests/experimental/transforms/test_code_mode.py:881
Functiontest_monty_provider_joins_callbacks_on_cancellation
( anyio_cancellation: bool, )
tests/experimental/transforms/test_monty_callback_lifecycle.py:56
Functiontest_monty_provider_raises_informative_error_when_missing
( monkeypatch: pytest.MonkeyPatch, )
tests/experimental/transforms/test_code_mode.py:864
Functiontest_monty_provider_rejects_callbacks_queued_after_exit
()
tests/experimental/transforms/test_monty_callback_lifecycle.py:95
Functiontest_monty_provider_rejects_unsupported_limits
()
tests/experimental/transforms/test_code_mode.py:888
Functiontest_monty_provider_waits_for_unawaited_callback_cleanup
( raises: bool, )
tests/experimental/transforms/test_monty_callback_lifecycle.py:19
Methodtest_mount_as_proxy_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:293
Methodtest_mount_multiple_servers
Test mounting multiple servers with different prefixes.
tests/server/mount/test_mount.py:188
Methodtest_mount_prefix_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:286
Methodtest_mount_prompts_no_prefix
Test mounting a server with prompts without prefix.
tests/server/mount/test_mount.py:164
Methodtest_mount_proxy_server
Test mounting a proxy server.
tests/server/mount/test_proxy.py:18
Methodtest_mount_resource_templates_no_prefix
Test mounting a server with resource templates without prefix.
tests/server/mount/test_mount.py:144
Methodtest_mount_resources_no_prefix
Test mounting a server with resources without prefix.
tests/server/mount/test_mount.py:124
Methodtest_mount_same_prefix
Test that mounting with the same prefix replaces the previous mount.
tests/server/mount/test_mount.py:217
Methodtest_mount_simple_server
Test mounting a simple server and accessing its tool.
tests/server/mount/test_mount.py:20
Methodtest_mount_tools_no_prefix
Test mounting a server with tools without prefix.
tests/server/mount/test_mount.py:104
Methodtest_mount_with_custom_separator
Test mounting with a custom tool separator (deprecated but still supported).
tests/server/mount/test_mount.py:48
Methodtest_mount_with_no_prefix
(self, prefix)
tests/server/mount/test_mount.py:69
Methodtest_mount_with_no_prefix_provided
Test mounting without providing a prefix at all.
tests/server/mount/test_mount.py:84
Methodtest_mount_with_prompts
Test mounting a server with prompts.
tests/server/mount/test_prompts.py:9
Methodtest_mount_with_resource_templates
Test mounting a server with resource templates.
tests/server/mount/test_resources.py:34
Methodtest_mount_with_resources
Test mounting a server with resources.
tests/server/mount/test_resources.py:11
Methodtest_mount_with_unreachable_proxy_servers
Test graceful handling when multiple mounted servers fail to connect.
tests/server/mount/test_mount.py:247
Methodtest_mount_with_wildcard_resource_template
Wildcard `{name*}` params must survive round-trip through a namespaced mount.
tests/server/mount/test_resources.py:57
Methodtest_mount_wraps_in_fastmcp_provider
(self)
tests/server/mount/test_proxy.py:114
Methodtest_mounted_and_parent_tasks_both_work
(self, parent_server)
tests/tasks/server/test_task_mount.py:87
Methodtest_mounted_call_tool_uses_highest_version
Calling mounted tool should use highest version.
tests/server/versioning/test_mounting.py:206
Functiontest_mounted_child_defers_extension_lifespan_to_root
A mounted child's extension lifespan is not entered below a root. Mirrors the shared Docket: extension lifespans that may start shared infras
tests/server/test_extensions.py:387
Methodtest_mounted_child_does_not_own_docket
The parent owns the Docket; the mounted child does not.
tests/tasks/server/test_task_mount.py:520
Functiontest_mounted_child_lifespan_can_use_an_existing_root_extension
()
tests/server/test_provider_extensions.py:596
Functiontest_mounted_child_lifespan_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:580
Functiontest_mounted_child_search_keeps_hidden_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:66
Methodtest_mounted_child_sees_own_lifespan_context
A tool on a mounted child reads its own lifespan result.
tests/server/mount/test_advanced.py:474
Methodtest_mounted_custom_routes_http_app_integration
End-to-end: custom routes from mounted servers are reachable via http_app. This reproduces the exact scenario from issue #3457.
tests/server/mount/test_advanced.py:223
Functiontest_mounted_extensions_use_root_registry_and_preserve_child
(attachment: str)
tests/server/test_provider_extensions.py:149
Methodtest_mounted_get_prompt_with_range_filter
FastMCPProvider.get_prompt applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:411
Methodtest_mounted_get_resource_with_range_filter
FastMCPProvider.get_resource applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:387
Methodtest_mounted_get_tool_with_range_filter
FastMCPProvider.get_tool applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:360
Methodtest_mounted_get_tool_with_version
Should be able to get specific version from mounted server.
tests/server/versioning/test_mounting.py:151
Methodtest_mounted_include_unversioned_false_excludes_unversioned_tools
Mounted unversioned tools can be excluded with include_unversioned=False.
tests/server/versioning/test_filtering.py:453
Methodtest_mounted_lower_version_selected_by_filter
When parent has filter <2.0 and child has v1.0+v3.0, should get v1.0.
tests/server/versioning/test_filtering.py:504
Methodtest_mounted_multiple_versions_all_returned
Mounted server with multiple versions should show all versions.
tests/server/versioning/test_mounting.py:176
Methodtest_mounted_prompt_creates_delegate_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:76
Methodtest_mounted_prompt_delegate_has_method
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_delegate_method.py:60
Methodtest_mounted_prompt_preserves_version
Mounted prompts should preserve their version info.
tests/server/versioning/test_mounting.py:135
Methodtest_mounted_prompt_wrapper_renders_correct_version
Rendering a specific versioned prompt should render that version.
tests/server/versioning/test_mounting.py:281
Methodtest_mounted_resource_creates_delegate_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:50
Methodtest_mounted_resource_delegate_has_method
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_delegate_method.py:35
Methodtest_mounted_resource_preserves_version
Mounted resources should preserve their version info.
tests/server/versioning/test_mounting.py:120
← previousnext →9,501–9,600 of 13,374, ranked by callers