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
Method
test_finds_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:216
Method
test_finds_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:473
Method
test_finds_config_in_cwd
(self, tmp_path: Path)
tests/cli/test_discovery.py:435
Method
test_finds_config_in_parent
(self, tmp_path: Path)
tests/cli/test_discovery.py:442
Method
test_finds_stdio_extensions
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:646
Method
test_finite_structured_content_round_trips
(self)
tests/tools/tool/test_nonfinite_serialization.py:90
Method
test_finite_values_pass_through
(self)
tests/tools/tool/test_nonfinite_serialization.py:137
Function
test_first_delay_is_the_floor
()
tests/tasks/client/test_poll_interval.py:58
Method
test_first_page_no_cursor
First page should start from beginning.
tests/server/test_pagination.py:75
Function
test_first_poll_starts_from_now
()
tests/experimental/events/test_extension.py:123
Function
test_first_root_wins
(tmp_path: Path)
tests/skills/test_directory_provider.py:100
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_fixed_length_positional_array_hydrates_each_position
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:420
Method
test_fixed_length_positional_array_preserves_uniqueness
(self)
tests/utilities/json_schema_type/test_containers.py:450
Method
test_fixed_length_positional_array_rejects_wrong_length
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:428
Method
test_fixed_length_positional_array_rejects_wrong_position_type
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:435
Method
test_fixed_length_tuple_result_keeps_positions
(self)
tests/client/test_result_hydration.py:194
Method
test_flag_defaults_to_false
The trust-proxy flag must be off by default (no silent weakening).
tests/server/auth/test_ssrf_protection.py:641
Method
test_float_coercion
Test float type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:114
Method
test_float_count_does_not_poison_a_later_int_count
(self)
tests/utilities/json_schema_type/test_constraints.py:311
Function
test_flow_counts_moves_between_stages
()
tests/test_triage_floor_feed.py:177
Method
test_fn_returns_assistant_message
(self)
tests/prompts/test_prompt.py:122
Method
test_fn_returns_list_of_strings
(self)
tests/prompts/test_prompt.py:144
Method
test_fn_returns_message_list
(self)
tests/prompts/test_prompt.py:114
Method
test_fn_returns_message_with_resource
Test returning a message with resource content.
tests/prompts/test_prompt.py:229
Method
test_fn_returns_mixed_content
Test returning messages with mixed content types.
tests/prompts/test_prompt.py:191
Method
test_fn_returns_multiple_messages
(self)
tests/prompts/test_prompt.py:130
Method
test_fn_returns_resource_content
Test returning a message with resource content.
tests/prompts/test_prompt.py:157
Method
test_fn_with_args
(self)
tests/prompts/test_prompt.py:57
Method
test_fn_with_invalid_kwargs
(self)
tests/prompts/test_prompt.py:83
Method
test_fn_with_keyword_only_parameters
(self)
tests/prompts/test_prompt.py:106
Function
test_fn_with_kwargs_dropped_args_not_in_kwargs
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:621
Function
test_fn_with_kwargs_handles_partial_explicit_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:586
Function
test_fn_with_kwargs_mixed_mapped_and_unmapped_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:604
Function
test_fn_with_kwargs_passes_through_original_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:550
Function
test_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
Method
test_fn_with_positional_only_parameters_not_allowed
(self)
tests/prompts/test_prompt.py:93
Method
test_fn_with_postponed_annotations
(self)
tests/prompts/test_prompt.py:24
Method
test_follows_alias_chain_to_object_definition
( self, defs_key: str, pointers: list[str] )
tests/utilities/test_json_schema.py:1245
Function
test_follows_backend_pagination
()
tests/server/providers/proxy/test_skills.py:136
Function
test_follows_empty_backend_cursor
()
tests/server/providers/proxy/test_skills.py:162
Method
test_follows_pagination
A server that paginates its lists is not truncated to the first page.
tests/utilities/test_inspect.py:612
Method
test_forbidden_disable_prompt
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:437
Method
test_forbidden_disable_resource
(self)
tests/contrib/test_component_manager.py:608
Method
test_forbidden_enable_prompt
(self)
tests/contrib/test_component_manager.py:640
Method
test_forbidden_enable_resource
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:373
Method
test_forbidden_enable_tool
Test that requests with insufficient scopes are rejected.
tests/contrib/test_component_manager.py:334
Method
test_forbidden_enable_tool
(self)
tests/contrib/test_component_manager.py:575
Method
test_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
Method
test_forbidden_mode_sync_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:458
Method
test_forbidden_tool_has_no_execution
Tools with mode=forbidden do not expose execution metadata.
tests/tasks/server/test_task_config.py:246
Function
test_forbidden_tool_never_tasks_even_with_opt_in
()
tests/tasks/server/test_extension.py:128
Function
test_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
Function
test_force_close_cancelled_wait_starts_fresh_session
(fastmcp_server)
tests/client/client/test_client.py:648
Method
test_force_overwrites
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:644
Method
test_force_overwrites_skill
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:736
Function
test_foreground_tool_dependencies_unaffected
Synchronous tools still get their dependencies as before.
tests/tasks/server/test_task_dependencies.py:148
Method
test_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
Method
test_form_submits_original_property_names
(self, name: str, field_name: str)
tests/cli/test_apps_dev_server.py:677
Function
test_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
Method
test_form_urlencoded_allof_additional_properties_json_encoded
allOf-wrapped additionalProperties schemas drive JSON encoding.
tests/utilities/openapi/test_director.py:1462
Function
test_form_urlencoded_array_of_objects_is_json_encoded
()
tests/server/providers/openapi/test_object_request_bodies.py:342
Function
test_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
Function
test_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
Method
test_form_urlencoded_not_sent_as_json
application/x-www-form-urlencoded bodies should use httpx data=.
tests/utilities/openapi/test_director.py:1346
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Method
test_format_and_parse
(self)
tests/server/providers/test_addressing.py:38
Method
test_format_and_parse
(self)
tests/server/providers/test_addressing.py:62
Function
test_format_and_unconfirmed_duplicates_do_not_dismiss_assigned_work
( ranking_module, label, public )
tests/test_issue_ranking.py:110
Method
test_format_fastmcp_info
Test formatting as FastMCP-specific JSON.
tests/utilities/test_inspect_icons.py:366
Function
test_format_host_for_url
IPv6 hosts are bracketed for use in a URL; everything else is unchanged.
tests/server/test_transport.py:21
Method
test_format_info_requires_format
Test that format_info requires a format parameter.
tests/utilities/test_inspect_icons.py:488
Method
test_format_info_with_fastmcp_format
Test format_info with fastmcp format.
tests/utilities/test_inspect_icons.py:450
Method
test_format_info_with_mcp_format
Test format_info with mcp format.
tests/utilities/test_inspect_icons.py:471
Method
test_format_invalid_email
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:103
Method
test_format_ip_for_url_invalid
Invalid IP strings should be returned unchanged.
tests/server/auth/test_ssrf_protection.py:492
Method
test_format_ip_for_url_ipv4
IPv4 addresses should not be bracketed.
tests/server/auth/test_ssrf_protection.py:477
Method
test_format_ip_for_url_ipv6
IPv6 addresses should be bracketed for URL use.
tests/server/auth/test_ssrf_protection.py:484
Method
test_format_mcp_info
Test formatting as MCP protocol JSON.
tests/utilities/test_inspect_icons.py:401
Method
test_format_message
Test message formatting.
tests/server/middleware/test_logging.py:233
Method
test_format_valid_email
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:94
Method
test_format_valid_null
(self, union_with_formats)
tests/utilities/json_schema_type/test_unions.py:99
Method
test_format_without_constraints_is_unchanged
(self)
tests/utilities/json_schema_type/test_constraints.py:273
Method
test_formats_hydrate_inside_collections
(self)
tests/client/test_result_hydration.py:206
Function
test_forward_client_headers_option
(forward, expected)
tests/client/test_openapi.py:222
Method
test_forward_error_response
Test that the proxy client correctly forwards an error response.
tests/server/providers/proxy/test_proxy_client.py:253
Method
test_forward_list_changed_notifications
(self, proxy_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:588
Method
test_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
Method
test_forward_list_roots_request
Test that the proxy client correctly forwards the `list_roots` request.
tests/server/providers/proxy/test_proxy_client.py:261
← previous
next →
10,301–10,400 of 16,725, ranked by callers