Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
test_mounted_resource_wrapper_reads_correct_version
Reading a specific versioned resource should read that version.
tests/server/versioning/test_mounting.py:252
Method
test_mounted_server
(self)
tests/test_upgrade_from_v3.py:108
Method
test_mounted_server_custom_routes_forwarded
Test that custom routes from a mounted server appear in the parent. Regression test for https://github.com/PrefectHQ/fastmcp/issues/3457
tests/server/mount/test_advanced.py:155
Method
test_mounted_server_custom_routes_with_namespace
Test that custom routes from a namespaced mount are forwarded.
tests/server/mount/test_advanced.py:178
Method
test_mounted_server_does_not_have_docket
Test that a mounted server doesn't create its own Docket. MountedProvider.lifespan() should call only the server's _lifespan (user-de
tests/server/mount/test_advanced.py:603
Method
test_mounted_server_resource_prefixing
Test that resources in mounted servers use the correct prefix format.
tests/server/test_server.py:166
Method
test_mounted_servers_tracking
Test that providers list tracks mounted servers correctly.
tests/server/mount/test_advanced.py:91
Method
test_mounted_servers_with_same_package_and_module_name
Two providers sharing a package/module path should not collide. Reproduces the exact scenario from the bug report: both providers have a
tests/fs/test_provider.py:519
Method
test_mounted_servers_with_same_package_different_module
Same package name but different module filenames must coexist. The package directory name (`components`) collides while the leaf module
tests/fs/test_provider.py:564
Method
test_mounted_task_receives_docket_dependency
(self)
tests/tasks/server/test_task_mount.py:217
Method
test_mounted_template_disabled_security_preserved
A child template that explicitly disables screening keeps that opt-out through the mount rather than inheriting the parent default.
tests/resources/test_resource_security.py:461
Method
test_mounted_template_exempt_param_preserved
A child template's explicit per-param exemption survives the mount. The child opts one parameter out of screening. That policy must be
tests/resources/test_resource_security.py:434
Method
test_mounted_template_safe_read_succeeds
(self)
tests/resources/test_resource_security.py:403
Method
test_mounted_template_screened_by_parent_default
(self)
tests/resources/test_resource_security.py:390
Method
test_mounted_template_with_multiple_query_params
Multiple query params should all pass through mount correctly.
tests/server/mount/test_resources.py:187
Method
test_mounted_template_with_partial_query_params
Providing only some query params should use defaults for the rest.
tests/server/mount/test_resources.py:203
Method
test_mounted_template_with_query_param
Query params in resource templates should work through mount.
tests/server/mount/test_resources.py:159
Method
test_mounted_template_with_query_param_default
Missing query params should use defaults through mount.
tests/server/mount/test_resources.py:173
Method
test_mounted_template_wrapper_shares_the_source_pattern
A mount wraps every template on every list, so a wrapper must not compile the pattern again.
tests/resources/test_resource_template.py:825
Method
test_mounted_tool_creates_delegate_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:15
Method
test_mounted_tool_delegate_has_method
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_delegate_method.py:13
Method
test_mounted_tool_list_preserves_task_support_metadata
(self)
tests/tasks/server/test_task_mount.py:363
Method
test_mounted_tool_preserves_version
Mounted tools should preserve their version info.
tests/server/versioning/test_mounting.py:104
Function
test_mounted_tool_shadowed_by_an_injected_tool_is_not_registered_as_a_task
()
tests/tasks/server/test_task_middleware.py:159
Method
test_mounted_tool_task_returns_correct_result
(self, parent_server)
tests/tasks/server/test_task_mount.py:76
Method
test_mounted_tool_without_prefix_works
(self, child_server)
tests/tasks/server/test_task_mount.py:203
Method
test_mounted_tool_wrapper_executes_correct_version
Calling a specific versioned tool wrapper should execute that version.
tests/server/versioning/test_mounting.py:226
Method
test_mounted_unversioned_passes_version_filter
Unversioned components in mounted servers pass through version filters.
tests/server/versioning/test_filtering.py:433
Function
test_mounted_validation_error_uses_public_identity
()
tests/experimental/transforms/test_code_mode.py:1202
Method
test_mounting_a_proxy_preserves_the_proxy
(self)
tests/server/mount/test_proxy.py:170
Method
test_mounts_have_live_link
(self)
tests/server/mount/test_proxy.py:187
Method
test_move_on_after_stops_the_session
(self, server: FastMCP)
tests/client/client/test_client.py:1010
Method
test_multi_auth_accepts_valid_verifier_token
MultiAuth accepts tokens from verifiers (not just the server). Verifies that both server and verifier tokens pass the HTTP auth middl
tests/server/auth/test_multi_auth.py:612
Method
test_multi_auth_override_propagates_to_served_metadata
Override on MultiAuth must propagate so served metadata matches the challenge.
tests/server/auth/test_multi_auth.py:578
Method
test_multi_auth_rejects_bad_tokens
End-to-end: MultiAuth rejects unknown tokens at the HTTP layer.
tests/server/auth/test_multi_auth.py:387
Method
test_multi_auth_scope_override_wins_in_auth_challenges
Outer overrides are translated for both 401 and 403 challenges.
tests/server/auth/test_multi_auth.py:507
Method
test_multi_auth_uses_server_resource_base_url_in_auth_challenge
Auth challenges should advertise resource metadata from resource_base_url.
tests/server/auth/test_multi_auth.py:448
Method
test_multi_auth_uses_server_supported_scopes_in_auth_challenges
Challenges should match the request-facing scopes in delegated metadata.
tests/server/auth/test_multi_auth.py:473
Method
test_multi_auth_with_server_provides_routes
MultiAuth with a server exposes the server's metadata routes.
tests/server/auth/test_multi_auth.py:424
Function
test_multi_client
()
tests/test_mcp_config.py:649
Function
test_multi_client_force_close
(tmp_path: Path)
tests/test_mcp_config.py:769
Function
test_multi_client_lifespan
(tmp_path: Path)
tests/test_mcp_config.py:712
Function
test_multi_client_parallel_calls
()
tests/test_mcp_config.py:669
Function
test_multi_client_transform_with_filtering
Tests that tag-based filtering works when using a transforming MCPConfig.
tests/test_mcp_config.py:1037
Function
test_multi_client_with_elicitation
Tests that elicitation is properly forwarded to the ultimate client.
tests/test_mcp_config.py:1154
Function
test_multi_client_with_logging
Tests that logging is properly forwarded to the ultimate client.
tests/test_mcp_config.py:882
Function
test_multi_client_with_transforms
Tests that transforms are properly applied to the tools.
tests/test_mcp_config.py:927
Method
test_multi_paragraph_description
(self)
tests/utilities/test_docstring_parsing.py:205
Method
test_multi_paragraph_description_preserved
(self)
tests/utilities/test_docstring_parsing.py:472
Method
test_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
Method
test_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:136
Function
test_multi_server_all_fail
When all servers fail to connect, a ConnectionError should be raised.
tests/test_mcp_config.py:1376
Function
test_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
Function
test_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
Method
test_multi_server_config_is_not_assumed_legacy_before_connect
(self)
tests/test_mcp_config.py:148
Method
test_multi_server_config_target_forwards
(self, backend)
tests/server/providers/proxy/test_proxy_server.py:1427
Function
test_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:1185
Function
test_multi_server_explicit_mode_reaches_every_backend
(mode, is_modern)
tests/test_mcp_config.py:315
Function
test_multi_server_mode_is_resolved_when_proxy_client_connects
()
tests/test_mcp_config.py:351
Function
test_multi_server_partial_failure
When one server fails to connect, the others should still work.
tests/test_mcp_config.py:1330
Function
test_multi_server_partial_failure_cleanup
Transports for failed servers should not leak into _transports.
tests/test_mcp_config.py:1408
Function
test_multi_server_partial_failure_logs_warning
A warning should be logged when a server fails to connect.
tests/test_mcp_config.py:1351
Function
test_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
Function
test_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:1272
Function
test_multi_server_shape_is_resolved_when_client_connects
()
tests/test_mcp_config.py:369
Function
test_multi_server_timeout_propagation
Test that timeout is correctly propagated to proxy clients in multi-server configs.
tests/test_mcp_config.py:1220
Method
test_multi_tenant_common_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:603
Method
test_multi_tenant_consumers_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:596
Method
test_multi_tenant_organizations_skips_issuer
(self)
tests/server/auth/providers/test_azure_scopes.py:589
Method
test_multiline_param_description
(self)
tests/utilities/test_docstring_parsing.py:94
Method
test_multiline_summary
(self)
tests/utilities/test_docstring_parsing.py:229
Function
test_multipart_arrays_preserve_other_parts
(kind: str)
tests/server/providers/openapi/test_multipart_array_defaults.py:142
Method
test_multipart_bare_bytes_not_stringified
Bare bytes values are passed directly to httpx, not repr-stringified.
tests/utilities/openapi/test_director.py:1412
Method
test_multipart_form_data_not_sent_as_json
multipart/form-data bodies should use httpx data= not json=.
tests/utilities/openapi/test_director.py:1326
Method
test_multipart_preserves_tuple_values
Tuple values (file-like) are passed through unchanged to httpx files=.
tests/utilities/openapi/test_director.py:1384
Function
test_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
Method
test_multipart_stringifies_non_string_values
Non-string scalars (int, bool) must be stringified for httpx files=.
tests/utilities/openapi/test_director.py:1351
Method
test_multipart_tool_call_sends_materialized_body
(self)
tests/server/providers/openapi/test_openapi_features.py:1397
Method
test_multiple_apps_on_one_server
(self)
tests/test_fastmcp_app.py:833
Method
test_multiple_audiences_validation
Test validation with multiple audiences in token.
tests/server/auth/test_jwt_provider_bearer.py:195
Method
test_multiple_authorization_servers_list
Test authorization_servers field with multiple authorization servers.
tests/server/auth/test_remote_auth_provider.py:365
Method
test_multiple_authorization_servers_resource_field
Test resource field with multiple authorization servers.
tests/server/auth/test_remote_auth_provider.py:341
Method
test_multiple_checks_all_pass
(self)
tests/server/auth/test_authorization.py:294
Method
test_multiple_checks_one_fails
(self)
tests/server/auth/test_authorization.py:300
Function
test_multiple_concurrent_tool_tasks
(tool_task_server: FastMCP)
tests/tasks/client/test_client_tool_tasks.py:109
Method
test_multiple_consecutive_crashes
Recovery works across multiple crash/reconnect cycles.
tests/client/test_stdio.py:499
Function
test_multiple_content_types
Returns mixed text, image, and resource content.
tests/conformance/server.py:128
Method
test_multiple_context_params
Test multiple Context-typed parameters are all transformed.
tests/server/test_dependencies_advanced.py:161
Method
test_multiple_custom_routes
Test that multiple custom routes are included in both methods.
tests/server/http/test_custom_routes.py:70
Method
test_multiple_excluded_parameters
Test excluding multiple parameters simultaneously.
tests/utilities/test_types.py:648
Method
test_multiple_field_defaults
Test multiple query parameters with Field() defaults.
tests/resources/test_resource_template_query_params.py:364
Method
test_multiple_field_defaults
Test multiple parameters with Field() defaults.
tests/prompts/test_prompt.py:824
Method
test_multiple_files
(self)
tests/apps/test_file_upload.py:97
Method
test_multiple_host_headers_are_rejected
(self, second_host: str)
tests/cli/test_apps_dev_server.py:239
Method
test_multiple_icon_sizes
Test that multiple icon sizes can be specified.
tests/server/test_icons.py:271
Method
test_multiple_icons
Test that components with multiple icons extract all of them.
tests/utilities/test_inspect_icons.py:195
Method
test_multiple_instances_have_independent_bypass
Each CatalogTransform instance has its own bypass ContextVar.
tests/server/transforms/test_catalog.py:124
Method
test_multiple_keys_share_one_dict
(self)
tests/server/test_sessions.py:108
Function
test_multiple_middleware_initialization
Test that multiple middleware can handle initialization.
tests/server/middleware/test_initialization_middleware.py:189
Function
test_multiple_middleware_ordering
Test that multiple middleware are applied in the correct order.
tests/server/http/test_http_middleware.py:194
← previous
next →
9,601–9,700 of 13,374, ranked by callers