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_provider_passes_cache_params_to_verifier
GoogleProvider correctly propagates cache_ttl_seconds and max_cache_size.
tests/server/auth/providers/test_google.py:713
Function
test_provider_registers_the_extension
()
tests/skills/test_composition.py:45
Function
test_provider_remains_disabled_by_default
()
tests/server/auth/providers/test_identity_assertion_forwarding.py:86
Function
test_provider_schemas
json_schema_to_type should not infinite-loop on schemas from this provider.
tests/utilities/json_schema_type/test_real_world_schemas.py:420
Method
test_provider_skips_undecorated_files
Provider should skip files with no decorated functions.
tests/fs/test_provider.py:178
Method
test_provider_tool_execution
Test tool execution uses RequestDirector.
tests/server/providers/openapi/test_server.py:185
Method
test_provider_unaffected_by_transforms
Test that provider's own tools are unchanged by layers stored on it.
tests/server/providers/test_local_provider.py:776
Method
test_provider_with_empty_spec
Test provider with minimal OpenAPI spec.
tests/server/providers/openapi/test_server.py:219
Method
test_provider_with_fastmcp_server
FileSystemProvider should work with FastMCP server.
tests/fs/test_provider.py:438
Method
test_provider_with_multiple_expected_audiences
Test provider configured with multiple expected audiences.
tests/server/auth/test_jwt_provider_bearer.py:242
Method
test_provider_with_multiple_expected_issuers
Provider accepts any issuer from the configured list.
tests/server/auth/test_jwt_provider_bearer.py:289
Method
test_provider_with_prompts
FileSystemProvider should work with prompts.
tests/fs/test_provider.py:540
Method
test_provider_with_resource_templates
FileSystemProvider should work with resource templates.
tests/fs/test_provider.py:490
Method
test_provider_with_resources
FileSystemProvider should work with resources.
tests/fs/test_provider.py:464
Method
test_provider_works_in_production_like_environment
Test provider configuration that mimics production deployment. Note: This test is skipped because mocking httpx2.AsyncClient conflicts with t
tests/integration_tests/auth/test_keycloak_provider_integration.py:283
Method
test_proxied_backend_keeps_its_own_server_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_provider_tracing.py:261
Method
test_proxied_calls_do_not_refetch_the_backend_tool_list
Validation used to force a `tools/list` on every proxied call. The proxy builds a fresh client per request, so the SDK's output-schema
tests/server/providers/proxy/test_proxy_server.py:1356
Method
test_proxied_prompt_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:772
Method
test_proxied_resource_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:736
Method
test_proxied_tags_are_visible_to_middleware
Tests that tags on remote FastMCP servers are visible to middleware via proxy. See https://github.com/PrefectHQ/fastmcp/issues/1300
tests/server/middleware/test_middleware_nested.py:483
Method
test_proxied_template_forwards_list_roots
( self, roots_proxy_server: FastMCP )
tests/server/providers/proxy/test_proxy_client.py:754
Method
test_proxy_can_list_overwritten_prompt
Test that a prompt defined on the proxy is listed instead of the proxied prompt
tests/server/providers/proxy/test_proxy_server.py:953
Method
test_proxy_can_list_overwritten_resource
Test that a resource defined on the proxy is listed instead of the proxied resource
tests/server/providers/proxy/test_proxy_server.py:634
Method
test_proxy_can_list_overwritten_resource_template
Test that a resource template defined on the proxy is listed instead of the proxied template
tests/server/providers/proxy/test_proxy_server.py:759
Method
test_proxy_can_list_overwritten_tool
Test that a tool defined on the proxy is listed instead of the proxied tool
tests/server/providers/proxy/test_proxy_server.py:508
Method
test_proxy_can_overwrite_proxied_prompt
Test that a prompt defined on the proxy can overwrite the proxied prompt with the same name.
tests/server/providers/proxy/test_proxy_server.py:933
Method
test_proxy_can_overwrite_proxied_resource
Test that a resource defined on the proxy can overwrite the proxied resource with the same URI.
tests/server/providers/proxy/test_proxy_server.py:620
Method
test_proxy_can_overwrite_proxied_resource_template
Test that a resource template defined on the proxy can overwrite the proxied template with the same URI template.
tests/server/providers/proxy/test_proxy_server.py:736
Method
test_proxy_can_overwrite_proxied_tool
Test that a tool defined on the proxy can overwrite the proxied tool with the same name.
tests/server/providers/proxy/test_proxy_server.py:495
Method
test_proxy_cimd_dual_redirect_validation
CIMD client from proxy enforces both CIMD redirect_uris and proxy patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:457
Method
test_proxy_client_can_opt_into_auto
The legacy default is an override-able floor, not a hard pin.
tests/server/providers/proxy/test_proxy_client.py:52
Method
test_proxy_client_carries_its_own_options
(self)
tests/server/providers/proxy/test_proxy_server.py:1418
Function
test_proxy_client_clones_keep_the_stdio_session
(sleepy_server: Path)
tests/client/test_stdio_session_kwargs.py:115
Method
test_proxy_client_defaults_to_legacy
(self)
tests/server/providers/proxy/test_proxy_client.py:48
Function
test_proxy_copies_keep_independent_forwarding_options
()
tests/server/providers/proxy/test_header_options.py:144
Method
test_proxy_custom_patterns
Test OAuth proxy with custom redirect patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:325
Method
test_proxy_dcr_client_redirect_validation
Test that OAuthProxyClient is created with redirect URI patterns.
tests/server/auth/test_oauth_proxy_storage.py:117
Method
test_proxy_default_has_no_server_redirect_pattern_restriction
OAuth proxy defaults to no server-level redirect URI pattern restriction.
tests/server/auth/test_oauth_proxy_redirect_validation.py:309
Function
test_proxy_does_not_forward_frontend_mcp_headers_to_legacy_backend
A modern frontend's transport state does not contaminate a legacy backend.
tests/server/providers/proxy/test_proxy_headers.py:17
Method
test_proxy_empty_list_validation
Test OAuth proxy with empty list (allow none).
tests/server/auth/test_oauth_proxy_redirect_validation.py:343
Method
test_proxy_forwards_conforming_result_unchanged
( self, backend_violating_its_schema )
tests/server/providers/proxy/test_proxy_server.py:1320
Function
test_proxy_forwards_mcp_param_header_to_modern_http_backend
A proxy in front of a modern Streamable-HTTP backend routes an annotated call (SEP-2243). A modern backend validates that an `x-mcp-header` argum
tests/server/providers/proxy/test_proxy_server.py:1623
Method
test_proxy_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:604
Method
test_proxy_forwards_result_violating_backend_schema
( self, backend_violating_its_schema )
tests/server/providers/proxy/test_proxy_server.py:1307
Function
test_proxy_forwards_upstream_instructions
The metadata middleware forwards upstream instructions.
tests/server/providers/proxy/test_proxy_server.py:209
Method
test_proxy_forwards_upstream_instructions_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1516
Method
test_proxy_get_client_returns_cimd_client
CIMD client obtained via proxy's get_client has cimd_document attached.
tests/server/auth/test_oauth_proxy_redirect_validation.py:426
Function
test_proxy_handles_multiple_concurrent_tasks_correctly
( proxy_server: FastMCPProxy, )
tests/server/providers/proxy/test_proxy_server.py:1008
Function
test_proxy_header_forwarding_can_be_selected
(kind: str, forward: bool | None)
tests/server/providers/proxy/test_header_options.py:19
Function
test_proxy_initialize_defers_remote_connection_error
()
tests/server/providers/proxy/test_proxy_server.py:281
Function
test_proxy_initialize_middleware_preserves_legacy_behavior
()
tests/server/providers/proxy/test_server_metadata.py:608
Function
test_proxy_instructions_none_when_upstream_has_none
A proxy over an upstream without instructions reports no instructions.
tests/server/providers/proxy/test_proxy_server.py:227
Method
test_proxy_instructions_none_when_upstream_has_none_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1531
Function
test_proxy_list_tools_client_surfaces_remote_connection_error
Connecting succeeds and the first component operation reports the backend. `ProxyProvider._list_tools` normalizes the raw transport failure into
tests/server/providers/proxy/test_proxy_server.py:313
Function
test_proxy_list_tools_surfaces_remote_connection_error
A dead backend surfaces as an MCPError naming the connection failure. The provider normalizes transport failures into `MCPError` (rather than
tests/server/providers/proxy/test_proxy_server.py:295
Function
test_proxy_middleware_edits_reach_clients_and_cache
(mode: str)
tests/server/providers/proxy/test_non_object_outputs.py:188
Method
test_proxy_omits_browser_cookies_and_origin
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:620
Function
test_proxy_own_instructions_take_precedence
Instructions explicitly set on the proxy override the upstream's.
tests/server/providers/proxy/test_proxy_server.py:218
Method
test_proxy_own_instructions_take_precedence_on_modern_era
(self)
tests/server/providers/proxy/test_proxy_server.py:1524
Method
test_proxy_parent_middleware_observes_ask
The proxy round-trip is what lets the parent's own middleware see the ask as a result — it is not swallowed by driving inside the proxy.
tests/server/test_mrtr_guards.py:442
Method
test_proxy_patterns_also_checked
Test that proxy patterns are checked even for CIMD clients. A CIMD client should not be able to use a redirect_uri that's in its docu
tests/server/auth/test_cimd_validators.py:782
Function
test_proxy_ping_forwards_to_remote_server
(fastmcp_server)
tests/server/providers/proxy/test_proxy_server.py:262
Function
test_proxy_ping_surfaces_wrong_remote_path
()
tests/server/providers/proxy/test_proxy_server.py:269
Function
test_proxy_preserves_non_object_tool_outputs_across_protocol_versions
( mode: str, cache_results: bool, transform_results: bool, )
tests/server/providers/proxy/test_non_object_outputs.py:25
Function
test_proxy_preserves_x_mcp_header_annotation
A proxy re-advertises a backend tool's `x-mcp-header` annotation (SEP-2243). The routing headers are per-hop: the SDK client regenerates them on
tests/server/providers/proxy/test_proxy_server.py:1595
Method
test_proxy_prompt_disable_raises_not_implemented
Test that disable() on proxy prompts raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1076
Method
test_proxy_prompt_enable_raises_not_implemented
Test that enable() on proxy prompts raises NotImplementedError.
tests/server/providers/proxy/test_proxy_server.py:1068
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
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
← previous
next →
12,701–12,800 of 15,974, ranked by callers