Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
test_fetch_prereleases
Fetching with prereleases returns highest version.
tests/utilities/test_version_check.py:148
Method
test_fetch_prereleases_stable_is_highest
Prerelease mode still returns stable if it's highest.
tests/utilities/test_version_check.py:165
Method
test_fetch_preserves_request_headers_but_drops_host
Caller headers pass through, but a caller-supplied Host is dropped.
tests/server/auth/test_ssrf_protection.py:778
Method
test_fetch_refuses_end_to_end_when_no_proxy_configured
The refusal surfaces through ssrf_safe_fetch: no client is ever built. The whole point of the hard failure is that the *fetch* cannot proceed
tests/server/auth/test_ssrf_protection.py:670
Method
test_fetch_size_limit_preserved
Proxy mode still enforces the response size limit during streaming.
tests/server/auth/test_ssrf_protection.py:798
Method
test_fetch_status_check_preserved
Proxy mode still rejects non-allowed status codes.
tests/server/auth/test_ssrf_protection.py:811
Method
test_fetch_success
Successful fetch returns highest stable version.
tests/utilities/test_version_check.py:112
Method
test_fetch_success
Test successful CIMD document fetch.
tests/server/auth/test_cimd.py:240
Method
test_fetch_ttl_cache
Test that fetched documents are cached and served from cache within TTL.
tests/server/auth/test_cimd.py:263
Method
test_fetches_if_cache_stale
Fetches from PyPI if cache is stale.
tests/utilities/test_version_check.py:203
Method
test_field_alias_for_path_parameter
(self)
tests/resources/test_resource_template.py:1373
Method
test_field_alias_for_query_parameter
(self)
tests/resources/test_resource_template.py:1386
Method
test_field_defaults_with_type_conversion
Test Field() defaults work with type conversion for non-string types.
tests/prompts/test_prompt.py:986
Method
test_field_description_takes_precedence
(self)
tests/utilities/test_docstring_parsing.py:476
Method
test_field_metadata_on_none_default_parameter
Annotated metadata stays on the property itself, not a nested branch. Python 3.10's `get_type_hints` wraps `None`-defaulted hints in
tests/tools/tool/test_tool.py:276
Method
test_field_prompt_is_printed_verbatim
( self, field_name: str, field_type: str, capsys: pytest.CaptureFixture[str] )
tests/cli/test_client_commands.py:1078
Method
test_field_with_default
Test that Field(default=...) correctly provides default values in resource templates.
tests/resources/test_resource_template_query_params.py:426
Method
test_field_with_default
Test that Field(default=...) correctly provides default values.
tests/prompts/test_prompt.py:924
Method
test_field_with_default_accepts_explicit_value
Test that fields with defaults accept explicit values.
tests/utilities/json_schema_type/test_advanced.py:1494
Method
test_field_with_default_not_nullable
Test that fields with defaults are not made nullable.
tests/utilities/json_schema_type/test_advanced.py:1469
Method
test_field_with_default_preserves_type
Test that fields with defaults preserve their original type.
tests/utilities/json_schema_type/test_advanced.py:1457
Method
test_field_with_default_uses_default
Test that fields with defaults use their default values.
tests/utilities/json_schema_type/test_advanced.py:1482
Method
test_file
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:149
Method
test_file_initialization_with_data
Test initialization with data and format.
tests/utilities/test_types.py:466
Method
test_file_initialization_with_format
Test file initialization with a specific format.
tests/utilities/test_types.py:476
Method
test_file_initialization_with_name
Test file initialization with a custom name.
tests/utilities/test_types.py:506
Method
test_file_initialization_with_path
Test file initialization with a path.
tests/utilities/test_types.py:440
Method
test_file_is_executable
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:656
Method
test_file_path
(self)
tests/cli/test_client_commands.py:542
Method
test_file_path_expansion_with_env_var
Test that environment variables are expanded.
tests/utilities/test_types.py:455
Method
test_file_path_expansion_with_tilde
Test that ~ is expanded to the user's home directory.
tests/utilities/test_types.py:448
Method
test_file_ref_not_fetched
(self)
tests/utilities/test_json_schema.py:1399
Method
test_file_resource_creation
Test creating a FileResource.
tests/resources/test_file_resources.py:33
Method
test_file_resource_read_allows_nested_path
(self, skill_with_secret: Path)
tests/server/providers/test_skills_provider.py:1116
Method
test_file_resource_read_rejects_escape
( self, skill_with_secret: Path, attack: str )
tests/server/providers/test_skills_provider.py:1088
Method
test_file_resource_str_path_conversion
Test FileResource handles string paths.
tests/resources/test_file_resources.py:48
Function
test_file_served_by_another_provider_hides_skill
()
tests/server/providers/proxy/test_skills.py:272
Function
test_files_behind_a_backend_template_are_checked_without_reads
()
tests/server/providers/proxy/test_skills.py:83
Method
test_files_have_size_and_hash
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:207
Method
test_filesystem_provider_forwards_timeout
Filesystem discovery forwards `timeout` from ToolMeta. Previously dropped, which let sync tools discovered via the filesystem bypass
tests/tools/test_tool_run_in_thread.py:251
Method
test_filesystem_provider_respects_run_in_thread
Tools discovered by FileSystemProvider honor run_in_thread=False. FileSystemProvider extends LocalProvider and registers filesystem-
tests/tools/test_tool_run_in_thread.py:226
Method
test_filesystem_source_entrypoint
Test FileSystemSource entrypoint format.
tests/cli/test_config.py:39
Method
test_filesystem_source_prepare_by_default
Test that FileSystemSource is prepared when using direct file spec.
tests/cli/test_run.py:772
Method
test_filesystem_source_skip_prepare_with_flag
Test that FileSystemSource.prepare() is skipped with skip_source flag.
tests/cli/test_run.py:801
Function
test_filtered_attributes_are_not_restored
Regression: a sampler that intentionally supplies only its own attributes (e.g. to strip component names or resource URIs for privacy or cardi
tests/telemetry/test_span_attributes.py:373
Method
test_filtering_pattern
Common pattern: filter list with is_enabled.
tests/server/transforms/test_visibility.py:169
Method
test_filters_non_skill_resources
(self)
tests/utilities/test_skills.py:164
Function
test_final_answer_keeps_task_parked_until_next_leg_is_durable
The last answer must not retire its outstanding marker early. Outstanding requests are what make a completed-but-parked leg read as `input_re
tests/tasks/server/test_guard_reentrant.py:388
Function
test_find_available_port_returns_bindable_loopback_port
()
tests/utilities/test_http.py:8
Method
test_find_config_in_current_dir
Test finding config in current directory.
tests/cli/test_config.py:401
Method
test_find_config_in_specified_dir
Test finding config in the specified directory.
tests/cli/test_config.py:426
Method
test_find_config_not_found
Test when config is not found.
tests/cli/test_config.py:435
Method
test_find_config_not_in_parent_dir
Test that config is NOT found in parent directory.
tests/cli/test_config.py:414
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_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:621
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
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
← previous
next →
9,701–9,800 of 15,974, ranked by callers