MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

Methodtest_unused_escaped_defs_are_still_pruned
(self)
tests/utilities/test_json_schema.py:1018
Methodtest_unused_invalid_key_does_not_break_explicit_auth
( self, auth: str, monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_client_commands.py:684
Functiontest_unverified_scopes_are_not_cached_without_required_scopes
(status_code)
tests/server/auth/providers/test_github_transient_failures.py:239
Methodtest_unversioned_always_passes
Unversioned components pass through any filter.
tests/server/versioning/test_filtering.py:131
Methodtest_unversioned_bypasses_version_filter
Unversioned components pass through any VersionFilter - by design.
tests/server/versioning/test_filtering.py:621
Methodtest_unversioned_components_do_not_crash_tiebreak
(self)
tests/server/versioning/test_versioning.py:145
Methodtest_unversioned_components_excluded_from_list
(self)
tests/server/versioning/test_versioning.py:454
Methodtest_unversioned_components_have_no_version
Components without version should have version=None.
tests/fs/test_discovery.py:501
Methodtest_unversioned_does_not_match_version_spec
Unversioned components (version=None) don't match a VersionSpec.
tests/server/transforms/test_visibility.py:58
Methodtest_unversioned_matches_any_version_spec
VersionSpec.matches(None) returns True for any spec.
tests/server/versioning/test_filtering.py:660
Methodtest_unversioned_no_versions_list
Unversioned components should not have versions list in meta.
tests/server/versioning/test_calls.py:160
Methodtest_unversioned_returned_for_exact_version_request
Requesting exact version of unversioned tool returns the tool.
tests/server/versioning/test_filtering.py:646
Methodtest_unwired_session_call_raises_unexpected_claimed
Regression guard for the half-wired bug: the raw session path raises. With the claim registered, calling `session.call_tool` directly (FastMC
tests/client/test_client_extensions.py:275
Methodtest_unwrapped_result_has_no_meta_flag
Unwrapped dict results do not include wrap_result in meta.
tests/server/providers/local_provider_tools/test_output_schema.py:282
Methodtest_unwraps_multiauth_with_azure_server
When auth is a MultiAuth wrapping an AzureProvider, return the inner provider.
tests/server/auth/providers/test_azure_scopes.py:831
Methodtest_update_default_scopes_applies_to_dcr_registration
DCR clients without scope should receive the updated default scopes.
tests/server/auth/oauth_proxy/test_client_registration.py:246
Methodtest_update_default_scopes_no_cimd_manager
update_default_scopes should work when CIMD is disabled (no manager).
tests/server/auth/oauth_proxy/test_oauth_proxy.py:178
Methodtest_update_default_scopes_updates_cimd_manager
update_default_scopes should update CIMD manager's default_scope.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:126
Methodtest_update_default_scopes_updates_registration_options
update_default_scopes should update client registration scope options.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:146
Methodtest_update_default_scopes_updates_scope_str
update_default_scopes should update the internal default scope string.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:108
Methodtest_upload_is_rejected
(self)
tests/server/test_session_scope.py:79
Methodtest_uploaded_files_persist_across_calls
(self)
tests/server/test_session_scope.py:62
Methodtest_uploads_are_scoped_to_the_user
(self, verifier: StaticTokenVerifier)
tests/server/test_session_scope.py:119
Methodtest_uppercase_registry_is_honored
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:791
Methodtest_upstream_claims_not_mutated_on_cached_token
( self, proxy, mock_verifier )
tests/server/auth/oauth_proxy/test_tokens.py:1976
Methodtest_upstream_claims_propagated
(self, proxy)
tests/server/auth/oauth_proxy/test_tokens.py:1968
Methodtest_upstream_client_id_inherits_allowed_redirect_uris
Synthetic upstream client respects the proxy's redirect URI restrictions.
tests/server/auth/oauth_proxy/test_client_registration.py:523
Methodtest_upstream_client_id_returns_synthetic_client
Clients that skip DCR and use upstream client_id directly are accepted.
tests/server/auth/oauth_proxy/test_client_registration.py:514
Methodtest_upstream_http_status_error_logs_without_traceback
(self, caplog)
tests/server/test_input_validation.py:776
Methodtest_upstream_token_expiry_preserved_for_transparent_refresh
Decoupling must not corrupt the upstream token's real expiry. The stored upstream token still expires at ~upstream expires_in so that
tests/server/auth/oauth_proxy/test_tokens.py:1023
Methodtest_uri_invalid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:99
Methodtest_uri_reference_invalid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:114
Methodtest_uri_reference_relative_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:109
Methodtest_uri_reference_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:104
Methodtest_uri_valid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:94
Methodtest_url
(self)
tests/cli/test_generate_cli.py:396
Methodtest_url
(self, transport_cls: type, url: str)
tests/cli/test_generate_cli_remote.py:52
Methodtest_url_building
Test URL building with different base URLs.
tests/utilities/openapi/test_director.py:311
Methodtest_url_injection_protection
(self)
tests/cli/test_goose.py:106
Methodtest_url_issuer_still_works
Test that URL issuers still work after the fix.
tests/server/auth/test_jwt_provider_bearer.py:488
Methodtest_url_returns_sse_transport
Test that URLs with /sse/ pattern return SSETransport.
tests/client/client/test_transport.py:46
Methodtest_url_returns_streamable_http_transport
Test that URLs without /sse/ pattern return StreamableHttpTransport.
tests/client/client/test_transport.py:67
Methodtest_url_string
(self)
tests/cli/test_generate_cli.py:119
Methodtest_url_takes_priority_over_name
URLs should be resolved before name lookup.
tests/cli/test_discovery.py:823
Methodtest_url_trailing_slash_handling
Test that URLs handle trailing slashes correctly.
tests/server/auth/providers/test_scalekit.py:75
Functiontest_user_extension_composes_with_internal_tasks_extension
A user extension is folded in beside the internal tasks extension.
tests/client/test_client_extensions.py:162
Functiontest_user_extension_may_override_internal_tasks_extension
A user extension declaring the tasks identifier wins; the internal one drops. Composition prefers the user's extension: rather than colliding on
tests/client/test_client_extensions.py:173
Methodtest_user_level_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:491
Functiontest_user_lifespan_still_works_with_docket
User-provided lifespan works correctly alongside Docket.
tests/server/test_server_docket.py:144
Methodtest_user_meta_survives_stripping
Only the internal namespace is removed; user meta is preserved.
tests/resources/test_resource_template.py:1713
Methodtest_user_metadata_preserved
User-provided metadata is not affected.
tests/server/transforms/test_visibility.py:198
Methodtest_user_session_needs_no_provider
A server using only `UserSession` requires no `SessionProvider` and lists no lifecycle tools.
tests/server/test_session_provider.py:221
Functiontest_user_session_state_persists_across_task_calls
`session: UserSession` resolves in a worker and shares state per principal. A `UserSession` parameter is injected the same way in a background ta
tests/tasks/server/test_task_dependencies.py:216
Methodtest_userinfo_bypass_blocked
Test that userinfo-style bypasses are blocked. Attack: http://localhost@evil.com/callback would match http://localhost:* with naive s
tests/server/auth/test_redirect_validation.py:442
Methodtest_userinfo_bypass_with_subdomain_pattern
Test userinfo bypass with subdomain wildcard patterns.
tests/server/auth/test_redirect_validation.py:461
Methodtest_uses_bearer_header_for_userinfo
verify_token sends the token as a Bearer header to userinfo.
tests/server/auth/providers/test_clerk.py:403
Methodtest_uses_bearer_header_not_query_param
verify_token keeps the access token out of the tokeninfo URL.
tests/server/auth/providers/test_google.py:481
Methodtest_uses_env_command_builder
Test that env_command_builder wraps the command.
tests/cli/test_run.py:965
Methodtest_uses_provided_client
When http_client is provided, it should be used for requests.
tests/server/auth/providers/test_http_client.py:42
Methodtest_uses_provided_client
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_http_client.py:216
Methodtest_uses_standard_keycloak_url_patterns
Test that provider uses Keycloak-specific URL patterns.
tests/server/auth/providers/test_keycloak.py:78
Methodtest_uses_upstream_token_response_scopes
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:88
Methodtest_utf8_truncation_preserves_characters
Test that UTF-8 truncation doesn't break multi-byte characters.
tests/server/middleware/test_response_limiting.py:196
Methodtest_uuid
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:74
Methodtest_uuid_invalid
(self, uuid_format)
tests/utilities/json_schema_type/test_formats.py:176
Methodtest_uuid_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:299
Methodtest_uuid_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:312
Methodtest_uuid_valid
(self, uuid_format)
tests/utilities/json_schema_type/test_formats.py:170
Functiontest_uv_transport
()
tests/client/transports/test_uv_transport.py:26
Functiontest_uv_transport_module
()
tests/client/transports/test_uv_transport.py:63
Functiontest_uvicorn_logging_custom_log_config_overrides_log_level_param
Tests log_config precedence if log_level is also passed to run_http_async.
tests/server/test_logging.py:129
Functiontest_uvicorn_logging_default_level
Tests that FastMCP passes log_level to uvicorn.Config if no log_config is given.
tests/server/test_logging.py:23
Functiontest_uvicorn_logging_with_custom_log_config
Tests that FastMCP passes log_config to uvicorn.Config and not log_level.
tests/server/test_logging.py:64
Methodtest_v_prefix_insensitive_both_directions
(self)
tests/server/versioning/test_versioning.py:102
Methodtest_v_prefix_normalized
Versions with 'v' prefix should compare correctly.
tests/server/versioning/test_mounting.py:77
Methodtest_v_prefix_stripped
Versions with 'v' prefix should be handled correctly.
tests/server/versioning/test_versioning.py:45
Functiontest_valid_argument_submits_under_strict_validation
A well-typed argument still submits fine when strict validation is on.
tests/tasks/server/test_task_tools.py:196
Methodtest_valid_assertion_with_inline_jwks
Test that valid JWT assertion passes validation (inline JWKS).
tests/server/auth/test_cimd_validators.py:160
Methodtest_valid_assertion_with_jwks_uri
Test that valid JWT assertion passes validation (jwks_uri).
tests/server/auth/test_cimd_validators.py:96
Methodtest_valid_burst_capacity_does_not_warn
(self, burst_capacity)
tests/server/middleware/test_rate_limiting.py:245
Methodtest_valid_cached_token_is_preserved
( self, provider_type, expires_in, monkeypatch )
tests/client/auth/test_client_credentials.py:977
Methodtest_valid_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:110
Methodtest_valid_content_is_accepted
(self)
tests/client/test_elicitation.py:832
Methodtest_valid_es256_assertion_with_inline_jwks
An assertion signed with an EC key validates against an EC JWKS.
tests/server/auth/test_cimd_validators.py:381
Methodtest_valid_es256_assertion_with_jwks_uri
An assertion signed with an EC key validates against a fetched EC JWKS.
tests/server/auth/test_cimd_validators.py:399
Methodtest_valid_false_values
Test that all accepted falsy string values coerce to False.
tests/resources/test_resource_template_query_params.py:310
Methodtest_valid_full_document
Test that full document passes validation.
tests/server/auth/test_cimd.py:38
Methodtest_valid_http_methods
Test that all valid HTTP methods are accepted.
tests/utilities/openapi/test_models.py:291
Methodtest_valid_kwargs_still_work
(self)
tests/deprecated/test_settings.py:56
Methodtest_valid_log_levels
Test that all valid log levels are accepted.
tests/cli/test_mcp_server_config_integration.py:286
Methodtest_valid_minimal_document
Test that minimal valid document passes validation.
tests/server/auth/test_cimd.py:27
Methodtest_valid_modes_accepted
(self, fastmcp_server, mode)
tests/client/client/test_mode_negotiation.py:39
Methodtest_valid_names
(self, name: str)
tests/cli/test_install.py:621
Methodtest_valid_object_default_still_merges_into_provided_object
(self)
tests/utilities/json_schema_type/test_advanced.py:127
Methodtest_valid_parameter_locations
Test that all valid parameter locations are accepted.
tests/utilities/openapi/test_models.py:56
Methodtest_valid_roots
(self, fastmcp_server: FastMCP, roots: list[str])
tests/client/test_roots.py:47
Methodtest_valid_scopes_defaults_to_required
Test that valid_scopes defaults to required_scopes when not provided.
tests/server/auth/providers/test_google.py:184
Methodtest_valid_scopes_defaults_to_required
When valid_scopes is omitted, the OAuthProxy falls back to required_scopes.
tests/server/auth/providers/test_workos.py:168
Methodtest_valid_scopes_defaults_to_required_scopes
Omitting valid_scopes falls back to required_scopes (existing behavior).
tests/server/auth/test_oidc_proxy.py:1023
Methodtest_valid_scopes_includes_oidc_scopes
Test that valid_scopes advertises OIDC scopes to clients.
tests/server/auth/providers/test_azure_scopes.py:215
← previousnext →15,501–15,600 of 16,224, ranked by callers