MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Functiontest_image_content_unsupported_mime_type_raises
()
tests/client/sampling/handlers/test_anthropic_handler.py:65
Methodtest_image_initialization_with_data
Test image initialization with data.
tests/utilities/test_types.py:155
Methodtest_image_initialization_with_format
Test image initialization with a specific format.
tests/utilities/test_types.py:162
Methodtest_image_initialization_with_path
Test image initialization with a path.
tests/utilities/test_types.py:129
Methodtest_image_path_expansion_with_env_var
Test that environment variables are expanded.
tests/utilities/test_types.py:144
Methodtest_image_path_expansion_with_tilde
Test that ~ is expanded to the user's home directory.
tests/utilities/test_types.py:137
Methodtest_image_response
Image content type is correctly extracted.
tests/server/providers/openapi/test_openapi_features.py:470
Methodtest_imperative_elicit_fails_with_guard_guidance
A task=True tool that calls ctx.elicit() errors with guard guidance. The ToolError it raises surfaces as a completed is_error result (like an
tests/tasks/server/test_context_background_task.py:419
Methodtest_import_as_package_with_init
Should import as package when __init__.py exists.
tests/fs/test_discovery.py:127
Methodtest_import_module_with_function
Should import a module with functions.
tests/fs/test_discovery.py:98
Methodtest_import_module_with_imports
Should handle modules with standard library imports.
tests/fs/test_discovery.py:111
Methodtest_import_package_module_reload
Re-importing a package module should return updated content.
tests/fs/test_discovery.py:157
Methodtest_import_server_basic_mcp
Test importing server with basic FastMCP server.
tests/cli/test_run.py:165
Methodtest_import_server_no_standard_names_fails
Test importing server when no standard names exist fails.
tests/cli/test_run.py:260
Methodtest_import_server_nonexistent_object_fails
Test importing nonexistent server object fails.
tests/cli/test_run.py:275
Methodtest_import_server_nonstandard_name
Test importing server with non-standard object name.
tests/cli/test_run.py:241
Methodtest_import_server_standard_names
Test automatic detection of standard names (mcp, server, app).
tests/cli/test_run.py:206
Methodtest_import_server_with_main_block
Test importing server with if __name__ == '__main__' block.
tests/cli/test_run.py:184
Methodtest_import_simple_module
Should import a simple module.
tests/fs/test_discovery.py:90
Methodtest_import_with_relative_import
Should support relative imports when in a package.
tests/fs/test_discovery.py:139
Methodtest_in_flight_refresh_cannot_restore_ended_grant
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_refresh_reuse.py:106
Methodtest_in_memory_calls_have_no_network_attributes
( self, meter_provider, reader )
tests/server/middleware/test_usage.py:300
Methodtest_in_memory_modern_client
( self, server: tuple[FastMCP, PingMiddleware], caplog: pytest.LogCaptureFixture,
tests/server/middleware/test_ping.py:283
Methodtest_in_memory_server_span_has_no_network_attributes
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:850
Methodtest_in_memory_storage_does_not_warn
M2M re-acquires tokens cheaply, so no in-memory storage warning.
tests/client/auth/test_client_credentials.py:191
Methodtest_in_memory_storage_option
Test using in-memory storage explicitly.
tests/server/auth/test_oauth_proxy_storage.py:150
Methodtest_in_process_client_inside_tool_can_still_task
(self)
tests/tasks/server/test_task_catalog_transforms.py:192
Functiontest_in_task_input_answered_by_handler_set_after_construction
An elicitation handler set via set_elicitation_callback reaches in-task input. The tasks client extension is built at construction; set_elicitati
tests/tasks/client/test_transparent_tasks.py:230
Functiontest_in_task_input_answered_transparently
A guard task that asks for input is answered via the elicitation handler.
tests/tasks/client/test_transparent_tasks.py:191
Functiontest_in_task_input_without_handler_errors
A guard task with no elicitation handler surfaces a clear error.
tests/tasks/client/test_transparent_tasks.py:204
Methodtest_inactive_token_returns_none
Test that inactive tokens return None.
tests/server/auth/providers/test_introspection.py:145
Methodtest_inactive_tokens_not_cached
Test that inactive tokens are NOT cached (may become valid later).
tests/server/auth/providers/test_introspection.py:698
Methodtest_include_tags_all_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:441
Methodtest_include_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:706
Methodtest_include_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:915
Methodtest_include_tags_all_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:60
Methodtest_include_tags_error_mentions_enable
(self)
tests/deprecated/server/test_include_exclude_tags.py:23
Methodtest_include_tags_raises_type_error
(self)
tests/deprecated/server/test_include_exclude_tags.py:15
Methodtest_include_tags_some_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:446
Methodtest_include_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:711
Methodtest_include_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:923
Methodtest_include_tags_some_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:65
Methodtest_include_unversioned_false_excludes_unversioned_prompts
Setting include_unversioned=False hides unversioned prompts.
tests/server/versioning/test_filtering.py:358
Methodtest_include_unversioned_false_excludes_unversioned_prompts_via_get_prompt
get_prompt() direct lookup respects include_unversioned=False too.
tests/server/versioning/test_filtering.py:379
Methodtest_include_unversioned_false_excludes_unversioned_resource_templates
Setting include_unversioned=False hides unversioned resource templates.
tests/server/versioning/test_filtering.py:299
Methodtest_include_unversioned_false_excludes_unversioned_resource_templates_via_get_resource_template
get_resource_template() direct lookup respects include_unversioned=False too.
tests/server/versioning/test_filtering.py:324
Methodtest_include_unversioned_false_excludes_unversioned_resources
Setting include_unversioned=False hides unversioned resources.
tests/server/versioning/test_filtering.py:260
Methodtest_include_unversioned_false_excludes_unversioned_resources_via_get_resource
get_resource() direct lookup respects include_unversioned=False too.
tests/server/versioning/test_filtering.py:284
Methodtest_include_unversioned_false_excludes_unversioned_tools
Setting include_unversioned=False hides unversioned tools.
tests/server/versioning/test_filtering.py:153
Methodtest_include_unversioned_false_excludes_unversioned_tools_via_get_tool
get_tool() direct lookup respects include_unversioned=False too.
tests/server/versioning/test_filtering.py:175
Methodtest_includes_descriptions
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:149
Methodtest_independent_sibling_servers_each_get_own_lifecycle
Two unrelated servers entered in the same async context are not nested. Each must run its own ``_docket_lifespan_root`` and establish its own
tests/server/mount/test_advanced.py:503
Functiontest_independent_skills_can_share_a_path_prefix
(mounted: bool)
tests/skills/test_list_skill_resources.py:79
Methodtest_index_rebuilds_on_catalog_change
When a new tool is added, the next list_tools + search sees it.
tests/server/transforms/test_search.py:446
Methodtest_individual_checks_toggleable
(self)
tests/resources/test_resource_security.py:126
Methodtest_infer_composite_client
(self)
tests/client/client/test_transport.py:113
Methodtest_infer_fastmcp_server
FastMCP server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:131
Methodtest_infer_fastmcp_v1_server
FastMCP 1.0 server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:136
Methodtest_infer_local_transport_from_config
(self)
tests/client/client/test_transport.py:86
Methodtest_infer_remote_transport_from_config
(self)
tests/client/client/test_transport.py:71
Methodtest_infinity_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:33
Methodtest_inherit_default_on_template
(self)
tests/resources/test_resource_security.py:314
Methodtest_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:41
Methodtest_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:138
Methodtest_init
Test RemoteAuthProvider initialization.
tests/server/auth/test_remote_auth_provider.py:26
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:48
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:338
Methodtest_init_custom
Test custom interval initialization.
tests/server/middleware/test_ping.py:25
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_timing.py:39
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_logging.py:100
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:250
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:437
Methodtest_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:497
Methodtest_init_custom_parameters
Test initialization with custom parameters.
tests/server/auth/test_debug_verifier.py:20
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:39
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:328
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_ping.py:19
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_timing.py:33
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_timing.py:72
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_logging.py:89
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_logging.py:224
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:208
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:430
Methodtest_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:491
Methodtest_init_defaults
Test initialization with default parameters.
tests/server/auth/test_debug_verifier.py:11
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_clerk.py:56
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_auth0.py:77
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_google.py:57
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_discord.py:36
Methodtest_init_defaults
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:48
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_azure.py:54
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_github.py:45
Methodtest_init_defaults
Test initialization with defaults.
tests/server/auth/providers/test_github.py:91
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_workos.py:95
Methodtest_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_aws.py:72
Methodtest_init_does_not_require_api_client_id_anymore
API client ID is no longer required; audience is client_id.
tests/server/auth/providers/test_azure.py:182
Methodtest_init_from_bytes
Bytes input is normalized to list[ResourceContent].
tests/resources/test_resources.py:205
Methodtest_init_from_dict_auto_serializes
Dict input is auto-serialized to JSON text.
tests/resources/test_resources.py:212
Methodtest_init_from_list_of_resource_content
List of ResourceContent is used directly.
tests/resources/test_resources.py:226
Methodtest_init_from_mixed_list_raises_type_error
Mixed list items raise TypeError - all items must be ResourceContent.
tests/resources/test_resources.py:237
← previousnext →11,501–11,600 of 17,519, ranked by callers