Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
Function
test_tty_login_survives_browser_open_failure
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], monkeypat
tests/cli/deploy/test_command.py:230
Function
test_tty_logout_uses_the_horizon_header
( capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_output.py:147
Method
test_tuple_converts_to_set
Test that a tuple converts to a set.
tests/utilities/test_components.py:40
Method
test_two_apps_no_collision
Two apps with the same tool name are disambiguated.
tests/test_fastmcp_app.py:356
Method
test_two_apps_same_tool_name_routed_by_address
Two FastMCPApps each with a `save` tool live at distinct addresses, so they hash differently and the dispatcher routes each call to th
tests/test_fastmcp_app.py:572
Method
test_two_clients_same_key_isolated_by_session
Test that two different clients can store the same key independently. Each client gets an auto-generated session ID, and their state is isola
tests/server/test_context.py:197
Method
test_two_pads
(self)
tests/apps/test_file_upload.py:32
Method
test_two_partitions_do_not_bleed
Entries written under different CacheKey.partition arms never collide.
tests/client/client/test_kv_response_cache.py:112
Method
test_two_principals_get_isolated_buckets
(self)
tests/server/test_session_provider.py:147
Method
test_two_principals_same_id_are_isolated
(self)
tests/server/test_session_provider.py:456
Method
test_two_question_loop_completes
Two dependent asks complete over the in-memory transport; the client's elicitation handler answers both rounds.
tests/server/test_mrtr_guards.py:322
Method
test_two_question_loop_over_http
The full guard loop completes over Streamable HTTP with mode='auto'.
tests/server/test_mrtr_guards.py:1208
Method
test_two_tools_share_uri
(self)
tests/server/providers/test_prefab_synthesis.py:182
Function
test_type_alias_carries_the_dependency
()
tests/server/test_annotated_dependencies.py:35
Method
test_type_conversion_error_handling
Test that informative errors are raised for invalid type conversions.
tests/prompts/test_prompt.py:318
Method
test_type_normalized_to_transport
Claude Code uses ``type: sse`` — verify it becomes ``transport``.
tests/cli/test_discovery.py:388
Function
test_typed_additional_properties_still_validate_positions
Present positions, length bounds and extras are still checked.
tests/utilities/json_schema_type/test_prefix_items.py:336
Method
test_typed_annotation_rejects_non_finite
(self)
tests/tools/tool/test_nonfinite_serialization.py:133
Method
test_typed_dataclass_container_uses_declared_adapter
A typed container preserves its dataclass's alias configuration.
tests/tools/tool/test_results.py:450
Function
test_typed_extra_fields_are_preserved_and_hydrated
( extra_schema: dict[str, Any], value: Any, expected: Any )
tests/utilities/json_schema_type/test_typed_extra_fields.py:19
Function
test_typed_extra_fields_hydrate_declared_defaults
()
tests/utilities/json_schema_type/test_typed_extra_fields.py:83
Function
test_typed_extra_fields_resolve_references
()
tests/utilities/json_schema_type/test_typed_extra_fields.py:47
Function
test_typed_extra_fields_resolve_root_references
( title: str, name: str | None )
tests/utilities/json_schema_type/test_typed_extra_fields.py:105
Function
test_typed_extra_fields_survive_tool_result_hydration
(shape: str)
tests/client/test_result_hydration.py:37
Function
test_typed_extra_fields_validate_their_schema
()
tests/utilities/json_schema_type/test_typed_extra_fields.py:36
Function
test_typed_extra_models_resolve_declared_root_references
( title: str, name: str | None )
tests/utilities/json_schema_type/test_typed_extra_fields.py:126
Method
test_typed_extras_survive_titled_recursive_results
(self, title: str)
tests/client/test_result_hydration.py:80
Method
test_typeddict_return_annotation
(self)
tests/tools/tool/test_output_schema.py:207
Method
test_types_in_docstring_dont_override_schema_types
A '(str)' in the docstring must not change the schema's type.
tests/utilities/test_docstring_parsing.py:564
Method
test_typing_union_with_member_is_member
Test that Union type with a member class is detected as a member.
tests/utilities/test_types.py:47
Method
test_typing_union_without_member_is_not_member
Test that Union type without any member class is not a member.
tests/utilities/test_types.py:55
Method
test_ui_and_tool_on_same_app
(self)
tests/test_fastmcp_app.py:884
Method
test_ui_bare_decorator
(self)
tests/test_fastmcp_app.py:176
Function
test_ui_create_detail_box_escapes
Test that detail box labels and values are properly escaped.
tests/client/test_oauth_callback_xss.py:38
Function
test_ui_create_info_box_escapes
Test that info box content is properly escaped.
tests/client/test_oauth_callback_xss.py:30
Function
test_ui_create_page_escapes_title
Test that page title is properly escaped.
tests/client/test_oauth_callback_xss.py:14
Function
test_ui_create_status_message_escapes
Test that status messages are properly escaped.
tests/client/test_oauth_callback_xss.py:22
Method
test_ui_custom_name
(self)
tests/test_fastmcp_app.py:194
Method
test_ui_empty_parens
(self)
tests/test_fastmcp_app.py:185
Method
test_ui_has_app_name_in_meta
(self)
tests/test_fastmcp_app.py:226
Method
test_ui_has_resource_uri
(self)
tests/test_fastmcp_app.py:238
Method
test_ui_registers_in_provider
(self)
tests/test_fastmcp_app.py:203
Method
test_ui_resource_read_preserves_mime_type
Reading a ui:// resource returns content with the correct MIME type.
tests/test_apps.py:561
Method
test_ui_resource_runs_sandboxed_when_opened_directly
( self, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_apps_dev_server.py:580
Method
test_ui_scheme_defaults_mime_type
(self)
tests/test_apps.py:293
Method
test_ui_synthesizes_renderer_resource
An @app.ui() tool gets its renderer resource synthesized on demand.
tests/test_fastmcp_app.py:900
Method
test_ui_tool_has_no_csp
CSP belongs on the UI resource, not the tool (per MCP Apps spec).
tests/test_fastmcp_app.py:250
Method
test_ui_tool_in_list_tools
@app.ui() (visibility=["model"]) appears in list_tools.
tests/test_fastmcp_app.py:673
Method
test_ui_tool_not_findable_via_get_app_tool
@app.ui() tools have model visibility and should NOT be returned by get_app_tool (only app-visible tools are).
tests/test_fastmcp_app.py:399
Method
test_ui_tool_visible_to_client
(self)
tests/test_fastmcp_app.py:759
Method
test_ui_visibility_model_only
(self)
tests/test_fastmcp_app.py:214
Method
test_ui_with_tags
(self)
tests/test_fastmcp_app.py:274
Method
test_ui_with_title_and_description
(self)
tests/test_fastmcp_app.py:263
Function
test_unambiguous_skills_do_not_need_manifest_reads
()
tests/skills/test_list_skill_resources.py:164
Method
test_unanswered_request_correlation_is_bounded
(self)
tests/cli/test_apps_dev_server.py:87
Function
test_unauthenticated_client_can_access_its_tasks
An anonymous caller can resolve tasks in the anonymous keyspace.
tests/tasks/server/test_task_security.py:56
Method
test_unauthenticated_collapses_to_shared_namespace
(self)
tests/server/test_sessions.py:86
Method
test_unauthenticated_mcp_request_returns_401
( self, valid_oidc_configuration_dict )
tests/server/auth/providers/test_auth0_mcp.py:311
Function
test_unauthorized
Test that unauthenticated requests are rejected. SDK v2 surfaces the server's 401 as an MCPError ("Server returned an error response") rather
tests/client/auth/test_oauth_client.py:93
Method
test_unauthorized_access
(self, mcp_server_url: str)
tests/server/auth/test_jwt_provider_bearer.py:514
Method
test_unauthorized_access
(self, mcp_server_url: str)
tests/server/auth/providers/test_descope.py:638
Method
test_unauthorized_access
(self, mcp_server_url: str)
tests/server/auth/providers/test_supabase.py:197
Method
test_unauthorized_access
(self, mcp_server_url: str)
tests/server/auth/providers/test_propelauth.py:272
Method
test_unauthorized_access
(self, mcp_server_url: str)
tests/server/auth/providers/test_scalekit.py:216
Method
test_unauthorized_access
( self, memory_storage: MemoryStore, mcp_server_url: str )
tests/server/auth/providers/test_workos.py:237
Method
test_unauthorized_disable_prompt
Test that unauthenticated requests to disable a prompt are rejected.
tests/contrib/test_component_manager.py:427
Method
test_unauthorized_disable_resource
Test that unauthenticated requests to disable a resource are rejected.
tests/contrib/test_component_manager.py:363
Method
test_unauthorized_disable_resource
(self)
tests/contrib/test_component_manager.py:600
Method
test_unauthorized_disable_tool
Test that unauthenticated requests to disable a tool are rejected.
tests/contrib/test_component_manager.py:310
Method
test_unauthorized_enable_prompt
Test that unauthenticated requests to enable a prompt are rejected.
tests/contrib/test_component_manager.py:401
Method
test_unauthorized_enable_prompt
(self)
tests/contrib/test_component_manager.py:631
Method
test_unauthorized_enable_tool
Test that unauthenticated requests to enable a tool are rejected.
tests/contrib/test_component_manager.py:285
Method
test_unauthorized_enable_tool
(self)
tests/contrib/test_component_manager.py:566
Function
test_unavailable_backend_does_not_block_connection
(frontend_mode: str)
tests/server/providers/proxy/test_server_metadata.py:536
Function
test_unavailable_proxy_obeys_provider_error_policy
( operation: str, strategy: ProviderErrorStrategy, global_raise: bool, caplog: pytest.LogCaptu
tests/server/providers/proxy/test_skills.py:217
Method
test_unbound_provider_raises
(self)
tests/client/auth/test_client_credentials.py:199
Method
test_unbound_provider_raises
(self)
tests/client/auth/test_client_credentials.py:673
Method
test_unbound_raises_runtime_error
async_auth_flow should fail clearly when OAuth is not bound.
tests/client/auth/test_oauth_cimd.py:108
Function
test_unbound_server_access_raises
()
tests/server/test_extensions.py:541
Method
test_unbound_when_no_mcp_url
(self)
tests/client/auth/test_oauth_cimd.py:42
Method
test_unconfigured_oauth_is_quiet_and_ephemeral
( self, key: str | None, monkeypatch: pytest.MonkeyPatch, tmp_path: Path,
tests/cli/test_client_commands.py:627
Function
test_unconfigured_server_exposes_tools_but_refuses_calls
(monkeypatch)
examples/smart_home/tests/test_fire_tv.py:245
Method
test_uncreated_id_is_rejected
An id that was never handed out by `create_session` does not resolve.
tests/server/test_session_provider.py:368
Method
test_uncreated_session_does_not_exist
(self)
tests/server/test_sessions.py:189
Function
test_undeclared_arguments_are_ignored
( method: str, arguments: dict[str, Any] )
tests/server/providers/openapi/test_undeclared_arguments.py:98
Function
test_undeclared_arguments_are_ignored_after_schema_precalculation_fails
( monkeypatch: pytest.MonkeyPatch, )
tests/server/providers/openapi/test_undeclared_arguments.py:131
Method
test_undeclared_private_use_redirect_is_rejected
( self, oauth_proxy, declare_client, redirect_uri )
tests/server/auth/oauth_proxy/test_authorization.py:326
Method
test_undecodable_skill_is_skipped
(self, tmp_path: Path, reload: bool)
tests/server/providers/test_skills_provider.py:778
Method
test_undecryptable_snapshot_fails_the_task
Fail closed: a worker that cannot recover the caller must not run. Running anyway would execute the tool as an anonymous caller, which for
tests/tasks/server/test_snapshot_encryption.py:257
Method
test_underscore_name
(self)
tests/cli/test_generate_cli.py:761
Method
test_unexpected_error_in_request_building_gives_useful_message
Unexpected exceptions during request building should produce useful errors.
tests/server/providers/openapi/test_comprehensive.py:933
Method
test_unexpected_exception_still_logs_with_traceback
(self, caplog)
tests/server/test_input_validation.py:801
Method
test_unexpected_refresh_error_is_preserved
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:458
Method
test_unhinted_server_not_cached
(self)
tests/server/test_cache_hints.py:171
Method
test_unicode_normalization
(self)
tests/server/transforms/test_search.py:522
Method
test_unicode_property_pattern_falls_back
Unicode \\p{...} patterns (unsupported by Rust regex) degrade gracefully.
tests/utilities/json_schema_type/test_json_schema_type.py:511
Method
test_unicode_tokens
(self)
tests/server/transforms/test_search.py:517
Function
test_uninitialized_task_group_error_points_to_lifespan_docs
()
tests/server/http/test_task_group_error.py:6
Function
test_uninstall_restores_stock_serializer
()
tests/tasks/server/test_wire_production.py:75
Method
test_union_arm_stripped_keeps_data_schema
(self)
tests/server/test_mrtr_guards.py:171
← previous
next →
15,201–15,300 of 16,098, ranked by callers