Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
test_infer_composite_client
(self)
tests/client/client/test_transport.py:113
Method
test_infer_fastmcp_server
FastMCP server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:131
Method
test_infer_fastmcp_v1_server
FastMCP 1.0 server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:136
Method
test_infer_local_transport_from_config
(self)
tests/client/client/test_transport.py:86
Method
test_infer_remote_transport_from_config
(self)
tests/client/client/test_transport.py:71
Method
test_infinity_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:33
Method
test_inherit_default_on_template
(self)
tests/resources/test_resource_security.py:314
Method
test_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:41
Method
test_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:138
Method
test_init
Test RemoteAuthProvider initialization.
tests/server/auth/test_remote_auth_provider.py:26
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:48
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:338
Method
test_init_custom
Test custom interval initialization.
tests/server/middleware/test_ping.py:25
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_timing.py:39
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_logging.py:100
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:250
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:437
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:497
Method
test_init_custom_parameters
Test initialization with custom parameters.
tests/server/auth/test_debug_verifier.py:20
Method
test_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:39
Method
test_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:328
Method
test_init_default
Test default initialization.
tests/server/middleware/test_ping.py:19
Method
test_init_default
Test default initialization.
tests/server/middleware/test_timing.py:33
Method
test_init_default
Test default initialization.
tests/server/middleware/test_timing.py:72
Method
test_init_default
Test default initialization.
tests/server/middleware/test_logging.py:89
Method
test_init_default
Test default initialization.
tests/server/middleware/test_logging.py:224
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:208
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:430
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:491
Method
test_init_defaults
Test initialization with default parameters.
tests/server/auth/test_debug_verifier.py:11
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_clerk.py:56
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_auth0.py:77
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_google.py:57
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_discord.py:36
Method
test_init_defaults
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:48
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_azure.py:54
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_github.py:45
Method
test_init_defaults
Test initialization with defaults.
tests/server/auth/providers/test_github.py:91
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_workos.py:95
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_aws.py:72
Method
test_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
Method
test_init_from_bytes
Bytes input is normalized to list[ResourceContent].
tests/resources/test_resources.py:205
Method
test_init_from_dict_auto_serializes
Dict input is auto-serialized to JSON text.
tests/resources/test_resources.py:212
Method
test_init_from_list_of_resource_content
List of ResourceContent is used directly.
tests/resources/test_resources.py:226
Method
test_init_from_mixed_list_raises_type_error
Mixed list items raise TypeError - all items must be ResourceContent.
tests/resources/test_resources.py:237
Method
test_init_from_oidc_discovery
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:91
Method
test_init_from_single_resource_content_raises_type_error
Single ResourceContent raises TypeError - must be in a list.
tests/resources/test_resources.py:220
Method
test_init_from_string
String input is normalized to list[ResourceContent].
tests/resources/test_resources.py:198
Method
test_init_invalid_interval_negative
Test that negative interval raises ValueError.
tests/server/middleware/test_ping.py:35
Method
test_init_invalid_interval_zero
Test that zero interval raises ValueError.
tests/server/middleware/test_ping.py:30
Method
test_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
Method
test_init_preserves_all_legacy_positional_slots
(self, test_tokens)
tests/server/auth/test_remote_auth_provider.py:185
Method
test_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
Method
test_init_preserves_meta
Meta is preserved on ResourceResult.
tests/resources/test_resources.py:242
Method
test_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
Method
test_init_with_custom_scopes
Test initialization with custom required scopes.
tests/server/auth/providers/test_github.py:81
Method
test_init_with_custom_token_verifier
Test initialization with custom token verifier.
tests/server/auth/providers/test_keycloak.py:45
Method
test_init_with_explicit_params
Test ClerkProvider initialization with explicit parameters.
tests/server/auth/providers/test_clerk.py:37
Method
test_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_auth0.py:37
Method
test_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_oci.py:39
Method
test_init_with_explicit_params
Test DescopeProvider initialization with explicit parameters.
tests/server/auth/providers/test_descope.py:30
Method
test_init_with_explicit_params
Test SupabaseProvider initialization with explicit parameters.
tests/server/auth/providers/test_supabase.py:18
Method
test_init_with_explicit_params
Test GoogleProvider initialization with explicit parameters.
tests/server/auth/providers/test_google.py:27
Method
test_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_keycloak.py:16
Method
test_init_with_explicit_params
Test DiscordProvider initialization with explicit parameters.
tests/server/auth/providers/test_discord.py:20
Method
test_init_with_explicit_params
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:33
Method
test_init_with_explicit_params
Test AzureProvider initialization with explicit parameters.
tests/server/auth/providers/test_azure.py:32
Method
test_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_github.py:23
Method
test_init_with_explicit_params
Test ScalekitProvider initialization with explicit parameters.
tests/server/auth/providers/test_scalekit.py:17
Method
test_init_with_explicit_params
Test WorkOSProvider initialization with explicit parameters.
tests/server/auth/providers/test_workos.py:34
Method
test_init_with_explicit_params
Test initialization with explicit parameters.
tests/server/auth/providers/test_aws.py:40
Method
test_init_with_mcp_url_only
Allow legacy mcp_url parameter as base_url.
tests/server/auth/providers/test_scalekit.py:31
Method
test_init_with_only_required_params
Test PropelAuthProvider initialization with only required params.
tests/server/auth/providers/test_propelauth.py:24
Method
test_init_with_resource_base_url
Test that resource_base_url overrides the advertised protected resource.
tests/server/auth/providers/test_github.py:60
Method
test_init_with_string_scopes
Test initialization with scopes as comma-separated string.
tests/server/auth/providers/test_keycloak.py:35
Method
test_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
Method
test_initial_exchange_default_mirrors_upstream
With the param unset, the FastMCP access token mirrors upstream.
tests/server/auth/oauth_proxy/test_tokens.py:1168
Method
test_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
Method
test_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
Method
test_initialization
Test that a class inheriting MCPMixin can be initialized.
tests/contrib/test_mcp_mixin.py:27
Method
test_initialization
Test middleware initialization.
tests/server/middleware/test_caching.py:251
Method
test_initialization
Test verifier initialization.
tests/server/auth/providers/test_introspection.py:38
Method
test_initialization_defaults_to_client_secret_basic
Test that client_secret_basic is the default auth method.
tests/server/auth/providers/test_introspection.py:411
Method
test_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
Method
test_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
Method
test_initialization_rejects_invalid_client_auth_method
Test that invalid client_auth_method values are rejected.
tests/server/auth/providers/test_introspection.py:421
Method
test_initialization_requires_client_id
Test that client_id is required.
tests/server/auth/providers/test_introspection.py:60
Method
test_initialization_requires_client_secret
Test that client_secret is required.
tests/server/auth/providers/test_introspection.py:68
Method
test_initialization_requires_introspection_url
Test that introspection_url is required.
tests/server/auth/providers/test_introspection.py:52
Method
test_initialization_requires_key_or_uri
Test that either public_key or jwks_uri is required.
tests/server/auth/test_jwt_provider_bearer.py:88
Method
test_initialization_with_all_params
Test component initialization with all parameters.
tests/utilities/test_components.py:69
Method
test_initialization_with_client_secret_post
Test verifier initialization with client_secret_post method.
tests/server/auth/providers/test_introspection.py:397
Method
test_initialization_with_different_symmetric_algorithms
Test JWTVerifier initialization with different HMAC algorithms.
tests/server/auth/test_jwt_provider.py:329
Method
test_initialization_with_jwks_uri
Test provider initialization with JWKS URI.
tests/server/auth/test_jwt_provider_bearer.py:77
Method
test_initialization_with_minimal_params
Test component initialization with minimal parameters.
tests/utilities/test_components.py:60
Method
test_initialization_with_public_key
Test provider initialization with public key.
tests/server/auth/test_jwt_provider_bearer.py:67
Method
test_initialization_with_symmetric_key
Test JWTVerifier initialization with symmetric key.
tests/server/auth/test_jwt_provider.py:305
Method
test_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
Method
test_initialize
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:327
Function
test_initialize_called_once
Test that initialization is called once and sets initialize_result.
tests/client/client/test_client.py:366
← previous
next →
10,401–10,500 of 15,974, ranked by callers