Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_valid_uri_accepted
Valid S3 URI returns (bucket, key) tuple.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:166
Method
test_valid_validation_result
Test creating a valid validation result.
src/amazon-translate-mcp-server/tests/test_models.py:152
Method
test_valid_window_is_accepted
Dates, timestamps, a trailing Z, equal bounds and a single bound all pass.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1257
Method
test_valid_writer_endpoint_accepted
Connection with the cluster's real writer endpoint should succeed.
src/mysql-mcp-server/tests/test_endpoint_validation.py:252
Method
test_validate_access_pattern_not_dict
Test that each access pattern must be a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:234
Method
test_validate_access_patterns_not_list
Test that access_patterns must be a list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:224
Method
test_validate_access_policy_permission_invalid
Test invalid access policy permission validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:291
Method
test_validate_access_policy_permission_valid
Test valid access policy permission validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:286
Method
test_validate_action_compatible_with_transact_write
Test that valid TransactWrite actions are accepted.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:220
Method
test_validate_action_incompatible_with_transact_get
Test that Put action is rejected for TransactGet operation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:207
Method
test_validate_action_type_invalid
Test invalid action type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:920
Method
test_validate_action_type_valid
Test valid action type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:906
Method
test_validate_adhoc_s3_buckets_access_denied
Test validate_adhoc_s3_buckets returns [] when bucket access is denied. The S3 client is fully mocked so the graceful-degradation path is exe
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:115
Method
test_validate_adhoc_s3_buckets_empty_list
Test validate_adhoc_s3_buckets with empty list.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:103
Method
test_validate_adhoc_s3_buckets_empty_list
Test validation with empty list.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:97
Method
test_validate_adhoc_s3_buckets_none
Test validate_adhoc_s3_buckets with None.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:109
Method
test_validate_adhoc_s3_buckets_none_input
Test validation with None input.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:87
Method
test_validate_adhoc_s3_buckets_partial_success
Test validation with some valid and some invalid buckets.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:165
Method
test_validate_adhoc_s3_buckets_success
Test successful validation of adhoc S3 buckets.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:107
Method
test_validate_adhoc_s3_buckets_validation_error
Test handling of validation errors.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:135
Method
test_validate_aggregate_types_invalid
Test invalid aggregate types validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:219
Method
test_validate_aggregate_types_valid
Test valid aggregate types validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:214
Method
test_validate_all_valid_range_conditions
Test validation passes for all valid range condition values.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:26
Method
test_validate_and_normalize_s3_path_already_normalized
Test validation and normalization of already normalized path.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:212
Method
test_validate_and_normalize_s3_path_complex_valid
Test validation and normalization of complex valid path.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:232
Method
test_validate_and_normalize_s3_path_empty_string
Test validation with empty string.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:227
Method
test_validate_and_normalize_s3_path_invalid_bucket_name
Test validation with invalid bucket name.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:222
Method
test_validate_and_normalize_s3_path_invalid_scheme
Test validation with invalid scheme.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:217
Method
test_validate_and_normalize_s3_path_valid_simple
Test validation and normalization of simple valid S3 path.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:202
Method
test_validate_and_normalize_s3_path_valid_with_prefix
Test validation and normalization of S3 path with prefix.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:207
Method
test_validate_and_resolve_path_absolute_path_disallowed
Test ValueError when absolute paths are disallowed.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:66
Method
test_validate_and_resolve_path_case_sensitivity
Test path validation with different case (on case-insensitive systems).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:189
Method
test_validate_and_resolve_path_custom_file_type_errors
Test that file_name parameter is used in error messages.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:135
Method
test_validate_and_resolve_path_directory_not_file
Test ValueError when path is a directory.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:58
Method
test_validate_and_resolve_path_file_not_found
Test FileNotFoundError for non-existent file.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:51
Method
test_validate_and_resolve_path_os_error_handling
Test handling of OS errors during path resolution.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:128
Method
test_validate_and_resolve_path_path_traversal_detection
Test path traversal detection.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:74
Method
test_validate_and_resolve_path_relative_path_within_base
Test successful validation of relative path within base directory.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:90
Method
test_validate_and_resolve_path_symlink_handling
Test handling of symbolic links.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:171
Method
test_validate_and_resolve_path_valid_file
Test successful path validation for existing file.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:43
Method
test_validate_and_resolve_path_with_custom_base_dir
Test path validation with custom base directory.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_file_utils.py:114
Method
test_validate_api_error
Test handling API errors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:401
Method
test_validate_array_field_missing_item_type
Test that array fields must have item_type specified.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:197
Method
test_validate_array_field_with_item_type
Test that array fields with item_type are valid (lines 241-245).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1112
Method
test_validate_asset_id_invalid
Test invalid asset ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:72
Method
test_validate_asset_id_valid
Test valid asset ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:61
Method
test_validate_asset_model_id_invalid
Test invalid asset model ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:99
Method
test_validate_asset_model_id_valid
Test valid asset model ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:89
Method
test_validate_asset_model_properties_invalid
Test invalid asset model properties validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:245
Method
test_validate_asset_model_properties_valid
Test valid asset model properties validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:234
Method
test_validate_asset_model_properties_with_injection
Test that property validation now includes injection checks.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:488
Method
test_validate_asset_name_invalid
Test invalid asset name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:122
Method
test_validate_asset_name_valid
Test valid asset name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:117
Method
test_validate_asset_name_with_injection
Test that asset name validation now includes injection checks.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:478
Method
test_validate_asset_or_model_id_invalid
Test invalid asset or model ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:131
Method
test_validate_asset_or_model_id_valid
Test valid asset or model ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:113
Function
test_validate_athena_name_truncates_echoed_value
A long rejected value is not echoed back in full.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1867
Method
test_validate_attribute_filter_invalid_types
Test attribute filter validation with invalid types.
src/amazon-qindex-mcp-server/tests/test_clients.py:85
Method
test_validate_attribute_filter_security
Test attribute filter security validation.
src/amazon-qindex-mcp-server/tests/test_clients.py:170
Method
test_validate_aws_config_empty_values
Test AWS config validation with empty values.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:419
Method
test_validate_aws_config_incomplete_access_keys
Test AWS config validation with incomplete access keys.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:393
Method
test_validate_aws_config_no_credentials
Test AWS config validation with no credentials.
src/amazon-translate-mcp-server/tests/test_config_extended.py:146
Method
test_validate_aws_config_no_credentials
Test AWS config validation with no credentials.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:411
Method
test_validate_aws_config_no_creds
Test validation with no explicit credentials.
src/amazon-translate-mcp-server/tests/test_config.py:283
Method
test_validate_aws_config_no_region
Test validation with no region specified.
src/amazon-translate-mcp-server/tests/test_config.py:297
Method
test_validate_aws_config_whitespace_values
Test AWS config validation with whitespace values.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:427
Method
test_validate_aws_config_with_access_keys
Test AWS config validation with access keys.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:376
Method
test_validate_aws_config_with_env_creds
Test validation with environment credentials.
src/amazon-translate-mcp-server/tests/test_config.py:270
Method
test_validate_aws_config_with_env_vars
Test AWS config validation with environment variables.
src/amazon-translate-mcp-server/tests/test_config_extended.py:132
Method
test_validate_aws_config_with_explicit_credentials
Test AWS config validation with explicit credentials.
src/amazon-translate-mcp-server/tests/test_config_extended.py:115
Method
test_validate_aws_config_with_explicit_creds
Test validation with explicit credentials.
src/amazon-translate-mcp-server/tests/test_config.py:250
Method
test_validate_aws_config_with_profile
Test AWS config validation with profile.
src/amazon-translate-mcp-server/tests/test_config_extended.py:125
Method
test_validate_aws_config_with_profile
Test validation with AWS profile.
src/amazon-translate-mcp-server/tests/test_config.py:262
Method
test_validate_aws_config_with_profile
Test AWS config validation with profile.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:369
Method
test_validate_aws_config_with_region
Test AWS config validation with region.
src/amazon-translate-mcp-server/tests/test_config_comprehensive.py:386
Method
test_validate_aws_parameters_both_invalid
Test validation with both invalid region and account.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:47
Method
test_validate_aws_parameters_edge_cases
Test validation with edge case inputs.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:56
Method
test_validate_aws_parameters_invalid_account
Test validation with invalid account ID.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:39
Method
test_validate_aws_parameters_invalid_region
Test validation with invalid region format.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:31
Method
test_validate_aws_parameters_valid_inputs
Test validation with valid AWS parameters.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:24
Function
test_validate_aws_region_invalid_regions
Test that invalid AWS regions raise ValueError and log error.
src/aws-api-mcp-server/tests/common/test_helpers.py:86
Function
test_validate_aws_region_valid_regions
Test that valid AWS regions pass validation without raising exceptions.
src/aws-api-mcp-server/tests/common/test_helpers.py:61
Method
test_validate_batch_entries_invalid
Test invalid batch entries validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:275
Method
test_validate_batch_entries_valid
Test valid batch entries validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:270
Function
test_validate_bracket_quoted
Bracket-quoted identifiers are valid.
src/mssql-mcp-server/tests/test_server.py:66
Method
test_validate_bucket_access_access_denied
Test bucket access validation with access denied.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:329
Method
test_validate_bucket_access_all_accessible
Test bucket access validation when all buckets are accessible.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:249
Method
test_validate_bucket_access_all_inaccessible
Test bucket access validation when all buckets are inaccessible.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:293
Method
test_validate_bucket_access_duplicate_buckets
Test bucket access validation with duplicate bucket names.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:395
Method
test_validate_bucket_access_empty_paths
Test bucket access validation with empty bucket paths.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:241
Method
test_validate_bucket_access_failure
Test bucket access validation failure.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:366
Method
test_validate_bucket_access_invalid_s3_path
Test bucket access validation with invalid S3 path.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:414
Method
test_validate_bucket_access_mixed_results
Test bucket access validation with mixed success and failure.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:348
Method
test_validate_bucket_access_mixed_valid_invalid_paths
Test bucket access validation with mix of valid and invalid paths.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:422
Method
test_validate_bucket_access_no_credentials
Test bucket access validation with no AWS credentials.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:312
Method
test_validate_bucket_access_other_client_error
Test bucket access validation with other ClientError codes.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:444
Method
test_validate_bucket_access_permissions_access_error
Test bucket access validation with access error.
src/aws-healthomics-mcp-server/tests/test_search_config.py:523
Method
test_validate_bucket_access_permissions_config_error
Test bucket access validation with configuration error.
src/aws-healthomics-mcp-server/tests/test_search_config.py:514
Method
test_validate_bucket_access_permissions_success
Test successful bucket access validation.
src/aws-healthomics-mcp-server/tests/test_search_config.py:490
Method
test_validate_bucket_access_some_inaccessible
Test bucket access validation when some buckets are inaccessible.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:269
← previous
next →
33,801–33,900 of 35,417, ranked by callers