MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_validation_error_propagates_from_dependency
ValidationError raised in a dependency should propagate unchanged.
tests/server/test_dependencies.py:733
Methodtest_validation_errors_are_not_masked_when_enabled
(self)
tests/client/client/test_error_handling.py:81
Methodtest_validation_logs_omit_client_data
( self, caplog, arguments, error_type )
tests/server/test_input_validation.py:655
Functiontest_validation_rejects_non_enum_arrays
Test validation still rejects arrays of objects.
tests/client/test_elicitation_enums.py:473
Functiontest_validation_rejects_primitive_arrays
Test validation rejects arrays of primitives without enum pattern.
tests/client/test_elicitation_enums.py:488
Methodtest_value_containing_equals
(self)
tests/cli/test_client_commands.py:255
Methodtest_values_coerce_and_defaults_apply
(self, config_reader)
tests/resources/test_resource_template_query_params.py:407
Methodtest_values_coerce_like_real_annotations
(self, postponed_get_config)
tests/resources/test_resource_template_query_params.py:362
Methodtest_various_auth_headers_stripped_on_cross_origin
Verify that different auth header formats are all stripped.
tests/client/transports/test_no_redirect.py:99
Methodtest_various_invalid_boolean_values
Test that various invalid boolean strings raise ValueError.
tests/resources/test_resource_template_query_params.py:323
Methodtest_various_type_conversions
Test type conversion for various data types.
tests/prompts/test_prompt.py:288
Functiontest_vendor_presets_name_their_folder
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/skills/test_deprecated_paths.py:146
Methodtest_verifier_audience_pinned_to_client_id
The provider's token verifier only accepts tokens minted for its own client.
tests/server/auth/providers/test_google.py:43
Methodtest_verifier_full_uris_unchanged
Full URIs should pass through normalization unchanged.
tests/server/auth/providers/test_google.py:239
Methodtest_verifier_normalizes_required_scopes
GoogleTokenVerifier should normalize shorthands in required_scopes.
tests/server/auth/providers/test_google.py:227
Methodtest_verifier_only_challenge_omits_unserved_resource_metadata
( self, transport: Literal["http", "sse"], url_parameter: str, shape: str,
tests/server/http/test_http_auth_middleware.py:204
Methodtest_verifier_only_scope_translation_in_auth_challenges
A sole verifier translates challenge scopes for both 401 and 403.
tests/server/auth/test_multi_auth.py:624
Methodtest_verifier_order_matters
Verifiers are tried in order; first match wins.
tests/server/auth/test_multi_auth.py:296
Methodtest_verifier_used_by_fastmcp
Test that IntrospectionTokenVerifier can be used as FastMCP auth.
tests/server/auth/providers/test_introspection.py:958
Methodtest_verifiers_only
(self)
tests/server/auth/test_multi_auth.py:91
Methodtest_verifiers_only_no_server
MultiAuth with only verifiers (no server) works.
tests/server/auth/test_multi_auth.py:317
Functiontest_verify_ca_bundle_path_passes_to_transport
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:223
Functiontest_verify_defaults_to_none
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_fastmcp_remote.py:200
Methodtest_verify_factory_still_enables_redirects
The verify factory should still create clients with follow_redirects=True.
tests/client/transports/test_no_redirect.py:178
Functiontest_verify_false_disables_verification_on_transport
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:208
Methodtest_verify_id_token_disabled_by_default
Default behavior: verify the access_token.
tests/server/auth/test_oidc_proxy_token.py:74
Methodtest_verify_id_token_does_not_enforce_scopes_on_verifier
When verify_id_token is enabled, required_scopes should not be passed to the JWTVerifier since id_tokens don't carry scope claims.
tests/server/auth/test_oidc_proxy_token.py:296
Methodtest_verify_id_token_returns_id_token
When enabled, verify the id_token instead of access_token.
tests/server/auth/test_oidc_proxy_token.py:95
Methodtest_verify_id_token_returns_none_when_missing
When enabled but id_token is absent, return None.
tests/server/auth/test_oidc_proxy_token.py:117
Methodtest_verify_id_token_survives_refresh_without_id_token
id_token from original auth is preserved when refresh omits it.
tests/server/auth/test_oidc_proxy_token.py:172
Methodtest_verify_id_token_updated_when_refresh_includes_it
id_token is updated when refresh response includes a new one.
tests/server/auth/test_oidc_proxy_token.py:206
Methodtest_verify_id_token_uses_client_id_as_verifier_audience
When verify_id_token is enabled, the verifier audience should be client_id (matching id_token.aud), not the API audience parameter.
tests/server/auth/test_oidc_proxy_token.py:239
Methodtest_verify_id_token_without_audience_uses_client_id
When verify_id_token is enabled without an audience param, the verifier audience should still be client_id.
tests/server/auth/test_oidc_proxy_token.py:271
Methodtest_verify_id_token_works_with_custom_verifier
verify_id_token can be combined with a custom token_verifier.
tests/server/auth/test_oidc_proxy_token.py:141
Functiontest_verify_passes_to_sse_transport
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:235
Methodtest_verify_propagates_to_preconstructed_oauth_instance
(self)
tests/client/transports/test_transports.py:206
Methodtest_verify_token_accepts_permissions_as_required_scopes
( self, rsa_key_pair: RSAKeyPair )
tests/server/auth/providers/test_auth0_mcp.py:52
Methodtest_verify_token_async_callable_exception
Test that exceptions in async validate callable are handled gracefully.
tests/server/auth/test_debug_verifier.py:125
Methodtest_verify_token_async_callable_failure
Test token verification with custom async callable that fails.
tests/server/auth/test_debug_verifier.py:101
Methodtest_verify_token_async_callable_success
Test token verification with custom async callable that passes.
tests/server/auth/test_debug_verifier.py:81
Methodtest_verify_token_callable_exception
Test that exceptions in validate callable are handled gracefully.
tests/server/auth/test_debug_verifier.py:113
Methodtest_verify_token_default_accepts_all
Test that default verifier accepts all non-empty tokens.
tests/server/auth/test_debug_verifier.py:33
Methodtest_verify_token_delegates_to_verifier
Test that verify_token delegates to the token verifier.
tests/server/auth/test_remote_auth_provider.py:41
Methodtest_verify_token_github_api_failure
Test token verification when GitHub API returns error.
tests/server/auth/providers/test_github.py:100
Methodtest_verify_token_pattern_matching
Test using verifier with regex-like pattern matching.
tests/server/auth/test_debug_verifier.py:151
Methodtest_verify_token_rejects_access_token_as_refresh
Access tokens must not be accepted when expecting refresh tokens.
tests/server/auth/test_jwt_issuer.py:302
Methodtest_verify_token_rejects_empty
Test that empty tokens are rejected even with default verifier.
tests/server/auth/test_debug_verifier.py:46
Methodtest_verify_token_rejects_malformed_tokens
Test that malformed tokens are rejected.
tests/server/auth/test_jwt_issuer.py:222
Methodtest_verify_token_rejects_missing_permissions
( self, rsa_key_pair: RSAKeyPair )
tests/server/auth/providers/test_auth0_mcp.py:71
Methodtest_verify_token_rejects_missing_required_scopes
( self, httpx_mock: HTTPXMock )
tests/server/auth/providers/test_workos.py:367
Methodtest_verify_token_rejects_refresh_token_as_access
Refresh tokens must not be accepted when expecting access tokens.
tests/server/auth/test_jwt_issuer.py:290
Methodtest_verify_token_returns_actual_token_scopes
( self, httpx_mock: HTTPXMock )
tests/server/auth/providers/test_workos.py:389
Methodtest_verify_token_success
Test successful token verification.
tests/server/auth/providers/test_github.py:118
Methodtest_verify_token_sync_callable_failure
Test token verification with custom sync callable that fails.
tests/server/auth/test_debug_verifier.py:73
Methodtest_verify_token_sync_callable_success
Test token verification with custom sync callable that passes.
tests/server/auth/test_debug_verifier.py:56
Methodtest_verify_token_validates_audience
Test that tokens for different audiences are rejected.
tests/server/auth/test_jwt_issuer.py:204
Methodtest_verify_token_validates_expiration
Test that expired tokens are rejected.
tests/server/auth/test_jwt_issuer.py:163
Methodtest_verify_token_validates_issuer
Test that tokens from different issuers are rejected.
tests/server/auth/test_jwt_issuer.py:186
Methodtest_verify_token_validates_signature
Test that token verification fails with wrong signing key.
tests/server/auth/test_jwt_issuer.py:141
Methodtest_verify_token_whitelist_pattern
Test using verifier with a whitelist of allowed tokens.
tests/server/auth/test_debug_verifier.py:137
Methodtest_version_command_copy_functionality
Test that the version command copies to clipboard when --copy is used.
tests/cli/test_cli.py:82
Methodtest_version_command_execution
Test that version command executes properly.
tests/cli/test_cli.py:59
Methodtest_version_command_parsing
Test that the version command parses arguments correctly.
tests/cli/test_cli.py:65
Methodtest_version_command_with_copy_flag
Test that the version command parses --copy flag correctly.
tests/cli/test_cli.py:73
Methodtest_version_filter_applied_before_catalog
A VersionFilter added before the CatalogTransform restricts what the catalog sees.
tests/server/transforms/test_catalog.py:183
Methodtest_version_filter_filters_out_high_mounted_version
VersionFilter hides mounted components outside the range.
tests/server/versioning/test_filtering.py:537
Methodtest_version_gte_filters_low_versions
VersionFilter(version_gte='2.0') hides v1, shows v2 and v3.
tests/server/versioning/test_filtering.py:50
Methodtest_version_lt_filters_high_versions
VersionFilter(version_lt='3.0') hides v3+, shows v1 and v2.
tests/server/versioning/test_filtering.py:16
Methodtest_version_metadata_injected
Highest-version tool has meta.fastmcp.versions listing all available.
tests/server/transforms/test_catalog.py:148
Methodtest_version_range
VersionFilter(version_gte='2.0', version_lt='3.0') shows only v2.x.
tests/server/versioning/test_filtering.py:88
Functiontest_version_scoped_removal_keeps_surviving_version
Evicting on remove_tool must not go further than the removed version.
tests/server/test_mcp_param_schema_cache.py:213
Methodtest_version_sort_key_is_total_ordering_tuple
(self)
tests/server/versioning/test_versioning.py:136
Methodtest_version_spec_serialization
Test that VersionSpec is serialized/deserialized correctly.
tests/server/test_session_visibility.py:204
Methodtest_version_with_at_symbol_rejected
Version strings containing '@' should be rejected.
tests/server/versioning/test_calls.py:80
Methodtest_versioned_prompt_via_provider
FileSystemProvider should preserve prompt version.
tests/fs/test_provider.py:746
Methodtest_versioned_resource_via_provider
FileSystemProvider should preserve resource version.
tests/fs/test_provider.py:723
Functiontest_versioned_template_completion_checks_the_listed_version
Completion authorizes the version clients list, not the first one registered.
tests/server/test_completions.py:468
Methodtest_versioned_tool_via_provider
FileSystemProvider should preserve tool version in list_tools output.
tests/fs/test_provider.py:700
Methodtest_versions_of_one_tool_are_a_single_target
Versions are listed individually and share an identity, but they also share a name that resolves to the highest version on its own. On
tests/server/providers/test_prefab_roundtrip.py:457
Methodtest_very_deeply_nested_schema_stops_with_value_error
(self)
tests/utilities/json_schema_type/test_generated_classes.py:525
Functiontest_visibility_is_checked_on_the_version_a_name_reaches
A bare name selects the highest version, so that is the one whose declaration governs. Checking before deduplication would advertise a model-v
tests/server/transforms/test_model_visibility_boundary.py:138
Methodtest_visibility_marker_stripped_from_content_meta
Applying a visibility rule must not add internal meta to content.
tests/resources/test_resource_template.py:1669
Methodtest_visibility_marker_stripped_from_result_meta
(self)
tests/prompts/test_prompt.py:882
Methodtest_visibility_marker_stripped_from_static_resource_meta
( self, resource: TextResource | BinaryResource )
tests/resources/test_resource_template.py:1701
Methodtest_visibility_rules_are_scoped_to_the_user
( self, verifier: StaticTokenVerifier )
tests/server/test_session_scope.py:132
Methodtest_vscode_skills_provider_path
Test VSCodeSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:37
Methodtest_wall_clock_step_back_does_not_drain_tokens
A backwards step of the wall clock (an NTP correction, say) is not negative elapsed time.
tests/server/middleware/test_rate_limiting.py:88
Methodtest_wall_clock_step_back_does_not_extend_window
A backwards step of the wall clock must not keep old requests inside the window.
tests/server/middleware/test_rate_limiting.py:186
Methodtest_warning_cleared_when_fixed
Warnings should clear when a file is fixed, and reappear if broken again.
tests/fs/test_provider.py:307
Methodtest_warning_deduplication_same_file
Warnings for the same broken file should not repeat.
tests/fs/test_provider.py:268
Methodtest_warning_for_missing_key_prefix
Test that subclassing without KEY_PREFIX emits a warning.
tests/utilities/test_components.py:231
Methodtest_warning_lists_only_malformed_keys
The message names the offending keys and omits the valid ones.
tests/server/transforms/test_visibility.py:308
Methodtest_warning_on_file_change
Warnings should reappear when a broken file changes.
tests/fs/test_provider.py:285
Methodtest_warning_points_at_the_caller_for_every_entry_point
(self, tmp_path)
tests/client/client/test_transport.py:164
Functiontest_warning_says_when_every_folder_already_passes
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:56
Methodtest_warns_exactly_once_per_class_name
(self)
tests/test_compat.py:117
Methodtest_warns_on_key_without_delimiter
A key with no '@' can never match a real component key.
tests/server/transforms/test_visibility.py:289
Methodtest_warns_when_both_factory_and_verify_provided_sse
(self)
tests/client/transports/test_transports.py:401
Methodtest_warns_when_both_factory_and_verify_provided_streamable
(self)
tests/client/transports/test_transports.py:392
Methodtest_warns_when_parent_masked_child_not
Mounting an unmasked child into a masked parent logs a warning.
tests/server/mount/test_mount.py:684
← previousnext →15,401–15,500 of 15,974, ranked by callers