MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_end_session_invalidates_the_session
After `end_session` the id no longer resolves at all.
tests/server/test_session_provider.py:386
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:437
Methodtest_enhanced_descriptions_with_existing_descriptions
Test that existing parameter descriptions are preserved with schema appended.
tests/prompts/test_prompt.py:506
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_entry_count_eviction_keeps_ids_monotonic
(self)
tests/cli/test_apps_dev_server.py:45
Functiontest_entry_timeout_defaults_and_units
( backend_sessions: list[ClientSession], server_entry: dict[str, Any], entry_timeout: int | None,
tests/client/transports/test_config_timeout.py:91
Functiontest_entry_timeout_limits_requests
( backend_sessions: list[ClientSession], server_entry: dict[str, Any], server_count: int, tran
tests/client/transports/test_config_timeout.py:55
Methodtest_enum_default_preserved
Test that enum defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:559
Functiontest_enum_elicitation_schema_inline
Test that enum schemas are generated inline without $ref/$defs for MCP compatibility.
tests/client/test_elicitation_enums.py:83
Functiontest_enum_elicitation_schema_inline_untitled
Test that enum schemas generate simple enum pattern (no automatic titles).
tests/client/test_elicitation_enums.py:120
Functiontest_enum_elicitation_schema_inline_when_enum_reused
An enum shared by several fields is inlined in each of them.
tests/client/test_elicitation_enums.py:154
Methodtest_enum_int
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:276
Methodtest_enum_str
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:262
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:282
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 produce equivalent renderer identities.
tests/test_apps.py:728
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:590
Methodtest_error_handling_middleware_logs_real_errors
Test that error handling middleware logs real errors from tools.
tests/server/middleware/test_error_handling.py:512
Methodtest_error_handling_middleware_tracks_error_statistics
Test that error handling middleware accurately tracks error statistics.
tests/server/middleware/test_error_handling.py:535
Methodtest_error_handling_middleware_transform_errors
Test error transformation functionality.
tests/server/middleware/test_error_handling.py:623
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:566
Methodtest_error_if_exists
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:637
Methodtest_error_if_skill_exists
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:729
Functiontest_error_message_preserves_details_without_html_noise
( response: httpx2.Response, expected: str, unexpected: str )
tests/server/providers/openapi/test_http_error_details_regression.py:52
Methodtest_error_message_quality_pydantic
Capture error message with Pydantic validation.
tests/server/test_input_validation.py:415
Methodtest_error_message_quality_strict
Capture error message with strict validation.
tests/server/test_input_validation.py:391
Methodtest_error_names_supported_forms_with_single_braces
(self)
tests/resources/test_resource_template_level3.py:254
Methodtest_error_on_unknown_prompt
get_prompt raises error for unknown prompt name.
tests/server/transforms/test_prompts_as_tools.py:186
Methodtest_error_on_unknown_resource
read_resource raises error for unknown URI.
tests/server/transforms/test_resources_as_tools.py:209
Methodtest_error_raised_at_decoration_not_registration
The TypeError must surface when the decorator is applied, not later.
tests/contrib/test_mcp_mixin.py:452
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:425
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:582
Methodtest_error_result_is_not_cached
(self)
tests/server/middleware/test_caching.py:779
Functiontest_error_result_preserves_text_with_structured_content
(text: str)
tests/experimental/transforms/test_code_mode.py:1241
Functiontest_error_result_without_text_uses_generic_message
( content: list[str], )
tests/experimental/transforms/test_code_mode.py:1215
Methodtest_error_tool_passthrough_preserves_content
Upstream error results pass through with content intact, not flattened.
tests/server/providers/proxy/test_proxy_server.py:454
Methodtest_error_tool_raises_error
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:418
Methodtest_error_tool_with_empty_content
Error responses with empty content should not crash.
tests/server/providers/proxy/test_proxy_server.py:441
Methodtest_error_tool_with_image_content
Non-TextContent error responses should not crash with AttributeError.
tests/server/providers/proxy/test_proxy_server.py:424
Methodtest_error_unchanged_without_renames
(self)
tests/tools/tool_transform/test_args.py:593
Methodtest_error_uses_outermost_name_when_chained
(self, find_tool: Tool)
tests/tools/tool_transform/test_args.py:584
Methodtest_error_uses_renamed_arg
( self, find_tool: Tool, arguments: dict[str, Any], location: str )
tests/tools/tool_transform/test_args.py:578
Methodtest_error_with_empty_content_raises_with_fallback_message
(self)
tests/client/client/test_error_handling.py:296
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:513
Methodtest_error_with_non_text_content_raises_with_fallback_message
(self)
tests/client/client/test_error_handling.py:308
Methodtest_error_with_structured_content_does_not_parse_data
(self)
tests/client/client/test_error_handling.py:340
Methodtest_error_with_text_content_raises_with_message
(self)
tests/client/client/test_error_handling.py:325
Methodtest_error_with_unsafe_transaction_redirect_returns_html_error
IdP errors must not redirect to unsafe stored callback URIs.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:479
Methodtest_error_with_valid_transaction_redirects_to_client
When the IdP returns an error and the transaction exists, the proxy must forward the error to the client's redirect_uri rather than showing
tests/server/auth/oauth_proxy/test_oauth_proxy.py:381
Methodtest_errors_without_auth
(self)
tests/server/test_session_provider.py:125
Methodtest_es256_issuer_supported_via_algorithm_config
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:792
Methodtest_escaped_and_spaced_schema_names_survive_parsing
(self)
tests/utilities/openapi/test_parser.py:598
Functiontest_escaped_reference_tokens
(definition: str, token: str)
tests/utilities/json_schema_type/test_advanced.py:241
Methodtest_escapes_percent_encoding_and_subpointers_are_preserved
(self)
tests/utilities/test_json_schema.py:975
Methodtest_escapes_rich_markup_and_control_chars
( self, capsys: pytest.CaptureFixture[str] )
tests/cli/test_client_commands.py:1019
Methodtest_event_entry_with_message
(self)
tests/server/test_event_store.py:20
Methodtest_event_entry_without_message
(self)
tests/server/test_event_store.py:30
Methodtest_every_issuer_form_is_accepted
Both config URL forms accept all three issuer forms of the project.
tests/server/auth/providers/test_descope.py:431
Functiontest_every_mcpserver_constructor_param_is_mapped
The SDK v2 guide claims an exhaustive constructor mapping — hold it to that. A parameter added to ``MCPServer`` upstream should fail here rather
tests/docs/test_upgrade_guide_api_claims.py:224
Methodtest_evicted_classes_are_released
(self, monkeypatch: pytest.MonkeyPatch)
tests/utilities/json_schema_type/test_generated_classes.py:666
Methodtest_evicts_oldest_when_full
(self)
tests/utilities/test_token_cache.py:165
Methodtest_exact_match
Test exact URI matching without wildcards.
tests/server/auth/test_redirect_validation.py:307
Methodtest_exact_page_size
List exactly matching page size should return no cursor.
tests/server/test_pagination.py:105
Methodtest_exact_string_match
(self)
tests/server/versioning/test_versioning.py:98
Functiontest_example_clients_only_ping_in_legacy_mode
()
tests/test_examples_ping.py:32
Functiontest_example_executes
Every non-skipped example runs top to bottom without raising. Examples are executed under a module name other than ``__main__`` so an ``if __
tests/docs/test_upgrade_guide_examples.py:89
Methodtest_example_section_excluded
(self)
tests/utilities/test_docstring_parsing.py:79
Methodtest_example_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:317
Methodtest_except_mcp_error_catches_sdk_raised
(self)
tests/test_compat.py:224
Methodtest_exchange_authorization_code_preserves_external_scopes
External resource URIs (e.g. Microsoft Graph) and OIDC scopes don't carry the identifier_uri prefix, so the translation must leave them
tests/server/auth/providers/test_azure.py:1480
Methodtest_exchange_authorization_code_unprefixes_echoed_scopes
OAuthToken.scope returned to the client must use the unprefixed form advertised on /.well-known, not the prefixed form Azure echoes back.
tests/server/auth/providers/test_azure.py:1442
Methodtest_exchange_refresh_token_unprefixes_echoed_scopes
The same translation must apply on refresh — otherwise the cosmetic scope mismatch reappears after the first refresh.
tests/server/auth/providers/test_azure.py:1521
Functiontest_exchange_rejects_nonpositive_expires_in
(jwt_verifier, expires_in)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:45
Methodtest_exclude_precedence
(self)
tests/server/providers/test_local_provider_resources.py:726
Methodtest_exclude_precedence
(self)
tests/server/providers/local_provider_tools/test_tags.py:80
Methodtest_exclude_tags_all_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:451
Methodtest_exclude_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:716
Methodtest_exclude_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:928
← previousnext →9,301–9,400 of 15,974, ranked by callers