MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodtest_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_google.py:71
Methodtest_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_discord.py:49
Methodtest_oauth_endpoints_configured_correctly
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:61
Methodtest_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_azure.py:102
Methodtest_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_workos.py:185
Methodtest_oauth_error_response_raises
( self, httpx_mock: HTTPXMock, description: str | None )
tests/server/auth/oauth_proxy/test_upstream_client.py:201
Methodtest_oauth_finds_available_port_on_callback_host
( self, monkeypatch: pytest.MonkeyPatch )
tests/client/auth/test_oauth_client.py:333
Methodtest_oauth_insufficient_scope_challenge_excludes_optional_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:894
Methodtest_oauth_literal_pass_direct_to_transport
(self)
tests/client/client/test_auth.py:31
Methodtest_oauth_literal_pass_direct_to_transport_sse
(self)
tests/client/client/test_auth.py:43
Methodtest_oauth_literal_sets_up_oauth_shttp
(self)
tests/client/client/test_auth.py:24
Methodtest_oauth_literal_sets_up_oauth_sse
(self)
tests/client/client/test_auth.py:38
Methodtest_oauth_missing_auth_challenge_excludes_optional_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:881
Methodtest_oauth_normalizes_trailing_slash
OAuth client should normalize trailing slashes for consistency.
tests/client/auth/test_oauth_client.py:285
Methodtest_oauth_preserves_full_url_with_path
OAuth client should preserve the full MCP URL including path components. This is critical for servers hosted under path-based endpoints like
tests/client/auth/test_oauth_client.py:261
Methodtest_oauth_preserves_root_url
OAuth client should work correctly with root-level URLs.
tests/client/auth/test_oauth_client.py:277
Functiontest_oauth_proxy_propagates_operational_verification_error
()
tests/server/auth/providers/test_github_transient_failures.py:350
Functiontest_oauth_server_metadata_discovery
Test that we can discover OAuth metadata from the running server.
tests/client/auth/test_oauth_client.py:154
Methodtest_oauth_token_storage_uses_full_url
Token storage should use the full URL to separate tokens per endpoint.
tests/client/auth/test_oauth_client.py:295
Functiontest_oauth_token_store_survives_rebuilds
()
tests/client/transports/test_oauth_transport_reuse.py:56
Methodtest_oauth_uses_configured_callback_host_port_and_timeout
(self)
tests/client/auth/test_oauth_client.py:303
Functiontest_oauth_uses_same_client_as_transport_sse
()
tests/client/transports/test_transports.py:64
Functiontest_oauth_uses_same_client_as_transport_streamable_http
()
tests/client/transports/test_transports.py:46
Methodtest_object
(self)
tests/cli/test_client_commands.py:87
Methodtest_object
(self)
tests/cli/test_generate_cli.py:812
Methodtest_object_accepts_extra_properties
(self, simple_object)
tests/utilities/json_schema_type/test_containers.py:336
Methodtest_object_accepts_valid
(self, simple_object)
tests/utilities/json_schema_type/test_containers.py:330
Methodtest_object_const_in_union
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:373
Methodtest_object_consts_invalid
(self, object_with_consts)
tests/utilities/json_schema_type/test_advanced.py:904
Methodtest_object_consts_valid
(self, object_with_consts)
tests/utilities/json_schema_type/test_advanced.py:895
Methodtest_object_default_still_merges_into_provided_object
The fix above leaves fastmcp's existing object-default merge unchanged.
tests/utilities/json_schema_type/test_json_schema_type.py:257
Methodtest_object_default_that_breaks_provided_object_is_not_merged
(self)
tests/utilities/json_schema_type/test_advanced.py:71
Functiontest_object_json_body_reaches_http_endpoint
( openapi_version: str, use_ref: bool, schema: dict[str, Any], arguments: dict[str, Any],
tests/server/providers/openapi/test_object_request_bodies.py:93
Functiontest_object_literal_distinguishes_boolean_from_number
( keyword: str, properties: bool )
tests/utilities/json_schema_type/test_object_literals.py:162
Functiontest_object_literal_enforces_const_and_enum
( properties: bool, compatible: bool )
tests/utilities/json_schema_type/test_object_literals.py:180
Functiontest_object_literal_returns_cached_named_class
(additional_properties: bool)
tests/utilities/json_schema_type/test_object_literals.py:139
Methodtest_object_output_schema_not_wrapped
Test that object-type output schemas are never wrapped.
tests/tools/tool/test_output_schema.py:488
Functiontest_object_parameter_omits_nested_read_only_properties
()
tests/server/providers/openapi/test_read_only_requests.py:162
Functiontest_object_query_defaults_preserve_existing_behavior
( style: str, expected: list[tuple[str, str]] )
tests/server/providers/openapi/test_query_array_defaults.py:83
Methodtest_object_with_underscore_names
(self)
tests/utilities/json_schema_type/test_containers.py:367
Methodtest_object_with_unsupported_pattern_field
An object schema containing a field with an unsupported pattern should not crash TypeAdapter construction.
tests/utilities/json_schema_type/test_json_schema_type.py:519
Methodtest_oci_provider_defaults_to_bounded_timeout
OCIProvider exposes and defaults the discovery timeout.
tests/server/auth/test_oidc_proxy.py:969
Methodtest_off_does_not_inject
(self, mode, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_interop.py:185
Methodtest_off_ignores_incoming_parent
`off` is a full pass-through: the incoming context is not applied.
tests/telemetry/test_interop.py:179
Methodtest_off_switch_leaves_enclosing_span_current
Disabling telemetry must be a transparent pass-through. The stock OpenTelemetry `NoOpTracer.start_as_current_span` attaches a `NonRec
tests/server/telemetry/test_server_tracing.py:670
Methodtest_off_switch_suppresses_spans
With telemetry disabled, no spans are created even with an SDK configured (the exporter fixture installs one).
tests/server/telemetry/test_server_tracing.py:615
Methodtest_off_switch_suppresses_spans_via_client
The off-switch suppresses every FastMCP span on the full request path (seam SERVER span and FastMCP CLIENT span alike). The SDK's own
tests/server/telemetry/test_server_tracing.py:636
Methodtest_offline_access_automatically_included
Test that offline_access is automatically added to get refresh tokens.
tests/server/auth/providers/test_azure.py:70
Methodtest_offline_access_not_duplicated
Test that offline_access is not duplicated if already specified.
tests/server/auth/providers/test_azure.py:85
Methodtest_oidc_discovery_alias_path_aware
Test that /.well-known/openid-configuration aliases are added for path-aware issuers. RFC 8414 §5 allows servers to expose OAuth metadata at
tests/server/auth/test_oauth_mounting.py:385
Methodtest_oidc_discovery_alias_root
Test that /.well-known/openid-configuration alias is added for root issuers.
tests/server/auth/test_oauth_mounting.py:417
Methodtest_oidc_discovery_integration
Test that OIDC discovery endpoints are used correctly.
tests/server/auth/providers/test_aws.py:89
Methodtest_oidc_discovery_returns_auth_server_metadata
Test that /.well-known/openid-configuration returns valid OAuth server metadata. The response must include the core RFC 8414 fields so that O
tests/server/auth/test_oauth_mounting.py:437
Functiontest_oidc_provider_forwards_identity_assertion
( provider: type, kwargs: dict )
tests/server/auth/providers/test_identity_assertion_forwarding.py:126
Methodtest_oidc_proxy_defaults_to_bounded_timeout
OIDCProxy applies a bounded discovery timeout when none is given.
tests/server/auth/test_oidc_proxy.py:900
Methodtest_oidc_proxy_forwards_explicit_timeout
An explicit timeout (including None as an escape hatch) is forwarded.
tests/server/auth/test_oidc_proxy.py:917
Methodtest_oidc_scopes_constant
Verify OIDC_SCOPES contains the standard OIDC scopes.
tests/server/auth/providers/test_azure_scopes.py:41
Methodtest_oidc_scopes_not_prefixed
(self)
tests/server/auth/providers/test_azure_scopes.py:544
Methodtest_old_api_accepts_every_issuer_form
project_id + descope_base_url derive the same project-scoped issuers.
tests/server/auth/providers/test_descope.py:455
Functiontest_old_client_helpers_warn_and_keep_working
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:167
Functiontest_old_directory_provider_warns_and_keeps_serving
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:28
Methodtest_old_serialized_entry_without_new_fields_deserializes
(self)
tests/server/middleware/test_caching.py:782
Functiontest_old_skill_provider_warns_with_the_fix_and_keeps_serving
( tmp_path: Path, )
tests/skills/test_deprecated_paths.py:125
Functiontest_older_listing_cannot_replace_newer_cache
(upstream_client, kind)
tests/server/providers/proxy/test_cache_refresh_races.py:75
Methodtest_omit_user_id
(self, meter_provider, reader, monkeypatch)
tests/server/middleware/test_usage.py:507
Functiontest_omitted_and_explicit_none_reuse_default_timeout
()
tests/client/test_stdio_session_kwargs.py:185
Methodtest_omitted_arguments_keep_existing_command
(self, tmp_path: Path)
tests/client/test_stdio.py:1090
Functiontest_omitted_client_id_keeps_claim_validation
( token_client: TestClient, rsa_key_pair: RSAKeyPair, overrides: AssertionOverrides )
tests/server/auth/test_private_key_jwt_auth.py:110
Functiontest_omitted_client_id_keeps_replay_validation
( token_client: TestClient, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:128
Functiontest_omitted_client_id_keeps_signature_validation
( token_client: TestClient, rsa_key_pair_2: RSAKeyPair )
tests/server/auth/test_private_key_jwt_auth.py:120
Methodtest_omitted_fields_inherit_server_defaults_independently
Server has cache_ttl=60 and cache_scope='public'. Setting only ttl_ms inherits server cache_scope='public'; setting only cache_scope inherits server c
tests/server/test_cache_hints.py:266
Methodtest_omitting_response_type_raises_type_error
(self)
tests/client/test_elicitation.py:809
Methodtest_on_call_tool
Test timing tool calls.
tests/server/middleware/test_timing.py:78
Functiontest_on_discover_forwards_modified_params
()
tests/server/middleware/test_discovery_middleware.py:42
Functiontest_on_discover_preserves_extension_owned_result
()
tests/server/middleware/test_discovery_middleware.py:78
Functiontest_on_discover_receives_and_transforms_typed_result
()
tests/server/middleware/test_discovery_middleware.py:12
Methodtest_on_get_prompt
Test timing prompt retrieval.
tests/server/middleware/test_timing.py:102
Methodtest_on_list_tools
Test timing tool listing.
tests/server/middleware/test_timing.py:114
Methodtest_on_message_error_transform
Test error handling with transformation.
tests/server/middleware/test_error_handling.py:230
Methodtest_on_message_error_transform_tool_error
Test error handling with transformation and cause type.
tests/server/middleware/test_error_handling.py:244
Methodtest_on_message_failure
Test logging failed messages.
tests/server/middleware/test_logging.py:203
Methodtest_on_message_failure
Test structured logging of failed messages.
tests/server/middleware/test_logging.py:257
Methodtest_on_message_success
Test successful message handling.
tests/server/middleware/test_error_handling.py:221
Methodtest_on_message_success
Test logging successful messages.
tests/server/middleware/test_logging.py:182
Methodtest_on_message_transformed_error_is_caused_by_original
A transformed error still chains to the error it replaces.
tests/server/middleware/test_error_handling.py:282
Methodtest_on_message_untransformed_error_keeps_its_cause
An error re-raised as-is must not become its own cause.
tests/server/middleware/test_error_handling.py:267
Methodtest_on_message_with_custom_serializer_applied
Ensure a custom serializer is used for non-JSONable payloads.
tests/server/middleware/test_logging.py:364
Methodtest_on_message_with_nonserializable_payload_falls_back_to_str
Ensure non-JSONable objects fall back to string serialization in payload.
tests/server/middleware/test_logging.py:332
Methodtest_on_message_with_pydantic_types_in_payload
Ensure Pydantic AnyUrl in payload serializes correctly when include_payloads=True.
tests/server/middleware/test_logging.py:275
Methodtest_on_message_with_resource_template_in_payload
Ensure ResourceTemplate in payload serializes via pydantic conversion without errors.
tests/server/middleware/test_logging.py:304
Methodtest_on_read_resource
Test timing resource reads.
tests/server/middleware/test_timing.py:90
Methodtest_on_request_async_get_client_id
Test per-client rate limiting with an async get_client_id.
tests/server/middleware/test_rate_limiting.py:346
Methodtest_on_request_async_get_client_id
Test sliding window rate limiting with an async get_client_id.
tests/server/middleware/test_rate_limiting.py:470
Methodtest_on_request_failure
Test timing failed requests.
tests/server/middleware/test_timing.py:57
Methodtest_on_request_max_retries_exceeded
Test request failing after max retries.
tests/server/middleware/test_error_handling.py:437
Methodtest_on_request_non_retryable_error
Test non-retryable error is not retried.
tests/server/middleware/test_error_handling.py:451
Methodtest_on_request_rate_limited
Test request rejection due to rate limiting.
tests/server/middleware/test_rate_limiting.py:299
Methodtest_on_request_rate_limited
Test request rejection due to rate limiting.
tests/server/middleware/test_rate_limiting.py:459
Methodtest_on_request_success
Test timing successful requests.
tests/server/middleware/test_timing.py:46
Methodtest_on_request_success
Test successful request within rate limit.
tests/server/middleware/test_rate_limiting.py:290
← previousnext →13,201–13,300 of 17,519, ranked by callers