MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_nested_streamable_http_server_resolves_correctly
Test patch for https://github.com/modelcontextprotocol/python-sdk/pull/659
tests/client/test_streamable_http.py:250
Methodtest_nested_structure
Test the nested configuration structure.
tests/cli/test_config.py:265
Methodtest_network_error_returns_none
Network errors during introspection return None instead of raising.
tests/server/auth/providers/test_clerk.py:536
Methodtest_never_expiring_client_info_is_stored
(self)
tests/client/auth/test_oauth_client.py:705
Methodtest_new_disabled_cache_stays_disabled
(self)
tests/client/client/test_response_cache.py:204
Functiontest_new_extension_after_startup_rejected_without_adding_provider
()
tests/server/test_provider_extensions.py:321
Methodtest_new_gets_independent_cache
`new()` clones get their own cache, not the parent's entries.
tests/client/client/test_response_cache.py:197
Functiontest_new_preserves_extension_composition
new() rebuilds the clone with both the tasks extension and user extensions.
tests/client/test_client_extensions.py:196
Methodtest_new_preserves_max_rounds
(self)
tests/client/client/test_input_required_driver.py:93
Methodtest_new_preserves_mode
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:321
Functiontest_no_allof_passthrough
Test that schemas without allOf pass through unchanged.
tests/utilities/openapi/test_allof_requestbody.py:195
Methodtest_no_annotation_no_inference
(self)
tests/test_apps_prefab.py:233
Methodtest_no_audience_validation_when_none
Test that audience validation is skipped when provider has no audience configured.
tests/server/auth/test_jwt_provider_bearer.py:206
Methodtest_no_auth_provider_mounts_without_middleware
Test that endpoints without auth are not wrapped with middleware.
tests/server/http/test_http_auth_middleware.py:147
Methodtest_no_base_url_initialization_raises_error
Test no base URL initialization.
tests/server/auth/test_oidc_proxy.py:638
Methodtest_no_cache_params_is_valid
(self)
tests/server/test_cache_hints.py:68
Methodtest_no_capabilities
(self)
tests/test_apps.py:517
Methodtest_no_client_id_initialization_raises_error
Test no client id initialization.
tests/server/auth/test_oidc_proxy.py:595
Methodtest_no_client_secret_initialization_raises_error
Test no client secret initialization.
tests/server/auth/test_oidc_proxy.py:615
Methodtest_no_collisions
(self)
tests/cli/test_generate_cli.py:1036
Methodtest_no_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:460
Methodtest_no_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:480
Methodtest_no_config_url_initialization_raises_error
Test no config URL initialization.
tests/server/auth/test_oidc_proxy.py:574
Methodtest_no_content_schema_defaults_to_json
Response without content_schema defaults to application/json.
tests/server/providers/openapi/test_openapi_features.py:488
Methodtest_no_dict_literal_iss_key_in_redirect_building_modules
(self)
tests/server/auth/test_redirect_validation.py:283
Methodtest_no_docstring
(self)
tests/utilities/test_docstring_parsing.py:190
Methodtest_no_docstring_no_descriptions
(self)
tests/utilities/test_docstring_parsing.py:514
Methodtest_no_env_builder_runs_plain_python
Test that without env_command_builder, plain python is used.
tests/cli/test_run.py:1002
Methodtest_no_explicit_transport_preserves_inference
(self)
tests/cli/test_client_commands.py:499
Methodtest_no_extensions
(self)
tests/test_apps.py:512
Functiontest_no_extensions_leaves_tool_call_unchanged
With no extensions registered, tools/call behaves exactly as before.
tests/server/test_extensions.py:316
Methodtest_no_extra_authorize_params_by_default
Test that no extra authorize params are set by default.
tests/server/auth/providers/test_clerk.py:141
Methodtest_no_false_positive_for_different_names
Different tool names in the same namespace don't trigger a warning.
tests/server/mount/test_mount.py:660
Methodtest_no_frontmatter
(self)
tests/server/providers/test_skills_provider.py:27
Functiontest_no_hardcoded_html_tags
Verify that there are no hardcoded HTML tags that bypass escaping.
tests/client/test_oauth_callback_xss.py:151
Functiontest_no_id_lookup_shares_recent_refresh
( key_data: dict[str, Any], keys_present: bool )
tests/server/auth/test_jwks_refresh.py:113
Methodtest_no_issuer_validation_when_none
Test that issuer validation is skipped when provider has no issuer configured.
tests/server/auth/test_jwt_provider_bearer.py:192
Methodtest_no_match_returns_none
When no server or verifier accepts the token, returns None.
tests/server/auth/test_multi_auth.py:310
Methodtest_no_matching_project
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:415
Methodtest_no_matching_tokens
(self)
tests/server/transforms/test_search.py:512
Methodtest_no_mcp_servers_key
(self, tmp_path: Path)
tests/cli/test_discovery.py:131
Methodtest_no_nullable_field_unchanged
Test that schemas without nullable field are unchanged.
tests/utilities/openapi/test_nullable_fields.py:93
Methodtest_no_output_schema_keeps_content_fallback
Without an output schema there is no structured-content contract, so the content-only fallback stays.
tests/tools/tool/test_results.py:524
Methodtest_no_padding
(self)
tests/apps/test_file_upload.py:24
Methodtest_no_pagination_when_disabled
Without list_page_size, all items returned at once.
tests/server/test_pagination.py:343
Methodtest_no_parameters_no_body
Test schema generation when there are no parameters or body.
tests/utilities/openapi/test_legacy_compatibility.py:182
Methodtest_no_params
(self)
tests/cli/test_client_commands.py:329
Methodtest_no_params
(self)
tests/cli/test_generate_cli.py:202
Methodtest_no_params_tool
(self)
tests/cli/test_generate_cli.py:904
Methodtest_no_pretty
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:104
Methodtest_no_proxy_is_not_honored
Documents the behavior change: a NO_PROXY entry that would previously have matched the target host no longer excludes it. The fetch still proc
tests/server/auth/test_ssrf_protection.py:756
Methodtest_no_ref_schemas_unchanged
Tools without $ref should pass through unmodified.
tests/server/middleware/test_dereference.py:122
Methodtest_no_refresh_token_does_not_extend_past_upstream
Without an upstream refresh token, the FastMCP token can't be renewed. Issuing a token that claims to outlive the upstream access token would
tests/server/auth/oauth_proxy/test_tokens.py:1086
Methodtest_no_refresh_when_token_not_expired
Non-expiry validation failures (e.g. revocation) should not trigger refresh.
tests/server/auth/oauth_proxy/test_tokens.py:1837
Methodtest_no_refresh_when_within_threshold_but_no_refresh_token
Token within threshold but without refresh token is not refreshed.
tests/server/auth/oauth_proxy/test_tokens.py:2130
Methodtest_no_refresh_without_refresh_token
Without a refresh token, load_access_token returns None immediately.
tests/server/auth/oauth_proxy/test_tokens.py:1789
Methodtest_no_register_proxy_route
Test that KeycloakAuthProvider does not expose a /register proxy route. Keycloak 26.6.0+ handles DCR natively and correctly, so no proxy is n
tests/integration_tests/auth/test_keycloak_provider_integration.py:61
Methodtest_no_register_proxy_route
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:345
Methodtest_no_request_body_info_defaults_to_json
When route has no request_body metadata, dict body uses application/json.
tests/utilities/openapi/test_director.py:598
Methodtest_no_required_scopes_accepts_any
When no required_scopes are set, any valid token is accepted.
tests/server/auth/providers/test_clerk.py:497
Methodtest_no_resource_skips_aud_check
When resource is not configured, tokens are accepted without aud checking.
tests/server/auth/providers/test_propelauth.py:207
Methodtest_no_resources_before_decorator
(self)
tests/server/providers/test_local_provider_resources.py:309
Methodtest_no_responses_defaults_to_json
Empty responses default to application/json.
tests/server/providers/openapi/test_openapi_features.py:483
Methodtest_no_return_annotation
(self)
tests/tools/tool/test_output_schema.py:27
Methodtest_no_routes_without_server
(self)
tests/server/auth/test_multi_auth.py:420
Methodtest_no_schema_dict_return_no_meta
A tool without output schema returning dict should not set meta.
tests/tools/tool/test_output_schema.py:620
Methodtest_no_schema_is_inferred
(self, annotation)
tests/tools/tool/test_output_schema.py:666
Methodtest_no_scopes
Test token with no scopes.
tests/server/auth/test_jwt_provider_bearer.py:336
Methodtest_no_secret_requires_jwt_signing_key
OAuthProxy requires jwt_signing_key when client_secret is omitted.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:303
Methodtest_no_secret_with_jwt_key_succeeds
OAuthProxy initializes successfully without client_secret when jwt_signing_key is given.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:315
Methodtest_no_session_returns_false
With no session available at all (e.g. distributed worker), the method degrades to False rather than raising.
tests/tasks/server/test_context_background_task.py:278
Methodtest_no_session_task_falls_back_to_direct_await
Test that when no session task exists, it falls back to direct await.
tests/client/client/test_session.py:252
Methodtest_no_skill_flag
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:723
Methodtest_no_stash_is_noop
(self)
tests/server/providers/proxy/test_stateful_proxy_client.py:322
Methodtest_no_static_client_info_without_client_id
When no client_id is provided, _static_client_info should be None.
tests/client/auth/test_oauth_static_client.py:64
Methodtest_no_timeout_completes_normally_async
Tool without timeout completes normally (async).
tests/tools/test_tool_timeout.py:20
Methodtest_no_timeout_completes_normally_sync
Tool without timeout completes normally (sync).
tests/tools/test_tool_timeout.py:33
Methodtest_no_token_when_unauthenticated
E2E: background task gets no token when nothing was set.
tests/tasks/server/test_context_background_task.py:452
Methodtest_no_tools
(self)
tests/cli/test_generate_cli.py:826
Methodtest_no_tools_before_decorator
(self)
tests/server/providers/local_provider_tools/test_decorator.py:44
Methodtest_no_tools_still_valid
(self)
tests/cli/test_generate_cli.py:480
Methodtest_no_uv_needed_with_empty_environment
Test that no UV is needed with empty environment config.
tests/cli/test_mcp_server_config_integration.py:164
Methodtest_no_uv_needed_without_environment
Test that no UV is needed without environment config.
tests/cli/test_mcp_server_config_integration.py:156
Methodtest_no_warning_on_well_formed_key
Well-formed keys, including URIs containing '@', pass silently.
tests/server/transforms/test_visibility.py:303
Functiontest_no_warning_or_scan_when_deprecation_warnings_are_off
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:81
Methodtest_no_warning_when_both_masked
No warning when both parent and child have masking enabled.
tests/server/mount/test_mount.py:697
Methodtest_no_warning_when_key_prefix_defined
Test that subclassing with KEY_PREFIX does not emit a warning.
tests/utilities/test_components.py:244
Methodtest_no_warning_with_client_id
No placeholder warning when --client-id is provided.
tests/cli/test_cimd_cli.py:128
Methodtest_no_website_url_in_fastmcp_v1
A v1 server with no website_url reports None rather than raising.
tests/utilities/test_inspect_icons.py:292
Methodtest_non_ascii_description
Test that FastMCP handles non-ASCII characters in descriptions correctly
tests/server/test_server.py:28
Functiontest_non_automatic_dependency_can_be_satisfied_explicitly
()
tests/server/test_provider_extensions.py:372
Methodtest_non_bearer_scheme_no_error_attribute
An unsupported auth scheme is treated like missing auth (RFC 6750 §3.1).
tests/server/auth/test_enhanced_error_responses.py:740
Methodtest_non_body_parameter_collision_handling
Test that same-named parameters in different locations use suffixes.
tests/utilities/openapi/test_legacy_compatibility.py:105
Methodtest_non_bool_fields_untouched
(self)
tests/apps/test_form.py:223
Methodtest_non_callable
(self)
tests/utilities/test_async_utils.py:55
Methodtest_non_callable_fn
(self)
tests/tools/tool/test_tool.py:297
Functiontest_non_colliding_object_properties_are_unchanged
()
tests/server/providers/openapi/test_query_key_collisions.py:97
Methodtest_non_conformant_discover_falls_back_to_handshake
A discover result missing required 2026-07-28 fields is not modern evidence. Rather than adopting an era the peer cannot serve, auto degrades
tests/client/client/test_mode_negotiation.py:212
Methodtest_non_critical_private_header_is_allowed
( self, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_jwt_provider.py:236
Methodtest_non_definition_pointers_return_none
(self)
tests/utilities/test_json_schema.py:949
← previousnext →11,701–11,800 of 15,974, ranked by callers