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_dictionary_defaults_in_elicitation_schemas
(self, case: str)
tests/utilities/json_schema_type/test_generated_classes.py:419
Method
test_dictionary_defaults_in_tool_results
(self, case: str)
tests/utilities/json_schema_type/test_generated_classes.py:402
Method
test_dictionary_defaults_leave_class_annotations_unchanged
(self)
tests/utilities/json_schema_type/test_generated_classes.py:394
Method
test_different_app_names_different_hash
(self)
tests/server/providers/test_addressing.py:26
Method
test_different_names_different_classes
(self)
tests/utilities/json_schema_type/test_advanced.py:850
Function
test_different_resource_metadata_stays_distinct
(config)
tests/server/providers/test_prefab_sharing.py:42
Method
test_different_schemas_different_hashes
(self)
tests/utilities/json_schema_type/test_advanced.py:889
Method
test_different_tokens_are_cached_separately
Test that different tokens have separate cache entries.
tests/server/auth/providers/test_introspection.py:756
Method
test_different_tokens_cached_separately
(self, cache: TokenCache)
tests/utilities/test_token_cache.py:86
Method
test_different_tokens_different_hashes
(self)
tests/utilities/test_token_cache.py:220
Method
test_different_tool_names_different_hash
(self)
tests/server/providers/test_addressing.py:31
Method
test_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
Method
test_differing_options_rebuild_an_idle_session
(self, monkeypatch)
tests/client/client/test_session.py:389
Method
test_digit_prefix
(self)
tests/cli/test_generate_cli.py:768
Function
test_dir
Create a temporary directory with test files.
tests/server/test_file_server.py:12
Method
test_direct_array_no_title
Test direct array schema without title.
tests/utilities/openapi/test_direct_array_schemas.py:139
Method
test_direct_array_optional
Test direct array schema that's not required.
tests/utilities/openapi/test_direct_array_schemas.py:196
Method
test_direct_array_title_sanitization
Test that titles with special characters are sanitized.
tests/utilities/openapi/test_direct_array_schemas.py:222
Method
test_direct_array_title_starting_with_number
Test that titles starting with numbers are handled.
tests/utilities/openapi/test_direct_array_schemas.py:247
Function
test_direct_call_owns_temporary_shared_scope
()
tests/server/test_shared_context.py:51
Method
test_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
Method
test_direct_lookup
FastMCPApp.get_app_tool finds tools by app name + tool name.
tests/test_fastmcp_app.py:326
Method
test_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
Method
test_direct_primitive_schema
Test direct primitive (non-array) request body schema.
tests/utilities/openapi/test_direct_array_schemas.py:169
Function
test_direct_tool_annotations_in_client_api
Test direct ToolAnnotations object is correctly accessible via client API.
tests/server/test_tool_annotations.py:140
Function
test_direct_tool_annotations_in_tool_manager
Test direct ToolAnnotations object is correctly stored in tool manager.
tests/server/test_tool_annotations.py:112
Method
test_director_initialization
Test RequestDirector initialization.
tests/utilities/openapi/test_director.py:156
Function
test_directory_discovers_skill_folders_linked_from_elsewhere
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:117
Method
test_directory_exits
Directories should not be treated as file paths.
tests/cli/test_client_commands.py:433
Function
test_directory_keeps_other_skills_when_a_main_file_is_outside
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:50
Function
test_directory_keeps_valid_skills_when_a_link_cannot_resolve
( tmp_path: Path, )
tests/server/providers/test_skill_main_files.py:131
Function
test_directory_links_within_root_remain_discoverable
(tmp_path: Path)
tests/server/providers/test_skill_main_files.py:104
Method
test_disable_all
match_all=True disables all components.
tests/server/transforms/test_visibility.py:132
Method
test_disable_components_is_rejected
(self)
tests/server/test_session_scope.py:87
Method
test_disable_components_sends_notifications
Test that disable_components sends all three notification types.
tests/server/test_session_visibility.py:432
Method
test_disable_components_stores_rule_dict
Test that disable_components stores a rule dict in session state.
tests/server/test_session_visibility.py:86
Method
test_disable_marks_as_disabled
Visibility(False, ...) marks matching components as disabled.
tests/server/transforms/test_visibility.py:101
Method
test_disable_overrides_enable
A disable after enable results in disabled.
tests/server/transforms/test_visibility.py:151
Method
test_disable_prompt_route
Test disabling a prompt via the HTTP route.
tests/contrib/test_component_manager.py:219
Method
test_disable_pruning_additional_properties
Test disabling pruning of additionalProperties.
tests/utilities/test_json_schema.py:597
Method
test_disable_raises_not_implemented_error
Test that disable() raises NotImplementedError with migration guidance.
tests/utilities/test_components.py:289
Method
test_disable_reset_loop
Repeated disable/reset cycles should work every time (the exact bug from #3034).
tests/server/test_session_visibility.py:707
Method
test_disable_resource_route
Test disabling a resource via the HTTP route.
tests/contrib/test_component_manager.py:159
Method
test_disable_resource_route_with_path
( self, client_with_path, mcp_with_path )
tests/contrib/test_component_manager.py:501
Method
test_disable_template_route
Test disabling a resource template via the HTTP route.
tests/contrib/test_component_manager.py:189
Method
test_disable_then_reset_restores_tools
After disable + reset within the same session, tools should reappear.
tests/server/test_session_visibility.py:670
Method
test_disable_tool_route
Test disabling a tool via the HTTP route.
tests/contrib/test_component_manager.py:75
Method
test_disable_tool_route_with_version
Test disabling a specific tool version via the HTTP route.
tests/contrib/test_component_manager.py:91
Method
test_disable_transformed_tool
(self)
tests/tools/tool_transform/test_args.py:510
Method
test_disabled_by_default
OIDCProxy without verify_id_token returns False.
tests/server/auth/test_oidc_proxy_token.py:337
Method
test_disabled_components_stay_hidden
(self)
tests/server/test_session_scope.py:71
Method
test_disabled_configurations
(self, ttl: int | None, max_size: int | None)
tests/utilities/test_token_cache.py:37
Method
test_disabled_output_schema_no_structured_content
(self)
tests/server/providers/local_provider_tools/test_output_schema.py:89
Method
test_disabled_protection_accepts_message
( self, unprotected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:155
Method
test_disabled_protection_opens_stream
( self, unprotected_server: ASGIServer, )
tests/server/http/test_sse_host_origin_protection.py:122
Function
test_disabled_references_complete_like_unknown_ones
(mode)
tests/server/test_completions.py:401
Method
test_disabled_resource_cannot_be_read
Disabled resources cannot be read via read_resource tool.
tests/server/transforms/test_resources_as_tools.py:389
Method
test_disabled_resource_in_mounted_server_is_not_served_by_template
( self, )
tests/server/providers/test_local_provider_resources.py:874
Method
test_disabled_resource_is_not_served_by_matching_template
(self)
tests/server/providers/test_local_provider_resources.py:838
Method
test_disabled_resource_is_not_served_through_proxy_template
(self)
tests/server/providers/test_local_provider_resources.py:856
Method
test_disabled_resources_hidden_from_list
Disabled resources are not listed via list_resources tool.
tests/server/transforms/test_resources_as_tools.py:367
Method
test_disabled_tool_excluded
(self)
tests/server/transforms/test_catalog.py:206
Function
test_disabled_validation_preserves_unexpected_array
()
tests/server/providers/openapi/test_bodiless_success_responses.py:213
Function
test_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
Function
test_disconnected_pinned_client_is_not_cloned
()
tests/server/providers/proxy/test_server_metadata.py:455
Method
test_discord_provider_threads_http_client
(self)
tests/server/auth/providers/test_http_client.py:296
Method
test_discord_specific_scopes
Test handling of Discord-specific scope formats.
tests/server/auth/providers/test_discord.py:70
Method
test_discover_and_import_empty
Should return empty result for empty directory.
tests/fs/test_discovery.py:330
Method
test_discover_and_import_skips_bad_imports
Should skip files that fail to import and track them.
tests/fs/test_discovery.py:358
Method
test_discover_and_import_with_tools
Should discover and import tools.
tests/fs/test_discovery.py:336
Method
test_discover_files_empty_dir
Should return empty list for empty directory.
tests/fs/test_discovery.py:23
Method
test_discover_files_nonexistent_dir
Should return empty list for nonexistent directory.
tests/fs/test_discovery.py:28
Method
test_discover_files_recursive
Should find files in subdirectories.
tests/fs/test_discovery.py:52
Method
test_discover_files_single_file
Should find a single Python file.
tests/fs/test_discovery.py:34
Method
test_discover_files_skips_init
Should skip __init__.py files.
tests/fs/test_discovery.py:42
Method
test_discover_files_skips_pycache
Should skip __pycache__ directories.
tests/fs/test_discovery.py:64
Method
test_discover_files_sorted
Files should be returned in sorted order.
tests/fs/test_discovery.py:76
Method
test_discover_scopes_supported_lazily
scopes_supported are discovered lazily and cached after first fetch.
tests/server/auth/providers/test_descope.py:119
Method
test_discovered_tool_meta_includes_version
get_meta() should include version for tools discovered via filesystem.
tests/fs/test_discovery.py:481
Method
test_discovered_tool_runs_through_the_proxy
(self)
tests/experimental/transforms/test_jev_search.py:377
Function
test_discovery_on_a_legacy_provider
( tmp_path: Path, supporting_files: Literal["template", "resources"] )
tests/skills/test_list_skill_resources.py:52
Function
test_discovery_records_extraction_failure
( tmp_path: Path, invalid_component: tuple[str, str] )
tests/fs/test_extraction_failures.py:54
Function
test_discovery_round_trip_preserves_bytes
()
tests/skills/test_provider.py:53
Method
test_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
Method
test_discriminator_property_describes_the_variants
The discriminator names which fields belong to which variant.
tests/server/providers/openapi/test_openapi_discriminator.py:191
Method
test_discriminator_property_remains_required_after_inlining
(self)
tests/utilities/test_json_schema.py:324
Function
test_discriminator_property_remains_required_when_removed
()
tests/utilities/openapi/test_discriminator.py:6
Function
test_discussion_after_first_page_and_historical_review
(triage, monkeypatch)
tests/test_public_triage.py:60
Function
test_discussion_failure_preserves_successful_head_observation
(triage, monkeypatch)
tests/test_public_triage.py:202
Method
test_dispatcher_with_fastmcp1x
Test that the main get_fastmcp_info function correctly dispatches to v1.
tests/utilities/test_inspect.py:540
Method
test_dispatcher_with_fastmcp2x
Test that the main get_fastmcp_info function correctly dispatches to v2.
tests/utilities/test_inspect.py:557
Method
test_display_name_call_is_unchanged
(self)
tests/server/auth/test_authorization.py:1740
Method
test_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
Function
test_disposition_labels_still_reduce_attention
(ranking_module, label)
tests/test_issue_ranking.py:144
Method
test_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
Method
test_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
Method
test_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
Function
test_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
Method
test_distinct_created_ids_are_isolated
(self)
tests/server/test_session_provider.py:375
Method
test_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
← previous
next →
9,001–9,100 of 15,974, ranked by callers