Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Method
test_ignored_duplicate_template_returns_the_existing_template
(self)
tests/server/providers/test_local_provider.py:638
Method
test_ignored_duplicate_tool_does_not_disable_the_existing_tool
(self)
tests/server/providers/test_local_provider.py:660
Method
test_ignored_duplicate_tool_returns_the_existing_tool
(self)
tests/server/providers/test_local_provider.py:615
Function
test_ignored_tool_is_unknown_by_listed_and_hashed_name
(pattern: str)
tests/cli/test_fastmcp_remote.py:284
Method
test_ignores_error_responses
Only error responses (no 2xx) results in default.
tests/server/providers/openapi/test_openapi_features.py:531
Method
test_ignores_list_requests
(self, meter_provider, reader)
tests/server/middleware/test_usage.py:461
Method
test_ignores_non_dict_metadata
(self)
tests/utilities/test_components.py:272
Method
test_image
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:110
Function
test_image_content
Returns a PNG image.
tests/conformance/server.py:101
Function
test_image_content_to_anthropic_block
()
tests/client/sampling/handlers/test_anthropic_handler.py:50
Function
test_image_content_to_openai_part
()
tests/client/sampling/handlers/test_openai_handler.py:59
Function
test_image_content_to_openai_part_unsupported_raises
()
tests/client/sampling/handlers/test_openai_handler.py:96
Function
test_image_content_unsupported_mime_type_raises
()
tests/client/sampling/handlers/test_anthropic_handler.py:65
Method
test_image_initialization_with_data
Test image initialization with data.
tests/utilities/test_types.py:155
Method
test_image_initialization_with_format
Test image initialization with a specific format.
tests/utilities/test_types.py:162
Method
test_image_initialization_with_path
Test image initialization with a path.
tests/utilities/test_types.py:129
Method
test_image_path_expansion_with_env_var
Test that environment variables are expanded.
tests/utilities/test_types.py:144
Method
test_image_path_expansion_with_tilde
Test that ~ is expanded to the user's home directory.
tests/utilities/test_types.py:137
Method
test_image_response
Image content type is correctly extracted.
tests/server/providers/openapi/test_openapi_features.py:470
Method
test_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
Method
test_import_as_package_with_init
Should import as package when __init__.py exists.
tests/fs/test_discovery.py:127
Method
test_import_module_with_function
Should import a module with functions.
tests/fs/test_discovery.py:98
Method
test_import_module_with_imports
Should handle modules with standard library imports.
tests/fs/test_discovery.py:111
Method
test_import_package_module_reload
Re-importing a package module should return updated content.
tests/fs/test_discovery.py:157
Method
test_import_server_basic_mcp
Test importing server with basic FastMCP server.
tests/cli/test_run.py:165
Method
test_import_server_no_standard_names_fails
Test importing server when no standard names exist fails.
tests/cli/test_run.py:260
Method
test_import_server_nonexistent_object_fails
Test importing nonexistent server object fails.
tests/cli/test_run.py:275
Method
test_import_server_nonstandard_name
Test importing server with non-standard object name.
tests/cli/test_run.py:241
Method
test_import_server_standard_names
Test automatic detection of standard names (mcp, server, app).
tests/cli/test_run.py:206
Method
test_import_server_with_main_block
Test importing server with if __name__ == '__main__' block.
tests/cli/test_run.py:184
Method
test_import_simple_module
Should import a simple module.
tests/fs/test_discovery.py:90
Method
test_import_with_relative_import
Should support relative imports when in a package.
tests/fs/test_discovery.py:139
Method
test_in_flight_refresh_cannot_restore_ended_grant
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_refresh_reuse.py:106
Method
test_in_memory_calls_have_no_network_attributes
( self, meter_provider, reader )
tests/server/middleware/test_usage.py:300
Method
test_in_memory_modern_client
( self, server: tuple[FastMCP, PingMiddleware], caplog: pytest.LogCaptureFixture,
tests/server/middleware/test_ping.py:283
Method
test_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
Method
test_in_memory_storage_option
Test using in-memory storage explicitly.
tests/server/auth/test_oauth_proxy_storage.py:150
Method
test_in_process_client_inside_tool_can_still_task
(self)
tests/tasks/server/test_task_catalog_transforms.py:192
Function
test_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
Function
test_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
Function
test_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
Method
test_inactive_token_returns_none
Test that inactive tokens return None.
tests/server/auth/providers/test_introspection.py:145
Method
test_inactive_tokens_not_cached
Test that inactive tokens are NOT cached (may become valid later).
tests/server/auth/providers/test_introspection.py:698
Method
test_include_tags_all_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:441
Method
test_include_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:706
Method
test_include_tags_all_resources
(self)
tests/server/providers/test_local_provider_resources.py:915
Method
test_include_tags_all_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:60
Method
test_include_tags_error_mentions_enable
(self)
tests/deprecated/server/test_include_exclude_tags.py:23
Method
test_include_tags_raises_type_error
(self)
tests/deprecated/server/test_include_exclude_tags.py:15
Method
test_include_tags_some_prompts
(self)
tests/server/providers/test_local_provider_prompts.py:446
Method
test_include_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:711
Method
test_include_tags_some_resources
(self)
tests/server/providers/test_local_provider_resources.py:923
Method
test_include_tags_some_tools
(self)
tests/server/providers/local_provider_tools/test_tags.py:65
Method
test_include_unversioned_false_excludes_unversioned_prompts
Setting include_unversioned=False hides unversioned prompts.
tests/server/versioning/test_filtering.py:358
Method
test_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
Method
test_include_unversioned_false_excludes_unversioned_resource_templates
Setting include_unversioned=False hides unversioned resource templates.
tests/server/versioning/test_filtering.py:299
Method
test_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
Method
test_include_unversioned_false_excludes_unversioned_resources
Setting include_unversioned=False hides unversioned resources.
tests/server/versioning/test_filtering.py:260
Method
test_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
Method
test_include_unversioned_false_excludes_unversioned_tools
Setting include_unversioned=False hides unversioned tools.
tests/server/versioning/test_filtering.py:153
Method
test_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
Method
test_includes_descriptions
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:149
Method
test_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
Function
test_independent_skills_can_share_a_path_prefix
(mounted: bool)
tests/skills/test_list_skill_resources.py:79
Method
test_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
Method
test_individual_checks_toggleable
(self)
tests/resources/test_resource_security.py:126
Method
test_infer_composite_client
(self)
tests/client/client/test_transport.py:113
Method
test_infer_fastmcp_server
FastMCP server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:131
Method
test_infer_fastmcp_v1_server
FastMCP 1.0 server instances should infer to FastMCPTransport.
tests/client/client/test_transport.py:136
Method
test_infer_local_transport_from_config
(self)
tests/client/client/test_transport.py:86
Method
test_infer_remote_transport_from_config
(self)
tests/client/client/test_transport.py:71
Method
test_infinity_scalar_raises
(self)
tests/tools/tool/test_nonfinite_serialization.py:33
Method
test_inherit_default_on_template
(self)
tests/resources/test_resource_security.py:314
Method
test_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:41
Method
test_init
Test initialization.
tests/server/middleware/test_rate_limiting.py:138
Method
test_init
Test RemoteAuthProvider initialization.
tests/server/auth/test_remote_auth_provider.py:26
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:48
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_error_handling.py:338
Method
test_init_custom
Test custom interval initialization.
tests/server/middleware/test_ping.py:25
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_timing.py:39
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_logging.py:100
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:250
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:437
Method
test_init_custom
Test custom initialization.
tests/server/middleware/test_rate_limiting.py:497
Method
test_init_custom_parameters
Test initialization with custom parameters.
tests/server/auth/test_debug_verifier.py:20
Method
test_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:39
Method
test_init_default
Test default initialization.
tests/server/middleware/test_error_handling.py:328
Method
test_init_default
Test default initialization.
tests/server/middleware/test_ping.py:19
Method
test_init_default
Test default initialization.
tests/server/middleware/test_timing.py:33
Method
test_init_default
Test default initialization.
tests/server/middleware/test_timing.py:72
Method
test_init_default
Test default initialization.
tests/server/middleware/test_logging.py:89
Method
test_init_default
Test default initialization.
tests/server/middleware/test_logging.py:224
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:208
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:430
Method
test_init_default
Test default initialization.
tests/server/middleware/test_rate_limiting.py:491
Method
test_init_defaults
Test initialization with default parameters.
tests/server/auth/test_debug_verifier.py:11
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_clerk.py:56
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_auth0.py:77
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_google.py:57
Method
test_init_defaults
Test that default values are applied correctly.
tests/server/auth/providers/test_discord.py:36
← previous
next →
10,901–11,000 of 16,725, ranked by callers