MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_multi_proxies_no_mixing
Test that the stateful proxy client won't be mixed in multi-proxies sessions.
tests/server/providers/proxy/test_stateful_proxy_client.py:175
Methodtest_multi_round_dependent_resolvers
A resolver depending on another's answer is asked in a later round; the driver loops until the dependent chain terminates.
tests/client/client/test_input_required_driver.py:170
Functiontest_multi_server_all_fail
When all servers fail to connect, a ConnectionError should be raised.
tests/test_mcp_config.py:1458
Functiontest_multi_server_auto_falls_back_all_legs_when_one_backend_is_legacy
A mixed config never leaves the composite and its backends on different eras.
tests/test_mcp_config.py:236
Functiontest_multi_server_auto_negotiates_modern_end_to_end
Modern backends keep the default multi-server client modern end to end.
tests/test_mcp_config.py:200
Functiontest_multi_server_clone_does_not_close_original_backends
A `new()` clone connects its own backends and leaves the original's alone.
tests/test_mcp_config.py:1354
Methodtest_multi_server_config_is_not_assumed_legacy_before_connect
(self)
tests/test_mcp_config.py:148
Methodtest_multi_server_config_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1498
Functiontest_multi_server_config_transport
Tests that MCPConfigTransport properly handles multi-server configurations. Related to https://github.com/PrefectHQ/fastmcp/issues/2802 - ve
tests/test_mcp_config.py:1218
Functiontest_multi_server_explicit_mode_reaches_every_backend
(mode, is_modern)
tests/test_mcp_config.py:315
Functiontest_multi_server_mode_is_resolved_when_proxy_client_connects
()
tests/test_mcp_config.py:351
Functiontest_multi_server_partial_failure
When one server fails to connect, the others should still work.
tests/test_mcp_config.py:1412
Functiontest_multi_server_partial_failure_cleanup
Transports for failed servers should not leak into _transports.
tests/test_mcp_config.py:1490
Functiontest_multi_server_partial_failure_logs_warning
A warning should be logged when a server fails to connect.
tests/test_mcp_config.py:1433
Functiontest_multi_server_proxy_authorizes_once
The topology from the report: one plain and one OAuth server behind a proxy. `create_proxy` with a multi-server `MCPConfig` mounts a router that
tests/client/transports/test_oauth_transport_reuse.py:192
Functiontest_multi_server_proxy_client_auto_negotiates_modern_end_to_end
ProxyClient keeps its proxy options without losing the aggregate era.
tests/test_mcp_config.py:333
Functiontest_multi_server_session_persistence
Test that session IDs persist across tool calls in multi-server mode. Regression test for https://github.com/PrefectHQ/fastmcp/issues/2790 —
tests/test_mcp_config.py:1305
Functiontest_multi_server_shape_is_resolved_when_client_connects
()
tests/test_mcp_config.py:369
Functiontest_multi_server_timeout_propagation
Test that timeout is correctly propagated to proxy clients in multi-server configs.
tests/test_mcp_config.py:1253
Methodtest_multi_tenant_common_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:603
Methodtest_multi_tenant_consumers_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:596
Methodtest_multi_tenant_organizations_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:589
Methodtest_multiline_param_description
(self)
tests/utilities/test_docstring_parsing.py:96
Methodtest_multiline_summary
(self)
tests/utilities/test_docstring_parsing.py:231
Functiontest_multipart_arrays_preserve_other_parts
(kind: str)
tests/server/providers/openapi/test_multipart_array_defaults.py:142
Methodtest_multipart_bare_bytes_not_stringified
Bare bytes values are passed directly to httpx, not repr-stringified.
tests/utilities/openapi/test_director.py:1421
Methodtest_multipart_form_data_not_sent_as_json
multipart/form-data bodies should use httpx data= not json=.
tests/utilities/openapi/test_director.py:1335
Methodtest_multipart_preserves_tuple_values
Tuple values (file-like) are passed through unchanged to httpx files=.
tests/utilities/openapi/test_director.py:1393
Functiontest_multipart_string_array_defaults
( include_label: bool, openapi_version: str, tags: list[str], encoding: dict[str, Any] | None,
tests/server/providers/openapi/test_multipart_array_defaults.py:45
Methodtest_multipart_stringifies_non_string_values
Non-string scalars (int, bool) must be stringified for httpx files=.
tests/utilities/openapi/test_director.py:1360
Methodtest_multipart_tool_call_sends_materialized_body
(self)
tests/server/providers/openapi/test_openapi_features.py:1488
Methodtest_multiple_apps_on_one_server
(self)
tests/test_fastmcp_app.py:855
Methodtest_multiple_audiences_validation
Test validation with multiple audiences in token.
tests/server/auth/test_jwt_provider_bearer.py:223
Methodtest_multiple_authorization_servers_list
Test authorization_servers field with multiple authorization servers.
tests/server/auth/test_remote_auth_provider.py:367
Methodtest_multiple_authorization_servers_resource_field
Test resource field with multiple authorization servers.
tests/server/auth/test_remote_auth_provider.py:343
Functiontest_multiple_bulk_callers_register_independent_prefixes
()
tests/contrib/test_bulk_tool_caller.py:434
Methodtest_multiple_checks_all_pass
(self)
tests/server/auth/test_authorization.py:311
Methodtest_multiple_checks_one_fails
(self)
tests/server/auth/test_authorization.py:317
Methodtest_multiple_collisions
(self)
tests/cli/test_generate_cli.py:1053
Functiontest_multiple_concurrent_tool_tasks
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:109
Methodtest_multiple_consecutive_crashes
Recovery works across multiple crash/reconnect cycles.
tests/client/test_stdio.py:678
Functiontest_multiple_content_types
Returns mixed text, image, and resource content.
tests/conformance/server.py:128
Methodtest_multiple_context_params
Test multiple Context-typed parameters are all transformed.
tests/server/test_dependencies_advanced.py:161
Methodtest_multiple_custom_routes
Test that multiple custom routes are included in both methods.
tests/server/http/test_custom_routes.py:70
Methodtest_multiple_excluded_parameters
Test excluding multiple parameters simultaneously.
tests/utilities/test_types.py:730
Methodtest_multiple_field_defaults
Test multiple query parameters with Field() defaults.
tests/resources/test_resource_template_query_params.py:454
Methodtest_multiple_field_defaults
Test multiple parameters with Field() defaults.
tests/prompts/test_prompt.py:959
Methodtest_multiple_files
(self)
tests/apps/test_file_upload.py:97
Methodtest_multiple_host_headers_are_rejected
(self, second_host: str)
tests/cli/test_apps_dev_server.py:302
Methodtest_multiple_icon_sizes
Test that multiple icon sizes can be specified.
tests/server/test_icons.py:271
Methodtest_multiple_icons
Test that components with multiple icons extract all of them.
tests/utilities/test_inspect_icons.py:195
Methodtest_multiple_instances_have_independent_bypass
Each CatalogTransform instance has its own bypass ContextVar.
tests/server/transforms/test_catalog.py:124
Methodtest_multiple_keys_share_one_dict
(self)
tests/server/test_sessions.py:108
Functiontest_multiple_middleware_initialization
Test that multiple middleware can handle initialization.
tests/server/middleware/test_initialization_middleware.py:189
Functiontest_multiple_middleware_ordering
Test that multiple middleware are applied in the correct order.
tests/server/http/test_http_middleware.py:195
Methodtest_multiple_models
(self)
tests/apps/test_form.py:133
Methodtest_multiple_of_accepts_valid
(self, multiple_of_number)
tests/utilities/json_schema_type/test_constraints.py:98
Methodtest_multiple_of_rejects_invalid
(self, multiple_of_number)
tests/utilities/json_schema_type/test_constraints.py:102
Methodtest_multiple_query_params
Test resource template with multiple query parameters.
tests/resources/test_resource_template_query_params.py:31
Methodtest_multiple_query_params_forwarded
(self)
tests/server/providers/proxy/test_proxy_server.py:805
Methodtest_multiple_redirect_uris
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:93
Methodtest_multiple_reference_paths_to_same_schema
Multiple paths to the same schema (diamond pattern) must preserve the schema.
tests/utilities/openapi/test_transitive_references.py:497
Methodtest_multiple_required_params
Test validation with multiple required parameters.
tests/resources/test_resource_template.py:153
Methodtest_multiple_roots_discover_all_skills
Test that skills from multiple roots are all discovered.
tests/server/providers/test_skills_provider.py:892
Methodtest_multiple_routes_same_server
Test that multiple custom routes from same server are all included.
tests/server/mount/test_advanced.py:133
Methodtest_multiple_rules_accumulate
Test that multiple enable/disable calls accumulate rules.
tests/server/test_session_visibility.py:279
Methodtest_multiple_server_variables_substituted
(self)
tests/server/providers/openapi/test_server.py:36
Methodtest_multiple_streams_are_isolated
Events from different streams should not interfere with each other.
tests/server/test_event_store.py:159
Methodtest_multiple_string_annotations
Test function with multiple string-annotated parameters.
tests/utilities/test_types.py:769
Methodtest_multiple_text_blocks_combined
Test that multiple text blocks are combined when truncating.
tests/server/middleware/test_response_limiting.py:123
Methodtest_multiple_tool_injections
Test multiple tool injection middlewares can be stacked.
tests/server/middleware/test_tool_injection.py:138
Methodtest_multiple_tool_versions_all_returned
list_tools returns all versions; get_tool returns highest.
tests/server/versioning/test_versioning.py:248
Methodtest_multiple_tool_versions_via_provider
FileSystemProvider should handle multiple versions of the same tool.
tests/fs/test_provider.py:769
Methodtest_multiple_tools_share_renderer_resource
Tools with matching resource configuration share one renderer.
tests/test_apps_prefab.py:162
Methodtest_multiple_tools_sharing_circular_schemas
Multiple tools from the same spec must not share Python dict objects in their schemas, which would cause Pydantic to raise circular reference
tests/utilities/openapi/test_circular_references.py:161
Methodtest_multiple_tools_with_different_timeouts
Multiple tools can have different timeout values.
tests/tools/test_tool_timeout.py:190
Methodtest_multiple_verifiers_do_not_choose_a_default_challenge
( self, required_scopes: list[str] | None )
tests/server/auth/test_auth_provider.py:228
Methodtest_multiple_versions_allowed
Multiple versioned components with same name are allowed.
tests/server/versioning/test_calls.py:49
Methodtest_multiple_wildcard_params
Test that multiple wildcard parameters are valid.
tests/resources/test_resource_template.py:356
Methodtest_multiple_wildcards
Test patterns with multiple wildcards.
tests/server/auth/test_redirect_validation.py:338
Functiontest_multiserver_config_requires_server_for_now
()
tests/client/test_slim_package_boundaries.py:47
Methodtest_must_specify_at_least_one
VersionFilter() with no args raises ValueError.
tests/server/versioning/test_filtering.py:231
Functiontest_mutable_schema_default_is_isolated_between_calls
( rename: bool, override_default: bool )
tests/tools/tool_transform/test_args.py:64
Methodtest_mutating_source_does_not_affect_cache
(self)
tests/utilities/test_token_cache.py:115
Methodtest_mutual_circular_references_serialization
Mutually circular schemas (A→B→A) must survive serialization.
tests/utilities/openapi/test_circular_references.py:116
Functiontest_mutual_recursion_keeps_distinct_types
(model: bool, titles: bool)
tests/utilities/json_schema_type/test_recursive_hydration.py:31
Methodtest_mutual_recursion_multiple_levels
(self, mutually_recursive)
tests/utilities/json_schema_type/test_advanced.py:323
Methodtest_mutual_recursion_single_level
(self, mutually_recursive)
tests/utilities/json_schema_type/test_advanced.py:314
Functiontest_mutual_recursion_with_root_reference
(model: bool)
tests/utilities/json_schema_type/test_recursive_hydration.py:82
Methodtest_name_accumulates_through_nested_mounts
(self)
tests/server/providers/test_prefab_roundtrip.py:316
Methodtest_name_caching_with_different_titles
Ensure schemas with different titles create different cached classes
tests/utilities/json_schema_type/test_advanced.py:1151
Methodtest_name_collision_detection
Test that parameter name collisions are detected.
tests/cli/test_generate_cli.py:365
Methodtest_name_from_title
(self)
tests/utilities/json_schema_type/test_advanced.py:1089
Methodtest_name_only_allowed_for_objects
(self)
tests/utilities/json_schema_type/test_advanced.py:1112
Methodtest_name_override_does_not_reuse_stale_nested_class
(self)
tests/utilities/json_schema_type/test_advanced.py:478
Functiontest_named_call_argument_reads_tool_parameter
CallArgument("name") reads a tool parameter with a different name.
tests/server/test_call_arguments.py:32
Functiontest_named_oauth_server_is_quiet
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_client_commands.py:748
Functiontest_named_sources_preserve_raw_fields_and_source_token
()
tests/server/auth/test_auth_source_identities.py:66
Functiontest_names_are_nonempty_and_unambiguous
(name: str)
tests/server/auth/test_auth_source_identities.py:106
Methodtest_namespace_get_resource
Test that resources can be looked up by transformed URI.
tests/server/providers/test_transforming_provider.py:178
← previousnext →11,501–11,600 of 15,974, ranked by callers