MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_hyphenated_name
(self)
tests/cli/test_generate_cli.py:764
Methodtest_hyphenated_query_param_forwarded
(self)
tests/server/providers/proxy/test_proxy_server.py:831
Methodtest_hyphenated_query_param_not_double_encoded
(self)
tests/server/providers/proxy/test_proxy_server.py:852
Methodtest_hyphenated_template_end_to_end
Register and read a resource with hyphenated URI param names.
tests/resources/test_resource_template.py:1021
Methodtest_hyphens
(self)
tests/cli/test_generate_cli.py:97
Methodtest_icon_import
Test that Icon must be imported from mcp.types, not fastmcp.
tests/server/test_icons.py:357
Methodtest_icon_with_theme_round_trips
Test that an icon's theme survives a client round-trip.
tests/server/test_icons.py:333
Methodtest_icon_without_optional_fields
Test that icons work with only the src field.
tests/server/test_icons.py:316
Methodtest_icon_without_theme_is_none
Test that an icon with no theme specified round-trips as None.
tests/server/test_icons.py:343
Methodtest_icons_always_present_in_json
Test that icons and website_url fields are always present in JSON, even when None.
tests/utilities/test_inspect_icons.py:336
Methodtest_icons_in_fastmcp_v1
Test that icons are extracted from FastMCP 1.x servers.
tests/utilities/test_inspect_icons.py:260
Methodtest_icons_in_formatted_output
Test that icons appear in formatted JSON output.
tests/utilities/test_inspect_icons.py:300
Methodtest_id_is_none_without_a_public_id
(self)
tests/server/test_sessions.py:133
Methodtest_id_jag_marked_token_rejected_when_not_configured
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:910
Functiontest_id_jag_revocation_remains_local
( proxy: OAuthProxy, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_revocation.py:290
Methodtest_id_organizes_within_a_principal
(self)
tests/server/test_sessions.py:80
Methodtest_id_returns_the_public_id
(self)
tests/server/test_sessions.py:138
Functiontest_identical_discovery_configuration_is_cached
(discovery_document)
tests/server/auth/test_oidc_discovery_cache.py:36
Functiontest_identical_overlapping_property_stays_flat
()
tests/server/providers/openapi/test_body_ref_siblings.py:112
Functiontest_identical_root_reuses_class
(model: bool)
tests/utilities/json_schema_type/test_caching.py:65
Methodtest_identical_schemas_reuse_class
(self)
tests/utilities/json_schema_type/test_advanced.py:843
Methodtest_identifies_as_fastmcp_by_default
(self, mode: str)
tests/client/client/test_initialize.py:138
Methodtest_identity_assertion_audience_is_issuer_identifier
SEP-990: an ID-JAG is bound to the server's advertised issuer. RFC 7523 §3 requires the `aud` to identify the authorization server, a
tests/server/auth/test_issuer_url_identity.py:205
Functiontest_identity_assertion_is_public_provider_parameter
(provider: type)
tests/server/auth/providers/test_identity_assertion_forwarding.py:35
Methodtest_identity_hash_survives_the_proxy
(self)
tests/server/providers/test_prefab_roundtrip.py:242
Functiontest_identity_policy_forwards_full_implementation
( frontend_mode: str, identity: Literal["proxy", "upstream"] )
tests/server/providers/proxy/test_server_metadata.py:213
Functiontest_idle_session_is_terminated_after_timeout
(use_http_app: bool)
tests/server/http/test_session_idle_timeout.py:159
Functiontest_idle_timeout_can_be_disabled
(use_http_app: bool)
tests/server/http/test_session_idle_timeout.py:66
Methodtest_idp_callback_rejects_missing_consent_cookie
IdP callback must reject requests without the consent binding cookie. This is the core confused deputy scenario: a different browser (the vic
tests/server/auth/test_oauth_consent_page.py:796
Methodtest_idp_callback_rejects_missing_consent_token_on_transaction
IdP callback must reject when transaction has no consent_token set.
tests/server/auth/test_oauth_consent_page.py:847
Methodtest_idp_callback_rejects_wrong_consent_cookie
IdP callback must reject requests with a tampered consent binding cookie.
tests/server/auth/test_oauth_consent_page.py:825
Functiontest_ignore_pattern_matches_remote_namespaced_name_for_hashed_calls
()
tests/cli/test_fastmcp_remote.py:301
Functiontest_ignore_tools_transform_filters_matching_names
()
tests/cli/test_fastmcp_remote.py:257
Methodtest_ignored_duplicate_prompt_does_not_disable_the_existing_one
(self)
tests/server/providers/test_local_provider.py:688
Methodtest_ignored_duplicate_prompt_returns_the_existing_prompt
(self)
tests/server/providers/test_local_provider.py:631
Methodtest_ignored_duplicate_resource_does_not_disable_the_existing_one
(self)
tests/server/providers/test_local_provider.py:674
Methodtest_ignored_duplicate_resource_returns_the_existing_resource
(self)
tests/server/providers/test_local_provider.py:622
Methodtest_ignored_duplicate_template_returns_the_existing_template
(self)
tests/server/providers/test_local_provider.py:638
Methodtest_ignored_duplicate_tool_does_not_disable_the_existing_tool
(self)
tests/server/providers/test_local_provider.py:660
Methodtest_ignored_duplicate_tool_returns_the_existing_tool
(self)
tests/server/providers/test_local_provider.py:615
Functiontest_ignored_tool_is_unknown_by_listed_and_hashed_name
(pattern: str)
tests/cli/test_fastmcp_remote.py:284
Methodtest_ignores_error_responses
Only error responses (no 2xx) results in default.
tests/server/providers/openapi/test_openapi_features.py:531
Methodtest_ignores_non_dict_metadata
(self)
tests/utilities/test_components.py:272
Methodtest_image
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:110
Functiontest_image_content
Returns a PNG image.
tests/conformance/server.py:101
Functiontest_image_content_to_anthropic_block
()
tests/client/sampling/handlers/test_anthropic_handler.py:50
Functiontest_image_content_to_openai_part
()
tests/client/sampling/handlers/test_openai_handler.py:59
Functiontest_image_content_to_openai_part_unsupported_raises
()
tests/client/sampling/handlers/test_openai_handler.py:96
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:390
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_memory_modern_client
( self, server: tuple[FastMCP, PingMiddleware], caplog: pytest.LogCaptureFixture,
tests/server/middleware/test_ping.py:283
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:189
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
← previousnext →10,301–10,400 of 15,974, ranked by callers