MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodtest_current_access_token_excluded_from_tool_schema
Test that CurrentAccessToken dependency is excluded from tool schema.
tests/server/test_dependencies.py:965
Methodtest_current_access_token_exported_from_all
Test that CurrentAccessToken is exported from __all__.
tests/server/test_dependencies.py:1002
Methodtest_current_access_token_is_dependency
Test that CurrentAccessToken is a Dependency instance.
tests/server/test_dependencies.py:931
Methodtest_current_access_token_is_importable
Test that CurrentAccessToken can be imported.
tests/server/test_dependencies.py:919
Methodtest_current_access_token_raises_without_token
Test that CurrentAccessToken raises when no token is available.
tests/server/test_dependencies.py:949
Functiontest_current_context_and_legacy_context_coexist
Test that CurrentContext dependency and legacy Context injection work together.
tests/server/test_dependencies.py:162
Functiontest_current_context_dependency
Test that CurrentContext dependency provides access to FastMCP Context.
tests/server/test_dependencies.py:149
Functiontest_current_docket
CurrentDocket dependency provides access to Docket instance.
tests/server/test_server_docket.py:34
Methodtest_current_fastmcp_resolves_to_child_server
(self)
tests/tasks/server/test_task_mount.py:238
Functiontest_current_headers_still_exposes_cookie
CurrentHeaders() reads the request, so credentials stay visible. The default denylist protects call sites that forward headers upstream. A ha
tests/server/http/test_http_dependencies.py:202
Methodtest_current_principal_encodes_triple
(self)
tests/server/test_sessions.py:65
Methodtest_current_principal_none_without_auth
(self)
tests/server/test_sessions.py:62
Functiontest_current_worker
CurrentWorker dependency provides access to Worker instance.
tests/server/test_server_docket.py:54
Methodtest_cursor_basic
Test basic cursor install command parsing.
tests/cli/test_install.py:166
Methodtest_cursor_command_basic
Test basic cursor command execution.
tests/cli/test_cursor.py:403
Methodtest_cursor_command_failure
Test cursor command when installation fails.
tests/cli/test_cursor.py:433
Methodtest_cursor_skills_provider_path
Test CursorSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:22
Methodtest_cursor_with_options
Test cursor install with options.
tests/cli/test_install.py:176
Methodtest_custom_auth_route
(self)
tests/server/auth/providers/test_supabase.py:139
Methodtest_custom_auth_route_trailing_slash
(self)
tests/server/auth/providers/test_supabase.py:153
Methodtest_custom_base_authority_for_gov_cloud
(self)
tests/server/auth/providers/test_azure_scopes.py:561
Methodtest_custom_button_text
(self)
tests/apps/test_approval.py:40
Methodtest_custom_cache_settings
Test that cache settings can be customized.
tests/server/auth/providers/test_introspection.py:562
Methodtest_custom_client_identification
Test rate limiting with custom client identification.
tests/server/middleware/test_rate_limiting.py:559
Functiontest_custom_clone_can_reconstruct_non_copyable_configuration
()
tests/server/test_provider_extensions.py:520
Methodtest_custom_content_type_preserves_other_headers
Custom content type doesn't clobber other headers from parameters.
tests/utilities/openapi/test_director.py:527
Methodtest_custom_csp_policy_is_used
Test that custom CSP policy is applied to consent page.
tests/server/auth/test_oauth_consent_page.py:408
Methodtest_custom_default_code
(self)
tests/test_exceptions.py:46
Methodtest_custom_description
(self)
tests/cli/test_goose.py:139
Methodtest_custom_error_codes_are_not_logged
(self, caplog)
tests/server/test_input_validation.py:550
Functiontest_custom_fn_with_kwargs_and_no_transform_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:417
Functiontest_custom_headers
Mirrors an argument into an `Mcp-Param-Message` header (SEP-2243). The annotation is what makes the header recognized; the transport compares
tests/conformance/server.py:363
Methodtest_custom_identifier_uri
(self)
tests/server/auth/providers/test_azure_scopes.py:552
Methodtest_custom_issuer_url
Test that a custom issuer_url is used when provided.
tests/server/auth/providers/test_clerk.py:185
Methodtest_custom_json_content_type_with_dict_body
Any non-standard JSON content type gets the correct header.
tests/utilities/openapi/test_director.py:471
Methodtest_custom_lambda_check
(self)
tests/server/auth/test_authorization.py:310
Methodtest_custom_max_rounds
(self)
tests/client/client/test_input_required_driver.py:88
Functiontest_custom_method_callable_end_to_end
()
tests/server/test_extensions.py:125
Methodtest_custom_mime_type
Custom mime type overrides default.
tests/resources/test_resources.py:162
Methodtest_custom_name
(self)
tests/apps/test_choice.py:24
Methodtest_custom_name
(self)
tests/apps/test_file_upload.py:129
Methodtest_custom_name
(self)
tests/apps/test_approval.py:33
Methodtest_custom_path_is_used
(self)
tests/utilities/test_asgi_transport.py:197
Methodtest_custom_patterns
Test validation with custom pattern list.
tests/server/auth/test_redirect_validation.py:351
Methodtest_custom_patterns
Test custom redirect URI patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:107
Methodtest_custom_patterns_cannot_allow_unsafe_browser_schemes
Unsafe browser schemes stay blocked even if a pattern names them.
tests/server/auth/test_redirect_validation.py:339
Methodtest_custom_poll_interval_preserved
Custom poll_interval should be preserved in TaskConfig.
tests/tasks/server/test_task_config.py:314
Methodtest_custom_route_after_component_manager_stays_reachable
( self, rsa_key_pair: RSAKeyPair )
tests/contrib/test_component_manager.py:948
Methodtest_custom_routes_apply_filtering_http_app
Test that custom routes are included when using server.http_app().
tests/server/http/test_custom_routes.py:22
Methodtest_custom_routes_via_sse_app_direct
Test that custom routes are included when using create_sse_app directly.
tests/server/http/test_custom_routes.py:54
Methodtest_custom_routes_via_streamable_http_app_direct
Test that custom routes are included when using create_streamable_http_app directly.
tests/server/http/test_custom_routes.py:36
Methodtest_custom_scopes
Test that custom scopes are accepted.
tests/server/auth/providers/test_clerk.py:108
Methodtest_custom_security_without_stable_audience_warns
A supplied policy with neither an explicit audience nor a stable server name warns (shared keys across replicas would stamp per-replica
tests/server/test_mrtr_guards.py:1083
Methodtest_custom_storage
Subclassing lets users provide their own persistence.
tests/apps/test_file_upload.py:191
Methodtest_custom_store_builds_cache
(self)
tests/client/client/test_kv_response_cache.py:222
Methodtest_custom_store_requires_target_id
A custom shared store cannot derive an identity from a FastMCP transport.
tests/client/client/test_response_cache.py:63
Methodtest_custom_store_without_partition_raises
The SDK requires an explicit partition for any custom store.
tests/client/client/test_kv_response_cache.py:217
Methodtest_custom_store_without_target_id_raises
FastMCP requires a target_id for a custom shared store on an in-memory transport.
tests/client/client/test_kv_response_cache.py:211
Methodtest_custom_title
(self)
tests/apps/test_choice.py:31
Methodtest_custom_token_verifier_audience_not_overwritten
If the caller supplies their own verifier, we treat its audience as intentional and do not touch it.
tests/server/auth/providers/test_workos.py:308
Methodtest_custom_token_verifier_initialization
Test initialization with custom token verifier.
tests/server/auth/test_oidc_proxy.py:658
Methodtest_custom_token_verifier_not_replaced
(self, valid_oidc_configuration_dict)
tests/server/auth/providers/test_auth0_mcp.py:117
Methodtest_custom_token_verifier_scopes_skip_discovery
Scopes supplied by a custom verifier retain the parent behavior.
tests/server/auth/providers/test_descope.py:286
Methodtest_custom_token_verifier_with_algorithm_raises_error
Test that providing algorithm with custom verifier raises error.
tests/server/auth/test_oidc_proxy.py:694
Methodtest_custom_token_verifier_with_audience_allowed
Test that providing audience with custom verifier is allowed (for OAuth flow).
tests/server/auth/test_oidc_proxy.py:758
Methodtest_custom_token_verifier_with_required_scopes_raises_error
Test that providing required_scopes with custom verifier raises error.
tests/server/auth/test_oidc_proxy.py:726
Functiontest_custom_tool_background_execution
Custom tool executes as a background task when opted in.
tests/tasks/server/test_custom_subclass_tasks.py:110
Functiontest_custom_tool_forbidden_does_not_register
A forbidden custom tool does not register with Docket.
tests/tasks/server/test_custom_subclass_tasks.py:204
Functiontest_custom_tool_forbidden_rejects_task
A forbidden tool runs synchronously even when the client opts in.
tests/tasks/server/test_custom_subclass_tasks.py:139
Functiontest_custom_tool_forbidden_sync_only
Custom tool with forbidden mode executes synchronously.
tests/tasks/server/test_custom_subclass_tasks.py:130
Methodtest_custom_tool_name
(self)
tests/apps/test_form.py:46
Methodtest_custom_tool_names
(self)
tests/server/transforms/test_search.py:126
Functiontest_custom_tool_raising_generic_error_is_masked
A custom Tool's non-FastMCP exception is masked, like the sync path. A base `Tool` subclass must route through the same error conversion as a
tests/tasks/server/test_custom_subclass_tasks.py:169
Functiontest_custom_tool_raising_tool_error_completes_with_is_error
A custom Tool that raises `ToolError` is a completed, is_error task. Same contract as a raising `FunctionTool`: a raised tool error is a comp
tests/tasks/server/test_custom_subclass_tasks.py:148
Functiontest_custom_tool_registers_with_docket
A task-capable custom tool registers its `run` entry point with Docket.
tests/tasks/server/test_custom_subclass_tasks.py:192
Functiontest_custom_tool_sync_execution
Custom tool executes synchronously without a tasks opt-in.
tests/tasks/server/test_custom_subclass_tasks.py:103
Functiontest_custom_tool_with_arguments
Custom tool receives arguments correctly in background execution.
tests/tasks/server/test_custom_subclass_tasks.py:120
Methodtest_custom_truncation_suffix
Test that custom truncation suffix is applied.
tests/server/middleware/test_response_limiting.py:96
Methodtest_custom_type_conversion
Test handling of custom types.
tests/resources/test_resource_template.py:273
Methodtest_custom_type_return_raises_type_error
Returning custom type from read() raises TypeError - use ResourceResult.
tests/resources/test_function_resources.py:122
Methodtest_custom_verifier_audience_not_overwritten
( self, valid_oidc_configuration_dict )
tests/server/auth/providers/test_auth0_mcp.py:177
Methodtest_cwd_path_resolution
Test that working directory is resolved relative to config.
tests/cli/test_mcp_server_config_integration.py:195
Methodtest_cycling_cursors_terminates
list_tools should stop if the server cycles through a set of cursors.
tests/server/test_pagination.py:522
Functiontest_daily_history_keeps_zero_days_and_utc_boundaries
(status_module)
tests/test_maintenance_status.py:133
Methodtest_dangerous_characters_encoded
(self)
tests/cli/test_goose.py:117
Methodtest_data_parsed_on_terminal_result_only
`.data` deserialization runs on the resolved terminal result, never on the intermediate InputRequiredResult.
tests/client/client/test_input_required_driver.py:120
Methodtest_data_uri_icon
Test using data URIs for icons.
tests/server/test_icons.py:298
Methodtest_data_uri_icons
Test that data URI icons are extracted correctly.
tests/utilities/test_inspect_icons.py:240
Methodtest_dataclass_return_annotation
(self)
tests/tools/tool/test_output_schema.py:171
Methodtest_dataclass_return_creates_structured_content_without_schema
Test that dataclass returns automatically create structured content even without output schema.
tests/tools/tool/test_content.py:267
Methodtest_dataclass_union_string_works
Test that union of dataclass and string works correctly.
tests/tools/tool/test_results.py:168
Methodtest_date_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:358
Methodtest_date_type_parse_string
(self)
tests/server/providers/local_provider_tools/test_parameters.py:370
Methodtest_date_versions
Works with date-based versions like '2025-01-15'.
tests/server/versioning/test_filtering.py:175
Methodtest_datetime
(self)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:98
Methodtest_datetime_invalid
(self, datetime_format)
tests/utilities/json_schema_type/test_formats.py:58
Methodtest_datetime_type
(self)
tests/server/providers/local_provider_tools/test_parameters.py:324
Methodtest_datetime_type_error
(self)
tests/server/providers/local_provider_tools/test_parameters.py:346
Methodtest_datetime_type_parse_string
(self)
tests/server/providers/local_provider_tools/test_parameters.py:336
Methodtest_datetime_valid
(self, datetime_format)
tests/utilities/json_schema_type/test_formats.py:53
← previousnext →7,301–7,400 of 13,374, ranked by callers