Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_dot_dot_slash_is_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1172
Method
test_dots_and_slashes
(self)
tests/cli/test_generate_cli.py:98
Method
test_dotted_values_encode_dots
Dots are encoded to prevent path normalization by urljoin.
tests/utilities/openapi/test_director.py:1202
Method
test_double_encoded_traversal
(self, director, path_route)
tests/utilities/openapi/test_director.py:1229
Method
test_downloads_all_skills
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:405
Method
test_downloads_blob_resources
(self, tmp_path: Path)
tests/utilities/test_skills.py:381
Method
test_downloads_skill_to_directory
( self, skills_server: FastMCP, tmp_path: Path )
tests/utilities/test_skills.py:232
Function
test_dropped_args_error_if_provided
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:171
Method
test_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
Function
test_duplicate_explicit_registration_still_raises
()
tests/server/test_provider_extensions.py:227
Function
test_duplicate_identifier_rejected
()
tests/server/test_extensions.py:465
Method
test_duplicate_rename_targets_raises_error
Test that duplicate target names in ToolTransform raises ValueError.
tests/server/providers/test_transforming_provider.py:125
Method
test_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
Method
test_duplicate_tool_rename_targets_raises_error
Test that duplicate target names in tool_renames raises ValueError.
tests/server/mount/test_advanced.py:453
Method
test_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
Function
test_dynamically_attached_descendant_inherits_all_root_restrictions
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:193
Method
test_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
Method
test_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
Method
test_echo_log
(self, fastmcp_server: FastMCP, caplog)
tests/client/test_logs.py:68
Method
test_elicit_accept_response
Test that the proxy client correctly forwards the `elicit` accept response.
tests/server/providers/proxy/test_proxy_client.py:279
Method
test_elicit_decline_response
Test that the proxy client correctly forwards the `elicit` decline response.
tests/server/providers/proxy/test_proxy_client.py:297
Function
test_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
Function
test_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
Method
test_elicit_form_params_requested_schema_bridged
(self)
tests/test_compat.py:108
Method
test_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
Method
test_elicit_request
Test that the proxy client correctly forwards the `elicit` request.
tests/server/providers/proxy/test_proxy_client.py:250
Method
test_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
Function
test_elicit_works_on_legacy
(push_server)
tests/server/test_protocol_eras.py:251
Function
test_elicitation
Requests user input via elicitation.
tests/conformance/server.py:207
Function
test_elicitation_accept_content
Test basic elicitation functionality.
tests/client/test_elicitation.py:58
Method
test_elicitation_bool_response
Test elicitation with boolean schema.
tests/client/test_elicitation.py:340
Function
test_elicitation_cancel_action
Test user canceling elicitation request.
tests/client/test_elicitation.py:231
Function
test_elicitation_decline
Test that elicitation handler receives correct parameters.
tests/client/test_elicitation.py:72
Method
test_elicitation_enum_response
Test elicitation with enum schema.
tests/client/test_elicitation.py:382
Method
test_elicitation_float_response
Test elicitation with number schema.
tests/client/test_elicitation.py:320
Function
test_elicitation_handler_error
Test error handling in elicitation handler.
tests/client/test_elicitation.py:427
Function
test_elicitation_handler_parameters
Test that elicitation handler receives correct parameters.
tests/client/test_elicitation.py:85
Function
test_elicitation_implicit_acceptance
Test that elicitation handler can return data directly without ElicitResult wrapper.
tests/client/test_elicitation_enums.py:48
Function
test_elicitation_implicit_acceptance_must_be_dict
Test that elicitation handler can return data directly without ElicitResult wrapper.
tests/client/test_elicitation_enums.py:63
Method
test_elicitation_int_response
Test elicitation with number schema.
tests/client/test_elicitation.py:300
Method
test_elicitation_list_of_strings_response
Test elicitation with list schema.
tests/client/test_elicitation.py:406
Method
test_elicitation_literal_response
Test elicitation with literal schema.
tests/client/test_elicitation.py:360
Function
test_elicitation_multiple_calls
Test multiple elicitation calls in sequence.
tests/client/test_elicitation.py:457
Function
test_elicitation_response_title_and_description_on_scalar
response_title and response_description customize the wrapped `value` field.
tests/client/test_elicitation.py:119
Function
test_elicitation_response_title_on_dict_shorthand
response_title applies to the `value` property for dict shorthand.
tests/client/test_elicitation.py:153
Function
test_elicitation_response_title_on_list_shorthand
response_title applies to the `value` property for list shorthand.
tests/client/test_elicitation.py:179
Function
test_elicitation_response_title_rejected_for_basemodel
response_title raises TypeError when response_type is a BaseModel.
tests/client/test_elicitation.py:205
Method
test_elicitation_schema
( self, schema: dict[str, Any], content: dict[str, Any] )
tests/utilities/json_schema_type/test_generated_classes.py:201
Method
test_elicitation_schema_with_any_title
(self, title: str)
tests/utilities/json_schema_type/test_generated_classes.py:229
Function
test_elicitation_sep1034_defaults
Tests elicitation with default values per SEP-1034.
tests/conformance/server.py:228
Function
test_elicitation_sep1330_enums
Tests elicitation with enum schema improvements per SEP-1330.
tests/conformance/server.py:238
Method
test_elicitation_str_response
Test elicitation with string schema.
tests/client/test_elicitation.py:280
Function
test_elicitation_tool
Test calling the elicitation tool in both stateless and stateful modes.
tests/client/test_streamable_http.py:211
Function
test_elicitation_with_no_handler
Test that elicitation works without a handler.
tests/client/test_elicitation.py:50
Method
test_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
Method
test_email_accepts_valid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:64
Method
test_email_invalid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:68
Method
test_email_rejects_invalid
(self, email_string)
tests/utilities/json_schema_type/test_constraints.py:69
Method
test_email_valid
(self, email_format)
tests/utilities/json_schema_type/test_formats.py:63
Function
test_embedded_resource
Returns an embedded resource.
tests/conformance/server.py:113
Method
test_embeds_transport
(self)
tests/cli/test_generate_cli.py:472
Method
test_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
Method
test_empty
(self)
tests/test_apps.py:107
Method
test_empty
(self)
tests/test_apps.py:157
Method
test_empty_args
(self)
tests/cli/test_goose.py:167
Method
test_empty_args_section
(self)
tests/utilities/test_docstring_parsing.py:260
Method
test_empty_command_exits
(self)
tests/cli/test_client_commands.py:332
Method
test_empty_corpus
(self)
tests/server/transforms/test_search.py:429
Method
test_empty_criteria_matches_nothing
Empty criteria is a safe default - matches nothing.
tests/server/transforms/test_visibility.py:13
Method
test_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
Method
test_empty_cursor_fetches_the_next_page
( self, method: str, first_page: mcp_types.PaginatedResult, second_page: mcp_t
tests/server/test_pagination.py:217
Method
test_empty_data_uses_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:394
Method
test_empty_dict
Test that an empty dictionary is converted to TextContent.
tests/tools/tool/test_content.py:239
Method
test_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
Method
test_empty_filtered_view_is_served_from_cache
(self)
tests/server/middleware/test_caching.py:1148
Method
test_empty_list
Test that an empty list results in an empty list.
tests/tools/tool/test_content.py:233
Method
test_empty_list
Empty list should return empty page and no cursor.
tests/server/test_pagination.py:99
Method
test_empty_list_allows_none
Test that empty list allows no redirect URIs.
tests/server/auth/test_redirect_validation.py:345
Method
test_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
Method
test_empty_list_is_served_from_cache
(self, operation: str)
tests/server/middleware/test_caching.py:1138
Method
test_empty_list_passes
(self)
tests/server/auth/test_authorization.py:306
Method
test_empty_material_is_rejected
An empty key would derive a universally reproducible Fernet key.
tests/tasks/server/test_snapshot_encryption.py:108
Method
test_empty_mcp_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:137
Method
test_empty_meta_returns_current_context
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:78
Method
test_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
Method
test_empty_property_name
Empty and whitespace-only property names should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:301
Function
test_empty_protocol_versions_rejected
()
tests/server/test_extensions.py:500
Method
test_empty_provider
Test that empty provider doesn't affect behavior.
tests/server/test_providers.py:263
Method
test_empty_query_has_no_stray_ampersand
(self)
tests/server/auth/test_redirect_validation.py:59
Method
test_empty_query_makes_no_request
(self)
tests/experimental/transforms/test_jev_search.py:421
Method
test_empty_redirect_uris_rejected
Test that empty redirect_uris is rejected.
tests/server/auth/test_cimd.py:103
Method
test_empty_required_scopes_handling
Test handling of empty required scopes.
tests/server/auth/providers/test_keycloak.py:118
Method
test_empty_required_scopes_raises_value_error
Test that providing empty required_scopes raises ValueError.
tests/server/auth/providers/test_azure_scopes.py:176
Method
test_empty_roots_list
Test that empty roots list results in no skills.
tests/server/providers/test_skills_provider.py:863
Method
test_empty_route
Test schema processing with empty route.
tests/utilities/openapi/test_schemas.py:533
Method
test_empty_schema
(self)
tests/utilities/json_schema_type/test_advanced.py:471
Method
test_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
Method
test_empty_scopes_accept_any_valid_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:923
Method
test_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
Method
test_empty_scopes_require_a_token
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:913
← previous
next →
7,701–7,800 of 13,374, ranked by callers