MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_empty_server
Test get_fastmcp_info with an empty server.
tests/utilities/test_inspect.py:82
Methodtest_empty_server_returns_empty_list
(self)
tests/utilities/test_skills.py:131
Functiontest_empty_settings_still_advertise
The default empty-settings extension is advertised with an empty dict.
tests/server/test_extensions.py:89
Methodtest_empty_skills_directory
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:663
Methodtest_empty_string
(self)
tests/apps/test_file_upload.py:21
Methodtest_empty_string
(self)
tests/cli/test_generate_cli.py:107
Methodtest_empty_string
(self)
tests/cli/test_goose.py:26
Methodtest_empty_string_to_int
Empty strings should fail conversion to int.
tests/server/test_input_validation.py:386
Methodtest_empty_tags_conversion
Test that empty tags are handled correctly.
tests/utilities/test_components.py:343
Methodtest_empty_tool_injection
Test that middleware with no tools doesn't affect behavior.
tests/server/middleware/test_tool_injection.py:268
Methodtest_empty_tools_list_limits_nothing
Test that empty tools list means no tools are limited.
tests/server/middleware/test_response_limiting.py:80
Methodtest_empty_transform_layer_passthrough
Test that empty ToolTransform has no effect.
tests/server/providers/test_transforming_provider.py:284
Methodtest_empty_when_no_prompts
list_prompts returns empty list when no prompts exist.
tests/server/transforms/test_prompts_as_tools.py:102
Methodtest_empty_when_no_required_scopes
(self, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:596
Methodtest_empty_when_no_resources
list_resources returns empty list when no resources exist.
tests/server/transforms/test_resources_as_tools.py:122
Methodtest_enable_components_sends_notifications
Test that enable_components sends all three notification types.
tests/server/test_session_visibility.py:402
Methodtest_enable_components_stores_rule_dict
Test that enable_components stores a rule dict in session state.
tests/server/test_session_visibility.py:62
Methodtest_enable_marks_as_enabled
Visibility(True, ...) marks matching components as enabled.
tests/server/transforms/test_visibility.py:107
Methodtest_enable_overrides_disable
An enable after disable results in enabled.
tests/server/transforms/test_visibility.py:142
Methodtest_enable_prompt_prefixless_mount
Test enabling a prompt on a prefix-less mounted server.
tests/server/mount/test_advanced.py:687
Methodtest_enable_prompt_route
Test enabling a prompt via the HTTP route.
tests/contrib/test_component_manager.py:150
Methodtest_enable_prompt_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:460
Methodtest_enable_raises_not_implemented_error
Test that enable() raises NotImplementedError with migration guidance.
tests/utilities/test_components.py:281
Methodtest_enable_resource_prefixless_mount
Test enabling a resource on a prefix-less mounted server.
tests/server/mount/test_advanced.py:664
Methodtest_enable_resource_route
Test enabling a resource via the HTTP route.
tests/contrib/test_component_manager.py:90
Methodtest_enable_template_route
Test enabling a resource template via the HTTP route.
tests/contrib/test_component_manager.py:123
Methodtest_enable_tool_prefixless_mount
Test enabling a tool on a prefix-less mounted server.
tests/server/mount/test_advanced.py:637
Methodtest_enable_tool_route
Test enabling a tool via the HTTP route.
tests/contrib/test_component_manager.py:57
Methodtest_enable_tool_route_with_path
(self, client_with_path, mcp_with_path)
tests/contrib/test_component_manager.py:439
Methodtest_enabled
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:69
Methodtest_enabled_with_verify_id_token
OIDCProxy with verify_id_token=True returns True.
tests/server/auth/test_oidc_proxy_token.py:357
Methodtest_encode_decode_roundtrip
Cursor should survive encode/decode roundtrip.
tests/server/test_pagination.py:20
Methodtest_encode_produces_string
Encoded cursor should be a string.
tests/server/test_pagination.py:27
Methodtest_encoded_literal_matches_in_either_hex_case
(self, uri: str)
tests/resources/test_resource_template.py:1560
Methodtest_encoded_path_param_preserved
(self)
tests/server/providers/proxy/test_proxy_server.py:791
Methodtest_encoded_payload_hides_the_credentials
( self, sensitive_snapshot: TaskContextSnapshot )
tests/tasks/server/test_snapshot_encryption.py:91
Methodtest_encoding_ignored_for_binary
Encoding field should be ignored when is_binary=True.
tests/resources/test_file_resources.py:154
Methodtest_encryption_key_defaults_to_none
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:146
Methodtest_encryption_key_env_var
(self, monkeypatch: pytest.MonkeyPatch)
tests/tasks/server/test_snapshot_encryption.py:151
Methodtest_encryption_key_is_not_printable
A settings dump must never carry the key into a log.
tests/tasks/server/test_snapshot_encryption.py:158
Methodtest_end_client_still_enforces_the_schema
Skipping validation in the proxy doesn't disarm the real client.
tests/server/providers/proxy/test_proxy_server.py:1262
Methodtest_end_removes_the_session_entirely
(self)
tests/server/test_sessions.py:221
Methodtest_end_session_declares_session_id_contract
(self)
tests/server/test_session_provider.py:457
Methodtest_end_session_invalidates_the_session
After `end_session` the id no longer resolves at all.
tests/server/test_session_provider.py:333
Methodtest_endpoints_stay_on_base_url
(self, field: str, expected: str)
tests/server/auth/test_issuer_url_identity.py:135
Methodtest_endpoints_stay_on_base_url
(self, field: str, expected: str)
tests/server/auth/test_issuer_url_identity.py:286
Methodtest_enforcing_allowed_redirect_uris
Test enforcing allowed redirect uris configuration.
tests/server/auth/oauth_proxy/test_client_registration.py:220
Methodtest_enhanced_descriptions_for_non_string_types
Test that non-string argument types get enhanced descriptions with JSON schema.
tests/prompts/test_prompt.py:389
Methodtest_enhanced_descriptions_with_existing_descriptions
Test that existing parameter descriptions are preserved with schema appended.
tests/prompts/test_prompt.py:458
Methodtest_entra_obo_token_creates_dependency
Test that EntraOBOToken creates a dependency with scopes.
tests/server/auth/providers/test_azure_scopes.py:799
Methodtest_entra_obo_token_is_dependency_instance
Test that EntraOBOToken is a Dependency instance.
tests/server/auth/providers/test_azure_scopes.py:807
Methodtest_entra_obo_token_is_importable
Test that EntraOBOToken can be imported.
tests/server/auth/providers/test_azure_scopes.py:793
Methodtest_enum_default_preserved
Test that enum defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:455
Functiontest_enum_elicitation_schema_inline
Test that enum schemas are generated inline without $ref/$defs for MCP compatibility.
tests/client/test_elicitation_enums.py:81
Functiontest_enum_elicitation_schema_inline_untitled
Test that enum schemas generate simple enum pattern (no automatic titles).
tests/client/test_elicitation_enums.py:118
Methodtest_enum_int
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:221
Methodtest_enum_str
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:207
Methodtest_enum_type_validation_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:218
Methodtest_enum_type_validation_success
(self)
tests/server/providers/local_provider_tools/test_parameters.py:238
Methodtest_env_var_interpolation
Test environment variable interpolation in deployment env.
tests/cli/test_config.py:197
Methodtest_environment_config_fields
Test all Environment fields.
tests/cli/test_config.py:53
Functiontest_environment_config_path_resolution
Test that paths in environment config are resolved correctly.
tests/cli/test_run_config.py:281
Functiontest_environment_credential_takes_precedence_and_is_not_stored
( tmp_path: Path, )
tests/cli/deploy/test_credentials.py:110
Methodtest_environment_variable_loading
Test that environment variables are loaded correctly.
tests/server/auth/providers/test_descope.py:41
Methodtest_environment_variable_loading
Test that environment variables are loaded correctly.
tests/server/auth/providers/test_supabase.py:28
Methodtest_environment_variable_loading
Test that environment variables are loaded correctly.
tests/server/auth/providers/test_scalekit.py:52
Methodtest_eq_does_not_match_none_when_match_none_false
(self)
tests/server/versioning/test_versioning.py:123
Methodtest_equality_different_components
Test that different components are not equal.
tests/utilities/test_components.py:141
Methodtest_equality_different_types
Test that component is not equal to other types.
tests/utilities/test_components.py:147
Methodtest_equality_same_components
Test that identical components are equal.
tests/utilities/test_components.py:135
Methodtest_equivalent_spellings_order_independent
(self)
tests/server/versioning/test_versioning.py:434
Methodtest_equivalent_to_app_true
PrefabAppConfig() and app=True both synthesize a per-tool renderer.
tests/test_apps.py:713
Methodtest_error_after_response_start_truncates_the_body
Post-start failures look like a dropped socket, not a raised exception.
tests/utilities/test_asgi_transport.py:100
Methodtest_error_before_response_start_propagates_to_caller
(self)
tests/utilities/test_asgi_transport.py:90
Functiontest_error_handling
Always returns an error.
tests/conformance/server.py:149
Methodtest_error_handling
Test error handling in FunctionResource.
tests/resources/test_function_resources.py:89
Methodtest_error_handling
Test error handling for HTTP errors.
tests/server/providers/openapi/test_comprehensive.py:642
Methodtest_error_handling_middleware_custom_callback
Test error handling middleware with custom error callback.
tests/server/middleware/test_error_handling.py:519
Methodtest_error_handling_middleware_logs_real_errors
Test that error handling middleware logs real errors from tools.
tests/server/middleware/test_error_handling.py:441
Methodtest_error_handling_middleware_tracks_error_statistics
Test that error handling middleware accurately tracks error statistics.
tests/server/middleware/test_error_handling.py:464
Methodtest_error_handling_middleware_transform_errors
Test error transformation functionality.
tests/server/middleware/test_error_handling.py:552
Methodtest_error_handling_middleware_with_success_and_failure
Test error handling middleware with mix of successful and failed operations.
tests/server/middleware/test_error_handling.py:495
Methodtest_error_if_exists
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:619
Methodtest_error_if_skill_exists
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:670
Methodtest_error_message_quality_pydantic
Capture error message with Pydantic validation.
tests/server/test_input_validation.py:313
Methodtest_error_message_quality_strict
Capture error message with strict validation.
tests/server/test_input_validation.py:289
Methodtest_error_on_unknown_prompt
get_prompt raises error for unknown prompt name.
tests/server/transforms/test_prompts_as_tools.py:161
Methodtest_error_on_unknown_resource
read_resource raises error for unknown URI.
tests/server/transforms/test_resources_as_tools.py:165
Methodtest_error_raised_at_decoration_not_registration
The TypeError must surface when the decorator is applied, not later.
tests/contrib/test_mcp_mixin.py:401
Methodtest_error_redirect_does_not_duplicate_iss_already_in_redirect_uri
RFC 9207 P2 regression: a registered redirect_uri may already carry its own `iss` query parameter (e.g. a multi-tenant client encoding
tests/server/auth/oauth_proxy/test_oauth_proxy.py:423
Methodtest_error_redirect_with_existing_iss_not_duplicated
The duplication guard applies to error redirects too, not just success ones — a provider override can construct an `error` redirect th
tests/server/auth/test_enhanced_error_responses.py:545
Methodtest_error_result_is_not_cached
(self)
tests/server/middleware/test_caching.py:732
Functiontest_error_result_preserves_text_with_structured_content
(text: str)
tests/experimental/transforms/test_code_mode.py:1182
Functiontest_error_result_without_text_uses_generic_message
( content: list[str], )
tests/experimental/transforms/test_code_mode.py:1156
Methodtest_error_tool_passthrough_preserves_content
Upstream error results pass through with content intact, not flattened.
tests/server/providers/proxy/test_proxy_server.py:451
Methodtest_error_tool_raises_error
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:415
Methodtest_error_tool_with_empty_content
Error responses with empty content should not crash.
tests/server/providers/proxy/test_proxy_server.py:438
Methodtest_error_tool_with_image_content
Non-TextContent error responses should not crash with AttributeError.
tests/server/providers/proxy/test_proxy_server.py:421
Methodtest_error_with_empty_content_raises_with_fallback_message
(self)
tests/client/client/test_error_handling.py:218
Methodtest_error_with_missing_transaction_returns_html_error
When the IdP returns an error but the transaction is missing or expired, the proxy must return a local HTML error page — there is no t
tests/server/auth/oauth_proxy/test_oauth_proxy.py:511
← previousnext →7,801–7,900 of 13,374, ranked by callers