MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_scopes_forwarded_as_string
(self)
tests/client/auth/test_oauth_cimd.py:126
Methodtest_scopes_on_server_without_auth_return_401
( self, required_scopes: list[str] )
tests/contrib/test_component_manager.py:936
Methodtest_scopes_supported_and_required_scopes_can_differ
Test that scopes_supported and required_scopes can be configured independently.
tests/server/auth/providers/test_descope.py:246
Methodtest_scopes_supported_defaults_to_verifier
Test that metadata uses verifier scopes_supported when parameter not set.
tests/server/auth/test_remote_auth_provider.py:584
Methodtest_scopes_supported_empty_when_no_required_scopes
(self)
tests/server/auth/providers/test_azure_scopes.py:574
Methodtest_scopes_supported_overrides_metadata
Test that scopes_supported parameter overrides what's in metadata.
tests/server/auth/test_remote_auth_provider.py:555
Methodtest_scopes_supported_returns_prefixed_form
(self)
tests/server/auth/providers/test_azure_scopes.py:516
Methodtest_scp_claim_extraction_list
Test scope extraction from 'scp' claim with list format.
tests/server/auth/test_jwt_provider_bearer.py:340
Methodtest_scp_claim_extraction_string
Test scope extraction from 'scp' claim with space-separated string.
tests/server/auth/test_jwt_provider_bearer.py:324
Methodtest_screening_still_works_with_sdk
(self)
tests/resources/test_resource_security.py:182
Functiontest_script
(tmp_path: Path)
tests/test_mcp_config.py:1435
Methodtest_script_path_arrives_literally
(self, script: str)
tests/cli/test_install_cli_arguments.py:256
Functiontest_sdk_failure_is_tool_error
(bridge)
examples/smart_home/tests/test_lights.py:137
Functiontest_sdk_v1_constructor_params_fastmcp_rejects_are_documented
Every v1 keyword FastMCP 4 refuses must be named in the v1 guide. The guide's headline is that upgrading is a single import change. That is o
tests/docs/test_upgrade_guide_api_claims.py:178
Methodtest_seam_method_emits_single_server_span
A seam-spanned method must produce exactly one SERVER span, not two.
tests/server/telemetry/test_server_tracing.py:469
Methodtest_seam_span_has_protocol_version
Seam-only methods (never reaching the high-level path) also carry the protocol version. Pinned to legacy: `logging/setLevel` is a han
tests/server/telemetry/test_server_tracing.py:748
Methodtest_search_by_description
(self)
tests/server/transforms/test_search.py:245
Methodtest_search_by_name
(self)
tests/server/transforms/test_search.py:237
Methodtest_search_by_param_description
(self)
tests/server/transforms/test_search.py:261
Methodtest_search_by_param_name
(self)
tests/server/transforms/test_search.py:253
Methodtest_search_case_insensitive
(self)
tests/server/transforms/test_search.py:279
Methodtest_search_database_tools
(self)
tests/server/transforms/test_search.py:340
Functiontest_search_default_detail_detailed_skips_get_schema
Two-stage pattern: Search(default_detail='detailed') returns schemas inline.
tests/experimental/transforms/test_code_mode_discovery.py:318
Functiontest_search_default_limit_from_constructor
Search(default_limit=N) caps results by default.
tests/experimental/transforms/test_code_mode_discovery.py:479
Methodtest_search_empty_query
(self)
tests/server/transforms/test_search.py:392
Functiontest_search_full_detail_empty_results_returns_json
Search with detail=full and no matches returns valid JSON, not plain text.
tests/experimental/transforms/test_code_mode_discovery.py:341
Methodtest_search_invalid_pattern
(self)
tests/server/transforms/test_search.py:287
Functiontest_search_limit_caps_results
Search with limit returns at most that many results.
tests/experimental/transforms/test_code_mode_discovery.py:450
Functiontest_search_listing_still_hides_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:93
Methodtest_search_max_results
(self)
tests/server/transforms/test_search.py:295
Methodtest_search_max_results
(self)
tests/server/transforms/test_search.py:352
Methodtest_search_no_matches
(self)
tests/server/transforms/test_search.py:304
Methodtest_search_no_matches
(self)
tests/server/transforms/test_search.py:360
Functiontest_search_omits_annotation_when_all_tools_returned
Search does not annotate when results include every tool.
tests/experimental/transforms/test_code_mode_discovery.py:429
Methodtest_search_or_pattern
(self)
tests/server/transforms/test_search.py:269
Methodtest_search_proxy_returns_task_tool_result
(self)
tests/tasks/server/test_task_catalog_transforms.py:121
Methodtest_search_relevance
(self)
tests/server/transforms/test_search.py:329
Methodtest_search_respects_auth_middleware
Tools filtered by auth middleware should not appear in search.
tests/server/transforms/test_search.py:176
Methodtest_search_respects_session_visibility
Tools disabled via session visibility should not appear in search.
tests/server/transforms/test_search.py:202
Methodtest_search_respects_visibility_filtering
Tools disabled via Visibility transform should not appear in search.
tests/server/transforms/test_search.py:162
Methodtest_search_returns_full_schema
(self)
tests/server/transforms/test_search.py:312
Methodtest_search_returns_full_schema
(self)
tests/server/transforms/test_search.py:400
Functiontest_search_shows_catalog_size_when_results_are_subset
Search annotates results with 'N of M tools' when not all tools match.
tests/experimental/transforms/test_code_mode_discovery.py:402
Methodtest_search_tool_takes_a_query
(self)
tests/experimental/transforms/test_jev_search.py:131
Functiontest_search_with_tags_filter
()
tests/experimental/transforms/test_code_mode_discovery.py:238
Functiontest_search_with_tags_filter_no_matches
()
tests/experimental/transforms/test_code_mode_discovery.py:259
Functiontest_search_with_untagged_filter
Search with tags=["untagged"] matches tools that have no tags.
tests/experimental/transforms/test_code_mode_discovery.py:296
Functiontest_search_without_tags_returns_all
Search without tags parameter searches the full catalog.
tests/experimental/transforms/test_code_mode_discovery.py:274
Methodtest_searches_with_different_catalogs_do_not_interfere
Two sessions can see different tools and search at the same time; neither may lose the text it needs mid-search.
tests/experimental/transforms/test_jev_search.py:342
Methodtest_second_client_serves_first_clients_cache
Two independent Clients sharing one adapter-backed store: client B's first list_tools is served from the entry client A populated, with zero w
tests/client/client/test_kv_response_cache.py:230
Methodtest_second_fresh_flow_is_asked_again
A second fresh flow must be asked the same question. Serving it a cached final answer would skip the component's own per-round logic
tests/server/middleware/test_caching_guards.py:112
Methodtest_second_list_tools_served_from_cache
A cached tools/list round-trip: the second call is served from the cache without a second wire request.
tests/client/client/test_response_cache.py:75
Methodtest_second_page_with_cursor
Second page should continue from cursor.
tests/server/test_pagination.py:82
Methodtest_seconds_converted_to_ms
(self)
tests/server/test_cache_hints.py:35
Functiontest_select_model_from_preferences
(prefs: Any, expected: str)
tests/client/sampling/handlers/test_openai_handler.py:256
Functiontest_select_model_from_preferences
(prefs: Any, expected: str)
tests/client/sampling/handlers/test_anthropic_handler.py:199
Methodtest_selected_variant_field_reaches_the_request_body
The reported failure: meowVolume must reach the upstream API.
tests/server/providers/openapi/test_openapi_discriminator.py:229
Methodtest_selection_is_registration_order_independent
End-to-end: registering two PEP 440-equivalent spellings of the same tool must select the same one regardless of registration order (e
tests/server/versioning/test_versioning.py:159
Methodtest_self_is_member
Test that a class is a member of itself.
tests/utilities/test_types.py:38
Methodtest_self_mount_raises
(self)
tests/server/test_server_safety.py:7
Methodtest_self_ref_multiple_levels
(self, self_referential)
tests/utilities/json_schema_type/test_advanced.py:130
Methodtest_self_ref_single_level
(self, self_referential)
tests/utilities/json_schema_type/test_advanced.py:121
Methodtest_self_referencing_dataclass_not_wrapped
Test that self-referencing dataclasses are not wrapped in result field.
tests/tools/tool/test_content.py:322
Methodtest_self_referencing_model_outputschema_mcp_compliant
Test that self-referencing model schemas are MCP spec compliant. The MCP spec requires: - type: "object" at root level - prop
tests/tools/tool/test_content.py:377
Methodtest_self_referencing_pydantic_model_has_type_object_at_root
Test that self-referencing Pydantic models have type: object at root. MCP spec requires outputSchema to have "type": "object" at the root lev
tests/tools/tool/test_content.py:347
Methodtest_semantic_version_sorting
Versions should sort semantically, not lexicographically.
tests/server/versioning/test_mounting.py:17
Methodtest_semver_sorting
Full semver versions should sort correctly.
tests/server/versioning/test_mounting.py:50
Methodtest_send_multiple_notifications
Test sending multiple different notification types.
tests/client/test_notifications.py:98
Methodtest_send_notification_async
Test that send_notification sends immediately in async context.
tests/client/test_notifications.py:77
Methodtest_sends_bearer_token_to_userinfo
(self, httpx_mock: HTTPXMock)
tests/server/auth/providers/test_huggingface.py:226
Methodtest_separate_input_output_schemas
Test that input and output schemas contain different schema definitions and don't overlap in the ultimate schema definitions.
tests/utilities/openapi/test_transitive_references.py:680
Methodtest_serializable_state_still_persists_across_requests
Serializable state (default) still persists across requests.
tests/server/test_context.py:297
Methodtest_serializable_write_clears_request_scoped_shadow
Writing serializable state clears any request-scoped shadow for the same key.
tests/server/test_context.py:308
Methodtest_serialize_by_alias_false_uses_field_names
serialize_by_alias=False emits field names in schema, structured, and text.
tests/tools/tool/test_results.py:284
Methodtest_serialize_by_alias_true_uses_alias
serialize_by_alias=True emits aliases.
tests/tools/tool/test_results.py:417
Functiontest_serialize_tools_for_output_markdown_basic_tool
()
tests/experimental/transforms/test_code_mode_serialization.py:296
Functiontest_serialize_tools_for_output_markdown_empty_list
()
tests/experimental/transforms/test_code_mode_serialization.py:292
Functiontest_serialize_tools_for_output_markdown_includes_output_section_when_schema_present
()
tests/experimental/transforms/test_code_mode_serialization.py:328
Functiontest_serialize_tools_for_output_markdown_multiple_tools_separated
()
tests/experimental/transforms/test_code_mode_serialization.py:373
Functiontest_serialize_tools_for_output_markdown_omits_description_when_absent
()
tests/experimental/transforms/test_code_mode_serialization.py:343
Functiontest_serialize_tools_for_output_markdown_omits_output_section_when_no_schema
()
tests/experimental/transforms/test_code_mode_serialization.py:313
Functiontest_serialize_tools_for_output_markdown_optional_field_uses_question_mark
()
tests/experimental/transforms/test_code_mode_serialization.py:358
Methodtest_serializes_with_aliases
(self)
tests/test_apps.py:37
Methodtest_serializes_with_aliases
(self)
tests/test_apps.py:72
Methodtest_serializes_with_aliases
(self)
tests/test_apps.py:124
Methodtest_serializes_with_aliases
(self)
tests/test_apps.py:166
Methodtest_server
()
tests/client/test_stdio.py:274
Methodtest_server_attribute
Test that provider exposes the wrapped server.
tests/server/providers/test_fastmcp_provider.py:287
Methodtest_server_decorator_and_provider_tools_coexist
Test that server decorators and provider tools coexist.
tests/server/providers/test_local_provider.py:812
Methodtest_server_default_applies_to_all_templates
A single server default screens every templated resource.
tests/resources/test_resource_security.py:261
Methodtest_server_default_client_log_level
Server-wide client_log_level filters messages for all sessions.
tests/client/test_logs.py:144
Methodtest_server_default_custom_exemption
(self)
tests/resources/test_resource_security.py:248
Methodtest_server_default_disabled
(self)
tests/resources/test_resource_security.py:237
Functiontest_server_deserialization_error
Test server error when JSON string cannot be converted to expected type. `_on_get_prompt` in fastmcp_slim/fastmcp/server/mixins/mcp_operations.py
tests/client/client/test_client.py:276
Methodtest_server_enable_overrides_provider_disable
Server-level enable should override provider-level disable.
tests/server/providers/test_local_provider.py:377
Methodtest_server_error_raises_http_status_error
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:140
Functiontest_server_headers_take_precedence_over_client_headers
(shttp_server: str)
tests/client/test_openapi.py:164
Methodtest_server_icons_and_website
Test that server-level icons and website_url are extracted.
tests/utilities/test_inspect_icons.py:22
Functiontest_server_import_does_not_load_cli
()
tests/server/http/test_startup_imports.py:36
Functiontest_server_info_custom_version
Test that custom version is properly set in serverInfo.
tests/client/client/test_client.py:404
← previousnext →11,501–11,600 of 13,374, ranked by callers