MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functiontest_background_task_runs_the_injected_tool_when_its_name_is_shared
()
tests/tasks/server/test_task_middleware.py:61
Functiontest_background_task_runs_the_injected_tool_when_registered_tool_is_not_task_capable
()
tests/tasks/server/test_task_middleware.py:111
Functiontest_background_task_runs_the_injected_tool_when_signatures_differ
()
tests/tasks/server/test_task_middleware.py:86
Functiontest_background_task_snapshot_preserves_all_request_headers
The task snapshot preserves every request header, including authorization.
tests/server/http/test_http_dependencies.py:268
Methodtest_background_task_without_session_level_sends_all
When no per-session level is registered, background-task logs fall back to the server default (which allows everything by default).
tests/tasks/server/test_context_background_task.py:225
Functiontest_background_tool_receives_custom_depends
Background tools can use Depends() with custom functions.
tests/tasks/server/test_task_dependencies.py:105
Functiontest_background_tool_receives_docket_dependency
Background tools can use CurrentDocket() and it resolves in the worker.
tests/tasks/server/test_task_dependencies.py:73
Functiontest_background_tool_receives_server_dependency
Background tools can use CurrentFastMCP() and get the actual server.
tests/tasks/server/test_task_dependencies.py:87
Functiontest_background_tool_resolves_bare_call_argument
A bare CallArgument resolves from the tool's arguments in a worker. Regression guard for the pydocket-floor split caught in #4802 review: pyd
tests/tasks/server/test_task_dependencies.py:280
Functiontest_background_tool_resolves_call_argument_binding
A Depends(..., param=CallArgument("name")) binding resolves in a worker.
tests/tasks/server/test_task_dependencies.py:307
Functiontest_background_tool_with_multiple_dependencies
Background tools can have multiple dependencies injected at once.
tests/tasks/server/test_task_dependencies.py:123
Functiontest_backward_compat_context_still_works
Test that existing Context injection via type annotation still works.
tests/server/test_dependencies.py:180
Methodtest_backwards_compatibility_asynccontextmanager
Test that existing @asynccontextmanager lifespans still work.
tests/server/test_server_lifespan.py:307
Methodtest_backwards_compatibility_descope_base_url_without_scheme
Test that descope_base_url without scheme gets https:// prefix added.
tests/server/auth/providers/test_descope.py:333
Methodtest_backwards_compatibility_with_project_id_and_descope_base_url
Test backwards compatibility with old API using project_id and descope_base_url.
tests/server/auth/providers/test_descope.py:311
Methodtest_bad_url_raises_error
Test default configuration with bad URL setting.
tests/server/auth/test_oidc_proxy.py:304
Methodtest_bare_aliased_input_required_suppresses_schema
A bare aliased guard return (`-> _AliasedAskArm` where the alias is `InputRequiredResult`) is de-aliased so downstream suppression applies,
tests/server/test_mrtr_guards.py:229
Functiontest_bare_call_argument_reads_tool_parameter
A bare CallArgument takes the value of the same-named tool parameter.
tests/server/test_call_arguments.py:17
Methodtest_bare_component
(self)
tests/test_apps_prefab.py:50
Methodtest_bare_dotdot_encoded
Bare '..' must be encoded so urljoin doesn't resolve it as traversal.
tests/utilities/openapi/test_director.py:1222
Methodtest_bare_input_required_return_suppresses_schema
(self)
tests/server/test_mrtr_guards.py:256
Methodtest_bare_input_required_subclass_suppresses_schema
A bare `InputRequiredResult` *subclass* is subclass-aware suppressed, matching `run()`'s isinstance handling, so no output schema is emitted
tests/server/test_mrtr_guards.py:217
Methodtest_bare_name
(self)
tests/cli/test_generate_cli.py:390
Methodtest_bare_name_resolves
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:678
Methodtest_bare_schema_name_mapping_resolves
Mapping values may be schema names, not just references.
tests/server/providers/openapi/test_openapi_discriminator.py:221
Methodtest_bare_single_dot_encoded
Bare '.' must be encoded so urljoin doesn't normalize it away.
tests/utilities/openapi/test_director.py:1215
Functiontest_bare_slim_import_needs_only_mcp_types
A bare `fastmcp-slim` install ships `mcp-types` but not the full `mcp` SDK. `mcp-types` is a core dependency (it only pulls pydantic + typing-ext
tests/client/test_slim_package_boundaries.py:68
Methodtest_bare_traceparent
(self, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_module.py:55
Methodtest_bare_tracestate
(self, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_module.py:61
Methodtest_base_authority_azure_government
Test Azure Government endpoints with login.microsoftonline.us.
tests/server/auth/providers/test_azure.py:497
Methodtest_base_authority_defaults_to_public_cloud
Test that base_authority defaults to login.microsoftonline.com.
tests/server/auth/providers/test_azure.py:467
Methodtest_base_authority_from_parameter
Test that base_authority can be set via parameter.
tests/server/auth/providers/test_azure.py:528
Methodtest_base_authority_with_special_tenant_values
Test that base_authority works with special tenant values like 'organizations'.
tests/server/auth/providers/test_azure.py:559
Methodtest_base_class_has_empty_prefix
Test that FastMCPComponent has empty KEY_PREFIX.
tests/utilities/test_components.py:193
Methodtest_base_model_return_annotation
(self)
tests/tools/tool/test_output_schema.py:186
Methodtest_base_url_configurations
Test different base_url configurations.
tests/server/auth/test_remote_auth_provider.py:316
Methodtest_base_url_from_server
(self)
tests/server/auth/test_multi_auth.py:64
Methodtest_base_url_override
(self)
tests/server/auth/test_multi_auth.py:74
Methodtest_basemodel_conversion
Test handling of BaseModel types.
tests/resources/test_resource_template.py:245
Methodtest_basemodel_return_raises_type_error
Returning BaseModel from read() raises TypeError - use ResourceResult.
tests/resources/test_function_resources.py:103
Methodtest_basic
(self)
tests/cli/test_goose.py:40
Methodtest_basic
(self, mock_process, mock_install)
tests/cli/test_goose.py:279
Methodtest_basic
(self)
tests/utilities/test_docstring_parsing.py:14
Methodtest_basic
(self)
tests/utilities/test_docstring_parsing.py:112
Methodtest_basic
(self)
tests/utilities/test_docstring_parsing.py:153
Methodtest_basic_context_transformation
Test basic Context type annotation is transformed.
tests/server/test_dependencies_advanced.py:71
Methodtest_basic_deeplink
(self)
tests/cli/test_goose.py:82
Methodtest_basic_fn
(self)
tests/prompts/test_prompt.py:16
Methodtest_basic_frontmatter
(self)
tests/server/providers/test_skills_provider.py:27
Methodtest_basic_function
Test registering and running a basic function.
tests/tools/tool/test_tool.py:19
Methodtest_basic_initialization
Test basic proxy initialization with required parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:23
Functiontest_basic_json_schema
Test JSON schema generation for a simple function
tests/utilities/test_typeadapter.py:222
Methodtest_basic_key_value
(self)
tests/cli/test_client_commands.py:105
Methodtest_basic_parameter_creation
Test creating a basic parameter.
tests/utilities/openapi/test_models.py:19
Methodtest_basic_ranking
(self)
tests/server/transforms/test_search.py:417
Methodtest_basic_request_body
Test creating a basic request body.
tests/utilities/openapi/test_models.py:94
Methodtest_basic_response
Test creating a basic response.
tests/utilities/openapi/test_models.py:156
Methodtest_basic_route_creation
Test creating a basic HTTP route.
tests/utilities/openapi/test_models.py:193
Methodtest_basic_store_and_list
(self)
tests/apps/test_file_upload.py:52
Methodtest_basic_subclass_check
Test that a subclass is recognized as a member of the base class.
tests/utilities/test_types.py:34
Methodtest_basic_tool_resource_prompt_server
(self)
tests/test_upgrade_from_v3.py:70
Functiontest_batch_credits_missing_reporters_and_reuses_maintainer_permission
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:80
Functiontest_batch_file_runs_with_absolute_cmd_path
( run: Mock, monkeypatch: pytest.MonkeyPatch, comspec: str | None, expected: str )
tests/cli/test_install_cli_arguments.py:484
Methodtest_batch_wrapper_detection_ignores_case
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:358
Methodtest_batch_wrapper_receives_literal_arguments
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_install_cli_arguments.py:322
Methodtest_batch_wrapper_rejects_line_break
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:407
Methodtest_bearer_auth
(self)
tests/server/auth/test_jwt_provider_bearer.py:480
Methodtest_bearer_auth_backend_authenticate_with_invalid_token
Test BearerAuthBackend authentication with invalid token.
tests/server/http/test_bearer_auth_backend.py:64
Methodtest_bearer_auth_backend_authenticate_with_no_header
Test BearerAuthBackend authentication with no Authorization header.
tests/server/http/test_bearer_auth_backend.py:80
Methodtest_bearer_auth_backend_authenticate_with_non_bearer_token
Test BearerAuthBackend authentication with non-Bearer token.
tests/server/http/test_bearer_auth_backend.py:96
Methodtest_bearer_auth_backend_authenticate_with_valid_token
Test BearerAuthBackend authentication with valid token.
tests/server/http/test_bearer_auth_backend.py:42
Methodtest_bearer_auth_backend_constructor_accepts_token_verifier
Test that BearerAuthBackend constructor accepts TokenVerifier.
tests/server/http/test_bearer_auth_backend.py:33
Methodtest_binary_content_to_mcp
Test converting binary ResourceContent to MCP type.
tests/resources/test_function_resources.py:267
Methodtest_binary_only_content_serialized
Test that binary-only responses fall back to serialized content.
tests/server/middleware/test_response_limiting.py:129
Methodtest_bind_creates_token_storage
(self)
tests/client/auth/test_oauth_cimd.py:100
Methodtest_bind_idempotent
Second call to _bind is a no-op.
tests/client/auth/test_oauth_cimd.py:82
Methodtest_bind_is_idempotent
(self)
tests/client/auth/test_client_credentials.py:146
Methodtest_bind_sets_bound_true
(self)
tests/client/auth/test_oauth_cimd.py:74
Methodtest_bind_sets_mcp_url
(self)
tests/client/auth/test_oauth_cimd.py:92
Methodtest_binding_at_construction
(self)
tests/client/auth/test_client_credentials.py:139
Functiontest_binding_replaces_factory_depends_default
A binding replaces the factory's own Depends default, which never runs.
tests/server/test_call_arguments.py:80
Methodtest_blocks_access_when_tag_present_without_scope
(self)
tests/server/auth/test_authorization.py:263
Methodtest_blocks_access_when_tag_present_without_token
(self)
tests/server/auth/test_authorization.py:256
Methodtest_body_construction_multiple_properties_non_object_schema
Test body construction with multiple properties but non-object schema.
tests/utilities/openapi/test_director.py:367
Methodtest_body_construction_single_value
Test body construction when body schema is not an object.
tests/utilities/openapi/test_director.py:343
Functiontest_body_names_preserve_required_query_parameters
( body_schema: dict[str, Any] | None, param_name: str, body_name: str | None )
tests/utilities/openapi/test_schemas.py:56
Methodtest_body_only_no_parameters
Test schema generation with only request body, no parameters.
tests/utilities/openapi/test_legacy_compatibility.py:198
Methodtest_bool_coercion
Test boolean type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:81
Methodtest_boolean_accepts_boolean
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:89
Methodtest_boolean_accepts_boolean_strings
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:94
Methodtest_boolean_coercion
Test boolean value coercion.
tests/server/test_input_validation.py:399
Methodtest_boolean_const_invalid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:258
Methodtest_boolean_const_valid
(self, boolean_const)
tests/utilities/json_schema_type/test_advanced.py:254
Methodtest_boolean_default_preserved
Test that boolean defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:441
Methodtest_boolean_false_variants
(self)
tests/cli/test_client_commands.py:60
Methodtest_boolean_invalid
(self)
tests/cli/test_client_commands.py:64
Methodtest_boolean_param_no_value_placeholder
(self)
tests/cli/test_generate_cli.py:897
Methodtest_boolean_rejects_invalid_string
(self, simple_boolean)
tests/utilities/json_schema_type/test_json_schema_type.py:101
Methodtest_boolean_schema_false
Boolean schema False should return an unsatisfiable type.
tests/utilities/json_schema_type/test_json_schema_type.py:253
Methodtest_boolean_schema_in_object_with_additional_properties
Boolean property schemas work alongside additionalProperties=True.
tests/utilities/json_schema_type/test_json_schema_type.py:147
← previousnext →6,501–6,600 of 13,374, ranked by callers