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_prompt_tagged_by_transform_is_denied_without_scope
(self)
tests/server/auth/test_authorization.py:1633
Method
test_prompt_tags_in_meta
Test that prompt tags appear in meta under fastmcp key.
tests/server/test_server.py:344
Method
test_prompt_toggle_disabled
(self)
tests/server/providers/test_local_provider_prompts.py:375
Method
test_prompt_toggle_enabled
(self)
tests/server/providers/test_local_provider_prompts.py:360
Method
test_prompt_valid_kwargs_match_from_function
(self)
tests/contrib/test_mcp_mixin.py:419
Method
test_prompt_versions_in_meta
Each version has its own version in metadata.
tests/server/versioning/test_calls.py:139
Method
test_prompt_with_all_metadata
@prompt with all metadata should store it all.
tests/prompts/test_standalone_decorator.py:70
Function
test_prompt_with_arguments
A prompt that accepts arguments.
tests/conformance/server.py:804
Method
test_prompt_with_both_name_args_raises
@prompt should raise if both positional and keyword name are given.
tests/prompts/test_standalone_decorator.py:131
Function
test_prompt_with_context_and_dependency
Test that prompts can use both Context and Depends.
tests/server/test_dependencies.py:310
Method
test_prompt_with_custom_name_registers
Prompt with custom name should register under that name.
tests/server/providers/test_local_provider.py:531
Function
test_prompt_with_dependency
Test that prompts support dependency injection.
tests/server/test_dependencies.py:292
Function
test_prompt_with_embedded_resource
A prompt that returns an embedded resource.
tests/conformance/server.py:810
Method
test_prompt_with_empty_parens
@prompt() with empty parentheses should attach metadata.
tests/prompts/test_standalone_decorator.py:34
Method
test_prompt_with_icons
Test that prompts can have icons.
tests/server/test_icons.py:220
Function
test_prompt_with_image
A prompt that returns an image.
tests/conformance/server.py:827
Method
test_prompt_with_name_arg
@prompt("name") with name as first arg should work.
tests/prompts/test_standalone_decorator.py:46
Method
test_prompt_with_name_kwarg
@prompt(name="name") with keyword arg should work.
tests/prompts/test_standalone_decorator.py:58
Method
test_prompt_with_title_and_meta
Test that title and meta arguments are properly passed through for prompts.
tests/contrib/test_mcp_mixin.py:325
Method
test_prompt_with_version
Prompt version should work like tool version.
tests/server/versioning/test_versioning.py:345
Method
test_prompt_without_icons
Test that prompts work without icons.
tests/server/test_icons.py:252
Method
test_prompt_without_parens
@prompt without parentheses should attach metadata.
tests/prompts/test_standalone_decorator.py:21
Method
test_promptresult_from_message_list
Test PromptResult accepts list of Messages.
tests/prompts/test_prompt.py:832
Method
test_promptresult_from_string
Test PromptResult accepts string and wraps as Message.
tests/prompts/test_prompt.py:822
Method
test_promptresult_rejects_dict
Test PromptResult rejects dict.
tests/prompts/test_prompt.py:849
Method
test_promptresult_rejects_single_message
Test PromptResult rejects single Message (must be in list).
tests/prompts/test_prompt.py:844
Method
test_promptresult_to_mcp
Test conversion to MCP GetPromptResult.
tests/prompts/test_prompt.py:866
Method
test_promptresult_with_description
Test PromptResult with description field.
tests/prompts/test_prompt.py:861
Method
test_promptresult_with_meta
Test PromptResult with meta field.
tests/prompts/test_prompt.py:854
Method
test_prompts_constant_cursor_terminates
list_prompts should stop if the server always returns the same cursor.
tests/server/test_pagination.py:433
Method
test_prompts_filtered
Prompts are filtered by version.
tests/server/versioning/test_filtering.py:338
Method
test_prompts_list_carries_hint
(self)
tests/server/test_cache_hints.py:89
Method
test_prompts_pagination_returns_all_prompts
Client should receive all prompts across paginated requests.
tests/server/test_pagination.py:290
Method
test_prompts_raises_on_auto_pagination_limit
list_prompts should raise RuntimeError after exceeding max_pages.
tests/server/test_pagination.py:618
Function
test_propagated_interceptor_runs_once_with_root_configuration
(enabled: bool)
tests/server/test_provider_extensions.py:673
Method
test_propagates_to_server
(self)
tests/server/auth/test_multi_auth.py:750
Method
test_propagates_to_verifiers
(self)
tests/server/auth/test_multi_auth.py:761
Method
test_propagation_only_parents_downstream_user_spans
( self, mode, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_interop.py:203
Method
test_propagation_only_still_injects
( self, mode, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_interop.py:190
Method
test_propagation_only_without_incoming_trace
With no surrounding client span there is no incoming trace. The call must still succeed and emit no FastMCP spans.
tests/telemetry/test_interop.py:236
Method
test_properties_none_after_disconnect
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:289
Method
test_properties_none_before_connect
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:282
Method
test_properties_with_additional_accepts_extra_fields
Test that BaseModel with extra='allow' accepts additional properties
tests/utilities/json_schema_type/test_advanced.py:1275
Method
test_properties_with_additional_returns_basemodel
Test that schema with properties + additionalProperties=True returns BaseModel
tests/utilities/json_schema_type/test_advanced.py:1269
Method
test_properties_with_additional_validates_known_fields
Test that BaseModel still validates known fields
tests/utilities/json_schema_type/test_advanced.py:1298
Method
test_properties_without_additional_ignores_extra_fields
Test that dataclass ignores extra properties (current behavior)
tests/utilities/json_schema_type/test_advanced.py:1321
Method
test_properties_without_additional_is_dataclass
Test that schema with properties but no additionalProperties returns dataclass
tests/utilities/json_schema_type/test_advanced.py:1314
Method
test_property_level_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:958
Method
test_property_level_nullable_enum
Test nullable enum in object properties.
tests/utilities/openapi/test_nullable_fields.py:318
Method
test_property_level_nullable_fields
Test nullable fields in properties.
tests/utilities/openapi/test_nullable_fields.py:40
Method
test_property_level_oneof_with_nullable
Test nullable handling with oneOf in properties.
tests/utilities/openapi/test_nullable_fields.py:243
Method
test_property_level_union_with_nullable
Test nullable handling with union types in properties.
tests/utilities/openapi/test_nullable_fields.py:169
Function
test_property_referencing_write_only_schema_is_excluded
( password: dict[str, Any], )
tests/server/providers/openapi/test_write_only_responses.py:299
Method
test_propertyless_variant_is_still_named
A variant adding no fields remains a legal discriminator value.
tests/server/providers/openapi/test_openapi_discriminator.py:258
Method
test_prose_without_sections_unchanged_no_params
(self)
tests/utilities/test_docstring_parsing.py:345
Method
test_protected_resource_metadata
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:372
Method
test_protected_resource_metadata_endpoint_authorization_servers_field
Test that the protected resource metadata endpoint returns correct authorization_servers field.
tests/server/auth/test_remote_auth_provider.py:291
Method
test_protected_resource_metadata_endpoint_resource_field
Test that the protected resource metadata endpoint returns correct resource field.
tests/server/auth/test_remote_auth_provider.py:273
Method
test_protected_resource_metadata_endpoint_status_code
Test that the protected resource metadata endpoint returns 200.
tests/server/auth/test_remote_auth_provider.py:258
Method
test_protected_resource_metadata_points_at_base_url
(self)
tests/server/auth/test_issuer_url_identity.py:244
Method
test_protected_resource_metadata_points_at_issuer_url
(self)
tests/server/auth/test_issuer_url_identity.py:114
Method
test_protected_resource_metadata_points_at_issuer_url
(self)
tests/server/auth/test_issuer_url_identity.py:270
Method
test_protected_resource_metadata_preserves_authkit_issuer
( self, authkit_domain: str )
tests/server/auth/providers/test_workos.py:349
Method
test_protected_resource_metadata_serves_discovered_scopes
The protected resource metadata endpoint advertises discovered scopes.
tests/server/auth/providers/test_descope.py:592
Function
test_protected_routes_report_a_rejected_credential
()
tests/cli/deploy/test_horizon_client.py:216
Function
test_protected_routes_require_a_credential
()
tests/cli/deploy/test_horizon_client.py:208
Function
test_protocol_error_fails_the_task_with_inlined_error
SEP-2663 reserves `failed` for protocol faults: an `MCPError` raised by the body is inlined as a JSON-RPC error rather than reported as a complete
tests/tasks/server/test_guard_reentrant.py:423
Function
test_provide_tool_annotations_as_dict_to_decorator
Test that tool annotations are correctly accessible via client API.
tests/server/test_tool_annotations.py:86
Method
test_provided_name_takes_precedence_over_uri
Test that provided name takes precedence over URI.
tests/resources/test_resources.py:56
Method
test_provided_output_schema_takes_precedence_over_complex_annotation
Test that provided output_schema takes precedence over inferred schema from complex annotation.
tests/tools/tool/test_output_schema.py:267
Method
test_provided_output_schema_takes_precedence_over_converted_annotation
Test that provided output_schema takes precedence over converted schema from Image/Audio/File annotations.
tests/tools/tool/test_output_schema.py:317
Method
test_provided_output_schema_takes_precedence_over_json_compatible_annotation
Test that provided output_schema takes precedence over inferred schema from JSON-compatible annotation.
tests/tools/tool/test_output_schema.py:253
Method
test_provided_output_schema_takes_precedence_over_no_annotation
Test that provided output_schema takes precedence over None schema from no annotation.
tests/tools/tool/test_output_schema.py:302
Method
test_provided_output_schema_takes_precedence_over_pydantic_annotation
Test that provided output_schema takes precedence over inferred schema from Pydantic model annotation.
tests/tools/tool/test_output_schema.py:346
Method
test_provided_output_schema_takes_precedence_over_union_annotation
Test that provided output_schema takes precedence over inferred schema from union annotation.
tests/tools/tool/test_output_schema.py:334
Method
test_provided_output_schema_takes_precedence_over_unserializable_annotation
Test that provided output_schema takes precedence over None schema from unserializable annotation.
tests/tools/tool/test_output_schema.py:281
Function
test_provider_add_transform_drops_seeded_schemas
()
tests/server/test_mcp_param_schema_cache.py:358
Function
test_provider_added_in_user_lifespan_is_discovered
()
tests/server/test_provider_extensions.py:310
Function
test_provider_and_url_credentials_are_rejected
()
tests/server/test_server_docket.py:211
Method
test_provider_creates_default_client_from_spec
Test that omitting client creates one from the spec's servers URL.
tests/server/providers/openapi/test_server.py:203
Method
test_provider_creates_tools_from_spec
Test that provider creates tools from OpenAPI spec.
tests/server/providers/openapi/test_server.py:167
Method
test_provider_default_client_requires_servers
Test that omitting client without servers in spec raises.
tests/server/providers/openapi/test_server.py:209
Method
test_provider_discovers_multiple_in_one_file
Provider should discover multiple components in one file.
tests/fs/test_provider.py:154
Method
test_provider_discovers_prompts
Provider should discover @prompt decorated functions.
tests/fs/test_provider.py:138
Method
test_provider_discovers_resource_templates
Provider should discover resource templates.
tests/fs/test_provider.py:122
Method
test_provider_discovers_resources
Provider should discover @resource decorated functions.
tests/fs/test_provider.py:106
Method
test_provider_discovers_tools
Provider should discover @tool decorated functions.
tests/fs/test_provider.py:86
Method
test_provider_empty_directory
Provider should work with empty directory.
tests/fs/test_provider.py:26
Method
test_provider_errors_can_raise
(self)
tests/server/providers/test_base_provider.py:108
Method
test_provider_errors_warn_by_default
(self)
tests/server/providers/test_base_provider.py:103
Method
test_provider_exposes_failed_files
Provider should expose import failures from the initial load.
tests/fs/test_provider.py:32
Method
test_provider_exposes_registration_failures
Provider should expose registration failures alongside import failures.
tests/fs/test_provider.py:48
Function
test_provider_forwards_identity_assertion
(provider: type, kwargs: dict)
tests/server/auth/providers/test_identity_assertion_forwarding.py:75
Function
test_provider_get_tool_override_applies_to_hashed_name
()
tests/server/test_hashed_tool_dispatch.py:267
Method
test_provider_initialization
Test provider initialization with OpenAPI spec.
tests/server/providers/openapi/test_server.py:148
Method
test_provider_initialization_performance
Test that provider initialization is fast (serverless requirement).
tests/server/providers/openapi/test_performance_comparison.py:169
Function
test_provider_level_search_keeps_hidden_task_tool
()
tests/tasks/server/test_task_catalog_transforms.py:59
Method
test_provider_lifespan_async_teardown_under_cancellation
Async operations in provider lifespan finally block complete when cancelled.
tests/server/test_server_lifespan.py:593
Method
test_provider_loads_all_settings_from_environment
Test that provider can be fully configured from environment.
tests/integration_tests/auth/test_keycloak_provider_integration.py:240
Method
test_provider_passes_cache_params
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_github.py:325
← previous
next →
12,601–12,700 of 15,974, ranked by callers