MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_dot_dot_slash_is_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1172
Methodtest_dots_and_slashes
(self)
tests/cli/test_generate_cli.py:98
Methodtest_dotted_values_encode_dots
Dots are encoded to prevent path normalization by urljoin.
tests/utilities/openapi/test_director.py:1202
Methodtest_double_encoded_traversal
(self, director, path_route)
tests/utilities/openapi/test_director.py:1229
Methodtest_downloads_all_skills
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:405
Methodtest_downloads_blob_resources
(self, tmp_path: Path)
tests/utilities/test_skills.py:381
Methodtest_downloads_skill_to_directory
( self, skills_server: FastMCP, tmp_path: Path )
tests/utilities/test_skills.py:232
Functiontest_dropped_args_error_if_provided
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:171
Methodtest_duplicate_copies_are_not_collapsed_by_a_shared_name
Copies whose backends collide on a name are the worst case, not the safe one: two components become indistinguishable. Counting names
tests/server/providers/test_prefab_roundtrip.py:592
Functiontest_duplicate_explicit_registration_still_raises
()
tests/server/test_provider_extensions.py:227
Functiontest_duplicate_identifier_rejected
()
tests/server/test_extensions.py:465
Methodtest_duplicate_rename_targets_raises_error
Test that duplicate target names in ToolTransform raises ValueError.
tests/server/providers/test_transforming_provider.py:125
Methodtest_duplicate_skill_names_first_wins
Test that if a skill appears in multiple roots, first one wins.
tests/server/providers/test_skills_provider.py:793
Methodtest_duplicate_tool_rename_targets_raises_error
Test that duplicate target names in tool_renames raises ValueError.
tests/server/mount/test_advanced.py:453
Methodtest_dynamically_adding_to_proxied_server
Test that changes to the original server are reflected in the mounted proxy.
tests/server/mount/test_proxy.py:42
Functiontest_dynamically_attached_descendant_inherits_all_root_restrictions
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:193
Methodtest_each_hook_fires_once_per_component_call
One ``tools/call`` fires ``on_message`` once and ``on_call_tool`` once — the interior dispatch is the single entry for component methods; the
tests/server/middleware/test_message_visibility.py:181
Methodtest_earlier_render_still_submittable
A second render must not invalidate the form from the first one. A consent URL gets loaded twice more often than you would think: a r
tests/server/auth/test_oauth_consent_flow.py:592
Methodtest_echo_log
(self, fastmcp_server: FastMCP, caplog)
tests/client/test_logs.py:68
Methodtest_elicit_accept_response
Test that the proxy client correctly forwards the `elicit` accept response.
tests/server/providers/proxy/test_proxy_client.py:279
Methodtest_elicit_decline_response
Test that the proxy client correctly forwards the `elicit` decline response.
tests/server/providers/proxy/test_proxy_client.py:297
Functiontest_elicit_degradation_message_is_clear_on_modern
FastMCP era-gates elicit: on a 2026-07-28 connection it raises a clear, era-aware error before hitting the wire, instead of the SDK's opaque '
tests/server/test_protocol_eras.py:280
Functiontest_elicit_degrades_on_modern
Elicitation is a server-initiated request, removed at 2026-07-28 (SEP-2577), so a tool that uses it must degrade to a surfaced error rather th
tests/server/test_protocol_eras.py:261
Methodtest_elicit_form_params_requested_schema_bridged
(self)
tests/test_compat.py:108
Methodtest_elicit_raises_with_guard_guidance
elicit() inside a background task raises a ToolError pointing to the guard/return pattern (InputRequiredResult).
tests/tasks/server/test_context_background_task.py:301
Methodtest_elicit_request
Test that the proxy client correctly forwards the `elicit` request.
tests/server/providers/proxy/test_proxy_client.py:250
Methodtest_elicit_with_default_values
Test that the proxy client correctly handles elicitation with default values (fixes #1167).
tests/server/providers/proxy/test_proxy_client.py:437
Functiontest_elicit_works_on_legacy
(push_server)
tests/server/test_protocol_eras.py:251
Functiontest_elicitation
Requests user input via elicitation.
tests/conformance/server.py:207
Functiontest_elicitation_accept_content
Test basic elicitation functionality.
tests/client/test_elicitation.py:58
Methodtest_elicitation_bool_response
Test elicitation with boolean schema.
tests/client/test_elicitation.py:340
Functiontest_elicitation_cancel_action
Test user canceling elicitation request.
tests/client/test_elicitation.py:231
Functiontest_elicitation_decline
Test that elicitation handler receives correct parameters.
tests/client/test_elicitation.py:72
Methodtest_elicitation_enum_response
Test elicitation with enum schema.
tests/client/test_elicitation.py:382
Methodtest_elicitation_float_response
Test elicitation with number schema.
tests/client/test_elicitation.py:320
Functiontest_elicitation_handler_error
Test error handling in elicitation handler.
tests/client/test_elicitation.py:427
Functiontest_elicitation_handler_parameters
Test that elicitation handler receives correct parameters.
tests/client/test_elicitation.py:85
Functiontest_elicitation_implicit_acceptance
Test that elicitation handler can return data directly without ElicitResult wrapper.
tests/client/test_elicitation_enums.py:48
Functiontest_elicitation_implicit_acceptance_must_be_dict
Test that elicitation handler can return data directly without ElicitResult wrapper.
tests/client/test_elicitation_enums.py:63
Methodtest_elicitation_int_response
Test elicitation with number schema.
tests/client/test_elicitation.py:300
Methodtest_elicitation_list_of_strings_response
Test elicitation with list schema.
tests/client/test_elicitation.py:406
Methodtest_elicitation_literal_response
Test elicitation with literal schema.
tests/client/test_elicitation.py:360
Functiontest_elicitation_multiple_calls
Test multiple elicitation calls in sequence.
tests/client/test_elicitation.py:457
Functiontest_elicitation_response_title_and_description_on_scalar
response_title and response_description customize the wrapped `value` field.
tests/client/test_elicitation.py:119
Functiontest_elicitation_response_title_on_dict_shorthand
response_title applies to the `value` property for dict shorthand.
tests/client/test_elicitation.py:153
Functiontest_elicitation_response_title_on_list_shorthand
response_title applies to the `value` property for list shorthand.
tests/client/test_elicitation.py:179
Functiontest_elicitation_response_title_rejected_for_basemodel
response_title raises TypeError when response_type is a BaseModel.
tests/client/test_elicitation.py:205
Methodtest_elicitation_schema
( self, schema: dict[str, Any], content: dict[str, Any] )
tests/utilities/json_schema_type/test_generated_classes.py:201
Methodtest_elicitation_schema_with_any_title
(self, title: str)
tests/utilities/json_schema_type/test_generated_classes.py:229
Functiontest_elicitation_sep1034_defaults
Tests elicitation with default values per SEP-1034.
tests/conformance/server.py:228
Functiontest_elicitation_sep1330_enums
Tests elicitation with enum schema improvements per SEP-1330.
tests/conformance/server.py:238
Methodtest_elicitation_str_response
Test elicitation with string schema.
tests/client/test_elicitation.py:280
Functiontest_elicitation_tool
Test calling the elicitation tool in both stateless and stateful modes.
tests/client/test_streamable_http.py:211
Functiontest_elicitation_with_no_handler
Test that elicitation works without a handler.
tests/client/test_elicitation.py:50
Methodtest_elongl_reported_case_xref_with_nullable_function
Test the specific case reported by elongl with nullable function reference.
tests/utilities/openapi/test_transitive_references.py:118
Methodtest_email_accepts_valid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:64
Methodtest_email_invalid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:68
Methodtest_email_rejects_invalid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:69
Methodtest_email_valid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:63
Functiontest_embedded_resource
Returns an embedded resource.
tests/conformance/server.py:113
Methodtest_embeds_transport
(self)
tests/cli/test_generate_cli.py:472
Methodtest_emitted_name_is_callable_on_the_same_server
The whole point: what the renderer is told to call, it can call.
tests/server/providers/test_prefab_roundtrip.py:306
Methodtest_empty
(self)
tests/test_apps.py:107
Methodtest_empty
(self)
tests/test_apps.py:157
Methodtest_empty_args
(self)
tests/cli/test_goose.py:167
Methodtest_empty_args_section
(self)
tests/utilities/test_docstring_parsing.py:260
Methodtest_empty_command_exits
(self)
tests/cli/test_client_commands.py:332
Methodtest_empty_corpus
(self)
tests/server/transforms/test_search.py:429
Methodtest_empty_criteria_matches_nothing
Empty criteria is a safe default - matches nothing.
tests/server/transforms/test_visibility.py:13
Methodtest_empty_csp_disables_csp_meta_tag
Test that empty string CSP disables CSP meta tag entirely.
tests/server/auth/test_oauth_consent_page.py:358
Methodtest_empty_cursor_fetches_the_next_page
( self, method: str, first_page: mcp_types.PaginatedResult, second_page: mcp_t
tests/server/test_pagination.py:217
Methodtest_empty_data_uses_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:394
Methodtest_empty_dict
Test that an empty dictionary is converted to TextContent.
tests/tools/tool/test_content.py:239
Methodtest_empty_enum
Empty enum means no value is valid — should reject like a false schema.
tests/utilities/json_schema_type/test_json_schema_type.py:275
Methodtest_empty_filtered_view_is_served_from_cache
(self)
tests/server/middleware/test_caching.py:1148
Methodtest_empty_list
Test that an empty list results in an empty list.
tests/tools/tool/test_content.py:233
Methodtest_empty_list
Empty list should return empty page and no cursor.
tests/server/test_pagination.py:99
Methodtest_empty_list_allows_none
Test that empty list allows no redirect URIs.
tests/server/auth/test_redirect_validation.py:345
Methodtest_empty_list_blocks_all
Empty allowed_redirect_uri_patterns blocks all redirect URIs, including pre-registered ones.
tests/server/auth/test_oauth_proxy_redirect_validation.py:159
Methodtest_empty_list_is_served_from_cache
(self, operation: str)
tests/server/middleware/test_caching.py:1138
Methodtest_empty_list_passes
(self)
tests/server/auth/test_authorization.py:306
Methodtest_empty_material_is_rejected
An empty key would derive a universally reproducible Fernet key.
tests/tasks/server/test_snapshot_encryption.py:108
Methodtest_empty_mcp_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:137
Methodtest_empty_meta_returns_current_context
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:78
Methodtest_empty_params_does_not_add_stray_ampersand
The authorize-handler call site passes no extra params (it only needs to fix up `iss` on a URL the SDK already built) -- an empty `par
tests/server/auth/test_redirect_validation.py:192
Methodtest_empty_property_name
Empty and whitespace-only property names should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:301
Functiontest_empty_protocol_versions_rejected
()
tests/server/test_extensions.py:500
Methodtest_empty_provider
Test that empty provider doesn't affect behavior.
tests/server/test_providers.py:263
Methodtest_empty_query_has_no_stray_ampersand
(self)
tests/server/auth/test_redirect_validation.py:59
Methodtest_empty_query_makes_no_request
(self)
tests/experimental/transforms/test_jev_search.py:421
Methodtest_empty_redirect_uris_rejected
Test that empty redirect_uris is rejected.
tests/server/auth/test_cimd.py:103
Methodtest_empty_required_scopes_handling
Test handling of empty required scopes.
tests/server/auth/providers/test_keycloak.py:118
Methodtest_empty_required_scopes_raises_value_error
Test that providing empty required_scopes raises ValueError.
tests/server/auth/providers/test_azure_scopes.py:176
Methodtest_empty_roots_list
Test that empty roots list results in no skills.
tests/server/providers/test_skills_provider.py:863
Methodtest_empty_route
Test schema processing with empty route.
tests/utilities/openapi/test_schemas.py:533
Methodtest_empty_schema
(self)
tests/utilities/json_schema_type/test_advanced.py:471
Methodtest_empty_scope_discovery_is_cached_as_success
An explicitly empty Descope scope list is a successful discovery.
tests/server/auth/providers/test_descope.py:174
Methodtest_empty_scopes_accept_any_valid_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:923
Methodtest_empty_scopes_rejects_when_required
When introspection returns no scopes and required_scopes are set, token is rejected.
tests/server/auth/providers/test_clerk.py:331
Methodtest_empty_scopes_require_a_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:913
← previousnext →7,701–7,800 of 13,374, ranked by callers