MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

Methodtest_finds_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:216
Methodtest_finds_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:473
Methodtest_finds_config_in_cwd
(self, tmp_path: Path)
tests/cli/test_discovery.py:435
Methodtest_finds_config_in_parent
(self, tmp_path: Path)
tests/cli/test_discovery.py:442
Methodtest_finds_stdio_extensions
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:646
Methodtest_finite_structured_content_round_trips
(self)
tests/tools/tool/test_nonfinite_serialization.py:90
Methodtest_finite_values_pass_through
(self)
tests/tools/tool/test_nonfinite_serialization.py:137
Functiontest_first_delay_is_the_floor
()
tests/tasks/client/test_poll_interval.py:58
Methodtest_first_page_no_cursor
First page should start from beginning.
tests/server/test_pagination.py:75
Functiontest_first_poll_starts_from_now
()
tests/experimental/events/test_extension.py:123
Functiontest_first_root_wins
(tmp_path: Path)
tests/skills/test_directory_provider.py:100
Methodtest_first_server_wins_prompts_no_prefix
Test that first mounted server wins for prompts when no prefix is used.
tests/server/mount/test_mount.py:570
Methodtest_first_server_wins_prompts_same_prefix
Test that first mounted server wins for prompts when same prefix is used.
tests/server/mount/test_mount.py:599
Methodtest_first_server_wins_resource_templates_no_prefix
Test that first mounted server wins for resource templates when no prefix is used.
tests/server/mount/test_mount.py:516
Methodtest_first_server_wins_resource_templates_same_prefix
Test that first mounted server wins for resource templates when same prefix is used.
tests/server/mount/test_mount.py:543
Methodtest_first_server_wins_resources_no_prefix
Test that first mounted server wins for resources when no prefix is used.
tests/server/mount/test_mount.py:462
Methodtest_first_server_wins_resources_same_prefix
Test that first mounted server wins for resources when same prefix is used.
tests/server/mount/test_mount.py:489
Methodtest_first_server_wins_tools_no_prefix
Test that first mounted server wins for tools when no prefix is used.
tests/server/mount/test_mount.py:408
Methodtest_first_server_wins_tools_same_prefix
Test that first mounted server wins for tools when same prefix is used.
tests/server/mount/test_mount.py:435
Methodtest_fixed_length_positional_array_hydrates_each_position
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:420
Methodtest_fixed_length_positional_array_preserves_uniqueness
(self)
tests/utilities/json_schema_type/test_containers.py:450
Methodtest_fixed_length_positional_array_rejects_wrong_length
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:428
Methodtest_fixed_length_positional_array_rejects_wrong_position_type
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:435
Methodtest_fixed_length_tuple_result_keeps_positions
(self)
tests/client/test_result_hydration.py:194
Methodtest_flag_defaults_to_false
The trust-proxy flag must be off by default (no silent weakening).
tests/server/auth/test_ssrf_protection.py:641
Methodtest_float_coercion
Test float type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:114
Methodtest_float_count_does_not_poison_a_later_int_count
(self)
tests/utilities/json_schema_type/test_constraints.py:311
Functiontest_flow_counts_moves_between_stages
()
tests/test_triage_floor_feed.py:177
Methodtest_fn_returns_assistant_message
(self)
tests/prompts/test_prompt.py:122
Methodtest_fn_returns_list_of_strings
(self)
tests/prompts/test_prompt.py:144
Methodtest_fn_returns_message_list
(self)
tests/prompts/test_prompt.py:114
Methodtest_fn_returns_message_with_resource
Test returning a message with resource content.
tests/prompts/test_prompt.py:229
Methodtest_fn_returns_mixed_content
Test returning messages with mixed content types.
tests/prompts/test_prompt.py:191
Methodtest_fn_returns_multiple_messages
(self)
tests/prompts/test_prompt.py:130
Methodtest_fn_returns_resource_content
Test returning a message with resource content.
tests/prompts/test_prompt.py:157
Methodtest_fn_with_args
(self)
tests/prompts/test_prompt.py:57
Methodtest_fn_with_invalid_kwargs
(self)
tests/prompts/test_prompt.py:83
Methodtest_fn_with_keyword_only_parameters
(self)
tests/prompts/test_prompt.py:106
Functiontest_fn_with_kwargs_dropped_args_not_in_kwargs
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:621
Functiontest_fn_with_kwargs_handles_partial_explicit_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:586
Functiontest_fn_with_kwargs_mixed_mapped_and_unmapped_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:604
Functiontest_fn_with_kwargs_passes_through_original_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:550
Functiontest_fn_with_kwargs_receives_transformed_arg_names
Test that **kwargs receives arguments with their transformed names from transform_args.
tests/tools/tool_transform/test_tool_transform.py:566
Methodtest_fn_with_positional_only_parameters_not_allowed
(self)
tests/prompts/test_prompt.py:93
Methodtest_fn_with_postponed_annotations
(self)
tests/prompts/test_prompt.py:24
Methodtest_follows_alias_chain_to_object_definition
( self, defs_key: str, pointers: list[str] )
tests/utilities/test_json_schema.py:1245
Functiontest_follows_backend_pagination
()
tests/server/providers/proxy/test_skills.py:136
Functiontest_follows_empty_backend_cursor
()
tests/server/providers/proxy/test_skills.py:162
Methodtest_follows_pagination
A server that paginates its lists is not truncated to the first page.
tests/utilities/test_inspect.py:612
Methodtest_forbidden_disable_prompt
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:437
Methodtest_forbidden_disable_resource
(self)
tests/contrib/test_component_manager.py:608
Methodtest_forbidden_enable_prompt
(self)
tests/contrib/test_component_manager.py:640
Methodtest_forbidden_enable_resource
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:373
Methodtest_forbidden_enable_tool
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:334
Methodtest_forbidden_enable_tool
(self)
tests/contrib/test_component_manager.py:575
Methodtest_forbidden_mode_never_tasks_even_with_opt_in
Forbidden mode runs synchronously even when the caller opts in.
tests/tasks/server/test_task_config.py:183
Methodtest_forbidden_mode_sync_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:458
Methodtest_forbidden_tool_has_no_execution
Tools with mode=forbidden do not expose execution metadata.
tests/tasks/server/test_task_config.py:246
Functiontest_forbidden_tool_never_tasks_even_with_opt_in
()
tests/tasks/server/test_extension.py:128
Functiontest_forbidden_tool_runs_sync_even_with_opt_in
A task=False tool runs synchronously even when the caller opts into tasks.
tests/tasks/server/test_task_tools.py:326
Functiontest_force_close_cancelled_wait_starts_fresh_session
(fastmcp_server)
tests/client/client/test_client.py:648
Methodtest_force_overwrites
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:644
Methodtest_force_overwrites_skill
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:736
Functiontest_foreground_tool_dependencies_unaffected
Synchronous tools still get their dependencies as before.
tests/tasks/server/test_task_dependencies.py:148
Methodtest_forged_token_still_rejected_without_cookie
Keeping older tokens valid must not weaken the double-submit check. An attacker who renders the consent page for a transaction they started
tests/server/auth/test_oauth_consent_flow.py:627
Methodtest_form_submits_original_property_names
(self, name: str, field_name: str)
tests/cli/test_apps_dev_server.py:677
Functiontest_form_urlencoded_additional_properties_objects_are_json_encoded
Object map values from additionalProperties are JSON-encoded.
tests/server/providers/openapi/test_object_request_bodies.py:560
Methodtest_form_urlencoded_allof_additional_properties_json_encoded
allOf-wrapped additionalProperties schemas drive JSON encoding.
tests/utilities/openapi/test_director.py:1462
Functiontest_form_urlencoded_array_of_objects_is_json_encoded
()
tests/server/providers/openapi/test_object_request_bodies.py:342
Functiontest_form_urlencoded_cyclic_component_graph_is_serialized
Mutually recursive composition refs terminate instead of recursing.
tests/server/providers/openapi/test_object_request_bodies.py:534
Functiontest_form_urlencoded_explicit_json_encoding_is_honored
An explicit encoding contentType overrides the default serialization.
tests/server/providers/openapi/test_object_request_bodies.py:369
Methodtest_form_urlencoded_not_sent_as_json
application/x-www-form-urlencoded bodies should use httpx data=.
tests/utilities/openapi/test_director.py:1346
Functiontest_form_urlencoded_nullable_array_of_objects_is_json_encoded
Nullable/composed array schemas still identify arrays of objects.
tests/server/providers/openapi/test_object_request_bodies.py:472
Functiontest_form_urlencoded_object_property_encodes_nested_null
Nested None inside a JSON-encoded object becomes JSON null.
tests/server/providers/openapi/test_object_request_bodies.py:317
Functiontest_form_urlencoded_object_property_is_json_encoded
Object properties default to contentType application/json in OAS.
tests/server/providers/openapi/test_object_request_bodies.py:278
Functiontest_form_urlencoded_ref_to_nullable_array_of_objects_is_json_encoded
A `$ref` resolving to a nullable array of objects is JSON-encoded.
tests/server/providers/openapi/test_object_request_bodies.py:485
Functiontest_form_urlencoded_union_array_uses_matching_branch
Runtime items choose the union branch instead of any alternative.
tests/server/providers/openapi/test_object_request_bodies.py:513
Methodtest_format_and_parse
(self)
tests/server/providers/test_addressing.py:38
Methodtest_format_and_parse
(self)
tests/server/providers/test_addressing.py:62
Functiontest_format_and_unconfirmed_duplicates_do_not_dismiss_assigned_work
( ranking_module, label, public )
tests/test_issue_ranking.py:110
Methodtest_format_fastmcp_info
Test formatting as FastMCP-specific JSON.
tests/utilities/test_inspect_icons.py:366
Functiontest_format_host_for_url
IPv6 hosts are bracketed for use in a URL; everything else is unchanged.
tests/server/test_transport.py:21
Methodtest_format_info_requires_format
Test that format_info requires a format parameter.
tests/utilities/test_inspect_icons.py:488
Methodtest_format_info_with_fastmcp_format
Test format_info with fastmcp format.
tests/utilities/test_inspect_icons.py:450
Methodtest_format_info_with_mcp_format
Test format_info with mcp format.
tests/utilities/test_inspect_icons.py:471
Methodtest_format_invalid_email
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:103
Methodtest_format_ip_for_url_invalid
Invalid IP strings should be returned unchanged.
tests/server/auth/test_ssrf_protection.py:492
Methodtest_format_ip_for_url_ipv4
IPv4 addresses should not be bracketed.
tests/server/auth/test_ssrf_protection.py:477
Methodtest_format_ip_for_url_ipv6
IPv6 addresses should be bracketed for URL use.
tests/server/auth/test_ssrf_protection.py:484
Methodtest_format_mcp_info
Test formatting as MCP protocol JSON.
tests/utilities/test_inspect_icons.py:401
Methodtest_format_message
Test message formatting.
tests/server/middleware/test_logging.py:233
Methodtest_format_valid_email
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:94
Methodtest_format_valid_null
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:99
Methodtest_format_without_constraints_is_unchanged
(self)
tests/utilities/json_schema_type/test_constraints.py:273
Methodtest_formats_hydrate_inside_collections
(self)
tests/client/test_result_hydration.py:206
Functiontest_forward_client_headers_option
(forward, expected)
tests/client/test_openapi.py:222
Methodtest_forward_error_response
Test that the proxy client correctly forwards an error response.
tests/server/providers/proxy/test_proxy_client.py:253
Methodtest_forward_list_changed_notifications
(self, proxy_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:588
Methodtest_forward_list_changed_to_modern_listen_stream
A 2026-07-28 client has no push channel; the proxy relays an upstream list change onto its listen stream instead.
tests/server/providers/proxy/test_proxy_client.py:606
Methodtest_forward_list_roots_request
Test that the proxy client correctly forwards the `list_roots` request.
tests/server/providers/proxy/test_proxy_client.py:261
← previousnext →10,301–10,400 of 16,725, ranked by callers