MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_dictionary_defaults_in_elicitation_schemas
(self, case: str)
tests/utilities/json_schema_type/test_generated_classes.py:419
Methodtest_dictionary_defaults_in_tool_results
(self, case: str)
tests/utilities/json_schema_type/test_generated_classes.py:402
Methodtest_dictionary_defaults_leave_class_annotations_unchanged
(self)
tests/utilities/json_schema_type/test_generated_classes.py:394
Methodtest_different_app_names_different_hash
(self)
tests/server/providers/test_addressing.py:26
Methodtest_different_names_different_classes
(self)
tests/utilities/json_schema_type/test_advanced.py:850
Functiontest_different_resource_metadata_stays_distinct
(config)
tests/server/providers/test_prefab_sharing.py:42
Methodtest_different_schemas_different_hashes
(self)
tests/utilities/json_schema_type/test_advanced.py:889
Methodtest_different_tokens_are_cached_separately
Test that different tokens have separate cache entries.
tests/server/auth/providers/test_introspection.py:756
Methodtest_different_tokens_cached_separately
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:86
Methodtest_different_tokens_different_hashes
(self)
tests/utilities/test_token_cache.py:220
Methodtest_different_tool_names_different_hash
(self)
tests/server/providers/test_addressing.py:31
Methodtest_differing_options_do_not_disturb_a_session_in_use
Tearing down a live session would break the client already on it.
tests/client/client/test_session.py:399
Methodtest_differing_options_rebuild_an_idle_session
(self, monkeypatch)
tests/client/client/test_session.py:389
Methodtest_digit_prefix
(self)
tests/cli/test_generate_cli.py:768
Functiontest_dir
Create a temporary directory with test files.
tests/server/test_file_server.py:12
Methodtest_direct_array_no_title
Test direct array schema without title.
tests/utilities/openapi/test_direct_array_schemas.py:139
Methodtest_direct_array_optional
Test direct array schema that's not required.
tests/utilities/openapi/test_direct_array_schemas.py:196
Methodtest_direct_array_title_sanitization
Test that titles with special characters are sanitized.
tests/utilities/openapi/test_direct_array_schemas.py:222
Methodtest_direct_array_title_starting_with_number
Test that titles starting with numbers are handled.
tests/utilities/openapi/test_direct_array_schemas.py:247
Functiontest_direct_call_owns_temporary_shared_scope
()
tests/server/test_shared_context.py:51
Methodtest_direct_client_still_enforces_the_schema
The behavior change is scoped to proxies, not clients generally.
tests/server/providers/proxy/test_proxy_server.py:1348
Methodtest_direct_lookup
FastMCPApp.get_app_tool finds tools by app name + tool name.
tests/test_fastmcp_app.py:326
Methodtest_direct_multi_server_client_drives_modern_guard_round_trips
The config-based client itself stays modern through every backend leg.
tests/server/test_mrtr_guards.py:638
Methodtest_direct_primitive_schema
Test direct primitive (non-array) request body schema.
tests/utilities/openapi/test_direct_array_schemas.py:169
Functiontest_direct_tool_annotations_in_client_api
Test direct ToolAnnotations object is correctly accessible via client API.
tests/server/test_tool_annotations.py:140
Functiontest_direct_tool_annotations_in_tool_manager
Test direct ToolAnnotations object is correctly stored in tool manager.
tests/server/test_tool_annotations.py:112
Methodtest_director_initialization
Test RequestDirector initialization.
tests/utilities/openapi/test_director.py:156
Functiontest_directory_discovers_skill_folders_linked_from_elsewhere
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:117
Methodtest_directory_exits
Directories should not be treated as file paths.
tests/cli/test_client_commands.py:433
Functiontest_directory_keeps_other_skills_when_a_main_file_is_outside
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:50
Functiontest_directory_keeps_valid_skills_when_a_link_cannot_resolve
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:131
Functiontest_directory_links_within_root_remain_discoverable
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:104
Methodtest_disable_all
match_all=True disables all components.
tests/server/transforms/test_visibility.py:132
Methodtest_disable_components_is_rejected
(self)
tests/server/test_session_scope.py:87
Methodtest_disable_components_sends_notifications
Test that disable_components sends all three notification types.
tests/server/test_session_visibility.py:432
Methodtest_disable_components_stores_rule_dict
Test that disable_components stores a rule dict in session state.
tests/server/test_session_visibility.py:86
Methodtest_disable_marks_as_disabled
Visibility(False, ...) marks matching components as disabled.
tests/server/transforms/test_visibility.py:101
Methodtest_disable_overrides_enable
A disable after enable results in disabled.
tests/server/transforms/test_visibility.py:151
Methodtest_disable_prompt_route
Test disabling a prompt via the HTTP route.
tests/contrib/test_component_manager.py:219
Methodtest_disable_pruning_additional_properties
Test disabling pruning of additionalProperties.
tests/utilities/test_json_schema.py:597
Methodtest_disable_raises_not_implemented_error
Test that disable() raises NotImplementedError with migration guidance.
tests/utilities/test_components.py:289
Methodtest_disable_reset_loop
Repeated disable/reset cycles should work every time (the exact bug from #3034).
tests/server/test_session_visibility.py:707
Methodtest_disable_resource_route
Test disabling a resource via the HTTP route.
tests/contrib/test_component_manager.py:159
Methodtest_disable_resource_route_with_path
( self, client_with_path, mcp_with_path )
tests/contrib/test_component_manager.py:501
Methodtest_disable_template_route
Test disabling a resource template via the HTTP route.
tests/contrib/test_component_manager.py:189
Methodtest_disable_then_reset_restores_tools
After disable + reset within the same session, tools should reappear.
tests/server/test_session_visibility.py:670
Methodtest_disable_tool_route
Test disabling a tool via the HTTP route.
tests/contrib/test_component_manager.py:75
Methodtest_disable_tool_route_with_version
Test disabling a specific tool version via the HTTP route.
tests/contrib/test_component_manager.py:91
Methodtest_disable_transformed_tool
(self)
tests/tools/tool_transform/test_args.py:510
Methodtest_disabled_by_default
OIDCProxy without verify_id_token returns False.
tests/server/auth/test_oidc_proxy_token.py:337
Methodtest_disabled_components_stay_hidden
(self)
tests/server/test_session_scope.py:71
Methodtest_disabled_configurations
(self, ttl: int | None, max_size: int | None)
tests/utilities/test_token_cache.py:37
Methodtest_disabled_output_schema_no_structured_content
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:89
Methodtest_disabled_protection_accepts_message
( self, unprotected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:155
Methodtest_disabled_protection_opens_stream
( self, unprotected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:122
Functiontest_disabled_references_complete_like_unknown_ones
(mode)
tests/server/test_completions.py:401
Methodtest_disabled_resource_cannot_be_read
Disabled resources cannot be read via read_resource tool.
tests/server/transforms/test_resources_as_tools.py:389
Methodtest_disabled_resource_in_mounted_server_is_not_served_by_template
( self, )
tests/server/providers/test_local_provider_resources.py:874
Methodtest_disabled_resource_is_not_served_by_matching_template
(self)
tests/server/providers/test_local_provider_resources.py:838
Methodtest_disabled_resource_is_not_served_through_proxy_template
(self)
tests/server/providers/test_local_provider_resources.py:856
Methodtest_disabled_resources_hidden_from_list
Disabled resources are not listed via list_resources tool.
tests/server/transforms/test_resources_as_tools.py:367
Methodtest_disabled_tool_excluded
(self)
tests/server/transforms/test_catalog.py:206
Functiontest_disabled_validation_preserves_unexpected_array
()
tests/server/providers/openapi/test_bodiless_success_responses.py:213
Functiontest_disconnect_with_hanging_transport_does_not_leak_session_task
A hung transport teardown must not leak the background session task. Simulates the failure mode reported in https://github.com/PrefectHQ/fast
tests/client/client/test_client.py:687
Functiontest_disconnected_pinned_client_is_not_cloned
()
tests/server/providers/proxy/test_server_metadata.py:455
Methodtest_discord_provider_threads_http_client
(self)
tests/server/auth/providers/test_http_client.py:296
Methodtest_discord_specific_scopes
Test handling of Discord-specific scope formats.
tests/server/auth/providers/test_discord.py:70
Methodtest_discover_and_import_empty
Should return empty result for empty directory.
tests/fs/test_discovery.py:330
Methodtest_discover_and_import_skips_bad_imports
Should skip files that fail to import and track them.
tests/fs/test_discovery.py:358
Methodtest_discover_and_import_with_tools
Should discover and import tools.
tests/fs/test_discovery.py:336
Methodtest_discover_files_empty_dir
Should return empty list for empty directory.
tests/fs/test_discovery.py:23
Methodtest_discover_files_nonexistent_dir
Should return empty list for nonexistent directory.
tests/fs/test_discovery.py:28
Methodtest_discover_files_recursive
Should find files in subdirectories.
tests/fs/test_discovery.py:52
Methodtest_discover_files_single_file
Should find a single Python file.
tests/fs/test_discovery.py:34
Methodtest_discover_files_skips_init
Should skip __init__.py files.
tests/fs/test_discovery.py:42
Methodtest_discover_files_skips_pycache
Should skip __pycache__ directories.
tests/fs/test_discovery.py:64
Methodtest_discover_files_sorted
Files should be returned in sorted order.
tests/fs/test_discovery.py:76
Methodtest_discover_scopes_supported_lazily
scopes_supported are discovered lazily and cached after first fetch.
tests/server/auth/providers/test_descope.py:119
Methodtest_discovered_tool_meta_includes_version
get_meta() should include version for tools discovered via filesystem.
tests/fs/test_discovery.py:481
Methodtest_discovered_tool_runs_through_the_proxy
(self)
tests/experimental/transforms/test_jev_search.py:377
Functiontest_discovery_on_a_legacy_provider
( tmp_path: Path, supporting_files: Literal["template", "resources"] )
tests/skills/test_list_skill_resources.py:52
Functiontest_discovery_records_extraction_failure
( tmp_path: Path, invalid_component: tuple[str, str] )
tests/fs/test_extraction_failures.py:54
Functiontest_discovery_round_trip_preserves_bytes
()
tests/skills/test_provider.py:53
Methodtest_discriminator_keyword_is_dropped
The mapping points at $defs that get pruned, so it cannot survive.
tests/server/providers/openapi/test_openapi_discriminator.py:199
Methodtest_discriminator_property_describes_the_variants
The discriminator names which fields belong to which variant.
tests/server/providers/openapi/test_openapi_discriminator.py:191
Methodtest_discriminator_property_remains_required_after_inlining
(self)
tests/utilities/test_json_schema.py:324
Functiontest_discriminator_property_remains_required_when_removed
()
tests/utilities/openapi/test_discriminator.py:6
Functiontest_discussion_after_first_page_and_historical_review
(triage, monkeypatch)
tests/test_public_triage.py:60
Functiontest_discussion_failure_preserves_successful_head_observation
(triage, monkeypatch)
tests/test_public_triage.py:202
Methodtest_dispatcher_with_fastmcp1x
Test that the main get_fastmcp_info function correctly dispatches to v1.
tests/utilities/test_inspect.py:540
Methodtest_dispatcher_with_fastmcp2x
Test that the main get_fastmcp_info function correctly dispatches to v2.
tests/utilities/test_inspect.py:557
Methodtest_display_name_call_is_unchanged
(self)
tests/server/auth/test_authorization.py:1740
Methodtest_display_name_shaped_like_hashed_address_wins
A display tool whose name parses as a hashed address resolves by display name before hashed dispatch is tried.
tests/test_fastmcp_app.py:550
Functiontest_disposition_labels_still_reduce_attention
(ranking_module, label)
tests/test_issue_ranking.py:144
Methodtest_distinct_app_names_route_independently_through_a_gateway
The multi-tenant gateway shape: distinct app names stay unambiguous no matter how many backends sit behind one proxy.
tests/server/providers/test_prefab_roundtrip.py:747
Methodtest_distinct_apps_sharing_a_backend_name
Identity and name must agree in both directions. Two apps can each expose `save`: the identities differ and each has one candidate, but
tests/server/providers/test_prefab_roundtrip.py:486
Methodtest_distinct_client_ids_do_not_share_cached_tokens
Two providers with different client_ids sharing one store against the same endpoint each retain their own token instead of clobbering one
tests/client/auth/test_client_credentials.py:347
Functiontest_distinct_clients_cannot_access_each_others_tasks
Two distinct client_ids live in disjoint scopes: a peer's id is 'not found'.
tests/tasks/server/test_task_security.py:64
Methodtest_distinct_created_ids_are_isolated
(self)
tests/server/test_session_provider.py:375
Methodtest_distinct_hashes_resolve_independently
Two apps sharing a name but with different tool names hash differently, so each tool resolves to itself.
tests/server/providers/test_prefab_roundtrip.py:700
← previousnext →9,001–9,100 of 15,974, ranked by callers