Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Function
test_extensions_added_to_aggregate_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:302
Function
test_extensions_added_to_mounted_child_before_startup_are_discovered
()
tests/server/test_provider_extensions.py:286
Method
test_extensions_without_client_info
clientInfo is optional on 2026-07-28 while clientCapabilities is not, so a client can declare the extension with no client params on the
tests/test_apps.py:488
Function
test_external_pr_does_not_automatically_credit_distinct_issue_author
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:114
Method
test_external_ref_error
Test that external references are handled gracefully.
tests/utilities/openapi/test_parser.py:437
Function
test_external_user_cannot_override_dependency
Test that external MCP clients cannot override dependency parameters.
tests/server/test_dependencies.py:581
Method
test_extra_authorize_params_add_new_params
Test that user can add additional authorize params.
tests/server/auth/providers/test_google.py:145
Method
test_extra_authorize_params_default_none
WorkOS doesn't set provider-specific defaults — empty unless caller opts in.
tests/server/auth/providers/test_workos.py:110
Method
test_extra_authorize_params_defaults
Test that Google-specific defaults are set for refresh token support.
tests/server/auth/providers/test_google.py:111
Method
test_extra_authorize_params_forwarded
Test that extra authorize parameters are forwarded to upstream.
tests/server/auth/oauth_proxy/test_authorization.py:229
Method
test_extra_authorize_params_initialization
Test extra authorize params initialization.
tests/server/auth/test_oidc_proxy.py:791
Method
test_extra_authorize_params_override_default_prompt
Caller-supplied params win over the select_account default.
tests/server/auth/providers/test_azure.py:1000
Method
test_extra_authorize_params_override_defaults
Test that user can override default extra authorize params.
tests/server/auth/providers/test_google.py:127
Method
test_extra_authorize_params_passed_through
Test that extra authorize params are forwarded.
tests/server/auth/providers/test_clerk.py:154
Method
test_extra_authorize_params_passed_through
Caller-supplied params are forwarded to the upstream authorize URL. Common use case: force `offline_access` into the scope so WorkOS issues
tests/server/auth/providers/test_workos.py:123
Method
test_extra_fields_forbidden
Test that extra fields are not allowed.
tests/utilities/test_components.py:183
Method
test_extra_fields_preserved
Unknown CSP directives from future spec versions pass through.
tests/test_apps.py:113
Method
test_extra_fields_preserved
Unknown permissions from future spec versions pass through.
tests/test_apps.py:151
Method
test_extra_parameters_initialization
Test other parameters initialization.
tests/server/auth/test_oidc_proxy.py:521
Method
test_extra_params_merge_with_audience
Test that extra params merge with audience, with user params taking precedence.
tests/server/auth/test_oidc_proxy.py:847
Method
test_extra_token_params_does_not_contain_scope
Test that extra_token_params doesn't contain scope to avoid TypeError. Previously, Azure provider set extra_token_params={"scope": ...} durin
tests/server/auth/providers/test_azure_scopes.py:373
Method
test_extra_token_params_initialization
Test extra token params initialization.
tests/server/auth/test_oidc_proxy.py:822
Method
test_extract_applies_incoming_parent
(self, mode)
tests/telemetry/test_interop.py:167
Method
test_extract_continuation_only
Test extraction from {¶m} when no {?...} is present.
tests/resources/test_resource_template_level3.py:29
Method
test_extract_continuation_query_params
Test extraction from {¶m1,param2} syntax.
tests/resources/test_resource_template_level3.py:24
Method
test_extract_every_continuation_group
Every {&...} group contributes, not just the first.
tests/resources/test_resource_template_level3.py:39
Method
test_extract_initial_query_params
Test extraction from {?param1,param2} syntax.
tests/resources/test_resource_template_level3.py:19
Method
test_extract_multiple_components
Should extract multiple component types.
tests/fs/test_discovery.py:218
Method
test_extract_no_components
Should return empty list for module with no components.
tests/fs/test_discovery.py:181
Method
test_extract_preserves_current_context_values
Regression: extracting the incoming traceparent must not discard context values the caller already established. Extracting onto a fresh
tests/telemetry/test_interop.py:153
Method
test_extract_prompt_preserves_version
Prompts discovered from files should have their version attribute set.
tests/fs/test_discovery.py:461
Method
test_extract_resource_preserves_version
Resources discovered from files should have their version attribute set.
tests/fs/test_discovery.py:421
Method
test_extract_resource_template
Should extract ResourceTemplate objects.
tests/fs/test_discovery.py:274
Method
test_extract_resource_template_preserves_security
Resource templates discovered from files should keep their security policy.
tests/fs/test_discovery.py:295
Method
test_extract_resource_template_preserves_version
Resource templates discovered from files should have their version set.
tests/fs/test_discovery.py:441
Method
test_extract_scopes_from_array
Test scope extraction from array.
tests/server/auth/providers/test_introspection.py:93
Method
test_extract_scopes_from_string
Test scope extraction from space-separated string.
tests/server/auth/providers/test_introspection.py:86
Method
test_extract_scopes_includes_permissions
(self)
tests/server/auth/providers/test_auth0_mcp.py:34
Method
test_extract_scopes_missing
Test scope extraction when scope field is missing.
tests/server/auth/providers/test_introspection.py:100
Method
test_extract_scopes_permissions_string
(self)
tests/server/auth/providers/test_auth0_mcp.py:44
Method
test_extract_scopes_with_extra_whitespace
Test scope extraction handles extra whitespace.
tests/server/auth/providers/test_introspection.py:107
Method
test_extract_skips_private_components
Should skip private components (those starting with _).
tests/fs/test_discovery.py:248
Method
test_extract_tool_component
Should extract Tool objects.
tests/fs/test_discovery.py:197
Method
test_extract_tool_preserves_version
Tools discovered from files should have their version attribute set.
tests/fs/test_discovery.py:395
Function
test_extraction_failure_keeps_other_tools_callable
( tmp_path: Path, invalid_component: tuple[str, str], reload: bool )
tests/fs/test_extraction_failures.py:76
Method
test_factory_method_with_secret
_create_upstream_oauth_client includes the secret when configured.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:382
Method
test_factory_method_without_secret
_create_upstream_oauth_client works when no secret is configured.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:366
Function
test_factory_owned_timeout_is_preserved
A factory's own timeout stands when the client sets none, and an explicit client timeout is still forwarded to the factory, extending but neve
tests/client/test_streamable_http.py:286
Method
test_fail_after_still_raises
(self, server: FastMCP)
tests/client/client/test_client.py:1132
Function
test_failed_activity_is_unknown_not_unanswered
(triage, monkeypatch)
tests/test_public_triage.py:94
Function
test_failed_bundle_rolls_back_all_extensions_and_handlers
()
tests/server/test_provider_extensions.py:482
Method
test_failed_claims_extraction_keeps_refresh_token
A claims hook failure issues nothing, so the client can retry.
tests/server/auth/oauth_proxy/test_single_use.py:224
Method
test_failed_component_request_is_observed_not_retried
A component request that dies in validation reaches the hooks as a failure. A hook cannot repair it from here: re-dispatching would run the
tests/server/middleware/test_message_visibility.py:310
Method
test_failed_conversion_can_be_retried
(self)
tests/utilities/json_schema_type/test_generated_classes.py:585
Method
test_failed_discovery_backs_off
( self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:882
Function
test_failed_discovery_is_not_cached
(discovery_document)
tests/server/auth/test_oidc_discovery_cache.py:142
Function
test_failed_entry_leaves_group_reenterable
()
tests/client/group/test_client_group.py:517
Function
test_failed_export_leaves_destination_untouched
(tmp_path: Path, existing: bool)
tests/skills/test_skill.py:244
Method
test_failed_files_refresh_on_reload
Reload mode should expose the latest load failures.
tests/fs/test_provider.py:74
Function
test_failed_known_legacy_backend_does_not_downgrade_healthy_backends
()
tests/test_mcp_config.py:290
Function
test_failed_origin_write_leaves_no_cross_origin_credential
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_configuration.py:111
Function
test_failed_refresh_does_not_reuse_expired_keys
( key_data: dict[str, Any], clock: list[float] )
tests/server/auth/test_jwks_refresh.py:200
Function
test_failed_refresh_is_shared_and_keeps_fresh_keys
( key_data: dict[str, Any], clock: list[float] )
tests/server/auth/test_jwks_refresh.py:88
Method
test_failed_refresh_serves_cached_document
(self, provider)
tests/server/auth/providers/test_metadata_forwarding_cache.py:90
Function
test_failed_registration_preserves_an_existing_server_binding
()
tests/server/test_provider_extensions.py:461
Method
test_failed_scope_discovery_is_not_cached
Clients can retry metadata discovery immediately after a failure.
tests/server/auth/providers/test_descope.py:615
Function
test_failed_startup_releases_extension_restrictions
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:260
Method
test_failed_subclass_construction_does_not_fabricate_an_event
The guard must skip the event, not invent one to set.
tests/client/test_stdio.py:165
Method
test_failed_subclass_construction_is_collectable
(self, tmp_path)
tests/client/test_stdio.py:154
Function
test_failed_task_raises_tool_error
A task whose tool raises surfaces as a ToolError through call_tool.
tests/tasks/client/test_transparent_tasks.py:90
Method
test_failed_task_reports_an_error
A fail-closed task is still a well-formed `tasks/get` result.
tests/tasks/server/test_snapshot_encryption.py:413
Method
test_failed_upstream_refresh_keeps_refresh_token
A transient upstream failure issues nothing, so the client can retry.
tests/server/auth/oauth_proxy/test_single_use.py:196
Method
test_failure
(self, mock_print, mock_open)
tests/cli/test_goose.py:218
Method
test_failure_exits
(self, mock_process, mock_install)
tests/cli/test_goose.py:293
Method
test_failure_without_cached_document_is_a_server_error
(self, provider)
tests/server/auth/providers/test_metadata_forwarding_cache.py:109
Method
test_failures_are_not_cached
Failed verifications must not be cached.
tests/server/auth/providers/test_google.py:685
Method
test_failures_are_not_cached
(self)
tests/server/auth/providers/test_github.py:242
Method
test_fallback_defaults_to_one_year
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:632
Method
test_fallback_message_on_failure
(self, mock_print, mock_open)
tests/cli/test_goose.py:261
Method
test_fallback_only_triggers_for_regex_errors
Non-regex SchemaErrors must not be swallowed by the fallback path. Uses a schema whose TypeAdapter construction fails for a reason other
tests/utilities/json_schema_type/test_json_schema_type.py:536
Method
test_fallback_parameter_defaults_to_none
Verify fallback defaults to None (enabling smart defaults).
tests/server/auth/oauth_proxy/test_tokens.py:594
Method
test_fallback_parameter_stored
Verify fallback_access_token_expiry_seconds is stored on provider.
tests/server/auth/oauth_proxy/test_tokens.py:575
Method
test_fallback_parameter_stored
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:648
Method
test_fallback_skips_unauthorized_picks_next
When multiple fallback candidates exist, skip unauthorized ones.
tests/server/versioning/test_visibility_version_fallback.py:355
Method
test_fallback_to_second_ip
If the first IP fails, the next resolved IP should be tried.
tests/server/auth/test_ssrf_protection.py:284
Method
test_falls_back_for_circular_json_pointer_refs
Test that circular JSON Pointer $ref (non-$defs) does not crash. .NET/System.Text.Json emits $ref with JSON Pointer paths like #/prop
tests/utilities/test_json_schema.py:166
Method
test_falls_back_for_circular_refs
Test that circular references fall back to resolve_root_ref.
tests/utilities/test_json_schema.py:137
Method
test_falls_back_for_root_ref_to_boolean_schema
A root $ref resolving to a boolean schema must not crash. `true` is a valid JSON Schema, so ``$defs: {"Any": true}`` with a root $ref
tests/utilities/test_json_schema.py:386
Method
test_falls_back_for_root_ref_to_false_schema_without_siblings
A root $ref resolving to `false` (no siblings) stays intact.
tests/utilities/test_json_schema.py:404
Method
test_falls_back_for_root_ref_to_non_schema_json_value
A root $ref resolving to any non-dict value must not crash. $defs entries are arbitrary JSON, so a pointer can also reach a list or s
tests/utilities/test_json_schema.py:411
Method
test_falls_back_to_client_id_without_subject
(self)
tests/telemetry/test_module.py:53
Method
test_falls_back_to_legacy_namespace_when_dict
(self)
tests/utilities/test_components.py:267
Method
test_falls_back_to_verifiers
When server rejects a token, verifiers are tried.
tests/server/auth/test_multi_auth.py:276
Method
test_false_property_schema_rejects_values
A property with schema `false` should reject any provided value.
tests/utilities/json_schema_type/test_json_schema_type.py:132
Method
test_falsy_params_dropped
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:159
Function
test_fastapi_body_title_does_not_hide_query_alias
()
tests/server/providers/openapi/test_whole_body_parameter_collisions.py:113
Function
test_fastapi_client_headers_sse_resource
(sse_server: str)
tests/client/test_openapi.py:80
Function
test_fastapi_client_headers_sse_tool
(sse_server: str)
tests/client/test_openapi.py:95
Function
test_fastapi_client_headers_streamable_http_resource
(shttp_server: str)
tests/client/test_openapi.py:72
Function
test_fastapi_client_headers_streamable_http_tool
(shttp_server: str)
tests/client/test_openapi.py:88
← previous
next →
10,101–10,200 of 16,725, ranked by callers