MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_middleware_with_scope_check
(self)
tests/server/auth/test_authorization.py:585
Methodtest_migrated_tools_still_work
(self, pair)
tests/docs/test_upgrade_guide_equivalence.py:170
Methodtest_mime_type_from_format
Format aliases map to the same MIME type as the matching file extension.
tests/utilities/test_types.py:178
Methodtest_mime_type_from_format
Test MIME type normalization from audio format.
tests/utilities/test_types.py:303
Methodtest_mime_type_from_format
Text format aliases map to their canonical text/* MIME types.
tests/utilities/test_types.py:493
Functiontest_min_clamp_raises_record_to_min_level
( caplog: pytest.LogCaptureFixture, clamped_logger: logging.Logger )
tests/utilities/test_logging.py:167
Methodtest_min_items_accepts_valid
(self, min_items_array)
tests/utilities/json_schema_type/test_containers.py:56
Methodtest_min_items_rejects_too_few
(self, min_items_array)
tests/utilities/json_schema_type/test_containers.py:60
Methodtest_min_length_accepts_valid
(self, min_length_string)
tests/utilities/json_schema_type/test_constraints.py:37
Methodtest_min_length_rejects_short
(self, min_length_string)
tests/utilities/json_schema_type/test_constraints.py:41
Methodtest_minimal_config
Test creating a config with only required fields.
tests/cli/test_config.py:249
Methodtest_minimal_output
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:18
Methodtest_minimal_token_has_no_user_identity
Test that minimal tokens contain no user identity or custom claims.
tests/server/auth/test_jwt_issuer.py:105
Methodtest_minimum_accepts_equal
(self, min_number)
tests/utilities/json_schema_type/test_constraints.py:107
Methodtest_minimum_rejects_less
(self, min_number)
tests/utilities/json_schema_type/test_constraints.py:111
Methodtest_minted_token_iss_claim_is_base_url
(self)
tests/server/auth/test_issuer_url_identity.py:250
Methodtest_minted_token_iss_claim_is_issuer_url
(self)
tests/server/auth/test_issuer_url_identity.py:141
Methodtest_miss_for_unknown_token
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:81
Functiontest_missing_annotation
Test that missing annotations don't cause errors
tests/utilities/test_typeadapter.py:148
Methodtest_missing_api_key_fails_at_construction
(self, monkeypatch)
tests/experimental/transforms/test_jev_search.py:407
Methodtest_missing_aud_returns_none
A 200 response without 'aud' is rejected.
tests/server/auth/providers/test_google.py:346
Methodtest_missing_auth_challenge_includes_supported_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:775
Methodtest_missing_auth_challenge_uses_required_scope_with_empty_catalog
(self)
tests/server/auth/test_enhanced_error_responses.py:811
Methodtest_missing_auth_no_error_attribute
Test that missing auth returns 401 without error attribute (RFC 6750 §3.1).
tests/server/auth/test_enhanced_error_responses.py:713
Functiontest_missing_baseline_stays_unknown_while_discussion_is_retained
( triage, monkeypatch )
tests/test_public_triage.py:341
Methodtest_missing_bool_with_default_gets_backfilled
(self)
tests/apps/test_form.py:204
Functiontest_missing_capability
Requires the client to have declared the sampling capability (SEP-2575). A stateless server may not rely on a capability the client did not decla
tests/conformance/server.py:375
Functiontest_missing_capability_code_is_the_protocol_value
The code must track the SDK, not an early SEP-2663 draft. It shipped hardcoded as -32003, which no client recognizes: SEP-2575 assigns -32021
tests/tasks/server/test_extension.py:416
Methodtest_missing_cimd_document_raises
validate_private_key_jwt raises ValueError if client has no cimd_document.
tests/server/auth/test_cimd_validators.py:656
Methodtest_missing_colon_after_args_keyword
Malformed: 'Args' without colon is not a valid section.
tests/utilities/test_docstring_parsing.py:247
Methodtest_missing_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:235
Methodtest_missing_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:527
Methodtest_missing_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:679
Methodtest_missing_data_and_path_raises_error
Test that error is raised when neither path nor data is provided.
tests/utilities/test_types.py:184
Methodtest_missing_data_and_path_raises_error
Test that error is raised when neither path nor data is provided.
tests/utilities/test_types.py:323
Methodtest_missing_data_and_path_raises_error
Test that error is raised when neither path nor data is provided.
tests/utilities/test_types.py:511
Methodtest_missing_file
(self, tmp_path: Path)
tests/cli/test_discovery.py:120
Methodtest_missing_file
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:410
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:165
Methodtest_missing_nested_segment_returns_false
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:431
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
Functiontest_missing_path_parameter_is_not_sent_as_placeholder
( arguments: dict[str, str | None], )
tests/utilities/openapi/test_path_values.py:192
Functiontest_missing_prompt_argument_preserves_invalid_params
( mode: Literal["auto", "legacy"], mask_error_details: bool, transform_errors: bool )
tests/server/middleware/test_error_handling.py:761
Methodtest_missing_query_param_uses_default
Test that missing query parameters fall back to defaults.
tests/resources/test_resource_template_query_params.py:179
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:52
Methodtest_missing_required_field_error
Test error message for missing required fields.
tests/server/test_input_validation.py:435
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
Functiontest_missing_root_serves_nothing
(tmp_path: Path)
tests/skills/test_directory_provider.py:122
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:271
Methodtest_missing_sub_returns_none
Token with no 'sub' in introspection or userinfo is rejected.
tests/server/auth/providers/test_clerk.py:301
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:1251
Methodtest_missing_type
(self)
tests/cli/test_generate_cli.py:810
Methodtest_mixed_boolean_numeric_enums_preserve_value_types
( self, values: list[int | float | bool] )
tests/utilities/json_schema_type/test_json_schema_type.py:303
Methodtest_mixed_defaults_and_required
Test that fields with defaults are not in required list.
tests/client/test_elicitation_enums.py:602
Methodtest_mixed_formats_object
(self, mixed_formats_object)
tests/utilities/json_schema_type/test_formats.py:129
Functiontest_mixed_hidden_args_with_custom_function
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:221
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:540
Methodtest_mixed_required_and_optional
(self)
tests/cli/test_client_commands.py:352
Methodtest_mixed_string_and_typed_args
Test mixing string args (no conversion) with typed args (conversion needed).
tests/prompts/test_prompt.py:351
Methodtest_mixed_sync_and_async_checks
A mix of sync and async checks should all be evaluated.
tests/server/auth/test_authorization.py:398
Methodtest_mixed_type_array
(self)
tests/utilities/json_schema_type/test_advanced.py:1075
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:393
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:658
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:917
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:1056
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:937
Functiontest_monty_provider_explicit_limits_override_defaults
()
tests/experimental/transforms/test_code_mode.py:932
Functiontest_monty_provider_explicit_none_disables_limits
()
tests/experimental/transforms/test_code_mode.py:925
Functiontest_monty_provider_forwards_inputs
()
tests/experimental/transforms/test_code_mode.py:909
Functiontest_monty_provider_forwards_limits
(limits: dict[str, float])
tests/experimental/transforms/test_code_mode.py:888
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
(key: str)
tests/experimental/transforms/test_code_mode.py:899
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:195
← previousnext →11,301–11,400 of 15,974, ranked by callers