Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
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:959
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_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
Method
test_valid_scopes_passed_through
Test that valid_scopes is passed to OAuthProxy.
tests/server/auth/providers/test_clerk.py:168
Method
test_valid_scopes_passed_through
Test that valid_scopes is passed to OAuthProxy.
tests/server/auth/providers/test_google.py:162
Method
test_valid_scopes_passed_through
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:99
Method
test_valid_scopes_passed_through
valid_scopes is forwarded to OAuthProxy and advertised via DCR.
tests/server/auth/providers/test_workos.py:145
Method
test_valid_scopes_preserved_with_verify_id_token
verify_id_token restores required_scopes without clobbering valid_scopes.
tests/server/auth/test_oidc_proxy.py:1083
Method
test_valid_scopes_widens_advertised_set
valid_scopes broadens the advertised/registerable set beyond required_scopes.
tests/server/auth/test_oidc_proxy.py:990
Method
test_valid_scopes_with_custom_token_verifier
valid_scopes is allowed alongside a custom token_verifier (no error).
tests/server/auth/test_oidc_proxy.py:1047
Method
test_valid_symmetric_token_validation
Test validation of a valid token signed with symmetric key.
tests/server/auth/test_jwt_provider.py:369
Method
test_valid_token_basic
A valid token returns an AccessToken with user claims from userinfo.
tests/server/auth/providers/test_clerk.py:222
Method
test_valid_token_openid_only
A token with only openid scope is accepted; client_id comes from 'sub'.
tests/server/auth/providers/test_google.py:265
Method
test_valid_token_validation
Test validation of a valid token.
tests/server/auth/test_jwt_provider_bearer.py:106
Method
test_valid_token_verification
Test successful token verification.
tests/server/auth/providers/test_introspection.py:116
Method
test_valid_token_with_email_and_profile
A token with email+profile scope returns correct scopes and profile claims.
tests/server/auth/providers/test_google.py:291
Method
test_valid_token_with_userinfo_scopes
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:123
Method
test_valid_token_with_whoami_scopes
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:147
Method
test_valid_tool_names_no_warnings
Valid tool names should not produce warnings.
tests/tools/tool/test_tool.py:603
Method
test_valid_transport_values
Test that all valid transport values are accepted.
tests/cli/test_mcp_server_config_integration.py:276
Method
test_valid_true_values
Test that all accepted truthy string values coerce to True.
tests/resources/test_resource_template_query_params.py:295
Method
test_validate_mcp_config
Test creating a server from an MCPConfig file.
tests/cli/test_run.py:149
Method
test_validate_output_false_allows_nonconforming_response
With validate_output=False, responses that don't match the spec succeed.
tests/server/providers/openapi/test_openapi_features.py:1307
Method
test_validate_output_false_preserves_wrap_result_flag
validate_output=False preserves x-fastmcp-wrap-result for array responses.
tests/server/providers/openapi/test_openapi_features.py:1248
← previous
next →
15,401–15,500 of 16,098, ranked by callers