MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_validate_resource_type_valid
Test validate_resource_type with valid type.
src/ccapi-mcp-server/tests/test_validation.py:21
Methodtest_validate_retraining_frequency_invalid
Test invalid retraining frequency validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:573
Methodtest_validate_retraining_frequency_months_coverage
Test retraining frequency validation for months branch (line 377->382).
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:595
Methodtest_validate_retraining_frequency_valid
Test valid retraining frequency validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:559
Functiontest_validate_returns_ec2_validation_failures
Test that validate returns EC2 validation failures for invalid parameters.
src/aws-api-mcp-server/tests/aws/test_service.py:369
Functiontest_validate_returns_missing_context_failures
Test that validate returns missing context failures for incomplete commands.
src/aws-api-mcp-server/tests/aws/test_service.py:321
Functiontest_validate_returns_validation_failures
Test that validate returns expected validation failures for invalid commands.
src/aws-api-mcp-server/tests/aws/test_service.py:313
Methodtest_validate_s3_access_input_bucket_access_denied
Test S3 validation when input bucket access is denied.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:472
Methodtest_validate_s3_access_input_bucket_not_found
Test S3 validation when input bucket doesn't exist.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:446
Methodtest_validate_s3_access_input_bucket_not_found
Test S3 validation with input bucket not found.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:567
Methodtest_validate_s3_access_no_input_files
Test S3 validation when no input files are found.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:496
Methodtest_validate_s3_access_output_access_denied
Test S3 validation with output bucket access denied.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:586
Methodtest_validate_s3_access_output_bucket_creation_access_denied
Test S3 validation when output bucket access is denied.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:548
Methodtest_validate_s3_access_output_bucket_creation_failed
Test S3 validation when output bucket doesn't exist.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:518
Methodtest_validate_s3_access_success
Test successful S3 access validation.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:552
Methodtest_validate_s3_bucket_name_invalid
Test invalid S3 bucket name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:266
Methodtest_validate_s3_bucket_name_valid
Test valid S3 bucket name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:253
Methodtest_validate_s3_prefix_invalid
Test invalid S3 prefix validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:310
Methodtest_validate_s3_prefix_valid
Test valid S3 prefix validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:297
Methodtest_validate_s3_uri_invalid_bucket_name
Test validation of S3 URI with invalid bucket name.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:48
Methodtest_validate_s3_uri_invalid_format
Test validation of malformed S3 URI.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:60
Methodtest_validate_s3_uri_logs_error
Test that validation errors are logged.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:72
Methodtest_validate_s3_uri_valid
Test validation of valid S3 URI.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:37
Methodtest_validate_safe_identifier_invalid
Test safe identifier validation for invalid inputs.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:461
Methodtest_validate_safe_identifier_valid
Test safe identifier validation for valid inputs.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:454
Methodtest_validate_schema_not_dict
Test that non-dictionary schema fails validation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:69
Functiontest_validate_schema_qualified
Schema-qualified table name is accepted.
src/oracle-mcp-server/tests/test_server.py:104
Functiontest_validate_schema_qualified
Schema-qualified table name is valid.
src/mssql-mcp-server/tests/test_server.py:61
Methodtest_validate_search_request_empty_resource_type
Test validation with empty resource type.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:267
Methodtest_validate_search_request_empty_resource_type
Test validation with empty resource type.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:1174
Methodtest_validate_search_request_invalid_count_high
Test validation with count too high.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:283
Methodtest_validate_search_request_invalid_count_low
Test validation with count too low.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:275
Methodtest_validate_search_request_invalid_file_type
Test validation with invalid file type.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:172
Methodtest_validate_search_request_invalid_include_format
Test validation with invalid include format.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:291
Methodtest_validate_search_request_invalid_include_format
Test validation with invalid include format.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:1187
Methodtest_validate_search_request_invalid_max_results_too_large
Test validation with invalid max_results (too large).
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:162
Methodtest_validate_search_request_invalid_max_results_zero
Test validation with invalid max_results (zero).
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:152
Methodtest_validate_search_request_invalid_revinclude_format
Test validation with invalid revinclude format.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:301
Methodtest_validate_search_request_invalid_revinclude_format
Test validation with invalid revinclude format.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:1202
Methodtest_validate_search_request_valid
Test valid search request.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:259
Methodtest_validate_search_request_valid
Test validation of valid search request.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:147
Methodtest_validate_service_no_environment
Test error when service found but has no environment.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:380
Methodtest_validate_service_not_found
Test error when service not found in API.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:369
Methodtest_validate_service_quotas_valid
Test valid service quotas validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:339
Functiontest_validate_simple_table
Simple unqualified table name is accepted.
src/oracle-mcp-server/tests/test_server.py:99
Functiontest_validate_simple_table
Simple unqualified table name is valid.
src/mssql-mcp-server/tests/test_server.py:56
Methodtest_validate_sk_template_invalid_type
Test that sk_template must be string or null.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:219
Methodtest_validate_sk_template_null
Test that sk_template can be null for partition-key-only tables.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:214
Methodtest_validate_snapshot_signal_accepts_snapshot
Validate snapshot signal accepts snapshot.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:520
Methodtest_validate_snapshot_signal_rejects_span
Validate snapshot signal rejects span.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:524
Functiontest_validate_spec_path_accepts_valid_path
A valid spec file within an allowed directory is accepted.
src/openapi-mcp-server/tests/test_ssrf_protection.py:212
Functiontest_validate_spec_path_blocks_etc
Paths under /etc are blocked.
src/openapi-mcp-server/tests/test_ssrf_protection.py:153
Functiontest_validate_spec_path_blocks_non_spec_extension
Non-spec file extensions are rejected.
src/openapi-mcp-server/tests/test_ssrf_protection.py:165
Functiontest_validate_spec_path_blocks_windows_system_dir
Windows system directories are blocked when os.name == 'nt'.
src/openapi-mcp-server/tests/test_ssrf_protection.py:442
Functiontest_validate_spec_path_boundary_guard
allowed_dirs '/app/specs' must NOT admit '/app/specs-evil/spec.json'.
src/openapi-mcp-server/tests/test_ssrf_protection.py:196
Functiontest_validate_spec_path_enforces_allowed_dirs
When allowed_dirs is set, path must be within them.
src/openapi-mcp-server/tests/test_ssrf_protection.py:177
Functiontest_validate_spec_path_file_not_found
Non-existent file raises FileNotFoundError.
src/openapi-mcp-server/tests/test_ssrf_protection.py:392
Functiontest_validate_spec_path_rejects_symlink_escape
A symlink that escapes the allowed directory is rejected.
src/openapi-mcp-server/tests/test_ssrf_protection.py:220
Methodtest_validate_sql_query_dangerous_alter
Test validating dangerous ALTER query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1335
Methodtest_validate_sql_query_dangerous_attach_database
ATTACH DATABASE must be rejected. Without this rejection, an attacker (or a prompt-injected agent) can attach any SQLite file readabl
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1371
Methodtest_validate_sql_query_dangerous_attach_lowercase
Case-insensitive: ATTACH must be rejected regardless of case.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1386
Methodtest_validate_sql_query_dangerous_delete
Test validating dangerous DELETE query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1317
Methodtest_validate_sql_query_dangerous_detach
Symmetric case: DETACH is rejected too.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1395
Methodtest_validate_sql_query_dangerous_drop
Test validating dangerous DROP query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1308
Methodtest_validate_sql_query_dangerous_exec
Test validating dangerous EXEC query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1344
Methodtest_validate_sql_query_dangerous_semicolon
Test validating query with dangerous semicolon.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1362
Methodtest_validate_sql_query_dangerous_system
Test validating dangerous SYSTEM query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1353
Methodtest_validate_sql_query_dangerous_truncate
Test validating dangerous TRUNCATE query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1326
Methodtest_validate_sql_query_safe
Test validating safe SQL query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1293
Methodtest_validate_startup_configuration_invalid_cache_config
Test configuration validation with invalid cache configuration.
src/amazon-translate-mcp-server/tests/test_config_validation.py:121
Methodtest_validate_startup_configuration_invalid_regex_pattern
Test configuration validation with invalid regex pattern.
src/amazon-translate-mcp-server/tests/test_config_validation.py:135
Methodtest_validate_startup_configuration_invalid_region
Test configuration validation with invalid region.
src/amazon-translate-mcp-server/tests/test_config_validation.py:96
Methodtest_validate_startup_configuration_load_config_failure
Test configuration validation when config loading fails.
src/amazon-translate-mcp-server/tests/test_config_validation.py:60
Methodtest_validate_startup_configuration_success
Test successful configuration validation.
src/amazon-translate-mcp-server/tests/test_config_validation.py:19
Methodtest_validate_startup_configuration_translate_access_denied
Test configuration validation when Translate access is denied.
src/amazon-translate-mcp-server/tests/test_config_validation.py:70
Methodtest_validate_storage_type_invalid
Test invalid storage type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:311
Methodtest_validate_storage_type_valid
Test valid storage type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:306
Methodtest_validate_string_for_injection_command_injection
Test validation catches command injection attempts.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:387
Methodtest_validate_string_for_injection_control_chars
Test validation catches control characters.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:403
Methodtest_validate_string_for_injection_excessive_length
Test validation catches excessively long strings.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:411
Methodtest_validate_string_for_injection_prompt_injection
Test validation catches prompt injection attempts.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:357
Methodtest_validate_string_for_injection_special_chars
Test validation catches excessive special characters.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:398
Methodtest_validate_string_for_injection_sql_injection
Test validation catches SQL injection attempts.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:376
Methodtest_validate_string_for_injection_valid
Test validation passes for safe strings.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:349
Methodtest_validate_string_length_invalid
Test invalid string length validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:171
Methodtest_validate_string_length_valid
Test valid string length validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:160
Methodtest_validate_string_safe
Test that validate_string returns True for safe strings.
src/prometheus-mcp-server/tests/test_security_validator.py:23
Methodtest_validate_string_safety
Test string safety validation.
src/amazon-qindex-mcp-server/tests/test_clients.py:137
Methodtest_validate_string_unsafe
Test that validate_string returns False for unsafe strings.
src/prometheus-mcp-server/tests/test_security_validator.py:36
Methodtest_validate_string_value_invalid
Test invalid string value validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:892
Methodtest_validate_string_value_valid
Test valid string value validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:879
Functiontest_validate_success
Test that validate returns success for a valid IR translation.
src/aws-api-mcp-server/tests/aws/test_service.py:298
Methodtest_validate_success_with_profile
Test that validate returns True when credentials are valid with a profile.
src/prometheus-mcp-server/tests/test_aws_credentials.py:25
Methodtest_validate_success_without_profile
Test that validate returns True when credentials are valid without a profile.
src/prometheus-mcp-server/tests/test_aws_credentials.py:48
Methodtest_validate_sync
validate_sync runs the probe query and rolls back.
src/db2-mcp-server/tests/test_ibm_db_connection.py:460
Functiontest_validate_sync_clean_eof_does_not_raise
A clean end-of-data ('02000') during the probe fetch is not a fetch error.
src/db2-mcp-server/tests/test_ibm_db_connection.py:568
Functiontest_validate_sync_failure
Verify validate_sync raises when connection fails.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:289
Functiontest_validate_sync_failure
A failed validation probe raises ValueError.
src/db2-mcp-server/tests/test_ibm_db_connection.py:547
Functiontest_validate_sync_fetch_midstream_error_raises
validate_sync mirrors _execute_sync's fetch_assoc EOF-vs-error distinction. A falsy fetch_assoc with a non-'02000' SQLSTATE means the probe fetch
src/db2-mcp-server/tests/test_ibm_db_connection.py:555
Functiontest_validate_sync_rollback_falsy_return_raises
A falsy rollback() during validate_sync must raise, not report success. Mirrors the same falsy-return check _execute_sync applies to rollback/com
src/db2-mcp-server/tests/test_ibm_db_connection.py:576
← previousnext →34,301–34,400 of 35,417, ranked by callers