Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
Method
test_unused_escaped_defs_are_still_pruned
(self)
tests/utilities/test_json_schema.py:1018
Method
test_unused_invalid_key_does_not_break_explicit_auth
( self, auth: str, monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_client_commands.py:684
Function
test_unverified_scopes_are_not_cached_without_required_scopes
(status_code)
tests/server/auth/providers/test_github_transient_failures.py:239
Method
test_unversioned_always_passes
Unversioned components pass through any filter.
tests/server/versioning/test_filtering.py:131
Method
test_unversioned_bypasses_version_filter
Unversioned components pass through any VersionFilter - by design.
tests/server/versioning/test_filtering.py:621
Method
test_unversioned_components_do_not_crash_tiebreak
(self)
tests/server/versioning/test_versioning.py:145
Method
test_unversioned_components_excluded_from_list
(self)
tests/server/versioning/test_versioning.py:454
Method
test_unversioned_components_have_no_version
Components without version should have version=None.
tests/fs/test_discovery.py:501
Method
test_unversioned_does_not_match_version_spec
Unversioned components (version=None) don't match a VersionSpec.
tests/server/transforms/test_visibility.py:58
Method
test_unversioned_matches_any_version_spec
VersionSpec.matches(None) returns True for any spec.
tests/server/versioning/test_filtering.py:660
Method
test_unversioned_no_versions_list
Unversioned components should not have versions list in meta.
tests/server/versioning/test_calls.py:160
Method
test_unversioned_returned_for_exact_version_request
Requesting exact version of unversioned tool returns the tool.
tests/server/versioning/test_filtering.py:646
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_upload_is_rejected
(self)
tests/server/test_session_scope.py:79
Method
test_uploaded_files_persist_across_calls
(self)
tests/server/test_session_scope.py:62
Method
test_uploads_are_scoped_to_the_user
(self, verifier: StaticTokenVerifier)
tests/server/test_session_scope.py:119
Method
test_uppercase_registry_is_honored
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:791
Method
test_upstream_claims_not_mutated_on_cached_token
( self, proxy, mock_verifier )
tests/server/auth/oauth_proxy/test_tokens.py:1976
Method
test_upstream_claims_propagated
(self, proxy)
tests/server/auth/oauth_proxy/test_tokens.py:1968
Method
test_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
Method
test_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
Method
test_upstream_http_status_error_logs_without_traceback
(self, caplog)
tests/server/test_input_validation.py:776
Method
test_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
Method
test_uri_invalid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:99
Method
test_uri_reference_invalid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:114
Method
test_uri_reference_relative_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:109
Method
test_uri_reference_valid
(self, uri_reference_format)
tests/utilities/json_schema_type/test_formats.py:104
Method
test_uri_valid
(self, uri_format)
tests/utilities/json_schema_type/test_formats.py:94
Method
test_url
(self)
tests/cli/test_generate_cli.py:396
Method
test_url
(self, transport_cls: type, url: str)
tests/cli/test_generate_cli_remote.py:52
Method
test_url_building
Test URL building with different base URLs.
tests/utilities/openapi/test_director.py:311
Method
test_url_injection_protection
(self)
tests/cli/test_goose.py:106
Method
test_url_issuer_still_works
Test that URL issuers still work after the fix.
tests/server/auth/test_jwt_provider_bearer.py:488
Method
test_url_returns_sse_transport
Test that URLs with /sse/ pattern return SSETransport.
tests/client/client/test_transport.py:46
Method
test_url_returns_streamable_http_transport
Test that URLs without /sse/ pattern return StreamableHttpTransport.
tests/client/client/test_transport.py:67
Method
test_url_string
(self)
tests/cli/test_generate_cli.py:119
Method
test_url_takes_priority_over_name
URLs should be resolved before name lookup.
tests/cli/test_discovery.py:823
Method
test_url_trailing_slash_handling
Test that URLs handle trailing slashes correctly.
tests/server/auth/providers/test_scalekit.py:75
Function
test_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
Function
test_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
Method
test_user_level_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:491
Function
test_user_lifespan_still_works_with_docket
User-provided lifespan works correctly alongside Docket.
tests/server/test_server_docket.py:144
Method
test_user_meta_survives_stripping
Only the internal namespace is removed; user meta is preserved.
tests/resources/test_resource_template.py:1713
Method
test_user_metadata_preserved
User-provided metadata is not affected.
tests/server/transforms/test_visibility.py:198
Method
test_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
Function
test_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
Method
test_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
Method
test_userinfo_bypass_with_subdomain_pattern
Test userinfo bypass with subdomain wildcard patterns.
tests/server/auth/test_redirect_validation.py:461
Method
test_uses_bearer_header_for_userinfo
verify_token sends the token as a Bearer header to userinfo.
tests/server/auth/providers/test_clerk.py:403
Method
test_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
Method
test_uses_env_command_builder
Test that env_command_builder wraps the command.
tests/cli/test_run.py:965
Method
test_uses_provided_client
When http_client is provided, it should be used for requests.
tests/server/auth/providers/test_http_client.py:42
Method
test_uses_provided_client
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_http_client.py:216
Method
test_uses_standard_keycloak_url_patterns
Test that provider uses Keycloak-specific URL patterns.
tests/server/auth/providers/test_keycloak.py:78
Method
test_uses_upstream_token_response_scopes
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:88
Method
test_utf8_truncation_preserves_characters
Test that UTF-8 truncation doesn't break multi-byte characters.
tests/server/middleware/test_response_limiting.py:196
Method
test_uuid
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:74
Method
test_uuid_invalid
(self, uuid_format)
tests/utilities/json_schema_type/test_formats.py:176
Method
test_uuid_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:299
Method
test_uuid_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:312
Method
test_uuid_valid
(self, uuid_format)
tests/utilities/json_schema_type/test_formats.py:170
Function
test_uv_transport
()
tests/client/transports/test_uv_transport.py:26
Function
test_uv_transport_module
()
tests/client/transports/test_uv_transport.py:63
Function
test_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
Function
test_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
Function
test_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
Method
test_v_prefix_insensitive_both_directions
(self)
tests/server/versioning/test_versioning.py:102
Method
test_v_prefix_normalized
Versions with 'v' prefix should compare correctly.
tests/server/versioning/test_mounting.py:77
Method
test_v_prefix_stripped
Versions with 'v' prefix should be handled correctly.
tests/server/versioning/test_versioning.py:45
Function
test_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
Method
test_valid_assertion_with_inline_jwks
Test that valid JWT assertion passes validation (inline JWKS).
tests/server/auth/test_cimd_validators.py:160
Method
test_valid_assertion_with_jwks_uri
Test that valid JWT assertion passes validation (jwks_uri).
tests/server/auth/test_cimd_validators.py:96
Method
test_valid_burst_capacity_does_not_warn
(self, burst_capacity)
tests/server/middleware/test_rate_limiting.py:245
Method
test_valid_cached_token_is_preserved
( self, provider_type, expires_in, monkeypatch )
tests/client/auth/test_client_credentials.py:977
Method
test_valid_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:110
Method
test_valid_content_is_accepted
(self)
tests/client/test_elicitation.py:832
Method
test_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
Method
test_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
Method
test_valid_false_values
Test that all accepted falsy string values coerce to False.
tests/resources/test_resource_template_query_params.py:310
Method
test_valid_full_document
Test that full document passes validation.
tests/server/auth/test_cimd.py:38
Method
test_valid_http_methods
Test that all valid HTTP methods are accepted.
tests/utilities/openapi/test_models.py:291
Method
test_valid_kwargs_still_work
(self)
tests/deprecated/test_settings.py:56
Method
test_valid_log_levels
Test that all valid log levels are accepted.
tests/cli/test_mcp_server_config_integration.py:286
Method
test_valid_minimal_document
Test that minimal valid document passes validation.
tests/server/auth/test_cimd.py:27
Method
test_valid_modes_accepted
(self, fastmcp_server, mode)
tests/client/client/test_mode_negotiation.py:39
Method
test_valid_names
(self, name: str)
tests/cli/test_install.py:621
Method
test_valid_object_default_still_merges_into_provided_object
(self)
tests/utilities/json_schema_type/test_advanced.py:127
Method
test_valid_parameter_locations
Test that all valid parameter locations are accepted.
tests/utilities/openapi/test_models.py:56
Method
test_valid_roots
(self, fastmcp_server: FastMCP, roots: list[str])
tests/client/test_roots.py:47
Method
test_valid_scopes_defaults_to_required
Test that valid_scopes defaults to required_scopes when not provided.
tests/server/auth/providers/test_google.py:184
Method
test_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
Method
test_valid_scopes_defaults_to_required_scopes
Omitting valid_scopes falls back to required_scopes (existing behavior).
tests/server/auth/test_oidc_proxy.py:1023
Method
test_valid_scopes_includes_oidc_scopes
Test that valid_scopes advertises OIDC scopes to clients.
tests/server/auth/providers/test_azure_scopes.py:215
← previous
next →
15,501–15,600 of 16,224, ranked by callers