Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
test_default_field_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:166
Method
test_default_get_tool_falls_back_to_list
Test that BaseToolProvider's default get_tool calls list_tools.
tests/server/test_providers.py:229
Method
test_default_get_tool_works
Test that the default get_tool implementation works.
tests/server/test_providers.py:298
Method
test_default_handler_routes_to_correct_levels
Test that default_log_handler routes server logs to appropriate Python log levels.
tests/client/test_logs.py:290
Method
test_default_handler_with_dict_data
Test that default_log_handler handles dict data correctly.
tests/client/test_logs.py:364
Method
test_default_handler_with_list_data
Test that default_log_handler handles list data correctly.
tests/client/test_logs.py:390
Method
test_default_handler_with_number_data
Test that default_log_handler handles numeric data correctly.
tests/client/test_logs.py:415
Method
test_default_handler_without_logger_name
Test that default_log_handler works when logger name is None.
tests/client/test_logs.py:341
Function
test_default_http_app_does_not_load_legacy_httpx
()
tests/test_no_legacy_httpx.py:84
Function
test_default_http_app_does_not_load_opt_in_integrations
()
tests/server/http/test_startup_imports.py:58
Method
test_default_http_client_is_none
(self)
tests/server/auth/providers/test_http_client.py:34
Method
test_default_http_client_is_none
(self)
tests/server/auth/providers/test_http_client.py:138
Method
test_default_http_port_accepts_host_without_port
(self)
tests/cli/test_apps_dev_server.py:367
Method
test_default_identifier_uri_uses_client_id
(self)
tests/server/auth/providers/test_azure_scopes.py:581
Method
test_default_initialization
Test default initialization.
tests/server/auth/test_oidc_proxy.py:448
Method
test_default_is_client_secret_basic
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:46
Method
test_default_is_not_error
(self)
tests/tools/tool/test_results.py:93
Method
test_default_is_not_strict
By default, strict_input_validation should be False.
tests/server/test_input_validation.py:107
Method
test_default_is_true
Default behavior dereferences $ref.
tests/server/middleware/test_dereference.py:56
Method
test_default_issuer_is_derived
Without token_issuer, the issuer is derived from base_authority/tenant_id.
tests/server/auth/providers/test_azure.py:1088
Method
test_default_level_allows_all
Without calling set_logging_level, all messages are sent.
tests/client/test_logs.py:135
Method
test_default_matches_auto
Omitting mode= is identical to mode='auto': modern via server/discover.
tests/client/client/test_mode_negotiation.py:81
Method
test_default_max_rounds
(self)
tests/client/client/test_input_required_driver.py:85
Method
test_default_max_size_is_1mb
Test that the default max size is 1MB.
tests/server/middleware/test_response_limiting.py:161
Method
test_default_method_follows_client_secret
( self, client_secret: str | None, method: str | None, expected: str )
tests/server/auth/oauth_proxy/test_upstream_client.py:69
Method
test_default_mime_types
Test default mime types are applied correctly.
tests/resources/test_function_resources.py:281
Method
test_default_mode_does_not_set_approval_cookie
Approving in default (True) mode must NOT set a long-lived approval cookie. In 'always prompt' mode there's no reason to remember approvals,
tests/server/auth/test_oauth_consent_flow.py:1221
Method
test_default_mode_ignores_existing_approval_cookie
A valid approval cookie is ignored in default (True) mode — always prompts. Uses the 'remember' proxy to generate a legitimately-signed cooki
tests/server/auth/test_oauth_consent_flow.py:1249
Method
test_default_mode_ignores_proxy_env_vars
Regression: proxy env vars — including a hostile NO_PROXY that previously caused non-deterministic failures — must not affect the default (non
tests/server/auth/test_ssrf_protection.py:902
Method
test_default_mode_is_auto
The default is 'auto': probe server/discover, fall back to the handshake.
tests/client/client/test_mode_negotiation.py:34
Method
test_default_mode_still_resolves_and_pins
Regression: with the flag off, resolution + blocklist + IP pinning still apply, and no explicit proxy is passed to the client.
tests/server/auth/test_ssrf_protection.py:873
Method
test_default_name_without_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1183
Method
test_default_not_applied_when_custom_patterns_supplied
Test that default validation is not applied when custom patterns are supplied.
tests/server/auth/test_oauth_proxy_redirect_validation.py:131
Method
test_default_output_path
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_generate_cli.py:634
Method
test_default_path_matches_transport
(self)
tests/utilities/test_asgi_transport.py:191
Method
test_default_patterns_exist
Test that default patterns are defined.
tests/server/auth/test_redirect_validation.py:789
Method
test_default_patterns_include_localhost
Test that default patterns include localhost variations.
tests/server/auth/test_redirect_validation.py:794
Method
test_default_poll_interval_is_5_seconds
Default poll_interval should be 5 seconds.
tests/tasks/server/test_task_config.py:309
Method
test_default_prefills_form_fields
(self)
tests/apps/test_form.py:159
Method
test_default_priority
(self)
tests/utilities/json_schema_type/test_advanced.py:1066
Function
test_default_progress_handler_handles_zero_total
()
tests/client/test_progress.py:73
Method
test_default_registration_never_expires
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_registration_ttl.py:39
Method
test_default_registry_is_public_npm
(self)
tests/cli/test_apps_dev_server.py:796
Method
test_default_rejects_unsafe_browser_schemes
Default DCR compatibility must not allow active browser schemes.
tests/server/auth/test_redirect_validation.py:556
Method
test_default_rejects_unsafe_registered_redirect_scheme
Stored DCR metadata cannot preserve unsafe browser schemes.
tests/server/auth/test_oauth_proxy_redirect_validation.py:96
Method
test_default_repr_uses_subclass_name
(self)
tests/client/transports/test_transports.py:30
Method
test_default_root_is_claude_skills_dir
(self, tmp_path: Path, monkeypatch)
tests/server/providers/test_skills_provider.py:987
Method
test_default_sampling_capabilities_omit_tools
Default sampling capabilities should not include tools field. When serialized with exclude_none=True (as the MCP session does), the c
tests/client/test_sampling.py:194
Function
test_default_scan_reuses_sibling_imports_from_current_scan
( tmp_path: Path, )
tests/fs/test_reload_generations.py:257
Method
test_default_scope_applied_when_doc_has_no_scope
When the CIMD document omits scope, the manager's default_scope is used.
tests/server/auth/test_cimd_validators.py:566
Method
test_default_scope_str_falls_back_to_required_scopes
Without valid_scopes, _default_scope_str falls back to required_scopes.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:114
Method
test_default_scope_str_prefers_valid_scopes
When valid_scopes is provided, _default_scope_str should use it instead of required_scopes. This ensures CIMD clients (which bypass Re
tests/server/auth/oauth_proxy/test_oauth_proxy.py:96
Method
test_default_scope_used_when_doc_omits_scope_with_valid_scopes
When the document omits scope, the manager's default is unchanged.
tests/server/auth/test_cimd_validators.py:701
Method
test_default_scopes
Test that default required scopes are openid, email, profile.
tests/server/auth/providers/test_clerk.py:114
Method
test_default_serializer_rewrites_non_finite_to_null
`default_serializer` (the text-content path) still nulls non-finites. It goes through pydantic's default JSON policy, so it can disagree with
tests/tools/tool/test_nonfinite_serialization.py:198
Method
test_default_session_class_is_version_aware
(self)
tests/client/client/test_session.py:332
Method
test_default_session_id_is_none
(self)
tests/client/transports/test_transports.py:33
Method
test_default_sets_renderer_uri
(self)
tests/test_apps.py:698
Method
test_default_silent_on_older_prefab
When the sniff says False, `default` is accepted but no-ops. This test's real value is that `default` is part of the tool signature r
tests/apps/test_form.py:184
Function
test_default_sse_event_size_still_rejects_large_results
()
tests/client/transports/test_sse_event_size.py:37
Method
test_default_storage_is_memory
Test that EventStore defaults to in-memory storage.
tests/server/test_event_store.py:254
Function
test_default_storage_persists_across_calls
(clock: list[float])
tests/apps/test_file_upload_retention.py:105
Method
test_default_task_config_is_forbidden
Base component defaults to task_config mode='forbidden'.
tests/tasks/server/test_custom_subclass_tasks.py:222
Method
test_default_task_inherits_server_default
Default task value should inherit from server default.
tests/tasks/server/test_task_config.py:122
Method
test_default_threadpool_permits_concurrency
Sanity check: the default path does not block the loop.
tests/tools/test_tool_run_in_thread.py:172
Function
test_default_timeout_frees_session_capacity
(use_http_app: bool, monkeypatch)
tests/server/http/test_session_idle_timeout.py:114
Function
test_default_timeout_reaches_session_manager
(use_http_app: bool)
tests/server/http/test_session_idle_timeout.py:46
Function
test_default_timeout_supports_stateless_app
(use_http_app: bool)
tests/server/http/test_session_idle_timeout.py:85
Method
test_default_token_endpoint_auth_method
(self)
tests/client/auth/test_client_credentials.py:170
Function
test_default_ttl_when_unspecified
The server applies Docket's default TTL when none is configured.
tests/tasks/server/test_task_ttl.py:65
Method
test_default_uses_exact_registered_external_redirect_uri
Default DCR clients require exact matches for non-loopback callbacks.
tests/server/auth/test_oauth_proxy_redirect_validation.py:61
Function
test_default_uses_introspection_decision
(claim: Any, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_introspection_audience.py:56
Method
test_default_uses_registered_redirect_uris_with_loopback_port_flexibility
Default DCR clients allow registered loopback callbacks to vary ports.
tests/server/auth/test_oauth_proxy_redirect_validation.py:36
Method
test_default_validator_accepts_non_empty_tokens
(self)
tests/server/auth/providers/test_debug.py:7
Method
test_defaults
(self)
tests/server/auth/oauth_proxy/test_upstream_client.py:27
Method
test_defaults
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:200
Method
test_defaults_scopes_when_userinfo_has_no_scope
( self, httpx_mock: HTTPXMock )
tests/server/auth/providers/test_huggingface.py:173
Method
test_defaults_to_required_scopes
(self, rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:617
Method
test_deferred_binding
(self)
tests/client/auth/test_client_credentials.py:131
Method
test_del_tolerates_a_transport_that_never_finished_init
The exact shape a failed subclass __init__ leaves behind.
tests/client/test_stdio.py:146
Method
test_delegate_span_is_child_of_server_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:110
Function
test_delegation_preserves_programmatic_calls_from_child_middleware
()
tests/server/test_provider_extensions.py:771
Function
test_delegation_preserves_programmatic_child_calls
()
tests/server/test_provider_extensions.py:700
Function
test_delete_file
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:125
Function
test_delete_file_and_check_resources
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:135
Method
test_delete_missing_key_is_a_noop
(self)
tests/server/test_sessions.py:125
Method
test_delete_removes_entry
(self)
tests/client/client/test_kv_response_cache.py:85
Method
test_delete_state_removes_from_both_stores
delete_state clears both request-scoped and session-scoped values.
tests/server/test_context.py:313
Function
test_delivers_signed_events_to_the_pinned_address
(receiver)
tests/events/test_webhooks.py:271
Method
test_denied_consumes_do_not_freeze_clock
Regression for #4056: a client that retries quickly after being denied must not be able to bypass the configured refill rate. last_re
tests/server/middleware/test_rate_limiting.py:102
Function
test_denied_file_hides_skill
(denied: str)
tests/skills/test_provider.py:154
Function
test_denied_file_hides_skill_without_reading_it
()
tests/server/providers/proxy/test_skills.py:330
Method
test_denied_names_share_one_series
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:136
Method
test_denies_when_claim_absent_or_malformed
A token without the claim is an ordinary denial, not a broken check.
tests/server/auth/test_authorization.py:159
Method
test_denies_when_one_role_missing
(self)
tests/server/auth/test_authorization.py:146
Method
test_denies_without_token
(self)
tests/server/auth/test_authorization.py:151
Method
test_deny_does_not_redirect_to_unsafe_stored_uri
Consent denial must not redirect to an unsafe stored callback URI.
tests/server/auth/test_oauth_consent_page.py:636
Method
test_deny_redirect_does_not_duplicate_iss_already_in_redirect_uri
RFC 9207 P2 regression: a registered redirect_uri may already carry its own `iss` query parameter. Explicit consent denial must not ap
tests/server/auth/test_oauth_consent_flow.py:951
Method
test_deny_redirect_issuer_matches_path_base_url_metadata
Consent-denial `iss` must match the discovery document exactly. Regression test for a base_url with a path and no trailing slash (`ht
tests/server/auth/test_oauth_consent_flow.py:990
Method
test_deny_sets_cookie_and_redirects_with_error
Verify denying consent in 'remember' mode sets signed cookie and redirects with error.
tests/server/auth/test_oauth_consent_flow.py:917
← previous
next →
9,901–10,000 of 17,519, ranked by callers