MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

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:472
Methodtest_format_ip_for_url_ipv4
IPv4 addresses should not be bracketed.
tests/server/auth/test_ssrf_protection.py:457
Methodtest_format_ip_for_url_ipv6
IPv6 addresses should be bracketed for URL use.
tests/server/auth/test_ssrf_protection.py:464
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
Methodtest_forward_error_response
Test that the proxy client correctly forwards an error response.
tests/server/providers/proxy/test_proxy_client.py:224
Methodtest_forward_list_changed_notifications
(self, proxy_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:513
Methodtest_forward_list_roots_request
Test that the proxy client correctly forwards the `list_roots` request.
tests/server/providers/proxy/test_proxy_client.py:232
Methodtest_forward_list_roots_response
Test that the proxy client correctly forwards the `list_roots` response.
tests/server/providers/proxy/test_proxy_client.py:248
Functiontest_forward_outside_context_raises_error
Test that forward() raises error when called outside transform context.
tests/tools/tool_transform/test_tool_transform.py:643
Functiontest_forward_raw_outside_context_raises_error
Test that forward_raw() raises error when called outside transform context.
tests/tools/tool_transform/test_tool_transform.py:649
Functiontest_forward_raw_without_argument_mapping
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:523
Methodtest_forward_sampling_request
Test that the proxy client correctly forwards the `sampling` request.
tests/server/providers/proxy/test_proxy_client.py:258
Methodtest_forward_sampling_response
Test that the proxy client correctly forwards the `sampling` response.
tests/server/providers/proxy/test_proxy_client.py:295
Methodtest_forward_sampling_response_unchanged
The backend receives the client's sampling result as the client sent it: its model, stop reason and content, not a text-only placehol
tests/server/providers/proxy/test_proxy_client.py:313
Methodtest_forward_tool_meta
Test that the proxy client correctly forwards the `echo` tool meta.
tests/server/providers/proxy/test_proxy_client.py:215
Methodtest_forward_uri_keeps_literal_when_unresolved
(self)
tests/resources/test_resource_template.py:2054
Methodtest_forward_uri_resolves_sanitized_keys
(self)
tests/resources/test_resource_template.py:2048
Functiontest_forward_with_argument_mapping
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:487
Functiontest_forward_with_incorrect_args_raises_error
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:504
Functiontest_forwarded_metadata_does_not_alias_connected_backend
(mode: str)
tests/server/providers/proxy/test_server_metadata.py:399
Functiontest_forwarded_tool_meta_stays_hop_safe
( front_mode: str, backend_mode: str, backend_is_modern: bool, client_class: type[Client], )
tests/server/providers/proxy/test_proxy_request_meta.py:125
Methodtest_forwards_authorization_server_metadata
( self, valid_oidc_configuration_dict, monkeypatch )
tests/server/auth/providers/test_auth0_mcp.py:239
Functiontest_forwards_backend_logs_while_reading_metadata
()
tests/server/providers/proxy/test_server_metadata.py:253
Functiontest_forwards_backend_skills_without_reading_files
()
tests/server/providers/proxy/test_skills.py:65
Methodtest_forwards_chunks_as_the_app_produces_them
The bridge must stream, not buffer: chunks arrive before the app finishes.
tests/utilities/test_asgi_transport.py:38
Methodtest_forwards_extra_args
Test that extra arguments are forwarded after the module name.
tests/cli/test_run.py:948
Functiontest_forwards_metadata_across_all_protocol_era_combinations
( frontend_mode: str, backend_mode: str )
tests/server/providers/proxy/test_server_metadata.py:177
Methodtest_four_level_nested_tool_invocation
Test invoking tools from servers mounted 4 levels deep.
tests/server/mount/test_advanced.py:358
Methodtest_fragment_after_path_param_and_query
(self)
tests/resources/test_resource_template.py:1084
Methodtest_fragment_does_not_prevent_match
(self)
tests/resources/test_resource_template.py:1070
Methodtest_frame_domains_reach_resource
(self)
tests/server/providers/test_prefab_synthesis.py:28
Methodtest_from_app_config_resource_fields_only
(self)
tests/test_apps.py:200
Methodtest_from_app_config_with_tool_fields
(self)
tests/test_apps.py:194
Functiontest_from_config_applies_entry_timeout
( mode: str, timeout: int | None )
tests/client/group/test_client_group.py:587
Functiontest_from_config_applies_mode_per_server
()
tests/client/group/test_client_group.py:100
Functiontest_from_directory_checks_limits_before_reading_files
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, limit: str )
tests/skills/test_skill.py:125
Functiontest_from_directory_rejects_symlinks
(tmp_path: Path)
tests/skills/test_skill.py:149
Functiontest_from_directory_requires_matching_name
(tmp_path: Path)
tests/skills/test_skill.py:117
Functiontest_from_directory_snapshots_exact_bytes
(tmp_path: Path)
tests/skills/test_skill.py:104
Methodtest_from_file
Test loading config from JSON file with nested structure.
tests/cli/test_config.py:285
Methodtest_from_file_preserves_absolute_paths
(self, tmp_path)
tests/cli/test_config.py:383
Methodtest_from_file_resolves_paths_from_config_directory
( self, tmp_path, monkeypatch, source )
tests/cli/test_config.py:357
Methodtest_from_file_with_string_entrypoint
Test loading config with dict source format.
tests/cli/test_config.py:308
Functiontest_from_files_accepts_structured_metadata_and_tool_lists
( caplog: pytest.LogCaptureFixture, )
tests/skills/test_skill.py:75
Functiontest_from_files_requires_valid_frontmatter
()
tests/skills/test_skill.py:68
Methodtest_from_function_preserves_decorator_metadata
Direct from_function calls should respect @tool metadata.
tests/tools/test_standalone_decorator.py:120
Methodtest_from_function_rejects_hyphen_underscore_collision
Two raw param names that normalize to the same key are rejected.
tests/resources/test_resource_template.py:1348
Methodtest_from_openapi_threads_validate_output
FastMCP.from_openapi() correctly passes validate_output to the provider.
tests/server/providers/openapi/test_openapi_features.py:1376
Functiontest_from_package
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/skills/test_skill.py:158
Methodtest_from_required
Test pruning a parameter that's in the required list.
tests/utilities/test_json_schema.py:66
Functiontest_from_tool_accepts_decorated_function
()
tests/tools/tool_transform/test_tool_transform.py:68
Functiontest_from_tool_accepts_plain_function
()
tests/tools/tool_transform/test_tool_transform.py:85
Functiontest_from_tool_decorated_function_preserves_metadata
()
tests/tools/tool_transform/test_tool_transform.py:99
Functiontest_from_tool_decorated_function_runs
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:121
Functiontest_from_tool_decorated_function_via_client
()
tests/tools/tool_transform/test_tool_transform.py:777
Functiontest_from_tool_preserves_icons
()
tests/tools/tool_transform/test_tool_transform.py:109
Functiontest_frontend_values_take_precedence
(frontend_mode: str)
tests/server/providers/proxy/test_server_metadata.py:235
Methodtest_frontmatter
(self)
tests/cli/test_generate_cli.py:820
← previousnext →9,801–9,900 of 15,974, ranked by callers