MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_infer_composite_client
(self)
tests/client/client/test_transport.py:113
Methodtest_infer_fastmcp_server
FastMCP server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:131
Methodtest_infer_fastmcp_v1_server
FastMCP 1.0 server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:136
Methodtest_infer_local_transport_from_config
(self)
tests/client/client/test_transport.py:86
Methodtest_infer_remote_transport_from_config
(self)
tests/client/client/test_transport.py:71
Methodtest_infinity_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:33
Methodtest_inherit_default_on_template
(self)
tests/resources/test_resource_security.py:314
Methodtest_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:41
Methodtest_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:138
Methodtest_init
Test RemoteAuthProvider initialization.
tests/server/auth/test_remote_auth_provider.py:26
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:48
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:338
Methodtest_init_custom
Test custom interval initialization.
tests/server/middleware/test_ping.py:25
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_timing.py:39
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_logging.py:100
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:250
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:437
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:497
Methodtest_init_custom_parameters
Test initialization with custom parameters.
tests/server/auth/test_debug_verifier.py:20
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:39
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:328
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_ping.py:19
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_timing.py:33
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_timing.py:72
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_logging.py:89
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_logging.py:224
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:208
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:430
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:491
Methodtest_init_defaults
Test initialization with default parameters.
tests/server/auth/test_debug_verifier.py:11
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_clerk.py:56
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_auth0.py:77
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_google.py:57
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_discord.py:36
Methodtest_init_defaults
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:48
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_azure.py:54
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_github.py:45
Methodtest_init_defaults
Test initialization with defaults.
tests/server/auth/providers/test_github.py:91
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_workos.py:95
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_aws.py:72
Methodtest_init_does_not_require_api_client_id_anymore
API client ID is no longer required; audience is client_id.
tests/server/auth/providers/test_azure.py:182
Methodtest_init_from_bytes
Bytes input is normalized to list[ResourceContent].
tests/resources/test_resources.py:205
Methodtest_init_from_dict_auto_serializes
Dict input is auto-serialized to JSON text.
tests/resources/test_resources.py:212
Methodtest_init_from_list_of_resource_content
List of ResourceContent is used directly.
tests/resources/test_resources.py:226
Methodtest_init_from_mixed_list_raises_type_error
Mixed list items raise TypeError - all items must be ResourceContent.
tests/resources/test_resources.py:237
Methodtest_init_from_oidc_discovery
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:91
Methodtest_init_from_single_resource_content_raises_type_error
Single ResourceContent raises TypeError - must be in a list.
tests/resources/test_resources.py:220
Methodtest_init_from_string
String input is normalized to list[ResourceContent].
tests/resources/test_resources.py:198
Methodtest_init_invalid_interval_negative
Test that negative interval raises ValueError.
tests/server/middleware/test_ping.py:35
Methodtest_init_invalid_interval_zero
Test that zero interval raises ValueError.
tests/server/middleware/test_ping.py:30
Methodtest_init_prefers_base_url_over_mcp_url
mcp_url should take precedence over base_url when both provided.
tests/server/auth/providers/test_scalekit.py:41
Methodtest_init_preserves_all_legacy_positional_slots
(self, test_tokens)
tests/server/auth/test_remote_auth_provider.py:185
Methodtest_init_preserves_legacy_positional_scopes_supported_slot
Legacy positional scopes_supported should not bind to resource_base_url.
tests/server/auth/test_remote_auth_provider.py:169
Methodtest_init_preserves_meta
Meta is preserved on ResourceResult.
tests/resources/test_resources.py:242
Methodtest_init_with_custom_audience_uses_jwt_verifier
When audience is provided, JWTVerifier is configured with JWKS and issuer.
tests/server/auth/providers/test_azure.py:197
Methodtest_init_with_custom_scopes
Test initialization with custom required scopes.
tests/server/auth/providers/test_github.py:81
Methodtest_init_with_custom_token_verifier
Test initialization with custom token verifier.
tests/server/auth/providers/test_keycloak.py:45
Methodtest_init_with_explicit_params
Test ClerkProvider initialization with explicit parameters.
tests/server/auth/providers/test_clerk.py:37
Methodtest_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_auth0.py:37
Methodtest_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_oci.py:39
Methodtest_init_with_explicit_params
Test DescopeProvider initialization with explicit parameters.
tests/server/auth/providers/test_descope.py:30
Methodtest_init_with_explicit_params
Test SupabaseProvider initialization with explicit parameters.
tests/server/auth/providers/test_supabase.py:18
Methodtest_init_with_explicit_params
Test GoogleProvider initialization with explicit parameters.
tests/server/auth/providers/test_google.py:27
Methodtest_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_keycloak.py:16
Methodtest_init_with_explicit_params
Test DiscordProvider initialization with explicit parameters.
tests/server/auth/providers/test_discord.py:20
Methodtest_init_with_explicit_params
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:33
Methodtest_init_with_explicit_params
Test AzureProvider initialization with explicit parameters.
tests/server/auth/providers/test_azure.py:32
Methodtest_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_github.py:23
Methodtest_init_with_explicit_params
Test ScalekitProvider initialization with explicit parameters.
tests/server/auth/providers/test_scalekit.py:17
Methodtest_init_with_explicit_params
Test WorkOSProvider initialization with explicit parameters.
tests/server/auth/providers/test_workos.py:34
Methodtest_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_aws.py:40
Methodtest_init_with_mcp_url_only
Allow legacy mcp_url parameter as base_url.
tests/server/auth/providers/test_scalekit.py:31
Methodtest_init_with_only_required_params
Test PropelAuthProvider initialization with only required params.
tests/server/auth/providers/test_propelauth.py:24
Methodtest_init_with_resource_base_url
Test that resource_base_url overrides the advertised protected resource.
tests/server/auth/providers/test_github.py:60
Methodtest_init_with_string_scopes
Test initialization with scopes as comma-separated string.
tests/server/auth/providers/test_keycloak.py:35
Methodtest_initial_exchange_decouples_access_token_from_upstream
A long FastMCP TTL applies even though upstream returns expires_in=3600.
tests/server/auth/oauth_proxy/test_tokens.py:1005
Methodtest_initial_exchange_default_mirrors_upstream
With the param unset, the FastMCP access token mirrors upstream.
tests/server/auth/oauth_proxy/test_tokens.py:1168
Methodtest_initial_exchange_jti_mapping_aligned_with_refresh_expiry
Bug 1: JTI mapping TTL must align with refresh_expires_in. Previously hardcoded to 30 days, which silently expired the mapping early
tests/server/auth/oauth_proxy/test_tokens.py:662
Methodtest_initial_exchange_uses_fallback_when_upstream_silent
When upstream omits refresh_expires_in, fall back to configured value. Default is 1 year (was previously 30 days, ignoring user config).
tests/server/auth/oauth_proxy/test_tokens.py:733
Methodtest_initialization
Test that a class inheriting MCPMixin can be initialized.
tests/contrib/test_mcp_mixin.py:27
Methodtest_initialization
Test middleware initialization.
tests/server/middleware/test_caching.py:251
Methodtest_initialization
Test verifier initialization.
tests/server/auth/providers/test_introspection.py:38
Methodtest_initialization_defaults_to_client_secret_basic
Test that client_secret_basic is the default auth method.
tests/server/auth/providers/test_introspection.py:411
Methodtest_initialization_rejects_both_key_and_uri
Test that both public_key and jwks_uri cannot be provided.
tests/server/auth/test_jwt_provider_bearer.py:95
Methodtest_initialization_rejects_hs_algorithm_with_jwks_uri
Test that HMAC algorithms cannot be used with JWKS URI.
tests/server/auth/test_jwt_provider.py:320
Methodtest_initialization_rejects_invalid_client_auth_method
Test that invalid client_auth_method values are rejected.
tests/server/auth/providers/test_introspection.py:421
Methodtest_initialization_requires_client_id
Test that client_id is required.
tests/server/auth/providers/test_introspection.py:60
Methodtest_initialization_requires_client_secret
Test that client_secret is required.
tests/server/auth/providers/test_introspection.py:68
Methodtest_initialization_requires_introspection_url
Test that introspection_url is required.
tests/server/auth/providers/test_introspection.py:52
Methodtest_initialization_requires_key_or_uri
Test that either public_key or jwks_uri is required.
tests/server/auth/test_jwt_provider_bearer.py:88
Methodtest_initialization_with_all_params
Test component initialization with all parameters.
tests/utilities/test_components.py:69
Methodtest_initialization_with_client_secret_post
Test verifier initialization with client_secret_post method.
tests/server/auth/providers/test_introspection.py:397
Methodtest_initialization_with_different_symmetric_algorithms
Test JWTVerifier initialization with different HMAC algorithms.
tests/server/auth/test_jwt_provider.py:329
Methodtest_initialization_with_jwks_uri
Test provider initialization with JWKS URI.
tests/server/auth/test_jwt_provider_bearer.py:77
Methodtest_initialization_with_minimal_params
Test component initialization with minimal parameters.
tests/utilities/test_components.py:60
Methodtest_initialization_with_public_key
Test provider initialization with public key.
tests/server/auth/test_jwt_provider_bearer.py:67
Methodtest_initialization_with_symmetric_key
Test JWTVerifier initialization with symmetric key.
tests/server/auth/test_jwt_provider.py:305
Methodtest_initialization_without_network_call
Test that provider initialization doesn't require network call to Keycloak. Since we use hard-coded Keycloak URL patterns, initialization suc
tests/integration_tests/auth/test_keycloak_provider_integration.py:170
Methodtest_initialize
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:327
Functiontest_initialize_called_once
Test that initialization is called once and sets initialize_result.
tests/client/client/test_client.py:366
← previousnext →10,401–10,500 of 15,974, ranked by callers