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_proxy_prompt_preserves_image_content
Test that ProxyPrompt preserves ImageContent without lossy conversion.
tests/server/providers/proxy/test_proxy_server.py:969
Method
test_proxy_prompt_preserves_resource_link
A resource_link block from the backend is relayed, not flattened to text.
tests/server/providers/proxy/test_proxy_server.py:988
Method
test_proxy_prompt_span_attributes_fall_back_to_name
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:1252
Method
test_proxy_recovers_after_stdio_crash
A proxy server wrapping a stdio backend recovers after the backend crashes.
tests/client/test_stdio.py:731
Method
test_proxy_refuses_a_remote_that_duplicates_an_app
A remote mounting one app twice sends back two tools claiming one identity, and the proxy must refuse on the same terms a local compos
tests/server/providers/test_prefab_roundtrip.py:514
Method
test_proxy_register_client_uses_patterns
Test that registered clients use the configured patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:359
Function
test_proxy_requests_preserve_backend_state
(tmp_path: Path)
tests/client/test_stdio_session_kwargs.py:149
Method
test_proxy_resource_disable_raises_not_implemented
Test that disable() on proxy resources raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1060
Method
test_proxy_resource_enable_raises_not_implemented
Test that enable() on proxy resources raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1052
Method
test_proxy_resource_span_attributes_fall_back_to_uri
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:1224
Method
test_proxy_returns_all_resource_contents
Test that proxy correctly returns all resource contents, not just the first one.
tests/server/providers/proxy/test_proxy_server.py:569
Function
test_proxy_served_over_stdio_forwards_every_log
(server_script: Path)
tests/server/providers/proxy/test_log_forwarding.py:60
Method
test_proxy_server
(self)
tests/test_upgrade_from_v3.py:125
Method
test_proxy_server_with_prompts
Test mounting a proxy server with prompts.
tests/server/mount/test_proxy.py:89
Method
test_proxy_server_with_resources
Test mounting a proxy server with resources.
tests/server/mount/test_proxy.py:67
Function
test_proxy_source_identity_tracks_upstream_configuration
()
tests/server/auth/test_auth_source_identities.py:507
Method
test_proxy_template_forwards_read_result_meta
The `_meta` of the resources/read result, not just of each content item.
tests/server/providers/proxy/test_proxy_server.py:727
Method
test_proxy_template_returns_all_resource_contents
Test that proxy template correctly returns all resource contents.
tests/server/providers/proxy/test_proxy_server.py:695
Method
test_proxy_template_span_attributes_fall_back_to_uri_template
( self, proxy_server )
tests/server/providers/proxy/test_proxy_server.py:1237
Method
test_proxy_tool_disable_raises_not_implemented
Test that disable() on proxy tools raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1044
Method
test_proxy_tool_enable_raises_not_implemented
Test that enable() on proxy tools raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1036
Method
test_proxy_tool_preserves_execution_metadata
(self)
tests/tasks/server/test_task_mount.py:383
Method
test_proxy_tool_span_attributes_fall_back_to_name
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:1211
Method
test_proxy_unregistered_client_returns_none
Test that unregistered clients return None.
tests/server/auth/test_oauth_proxy_redirect_validation.py:393
Function
test_proxy_with_async_client_factory
FastMCPProxy should accept an async client_factory.
tests/server/providers/proxy/test_proxy_server.py:245
Function
test_proxy_without_skills_flag_does_not_advertise_skills
()
tests/server/providers/proxy/test_skills.py:106
Function
test_proxy_without_skills_flag_is_not_forwarded
()
tests/server/providers/proxy/test_skills.py:112
Method
test_prune_nested_additional_properties
Test pruning additionalProperties: false at all levels when explicitly enabled.
tests/utilities/test_json_schema.py:657
Method
test_prune_params
Test pruning parameters with compress_schema.
tests/utilities/test_json_schema.py:572
Method
test_prune_titles
Test pruning title fields.
tests/utilities/test_json_schema.py:635
Method
test_prune_titles_does_not_recurse_into_default_values
A user default that happens to be a dict shaped like schema metadata must not be corrupted — `default` holds literal values, not sub-schemas.
tests/utilities/test_json_schema.py:827
Method
test_prune_titles_on_bare_metadata_node
Pydantic emits `{"title": "X"}` for Any-typed fields with no sibling `type`/`properties`. Gemini 2.5 Flash rejects these with MALFORME
tests/utilities/test_json_schema.py:744
Method
test_prune_titles_on_draft07_and_legacy_keywords
Sub-schemas under draft-07 and 2019-09+ keywords that previous drafts still use must be treated as schemas, not opaque payload — `depe
tests/utilities/test_json_schema.py:765
Method
test_prune_titles_preserves_user_extension_payloads
User extensions (json_schema_extra, x-* vendor keys) carry opaque payloads that may look metadata-shaped. They must not be touched.
tests/utilities/test_json_schema.py:805
Method
test_pruning_additional_properties
Test pruning additionalProperties when explicitly enabled.
tests/utilities/test_json_schema.py:586
Method
test_public_client_fetch_token_sends_client_id_in_body
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_upstream_client.py:63
Function
test_public_client_keeps_standard_authentication
(token_client: TestClient)
tests/server/auth/test_private_key_jwt_auth.py:165
Method
test_public_client_refresh_token_sends_client_id_in_body
( self, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_upstream_client.py:78
Function
test_public_export_removes_private_influence_before_sorting
(ranking_module)
tests/test_issue_ranking.py:46
Method
test_public_ipv4_allowed
Public IPv4 addresses should be allowed.
tests/server/auth/test_ssrf_protection.py:63
Function
test_public_kind_is_a_category_not_formatted_confidence
(ranking_module)
tests/test_issue_ranking.py:194
Function
test_public_names_resolve_to_their_defining_module
(pbt)
tests/test_pbt_coverage.py:86
Method
test_public_pkce_app_uses_none_token_auth
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:77
Function
test_public_routes_do_not_report_a_missing_credential
()
tests/cli/deploy/test_horizon_client.py:225
Function
test_public_scoring_is_independent_of_author_reputation
(ranking_module)
tests/test_issue_ranking.py:79
Function
test_push_delivers_events_as_the_log_grows
()
tests/experimental/events/test_extension.py:337
Function
test_push_is_delivered_over_streamable_http
()
tests/experimental/events/test_extension.py:545
Function
test_push_mirrors_annotated_arguments_into_headers
()
tests/experimental/events/test_param_headers.py:72
Function
test_push_rejects_an_unknown_event_before_any_stream_opens
()
tests/experimental/events/test_extension.py:517
Function
test_push_reports_a_gap_and_keeps_the_stream_through_a_failed_check
()
tests/experimental/events/test_extension.py:389
Function
test_push_resumes_from_a_cursor_and_drains_the_backlog
()
tests/experimental/events/test_extension.py:363
Function
test_push_terminates_when_a_check_reports_access_revoked
()
tests/experimental/events/test_extension.py:415
Method
test_pydantic_model_function
Test registering a function that takes a Pydantic model.
tests/tools/tool/test_tool.py:187
Method
test_pydantic_model_return_creates_structured_content_without_schema
Test that Pydantic model returns automatically create structured content even without output schema.
tests/tools/tool/test_content.py:294
Method
test_pydantic_model_serialized_to_json
Pydantic model is JSON-serialized.
tests/resources/test_resources.py:151
Method
test_pydantic_model_strict_validation
With strict validation, Pydantic models should enforce exact types.
tests/server/test_input_validation.py:221
Method
test_pydantic_model_with_coercion
Pydantic models should benefit from coercion without strict validation.
tests/server/test_input_validation.py:196
Method
test_pydantic_model_with_dict_no_strict
Pydantic models should accept dict arguments without strict validation.
tests/server/test_input_validation.py:156
Method
test_pydantic_typeadapter_compatibility
Test that modified function works with Pydantic TypeAdapter (regression test for #2562).
tests/utilities/test_types.py:707
Method
test_python_file
(self)
tests/cli/test_generate_cli.py:393
Method
test_python_file_existing
(self, tmp_path: Path)
tests/cli/test_client_commands.py:397
Method
test_python_keyword_property_names
Properties named after Python keywords should not crash.
tests/utilities/json_schema_type/test_json_schema_type.py:406
Method
test_python_objects_are_accepted_when_called_directly
(self)
tests/server/test_input_validation.py:305
Method
test_python_objects_are_not_round_tripped_through_json
(self)
tests/server/test_input_validation.py:319
Method
test_python_option
Test --python option for all install commands.
tests/cli/test_install.py:558
Method
test_python_transports_default_the_child_to_utf8
(self, tmp_path)
tests/client/test_stdio.py:1031
Method
test_qualified_match
(self, tmp_path: Path)
tests/cli/test_discovery.py:753
Method
test_qualified_name
(self)
tests/cli/test_discovery.py:67
Method
test_qualified_name
(self)
tests/cli/test_generate_cli.py:390
Method
test_qualified_not_found
(self, tmp_path: Path)
tests/cli/test_discovery.py:785
Method
test_query_and_fragment_rejected
A fragment is rejected even when the query matches exactly.
tests/server/auth/test_redirect_validation.py:465
Function
test_query_array_serialization
( style: str | None, explode: bool | None, expected: list[tuple[str, str]], )
tests/server/providers/openapi/test_query_array_defaults.py:29
Method
test_query_comparison_is_exact_not_semantic
Parameter order is significant: matching is a string comparison.
tests/server/auth/test_redirect_validation.py:383
Method
test_query_continuation_block_matches
(self)
tests/resources/test_resource_template_query_params.py:524
Method
test_query_fragment_is_not_part_of_param
(self)
tests/resources/test_resource_template.py:1077
Method
test_query_header_collision_handling
Test that query and header parameters with same name are handled correctly.
tests/server/providers/openapi/test_parameter_collisions.py:174
Function
test_query_only_template_completes_by_its_own_identifier
A template's identifier does not match it as a URI when it only has query parameters, so completion must resolve the template itself.
tests/server/test_completions.py:424
Method
test_query_param_default_used_when_omitted
(self)
tests/server/providers/proxy/test_proxy_server.py:792
Method
test_query_param_does_not_clobber_path_param
If path and query have the same normalized name, path wins.
tests/resources/test_resource_template.py:1051
Method
test_query_param_forwarded
(self)
tests/server/providers/proxy/test_proxy_server.py:779
Method
test_query_param_with_blank_and_present_values
Mix of blank and non-blank query values are both surfaced.
tests/resources/test_resource_template.py:1159
Method
test_query_param_with_blank_value_is_preserved
Regression for #4056: blank query values (e.g. ?format=) should not be silently dropped. parse_qs without keep_blank_values=True elide
tests/resources/test_resource_template.py:1060
Method
test_query_parameters
Test query parameter handling.
tests/server/providers/openapi/test_comprehensive.py:603
Method
test_query_parameters_in_tools
Test that query parameters are properly included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:155
Method
test_query_params_must_be_optional
Test that query parameters must have default values.
tests/resources/test_resource_template_query_params.py:145
Method
test_query_string_reaches_the_app
(self)
tests/utilities/test_asgi_transport.py:78
Method
test_query_values_encode_reserved_characters
RFC 6570 query expansion permits only unreserved value characters.
tests/resources/test_resource_template.py:1552
Method
test_question_mark_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1201
Method
test_quoted_args
(self)
tests/cli/test_client_commands.py:517
Method
test_quoted_form
(self, argument: str, expected: str)
tests/cli/test_install_cli_arguments.py:223
Method
test_quotes_manifest_paths_when_reading_resources
(self, tmp_path: Path)
tests/utilities/test_skills.py:407
Function
test_raised_generic_error_is_masked_without_ctx_param
A non-FastMCP exception is masked even when the tool takes no `ctx`. Error masking is the server's `_mask_error_details` policy, which the task
tests/tasks/server/test_extension.py:202
Function
test_raised_tool_error_completes_with_is_error
A tool that RAISES is a completed task with an is_error result, not failed. SEP-2663 reserves `failed` for protocol faults; a raised tool error i
tests/tasks/server/test_extension.py:184
Function
test_raised_tool_error_completes_with_is_error
A task whose tool raises completes with an is_error result (SEP-2663). `failed` is reserved for protocol faults; a raised tool error is the same
tests/tasks/server/test_task_protocol.py:45
Method
test_raises_by_default
(self)
tests/utilities/test_async_utils.py:123
Method
test_raises_if_directory_missing
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:264
Method
test_raises_if_exists_without_overwrite
( self, skills_server: FastMCP, tmp_path: Path )
tests/utilities/test_skills.py:345
Method
test_raises_if_main_file_missing
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:268
Method
test_raises_section_excluded
(self)
tests/utilities/test_docstring_parsing.py:63
Method
test_raises_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:305
← previous
next →
13,401–13,500 of 16,725, ranked by callers