Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_missing_file
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:366
Method
test_missing_file_error
Test error when file doesn't exist.
tests/resources/test_file_resources.py:93
Method
test_missing_host_rejected
URLs without host should be rejected.
tests/server/auth/test_ssrf_protection.py:163
Method
test_missing_nested_segment_returns_false
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:396
Function
test_missing_noninteractive_credential_is_explicit
(tmp_path: Path)
tests/cli/deploy/test_credentials.py:209
Function
test_missing_path_filtered_checks_are_not_reported
(status_module, monkeypatch)
tests/test_maintenance_status.py:118
Method
test_missing_query_param_uses_default
Test that missing query parameters fall back to defaults.
tests/resources/test_resource_template_query_params.py:177
Method
test_missing_redirect_uris_rejected
Test that redirect_uris is required for CIMD.
tests/server/auth/test_cimd.py:95
Method
test_missing_required_argument
(self)
tests/tools/tool/test_argument_validation.py:51
Method
test_missing_required_field_error
Test error message for missing required fields.
tests/server/test_input_validation.py:333
Method
test_missing_required_scope_rejected
(self, idp_key: RSAKeyPair)
tests/server/auth/oauth_proxy/test_identity_assertion.py:520
Method
test_missing_required_scope_returns_none
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:188
Method
test_missing_sdk_is_a_clear_error
(self, monkeypatch)
tests/experimental/transforms/test_jev_search.py:416
Method
test_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
Method
test_missing_source_rejected
Test that config without source is rejected.
tests/cli/test_mcp_server_config_integration.py:270
Method
test_missing_sub_returns_none
Token with no 'sub' in introspection or userinfo is rejected.
tests/server/auth/providers/test_clerk.py:261
Method
test_missing_sub_returns_none
A 200 response without 'sub' is rejected.
tests/server/auth/providers/test_google.py:417
Method
test_missing_sub_returns_none
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:215
Method
test_missing_token_is_not_insufficient_scope
(self)
tests/server/auth/test_authorization.py:1234
Method
test_missing_type
(self)
tests/cli/test_generate_cli.py:751
Method
test_mixed_defaults_and_required
Test that fields with defaults are not in required list.
tests/client/test_elicitation_enums.py:498
Method
test_mixed_formats_object
(self, mixed_formats_object)
tests/utilities/json_schema_type/test_formats.py:108
Function
test_mixed_hidden_args_with_custom_function
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:204
Method
test_mixed_nullable_and_non_nullable
Test mix of nullable and non-nullable fields.
tests/utilities/openapi/test_nullable_fields.py:63
Method
test_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
Method
test_mixed_raw_and_encoded_rejected
(self)
tests/server/auth/test_redirect_validation.py:480
Method
test_mixed_required_and_optional
(self)
tests/cli/test_client_commands.py:200
Method
test_mixed_string_and_typed_args
Test mixing string args (no conversion) with typed args (conversion needed).
tests/prompts/test_prompt.py:303
Method
test_mixed_sync_and_async_checks
A mix of sync and async checks should all be evaluated.
tests/server/auth/test_authorization.py:381
Method
test_mixed_type_array
(self)
tests/utilities/json_schema_type/test_advanced.py:528
Method
test_mixed_unserializable_return_annotation
(self)
tests/tools/tool/test_output_schema.py:242
Method
test_mixed_versioned_and_unversioned
(self)
tests/server/transforms/test_catalog.py:166
Method
test_mixing_unversioned_after_versioned_rejected
Cannot add unversioned tool when versioned exists.
tests/server/versioning/test_versioning.py:305
Method
test_mixing_versioned_and_unversioned_rejected
Cannot mix versioned and unversioned tools with the same name.
tests/server/versioning/test_versioning.py:288
Method
test_model_copy_deep_parameter
Test that model_copy respects the deep parameter.
tests/utilities/test_components.py:424
Method
test_model_copy_preserves_all_attributes
Test that model_copy preserves all component attributes.
tests/utilities/test_components.py:374
Method
test_model_copy_with_update
Test that model_copy works with update dict.
tests/utilities/test_components.py:392
Method
test_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
Method
test_model_reconstruction
Test reconstructing models from serialized data.
tests/utilities/openapi/test_models.py:441
Method
test_model_visible_tool_findable
@app.tool(model=True) has app visibility and IS findable.
tests/test_fastmcp_app.py:411
Method
test_model_visible_tool_in_list_tools
@app.tool(model=True) (visibility=["app","model"]) appears in list_tools.
tests/test_fastmcp_app.py:636
Method
test_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
Method
test_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
Method
test_modern_union_syntax_works
Test that modern | union syntax works with future annotations.
tests/tools/test_tool_future_annotations.py:136
Method
test_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
Function
test_monty_provider_applies_default_limits
()
tests/experimental/transforms/test_code_mode.py:906
Function
test_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
Function
test_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
Function
test_monty_provider_explicit_limits_override_defaults
()
tests/experimental/transforms/test_code_mode.py:921
Function
test_monty_provider_explicit_none_disables_limits
()
tests/experimental/transforms/test_code_mode.py:914
Function
test_monty_provider_forwards_inputs
()
tests/experimental/transforms/test_code_mode.py:898
Function
test_monty_provider_forwards_limits
()
tests/experimental/transforms/test_code_mode.py:881
Function
test_monty_provider_joins_callbacks_on_cancellation
( anyio_cancellation: bool, )
tests/experimental/transforms/test_monty_callback_lifecycle.py:56
Function
test_monty_provider_raises_informative_error_when_missing
( monkeypatch: pytest.MonkeyPatch, )
tests/experimental/transforms/test_code_mode.py:864
Function
test_monty_provider_rejects_callbacks_queued_after_exit
()
tests/experimental/transforms/test_monty_callback_lifecycle.py:95
Function
test_monty_provider_rejects_unsupported_limits
()
tests/experimental/transforms/test_code_mode.py:888
Function
test_monty_provider_waits_for_unawaited_callback_cleanup
( raises: bool, )
tests/experimental/transforms/test_monty_callback_lifecycle.py:19
Method
test_mount_as_proxy_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:293
Method
test_mount_multiple_servers
Test mounting multiple servers with different prefixes.
tests/server/mount/test_mount.py:188
Method
test_mount_prefix_kwarg_removed
(self)
tests/test_upgrade_from_v3.py:286
Method
test_mount_prompts_no_prefix
Test mounting a server with prompts without prefix.
tests/server/mount/test_mount.py:164
Method
test_mount_proxy_server
Test mounting a proxy server.
tests/server/mount/test_proxy.py:18
Method
test_mount_resource_templates_no_prefix
Test mounting a server with resource templates without prefix.
tests/server/mount/test_mount.py:144
Method
test_mount_resources_no_prefix
Test mounting a server with resources without prefix.
tests/server/mount/test_mount.py:124
Method
test_mount_same_prefix
Test that mounting with the same prefix replaces the previous mount.
tests/server/mount/test_mount.py:217
Method
test_mount_simple_server
Test mounting a simple server and accessing its tool.
tests/server/mount/test_mount.py:20
Method
test_mount_tools_no_prefix
Test mounting a server with tools without prefix.
tests/server/mount/test_mount.py:104
Method
test_mount_with_custom_separator
Test mounting with a custom tool separator (deprecated but still supported).
tests/server/mount/test_mount.py:48
Method
test_mount_with_no_prefix
(self, prefix)
tests/server/mount/test_mount.py:69
Method
test_mount_with_no_prefix_provided
Test mounting without providing a prefix at all.
tests/server/mount/test_mount.py:84
Method
test_mount_with_prompts
Test mounting a server with prompts.
tests/server/mount/test_prompts.py:9
Method
test_mount_with_resource_templates
Test mounting a server with resource templates.
tests/server/mount/test_resources.py:34
Method
test_mount_with_resources
Test mounting a server with resources.
tests/server/mount/test_resources.py:11
Method
test_mount_with_unreachable_proxy_servers
Test graceful handling when multiple mounted servers fail to connect.
tests/server/mount/test_mount.py:247
Method
test_mount_with_wildcard_resource_template
Wildcard `{name*}` params must survive round-trip through a namespaced mount.
tests/server/mount/test_resources.py:57
Method
test_mount_wraps_in_fastmcp_provider
(self)
tests/server/mount/test_proxy.py:114
Method
test_mounted_and_parent_tasks_both_work
(self, parent_server)
tests/tasks/server/test_task_mount.py:87
Method
test_mounted_call_tool_uses_highest_version
Calling mounted tool should use highest version.
tests/server/versioning/test_mounting.py:206
Function
test_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
Method
test_mounted_child_does_not_own_docket
The parent owns the Docket; the mounted child does not.
tests/tasks/server/test_task_mount.py:520
Function
test_mounted_child_lifespan_can_use_an_existing_root_extension
()
tests/server/test_provider_extensions.py:596
Function
test_mounted_child_lifespan_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:580
Function
test_mounted_child_search_keeps_hidden_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:66
Method
test_mounted_child_sees_own_lifespan_context
A tool on a mounted child reads its own lifespan result.
tests/server/mount/test_advanced.py:474
Method
test_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
Function
test_mounted_extensions_use_root_registry_and_preserve_child
(attachment: str)
tests/server/test_provider_extensions.py:149
Method
test_mounted_get_prompt_with_range_filter
FastMCPProvider.get_prompt applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:411
Method
test_mounted_get_resource_with_range_filter
FastMCPProvider.get_resource applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:387
Method
test_mounted_get_tool_with_range_filter
FastMCPProvider.get_tool applies range filtering from VersionSpec.
tests/server/versioning/test_filtering.py:360
Method
test_mounted_get_tool_with_version
Should be able to get specific version from mounted server.
tests/server/versioning/test_mounting.py:151
Method
test_mounted_include_unversioned_false_excludes_unversioned_tools
Mounted unversioned tools can be excluded with include_unversioned=False.
tests/server/versioning/test_filtering.py:453
Method
test_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
Method
test_mounted_multiple_versions_all_returned
Mounted server with multiple versions should show all versions.
tests/server/versioning/test_mounting.py:176
Method
test_mounted_prompt_creates_delegate_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:76
Method
test_mounted_prompt_delegate_has_method
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_delegate_method.py:60
Method
test_mounted_prompt_preserves_version
Mounted prompts should preserve their version info.
tests/server/versioning/test_mounting.py:135
Method
test_mounted_prompt_wrapper_renders_correct_version
Rendering a specific versioned prompt should render that version.
tests/server/versioning/test_mounting.py:281
Method
test_mounted_resource_creates_delegate_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:50
Method
test_mounted_resource_delegate_has_method
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_delegate_method.py:35
Method
test_mounted_resource_preserves_version
Mounted resources should preserve their version info.
tests/server/versioning/test_mounting.py:120
← previous
next →
9,501–9,600 of 13,374, ranked by callers