MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

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:227
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_backlog_cli_does_not_require_optional_triage
(backlog, tmp_path, monkeypatch)
tests/test_backlog_status.py:141
Methodtest_backslash_authority_application_type_rejected
(self, uri, application_type)
tests/server/auth/test_redirect_validation.py:934
Methodtest_backslash_authority_pattern_rejected
(self, uri, pattern)
tests/server/auth/test_redirect_validation.py:924
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:309
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
Functiontest_bad_signature_other_repo_and_unknown_events_write_nothing
(receiver)
tests/test_floor_receiver.py:108
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_context
(self, server: FastMCP)
tests/server/test_context.py:555
Methodtest_bare_dotdot_encoded
(self, director, path_route)
tests/utilities/openapi/test_director.py:1240
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:387
Methodtest_bare_name_resolves
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:806
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
(self, director, path_route)
tests/utilities/openapi/test_director.py:1236
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:84
Methodtest_bare_tracestate
(self, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_module.py:90
Methodtest_base64_value_is_unchanged
(self)
tests/server/providers/openapi/test_openapi_features.py:1742
Methodtest_base_authority_azure_government
Test Azure Government endpoints with login.microsoftonline.us.
tests/server/auth/providers/test_azure.py:561
Methodtest_base_authority_defaults_to_public_cloud
Test that base_authority defaults to login.microsoftonline.com.
tests/server/auth/providers/test_azure.py:531
Methodtest_base_authority_from_parameter
Test that base_authority can be set via parameter.
tests/server/auth/providers/test_azure.py:592
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:623
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:318
Methodtest_base_url_from_server
(self)
tests/server/auth/test_multi_auth.py:103
Methodtest_base_url_override
(self)
tests/server/auth/test_multi_auth.py:113
Methodtest_basemodel_conversion
Test handling of BaseModel types.
tests/resources/test_resource_template.py:268
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:16
Methodtest_basic
(self)
tests/utilities/test_docstring_parsing.py:114
Methodtest_basic
(self)
tests/utilities/test_docstring_parsing.py:155
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:41
Methodtest_basic_frontmatter
(self)
tests/server/providers/test_skills_provider.py:33
Methodtest_basic_function
Test registering and running a basic function.
tests/tools/tool/test_tool.py:21
Methodtest_basic_initialization
Test basic proxy initialization with required parameters.
tests/server/auth/oauth_proxy/test_oauth_proxy.py:24
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:242
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:495
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:35
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:508
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
Functiontest_bearer_auth_strings_still_resolve_per_transport
()
tests/client/transports/test_oauth_transport_reuse.py:89
Methodtest_bearer_token
(self, transport_cls: type)
tests/cli/test_generate_cli_remote.py:86
Methodtest_binary_content_to_mcp
Test converting binary ResourceContent to MCP type.
tests/resources/test_function_resources.py:267
Methodtest_binary_inferred_from_non_text_mime_type
A non-text MIME type reads as binary when is_binary is not set.
tests/resources/test_file_resources.py:154
Methodtest_binary_only_content_serialized
Test that binary-only responses fall back to serialized content.
tests/server/middleware/test_response_limiting.py:142
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:149
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:142
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:280
Methodtest_blocks_access_when_tag_present_without_token
(self)
tests/server/auth/test_authorization.py:273
Methodtest_bodiless_non_success_response_is_ignored
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:751
Functiontest_bodiless_success_call_succeeds_next_to_json_success
()
tests/server/providers/openapi/test_bodiless_success_responses.py:99
Functiontest_bodiless_success_response_drops_output_schema
( responses: dict[str, Any], validate_output: bool )
tests/server/providers/openapi/test_bodiless_success_responses.py:88
Methodtest_bodiless_success_response_next_to_json_success
( self, invitation: ResponseInfo, bodiless_code: str )
tests/utilities/openapi/test_schemas.py:735
Methodtest_body_construction_multiple_properties_non_object_schema
Test body construction with multiple properties but non-object schema.
tests/utilities/openapi/test_director.py:398
Methodtest_body_construction_scalar_raw_body
A numeric or boolean body for a non-JSON media type is sent as text.
tests/utilities/openapi/test_director.py:376
Methodtest_body_construction_single_value
Test body construction when body schema is not an object.
tests/utilities/openapi/test_director.py:342
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:58
Methodtest_body_only_no_parameters
Test schema generation with only request body, no parameters.
tests/utilities/openapi/test_legacy_compatibility.py:198
Methodtest_body_raised_timeout_error_is_not_reported_as_deadline
A TimeoutError raised by the tool body itself (e.g. socket.timeout) must surface as the tool's own error, not as the deadline firing.
tests/tools/test_tool_timeout.py:236
Methodtest_body_timeout_over_protocol
(self, mode)
tests/tools/test_tool_timeout.py:266
← previousnext →8,201–8,300 of 16,725, ranked by callers