MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_ci_get_multiple_names
Test with multiple possible names.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:45
Methodtest_ci_get_not_found
Test when key is not found.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:51
Functiontest_clamp_efficiency_time_span_unit
Direct unit coverage of the clamp helper (start-to-now limit) across edges.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1287
Methodtest_clamps_above_maximum
(self, mock_sleep, handler, ctx)
src/aws-transform-mcp-server/tests/test_adaptive_poll.py:76
Methodtest_clamps_below_minimum
(self, mock_sleep, handler, ctx)
src/aws-transform-mcp-server/tests/test_adaptive_poll.py:66
Methodtest_clamps_out_of_range_count_from_next_link
Security regression test. If HealthLake's ``next`` link emits a ``_count`` outside the documented 1–100 range (or a non-integer), fal
src/healthlake-mcp-server/tests/test_pagination_hardening.py:304
Methodtest_class_definition_coverage
Test class definitions and docstrings.
src/openapi-mcp-server/tests/test_coverage_boost.py:54
Functiontest_classification_has_no_stale_entries
Every classified name still exists, so renames and removals surface here.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:244
Methodtest_classifies_aws_region_errors
Service and transport failures remain machine-readable by region.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:2351
Methodtest_clean
A plain SELECT has no transaction control.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:405
Functiontest_clean_datetime_objects
Test the _clean_datetime_objects function.
src/well-architected-security-mcp-server/tests/test_security_services.py:47
Functiontest_clean_description
Test cleaning description.
src/aws-api-mcp-server/tests/common/test_help_command.py:28
Methodtest_clean_filter_passes
Normal filter expressions should not be rejected.
src/valkey-mcp-server/tests/test_search_query.py:211
Methodtest_clean_query
A normal parameterized query has no issues.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:245
Methodtest_clean_role_no_warning
A non-superuser role produces no warning under warn.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:281
Methodtest_clean_role_response_has_no_advisory
A clean (least-privilege) role produces no advisory in the response.
src/postgres-mcp-server/tests/test_server_error_handling.py:808
Methodtest_clean_role_sets_flag_false
A role with none of the over-privileged attributes is flagged False.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:392
Methodtest_clean_role_validated_and_retained_under_enforce
A fresh clean role passes the real guardrail under enforce and is retained.
src/postgres-mcp-server/tests/test_server_error_handling.py:669
Functiontest_clean_text
Test cleaning text.
src/aws-api-mcp-server/tests/common/test_help_command.py:22
Methodtest_clean_up_pattern_empty_logsamples
Test clean_up_pattern function with empty @logSamples.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:117
Methodtest_clean_up_pattern_missing_logsamples
Test clean_up_pattern function when @logSamples is missing.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:101
Methodtest_clean_up_pattern_multiple_entries
Test clean_up_pattern with multiple entries.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:257
Methodtest_clean_up_pattern_with_logsamples
Test clean_up_pattern function with @logSamples - covers line 37 in common.py.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:74
Methodtest_cleanup
Test cleaning up expired items.
src/openapi-mcp-server/tests/auth/test_auth_cache.py:133
Methodtest_cleanup_all_connections_on_shutdown
Test cleaning up all connections during shutdown.
src/postgres-mcp-server/tests/test_db_connection_map.py:1124
Methodtest_cleanup_auto_stop_case_insensitive
AUTO_STOP_SESSIONS=True (mixed case) triggers stop.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:62
Methodtest_cleanup_auto_stop_false_clears_clients
AUTO_STOP_SESSIONS=false just clears client caches.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:52
Methodtest_cleanup_auto_stop_true_stops_sessions
AUTO_STOP_SESSIONS=true stops all sessions before clearing.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:42
Methodtest_cleanup_cache_by_size_no_cleanup_needed
Test that size-based cleanup does nothing when cache is under limit.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:710
Methodtest_cleanup_cache_by_size_result_cache
Test size-based cache cleanup for result cache.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:676
Methodtest_cleanup_cache_by_size_tag_cache
Test size-based cache cleanup for tag cache.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:644
Methodtest_cleanup_called_twice_is_noop_second_time
Second cleanup() call is a no-op.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:301
Methodtest_cleanup_default_clears_clients
Default (AUTO_STOP_SESSIONS unset) just clears client caches.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:32
Methodtest_cleanup_disconnect_raises
Cleanup catches exception when disconnect itself raises.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:505
Methodtest_cleanup_disconnects_all
Cleanup disconnects all sessions and stops Playwright.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:263
Methodtest_cleanup_expired_cache_entries
Test cache cleanup.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:629
Methodtest_cleanup_expired_pagination_cache_no_cache
Test cleaning up expired cache when no cache exists.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:613
Methodtest_cleanup_expired_pagination_cache_with_entries
Test cleaning up expired cache entries.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:618
Methodtest_cleanup_handles_disconnect_error
Cleanup handles disconnect errors and still stops Playwright.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:285
Methodtest_cleanup_handles_playwright_stop_error
Cleanup handles playwright.stop() error and clears reference.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:297
Methodtest_cleanup_no_playwright
Cleanup when playwright was never started is a no-op.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:499
Methodtest_cleanup_old_results
Test cleanup of old workflow results.
src/amazon-translate-mcp-server/tests/test_workflow_orchestrator.py:655
Methodtest_cleanup_old_results
Test cleanup of old workflow results.
src/amazon-translate-mcp-server/tests/test_workflow_comprehensive.py:699
Methodtest_cleanup_on_deletion
Test cleanup of temporary CA certificate file on deletion.
src/eks-mcp-server/tests/test_k8s_apis.py:262
Methodtest_cleanup_on_deletion_error
Test cleanup when an error occurs during deletion.
src/eks-mcp-server/tests/test_k8s_apis.py:290
Methodtest_cleanup_on_deletion_no_file
Test cleanup when CA certificate file doesn't exist.
src/eks-mcp-server/tests/test_k8s_apis.py:276
Methodtest_cleanup_pagination_cache_by_size
Test size-based cleanup of pagination cache.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:655
Methodtest_cleanup_pagination_cache_by_size_double_check_key_exists
Test size-based cleanup double-check for key existence.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:3150
Methodtest_cleanup_pagination_cache_by_size_no_cache
Test that size-based cleanup handles missing cache gracefully.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:717
Methodtest_cleanup_pagination_cache_by_size_no_cleanup_needed
Test that size-based cleanup does nothing when cache is under limit.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:691
Methodtest_cleanup_pagination_cache_by_size_with_expired_and_valid_mixed
Test size-based cleanup with mixed expired and valid entries.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:3071
Methodtest_cleanup_resource_response
Test cleanup_resource_response method for removing managed fields and null values.
src/eks-mcp-server/tests/test_k8s_handler.py:1847
Functiontest_cleanup_rollback_failure_does_not_mask_original_error
If the cleanup rollback itself fails, the original error still propagates.
src/db2-mcp-server/tests/test_ibm_db_connection.py:1136
Functiontest_cleanup_rollback_falsy_return_is_logged
A falsy cleanup rollback is logged, not raised, so it can't mask the real error.
src/db2-mcp-server/tests/test_ibm_db_connection.py:1150
Methodtest_cleanup_session
Cleanup removes all state for a session.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:735
Functiontest_cleanup_session_db_no_file
Test cleanup_session_db with no existing file.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:2379
Functiontest_cleanup_session_db_no_path
Test cleanup_session_db with no session path set.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:2393
Functiontest_cleanup_session_db_with_existing_file
Test cleanup_session_db with existing file.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1197
Functiontest_cleanup_session_db_with_remove_error
Test cleanup_session_db with remove error.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1212
Methodtest_cleanup_validation_resources_delete_error
Test cleanup error handling during table deletion.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1037
Methodtest_cleanup_validation_resources_resource_not_found
Test cleanup when resource is not found.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1020
Methodtest_cleanup_validation_resources_safety_check_127_0_0_1
Test safety check allows 127.0.0.1 endpoints.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:931
Methodtest_cleanup_validation_resources_safety_check_allows_none_endpoint
Test safety check allows None endpoint (default AWS).
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:986
Methodtest_cleanup_validation_resources_safety_check_allows_valid_localhost_variants
Test safety check allows valid localhost variants.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:999
Methodtest_cleanup_validation_resources_safety_check_blocks_bypass_attempts
Test safety check blocks potential bypass attempts with localhost in path.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:967
Methodtest_cleanup_validation_resources_safety_check_blocks_production
Test safety check blocks production endpoints.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:944
Methodtest_cleanup_validation_resources_safety_check_blocks_remote_ip
Test safety check blocks remote IP addresses.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:956
Methodtest_cleanup_validation_resources_safety_check_localhost
Test safety check allows localhost endpoints.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:918
Methodtest_cleanup_validation_resources_success
Test successful cleanup of validation resources.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:901
Methodtest_cleanup_workflow_tokens_basic
Test cleanup_workflow_tokens with basic tokens.
src/ccapi-mcp-server/tests/test_validation.py:93
Methodtest_cleanup_workflow_tokens_missing_tokens
Test cleanup_workflow_tokens with missing tokens.
src/ccapi-mcp-server/tests/test_validation.py:119
Methodtest_cleanup_workflow_tokens_with_none
Test cleanup_workflow_tokens with None tokens.
src/ccapi-mcp-server/tests/test_validation.py:107
Methodtest_clear
Clears all state.
src/security-agent-mcp-server/tests/test_state.py:118
Methodtest_clear
Test clearing the entire cache.
src/openapi-mcp-server/tests/auth/test_auth_cache.py:120
Methodtest_clear_cache
Test cache clearing.
src/aws-healthomics-mcp-server/tests/test_pricing_cache.py:177
Methodtest_clear_config_keys_missing_is_noop
Clearing a key that isn't present is a safe no-op.
src/security-agent-mcp-server/tests/test_state.py:208
Methodtest_clear_config_keys_removes_keys
clear_config_keys deletes keys that update_config(None) silently ignores.
src/security-agent-mcp-server/tests/test_state.py:184
Methodtest_clear_correlation_id
Test clear_correlation_id removes ID from context.
src/amazon-translate-mcp-server/tests/test_logging_config.py:315
Methodtest_clear_corrupted_s3_schema
Test clearing corrupted S3 schema - covers lines 210-220.
src/ccapi-mcp-server/tests/test_schema_manager.py:415
Methodtest_clear_corrupted_schemas
Test clearing corrupted schemas - covers lines 210-220.
src/ccapi-mcp-server/tests/test_schema_manager.py:385
Methodtest_clear_provider_cache_functionality
Test clear_provider_cache function.
src/openapi-mcp-server/tests/auth/test_auth_factory_coverage.py:72
Methodtest_clears_all_cached_clients
Test clears both region and session client caches.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:204
Methodtest_clears_config_on_failed_load
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:369
Methodtest_cli_custom_output_directory
Test CLI with custom output directory.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:96
Methodtest_cli_error_handling_nonexistent_schema
Test CLI error handling with non-existent schema file.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:61
Methodtest_cli_flag_overrides_existing_env_var
Test that CLI flags override existing environment variables.
src/finch-mcp-server/tests/test_cli_flags.py:637
Methodtest_cli_generator_option
Test CLI --generator option.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:165
Methodtest_cli_help_command
Test CLI help command works.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:23
Methodtest_cli_invalid_schema_validation
Test CLI validation with invalid schema.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:85
Methodtest_cli_language_option
Test CLI --language option.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:142
Methodtest_cli_no_lint_option
Test CLI --no-lint option.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:119
Methodtest_cli_output_messages
Test that CLI provides informative output messages.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:187
Methodtest_cli_role_arn_overrides_env_role_arn
A CLI role-ARN value wins over the environment role-ARN value.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:251
Methodtest_cli_validation_only_mode
Test CLI validation-only mode.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:74
Methodtest_cli_value_overrides_env_var
A CLI session-duration value wins over the environment variable.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:162
Methodtest_cli_with_all_options
Test CLI with all available options.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_cli_integration.py:34
Methodtest_click
Click a link on an injected page.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:632
Methodtest_click_double
Double-click a button on an injected page.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:645
Methodtest_click_element
Click resolves ref and clicks the element.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:327
Methodtest_click_generic_error
Click generic exception returns error with snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:753
← previousnext →13,201–13,300 of 35,417, ranked by callers