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_bind_sets_mcp_url
(self)
tests/client/auth/test_oauth_cimd.py:92
Method
test_binding_at_construction
(self)
tests/client/auth/test_client_credentials.py:140
Function
test_binding_replaces_factory_depends_default
A binding replaces the factory's own Depends default, which never runs.
tests/server/test_call_arguments.py:80
Method
test_blocks_access_when_tag_present_without_scope
(self)
tests/server/auth/test_authorization.py:280
Method
test_blocks_access_when_tag_present_without_token
(self)
tests/server/auth/test_authorization.py:273
Method
test_bodiless_non_success_response_is_ignored
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:751
Function
test_bodiless_success_call_succeeds_next_to_json_success
()
tests/server/providers/openapi/test_bodiless_success_responses.py:99
Function
test_bodiless_success_response_drops_output_schema
( responses: dict[str, Any], validate_output: bool )
tests/server/providers/openapi/test_bodiless_success_responses.py:88
Method
test_bodiless_success_response_next_to_json_success
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:735
Method
test_body_construction_multiple_properties_non_object_schema
Test body construction with multiple properties but non-object schema.
tests/utilities/openapi/test_director.py:398
Method
test_body_construction_scalar_raw_body
A numeric or boolean body for a non-JSON media type is sent as text.
tests/utilities/openapi/test_director.py:376
Method
test_body_construction_single_value
Test body construction when body schema is not an object.
tests/utilities/openapi/test_director.py:342
Function
test_body_names_preserve_required_query_parameters
( body_schema: dict[str, Any] | None, param_name: str, body_name: str | None )
tests/utilities/openapi/test_schemas.py:58
Method
test_body_only_no_parameters
Test schema generation with only request body, no parameters.
tests/utilities/openapi/test_legacy_compatibility.py:198
Method
test_body_raised_timeout_error_is_not_reported_as_deadline
A TimeoutError raised by the tool body itself (e.g. socket.timeout) must surface as the tool's own error, not as the deadline firing.
tests/tools/test_tool_timeout.py:236
Method
test_body_timeout_over_protocol
(self, mode)
tests/tools/test_tool_timeout.py:266
Function
test_body_typed_by_read_only_component_stays_an_argument
()
tests/server/providers/openapi/test_read_only_requests.py:143
Method
test_bool_coercion
Test boolean type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:83
Method
test_boolean_accepts_boolean
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:89
Method
test_boolean_accepts_boolean_strings
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:94
Method
test_boolean_coercion
Test boolean value coercion.
tests/server/test_input_validation.py:501
Method
test_boolean_const_invalid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:805
Method
test_boolean_const_valid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:801
Method
test_boolean_default_preserved
Test that boolean defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:545
Method
test_boolean_exclusive_bound_without_sibling_constrains_nothing
(self)
tests/utilities/json_schema_type/test_constraints.py:179
Function
test_boolean_exclusive_bounds_are_converted
( schema: dict[str, Any], expected: dict[str, Any] )
tests/utilities/openapi/test_exclusive_bounds.py:46
Method
test_boolean_exclusive_maximum_excludes_sibling
(self)
tests/utilities/json_schema_type/test_constraints.py:139
Method
test_boolean_exclusive_minimum_excludes_sibling
(self)
tests/utilities/json_schema_type/test_constraints.py:154
Method
test_boolean_falls_through_numeric_const_in_union
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:338
Method
test_boolean_false_keeps_sibling_inclusive
(self)
tests/utilities/json_schema_type/test_constraints.py:169
Method
test_boolean_false_variants
(self)
tests/cli/test_client_commands.py:71
Method
test_boolean_invalid
(self)
tests/cli/test_client_commands.py:75
Method
test_boolean_param_no_value_placeholder
(self)
tests/cli/test_generate_cli.py:956
Method
test_boolean_rejects_invalid_string
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:101
Method
test_boolean_result_schema_accepts_any_value
(self)
tests/client/test_result_hydration.py:271
Method
test_boolean_schema_false
Boolean schema False should return an unsatisfiable type.
tests/utilities/json_schema_type/test_json_schema_type.py:370
Method
test_boolean_schema_in_object_with_additional_properties
Boolean property schemas work alongside additionalProperties=True.
tests/utilities/json_schema_type/test_json_schema_type.py:147
Method
test_boolean_schema_true
Boolean schema True should return Any (JSON Schema draft-06+).
tests/utilities/json_schema_type/test_json_schema_type.py:366
Method
test_boolean_true_variants
(self)
tests/cli/test_client_commands.py:67
Function
test_bot_and_author_are_not_maintainer_response
(triage, monkeypatch)
tests/test_public_triage.py:107
Function
test_bot_authored_generated_entry_is_parsed_without_crediting_bot
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:177
Method
test_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:189
Method
test_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:328
Method
test_both_data_and_path_raises_error
Test that error is raised when both path and data are provided.
tests/utilities/test_types.py:516
Method
test_both_result_and_content_meta
Both result-level and content-level meta are propagated.
tests/resources/test_resources.py:344
Method
test_bound_host_name_is_case_insensitive
(self)
tests/cli/test_apps_dev_server.py:289
Method
test_bound_method_roots_handler
(self, fastmcp_server: FastMCP)
tests/client/test_roots.py:71
Function
test_bound_server_accessible_after_registration
()
tests/server/test_extensions.py:531
Method
test_bound_when_mcp_url_provided
(self)
tests/client/auth/test_oauth_cimd.py:46
Function
test_bounded_queue_keeps_counts_and_does_not_export_bodies
(triage, monkeypatch)
tests/test_public_triage.py:169
Method
test_broken_ref_error
Test that broken internal references are handled gracefully.
tests/utilities/openapi/test_parser.py:464
Function
test_browser_failure_does_not_stop_remote_login
()
tests/cli/deploy/test_authentication.py:153
Method
test_build_basic_request
Test building a basic GET request with path parameter.
tests/utilities/openapi/test_director.py:164
Function
test_build_client_opts_into_skills
()
tests/cli/test_list_skills.py:66
Method
test_build_complex_request
Test building a complex request with multiple parameter types.
tests/utilities/openapi/test_director.py:176
Method
test_build_regex_compiles_non_identifier_group_names
(self)
tests/resources/test_resource_template.py:1992
Method
test_build_regex_handles_all_digit_names
(self)
tests/resources/test_resource_template.py:823
Method
test_build_regex_normalizes_hyphens
Hyphens in param names produce valid regex with underscored groups.
tests/resources/test_resource_template.py:830
Method
test_build_regex_normalizes_wildcard_hyphens
Wildcard params with hyphens also get underscored groups.
tests/resources/test_resource_template.py:1038
Method
test_build_regex_returns_none_for_duplicate_group_names
(self)
tests/resources/test_resource_template.py:983
Method
test_build_regex_sanitizes_leading_digit_group_names
A leading digit is not a valid regex group name, so it is prefixed with an underscore instead of disabling the whole template (#6150).
tests/resources/test_resource_template.py:814
Method
test_build_regex_still_works_for_valid_templates
(self)
tests/resources/test_resource_template.py:1361
Method
test_build_request_fallback_mapping
Test fallback parameter mapping when parameter_map is not available.
tests/utilities/openapi/test_director.py:245
Method
test_build_request_suffixed_parameters
Test handling of suffixed parameters in fallback mode.
tests/utilities/openapi/test_director.py:272
Method
test_build_request_with_collisions
Test building request with parameter name collisions.
tests/utilities/openapi/test_director.py:204
Method
test_build_request_with_none_values
Test that None values are skipped for optional parameters.
tests/utilities/openapi/test_director.py:222
Method
test_build_uv_run_command
Test build_uv_run_command() method.
tests/cli/test_config.py:96
Method
test_build_uv_run_command_basic
Test building basic uv command with no environment config.
tests/utilities/test_cli.py:12
Method
test_build_uv_run_command_project_with_extras
Test that project flag works with additional dependencies.
tests/utilities/test_cli.py:133
Method
test_build_uv_run_command_with_editable
Test building uv command with editable package.
tests/utilities/test_cli.py:20
Method
test_build_uv_run_command_with_everything
Test building uv command with all options.
tests/utilities/test_cli.py:100
Method
test_build_uv_run_command_with_packages
Test building uv command with additional packages.
tests/utilities/test_cli.py:36
Method
test_build_uv_run_command_with_project
Test building uv command with project directory.
tests/utilities/test_cli.py:84
Method
test_build_uv_run_command_with_python_version
Test building uv command with Python version.
tests/utilities/test_cli.py:53
Method
test_build_uv_run_command_with_requirements
Test building uv command with requirements file.
tests/utilities/test_cli.py:68
Method
test_building_a_proxy_client_does_not_reconfigure_a_shared_transport
(self)
tests/server/providers/proxy/test_proxy_server.py:1410
Method
test_builds_script_arguments
( self, tmp_path: Path, args: list[str] | None, expected_tail: list[str] )
tests/client/test_stdio.py:1052
Function
test_builtin_dependencies_provide_values_as_annotations
()
tests/server/test_annotated_dependencies.py:83
Function
test_builtin_read_preserves_public_metadata
( tmp_path: Path, httpx_mock: HTTPXMock, kind: str, metadata: str )
tests/resources/test_builtin_resource_meta.py:17
Function
test_bulk_results_preserve_structured_content
( live_server_with_tool: FastMCP, bulk_tool: str, bulk_arguments: dict[str, Any], )
tests/contrib/test_bulk_tool_caller.py:396
Function
test_bundled_extension_serves_capability_and_method
(construction: str)
tests/server/test_provider_extensions.py:116
Method
test_burst_capacity_below_one_is_deprecated
Values below 1 warn but keep their 4.x behavior until FastMCP 5 (#5292).
tests/server/middleware/test_rate_limiting.py:225
Method
test_burst_of_requests_fetches_upstream_once
(self, provider)
tests/server/auth/providers/test_metadata_forwarding_cache.py:74
Method
test_bypass_skips_cache
`cache_mode="bypass"` always reaches the server.
tests/client/client/test_response_cache.py:99
Method
test_byte_and_entry_limits_truncate_large_bodies
(self)
tests/cli/test_apps_dev_server.py:60
Method
test_bytes
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:62
Method
test_bytes_content
Bytes input creates binary content with octet-stream mime type.
tests/resources/test_resources.py:132
Method
test_cache_config_custom
(self)
tests/client/client/test_response_cache.py:59
Method
test_cache_disabled_by_default
Caching is disabled by default.
tests/server/auth/providers/test_google.py:611
Method
test_cache_disabled_by_default
(self)
tests/server/auth/providers/test_github.py:190
Method
test_cache_disabled_makes_every_call
When cache is disabled (default), every call queries Google endpoints.
tests/server/auth/providers/test_google.py:649
Method
test_cache_disabled_makes_every_call
(self)
tests/server/auth/providers/test_github.py:221
Method
test_cache_disabled_makes_every_call
Test that with caching disabled, every call makes a request.
tests/server/auth/providers/test_introspection.py:730
Method
test_cache_disabled_with_zero_max_size
Test that cache is disabled when max_cache_size is 0.
tests/server/auth/providers/test_introspection.py:594
Method
test_cache_disabled_with_zero_ttl
Test that cache is disabled when TTL is 0 or None.
tests/server/auth/providers/test_introspection.py:574
Method
test_cache_enabled_with_ttl
Providing cache_ttl_seconds enables the internal TokenCache.
tests/server/auth/providers/test_google.py:616
Method
test_cache_enabled_with_ttl
(self)
tests/server/auth/providers/test_github.py:194
Method
test_cache_eviction_at_max_size
Test that cache evicts entries when max size is reached.
tests/server/auth/providers/test_introspection.py:924
Method
test_cache_expires_after_ttl
After TTL expires, _get_tool should re-fetch from the backend.
tests/server/providers/proxy/test_proxy_server.py:1116
Method
test_cache_false_disables
(self)
tests/client/client/test_response_cache.py:55
← previous
next →
7,801–7,900 of 15,974, ranked by callers