MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_property_level_nullable_fields
Test nullable fields in properties.
tests/utilities/openapi/test_nullable_fields.py:40
Methodtest_property_level_oneof_with_nullable
Test nullable handling with oneOf in properties.
tests/utilities/openapi/test_nullable_fields.py:243
Methodtest_property_level_union_with_nullable
Test nullable handling with union types in properties.
tests/utilities/openapi/test_nullable_fields.py:169
Methodtest_propertyless_variant_is_still_named
A variant adding no fields remains a legal discriminator value.
tests/server/providers/openapi/test_openapi_discriminator.py:258
Methodtest_protected_resource_metadata
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:372
Methodtest_protected_resource_metadata_endpoint_authorization_servers_field
Test that the protected resource metadata endpoint returns correct authorization_servers field.
tests/server/auth/test_remote_auth_provider.py:289
Methodtest_protected_resource_metadata_endpoint_resource_field
Test that the protected resource metadata endpoint returns correct resource field.
tests/server/auth/test_remote_auth_provider.py:271
Methodtest_protected_resource_metadata_endpoint_status_code
Test that the protected resource metadata endpoint returns 200.
tests/server/auth/test_remote_auth_provider.py:256
Methodtest_protected_resource_metadata_points_at_base_url
(self)
tests/server/auth/test_issuer_url_identity.py:244
Methodtest_protected_resource_metadata_points_at_issuer_url
(self)
tests/server/auth/test_issuer_url_identity.py:114
Methodtest_protected_resource_metadata_points_at_issuer_url
(self)
tests/server/auth/test_issuer_url_identity.py:270
Methodtest_protected_resource_metadata_serves_discovered_scopes
The protected resource metadata endpoint advertises discovered scopes.
tests/server/auth/providers/test_descope.py:592
Functiontest_protected_routes_report_a_rejected_credential
()
tests/cli/deploy/test_horizon_client.py:216
Functiontest_protected_routes_require_a_credential
()
tests/cli/deploy/test_horizon_client.py:208
Functiontest_protocol_error_fails_the_task_with_inlined_error
SEP-2663 reserves `failed` for protocol faults: an `MCPError` raised by the body is inlined as a JSON-RPC error rather than reported as a complete
tests/tasks/server/test_guard_reentrant.py:423
Functiontest_provide_tool_annotations_as_dict_to_decorator
Test that tool annotations are correctly accessible via client API.
tests/server/test_tool_annotations.py:86
Methodtest_provided_name_takes_precedence_over_uri
Test that provided name takes precedence over URI.
tests/resources/test_resources.py:56
Methodtest_provided_output_schema_takes_precedence_over_complex_annotation
Test that provided output_schema takes precedence over inferred schema from complex annotation.
tests/tools/tool/test_output_schema.py:267
Methodtest_provided_output_schema_takes_precedence_over_converted_annotation
Test that provided output_schema takes precedence over converted schema from Image/Audio/File annotations.
tests/tools/tool/test_output_schema.py:317
Methodtest_provided_output_schema_takes_precedence_over_json_compatible_annotation
Test that provided output_schema takes precedence over inferred schema from JSON-compatible annotation.
tests/tools/tool/test_output_schema.py:253
Methodtest_provided_output_schema_takes_precedence_over_no_annotation
Test that provided output_schema takes precedence over None schema from no annotation.
tests/tools/tool/test_output_schema.py:302
Methodtest_provided_output_schema_takes_precedence_over_pydantic_annotation
Test that provided output_schema takes precedence over inferred schema from Pydantic model annotation.
tests/tools/tool/test_output_schema.py:346
Methodtest_provided_output_schema_takes_precedence_over_union_annotation
Test that provided output_schema takes precedence over inferred schema from union annotation.
tests/tools/tool/test_output_schema.py:334
Methodtest_provided_output_schema_takes_precedence_over_unserializable_annotation
Test that provided output_schema takes precedence over None schema from unserializable annotation.
tests/tools/tool/test_output_schema.py:281
Functiontest_provider_added_in_user_lifespan_is_discovered
()
tests/server/test_provider_extensions.py:310
Methodtest_provider_creates_default_client_from_spec
Test that omitting client creates one from the spec's servers URL.
tests/server/providers/openapi/test_server.py:202
Methodtest_provider_creates_tools_from_spec
Test that provider creates tools from OpenAPI spec.
tests/server/providers/openapi/test_server.py:166
Methodtest_provider_default_client_requires_servers
Test that omitting client without servers in spec raises.
tests/server/providers/openapi/test_server.py:208
Methodtest_provider_discovers_multiple_in_one_file
Provider should discover multiple components in one file.
tests/fs/test_provider.py:145
Methodtest_provider_discovers_prompts
Provider should discover @prompt decorated functions.
tests/fs/test_provider.py:129
Methodtest_provider_discovers_resource_templates
Provider should discover resource templates.
tests/fs/test_provider.py:113
Methodtest_provider_discovers_resources
Provider should discover @resource decorated functions.
tests/fs/test_provider.py:97
Methodtest_provider_discovers_tools
Provider should discover @tool decorated functions.
tests/fs/test_provider.py:77
Methodtest_provider_empty_directory
Provider should work with empty directory.
tests/fs/test_provider.py:17
Methodtest_provider_errors_can_raise
(self)
tests/server/providers/test_base_provider.py:108
Methodtest_provider_errors_warn_by_default
(self)
tests/server/providers/test_base_provider.py:103
Methodtest_provider_exposes_failed_files
Provider should expose import failures from the initial load.
tests/fs/test_provider.py:23
Methodtest_provider_exposes_registration_failures
Provider should expose registration failures alongside import failures.
tests/fs/test_provider.py:39
Functiontest_provider_get_tool_override_applies_to_hashed_name
()
tests/server/test_hashed_tool_dispatch.py:267
Methodtest_provider_initialization
Test provider initialization with OpenAPI spec.
tests/server/providers/openapi/test_server.py:147
Methodtest_provider_initialization_performance
Test that provider initialization is fast (serverless requirement).
tests/server/providers/openapi/test_performance_comparison.py:169
Functiontest_provider_level_search_keeps_hidden_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:59
Methodtest_provider_lifespan_async_teardown_under_cancellation
Async operations in provider lifespan finally block complete when cancelled.
tests/server/test_server_lifespan.py:587
Methodtest_provider_loads_all_settings_from_environment
Test that provider can be fully configured from environment.
tests/integration_tests/auth/test_keycloak_provider_integration.py:240
Methodtest_provider_passes_cache_params
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_github.py:312
Functiontest_provider_schemas
json_schema_to_type should not infinite-loop on schemas from this provider.
tests/utilities/json_schema_type/test_real_world_schemas.py:420
Methodtest_provider_skips_undecorated_files
Provider should skip files with no decorated functions.
tests/fs/test_provider.py:169
Methodtest_provider_tool_execution
Test tool execution uses RequestDirector.
tests/server/providers/openapi/test_server.py:184
Methodtest_provider_unaffected_by_transforms
Test that provider's own tools are unchanged by layers stored on it.
tests/server/providers/test_local_provider.py:667
Methodtest_provider_with_empty_spec
Test provider with minimal OpenAPI spec.
tests/server/providers/openapi/test_server.py:218
Methodtest_provider_with_fastmcp_server
FileSystemProvider should work with FastMCP server.
tests/fs/test_provider.py:380
Methodtest_provider_with_multiple_expected_audiences
Test provider configured with multiple expected audiences.
tests/server/auth/test_jwt_provider_bearer.py:214
Methodtest_provider_with_multiple_expected_issuers
Provider accepts any issuer from the configured list.
tests/server/auth/test_jwt_provider_bearer.py:261
Methodtest_provider_with_prompts
FileSystemProvider should work with prompts.
tests/fs/test_provider.py:457
Methodtest_provider_with_resource_templates
FileSystemProvider should work with resource templates.
tests/fs/test_provider.py:432
Methodtest_provider_with_resources
FileSystemProvider should work with resources.
tests/fs/test_provider.py:406
Methodtest_provider_works_in_production_like_environment
Test provider configuration that mimics production deployment. Note: This test is skipped because mocking httpx2.AsyncClient conflicts with t
tests/integration_tests/auth/test_keycloak_provider_integration.py:283
Methodtest_proxied_calls_do_not_refetch_the_backend_tool_list
Validation used to force a `tools/list` on every proxied call. The proxy builds a fresh client per request, so the SDK's output-schema
tests/server/providers/proxy/test_proxy_server.py:1285
Methodtest_proxied_prompt_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:602
Methodtest_proxied_resource_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:566
Methodtest_proxied_tags_are_visible_to_middleware
Tests that tags on remote FastMCP servers are visible to middleware via proxy. See https://github.com/PrefectHQ/fastmcp/issues/1300
tests/server/middleware/test_middleware_nested.py:483
Methodtest_proxied_template_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:584
Methodtest_proxy_can_list_overwritten_prompt
Test that a prompt defined on the proxy is listed instead of the proxied prompt
tests/server/providers/proxy/test_proxy_server.py:901
Methodtest_proxy_can_list_overwritten_resource
Test that a resource defined on the proxy is listed instead of the proxied resource
tests/server/providers/proxy/test_proxy_server.py:620
Methodtest_proxy_can_list_overwritten_resource_template
Test that a resource template defined on the proxy is listed instead of the proxied template
tests/server/providers/proxy/test_proxy_server.py:732
Methodtest_proxy_can_list_overwritten_tool
Test that a tool defined on the proxy is listed instead of the proxied tool
tests/server/providers/proxy/test_proxy_server.py:505
Methodtest_proxy_can_overwrite_proxied_prompt
Test that a prompt defined on the proxy can overwrite the proxied prompt with the same name.
tests/server/providers/proxy/test_proxy_server.py:881
Methodtest_proxy_can_overwrite_proxied_resource
Test that a resource defined on the proxy can overwrite the proxied resource with the same URI.
tests/server/providers/proxy/test_proxy_server.py:606
Methodtest_proxy_can_overwrite_proxied_resource_template
Test that a resource template defined on the proxy can overwrite the proxied template with the same URI template.
tests/server/providers/proxy/test_proxy_server.py:709
Methodtest_proxy_can_overwrite_proxied_tool
Test that a tool defined on the proxy can overwrite the proxied tool with the same name.
tests/server/providers/proxy/test_proxy_server.py:492
Methodtest_proxy_cimd_dual_redirect_validation
CIMD client from proxy enforces both CIMD redirect_uris and proxy patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:457
Methodtest_proxy_client_can_opt_into_auto
The legacy default is an override-able floor, not a hard pin.
tests/server/providers/proxy/test_proxy_client.py:45
Methodtest_proxy_client_carries_its_own_options
(self)
tests/server/providers/proxy/test_proxy_server.py:1347
Methodtest_proxy_client_defaults_to_legacy
(self)
tests/server/providers/proxy/test_proxy_client.py:41
Methodtest_proxy_custom_patterns
Test OAuth proxy with custom redirect patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:325
Methodtest_proxy_dcr_client_redirect_validation
Test that OAuthProxyClient is created with redirect URI patterns.
tests/server/auth/test_oauth_proxy_storage.py:113
Methodtest_proxy_default_has_no_server_redirect_pattern_restriction
OAuth proxy defaults to no server-level redirect URI pattern restriction.
tests/server/auth/test_oauth_proxy_redirect_validation.py:309
Functiontest_proxy_does_not_forward_frontend_mcp_headers_to_legacy_backend
A modern frontend's transport state does not contaminate a legacy backend.
tests/server/providers/proxy/test_proxy_headers.py:17
Methodtest_proxy_empty_list_validation
Test OAuth proxy with empty list (allow none).
tests/server/auth/test_oauth_proxy_redirect_validation.py:343
Methodtest_proxy_forwards_conforming_result_unchanged
( self, backend_violating_its_schema )
tests/server/providers/proxy/test_proxy_server.py:1249
Functiontest_proxy_forwards_mcp_param_header_to_modern_http_backend
A proxy in front of a modern Streamable-HTTP backend routes an annotated call (SEP-2243). A modern backend validates that an `x-mcp-header` argum
tests/server/providers/proxy/test_proxy_server.py:1552
Methodtest_proxy_forwards_result_violating_backend_schema
( self, backend_violating_its_schema )
tests/server/providers/proxy/test_proxy_server.py:1236
Functiontest_proxy_forwards_upstream_instructions
The metadata middleware forwards upstream instructions.
tests/server/providers/proxy/test_proxy_server.py:206
Methodtest_proxy_forwards_upstream_instructions_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1445
Methodtest_proxy_get_client_returns_cimd_client
CIMD client obtained via proxy's get_client has cimd_document attached.
tests/server/auth/test_oauth_proxy_redirect_validation.py:426
Functiontest_proxy_handles_multiple_concurrent_tasks_correctly
( proxy_server: FastMCPProxy, )
tests/server/providers/proxy/test_proxy_server.py:937
Functiontest_proxy_initialize_defers_remote_connection_error
()
tests/server/providers/proxy/test_proxy_server.py:278
Functiontest_proxy_initialize_middleware_preserves_legacy_behavior
()
tests/server/providers/proxy/test_server_metadata.py:605
Functiontest_proxy_instructions_none_when_upstream_has_none
A proxy over an upstream without instructions reports no instructions.
tests/server/providers/proxy/test_proxy_server.py:224
Methodtest_proxy_instructions_none_when_upstream_has_none_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1460
Functiontest_proxy_list_tools_client_surfaces_remote_connection_error
Connecting succeeds and the first component operation reports the backend. `ProxyProvider._list_tools` normalizes the raw transport failure into
tests/server/providers/proxy/test_proxy_server.py:310
Functiontest_proxy_list_tools_surfaces_remote_connection_error
A dead backend surfaces as an MCPError naming the connection failure. The provider normalizes transport failures into `MCPError` (rather than
tests/server/providers/proxy/test_proxy_server.py:292
Methodtest_proxy_omits_browser_cookies_and_origin
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:557
Functiontest_proxy_own_instructions_take_precedence
Instructions explicitly set on the proxy override the upstream's.
tests/server/providers/proxy/test_proxy_server.py:215
Methodtest_proxy_own_instructions_take_precedence_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1453
Methodtest_proxy_parent_middleware_observes_ask
The proxy round-trip is what lets the parent's own middleware see the ask as a result — it is not swallowed by driving inside the proxy.
tests/server/test_mrtr_guards.py:442
Methodtest_proxy_patterns_also_checked
Test that proxy patterns are checked even for CIMD clients. A CIMD client should not be able to use a redirect_uri that's in its docu
tests/server/auth/test_cimd_validators.py:672
Functiontest_proxy_ping_forwards_to_remote_server
(fastmcp_server)
tests/server/providers/proxy/test_proxy_server.py:259
Functiontest_proxy_ping_surfaces_wrong_remote_path
()
tests/server/providers/proxy/test_proxy_server.py:266
Functiontest_proxy_preserves_x_mcp_header_annotation
A proxy re-advertises a backend tool's `x-mcp-header` annotation (SEP-2243). The routing headers are per-hop: the SDK client regenerates them on
tests/server/providers/proxy/test_proxy_server.py:1524
← previousnext →10,601–10,700 of 13,374, ranked by callers