MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_validate_endpoint_case_insensitive
Hostname comparison is case-insensitive.
src/mssql-mcp-server/tests/test_endpoint_validation.py:127
Functiontest_validate_endpoint_empty_string
Test that empty string is handled like None.
src/aws-api-mcp-server/tests/parser/test_parser.py:633
Functiontest_validate_endpoint_invalid
Test that invalid endpoints raise appropriate ValueError.
src/aws-api-mcp-server/tests/parser/test_parser.py:627
Functiontest_validate_endpoint_ipv6_loopback
Test that IPv6 loopback addresses are accepted.
src/aws-api-mcp-server/tests/parser/test_parser.py:643
Functiontest_validate_endpoint_localhost_conversion
Test that localhost is converted to 127.0.0.1.
src/aws-api-mcp-server/tests/parser/test_parser.py:638
Functiontest_validate_endpoint_matches_rds
Matching RDS endpoint returns the AWS-sourced values.
src/mssql-mcp-server/tests/test_endpoint_validation.py:106
Functiontest_validate_endpoint_non_http_protocols
Test that non-HTTP protocols with localhost are accepted.
src/aws-api-mcp-server/tests/parser/test_parser.py:655
Functiontest_validate_endpoint_protocol_handling
Test that endpoints with and without protocol are handled correctly.
src/aws-api-mcp-server/tests/parser/test_parser.py:649
Functiontest_validate_endpoint_rejects_invalid
Non-matching endpoint raises ValueError.
src/mssql-mcp-server/tests/test_endpoint_validation.py:147
Functiontest_validate_endpoint_rejects_wrong_port
Correct host but wrong port raises ValueError.
src/mssql-mcp-server/tests/test_endpoint_validation.py:165
Functiontest_validate_endpoint_valid_loopback
Test that valid loopback endpoints are accepted.
src/aws-api-mcp-server/tests/parser/test_parser.py:607
Methodtest_validate_enrich_missing_environment
Test enriching targets missing environment.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:348
Methodtest_validate_entities_gsi_configuration_field_errors
Test entity validation with field parsing errors.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:399
Methodtest_validate_entities_gsi_configuration_invalid_entities
Test entity GSI configuration validation with invalid entities.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:621
Methodtest_validate_entities_involved_empty
Test that entities_involved cannot be empty.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:569
Methodtest_validate_entities_involved_not_list
Test that entities_involved must be a list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:561
Methodtest_validate_entities_not_dict
Test that entities must be a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:106
Methodtest_validate_entity_access_patterns_comprehensive
Test entity access pattern validation with various scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:543
Methodtest_validate_entity_access_patterns_exception_handling
Test entity access pattern validation exception handling.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:608
Methodtest_validate_entity_gsi_mappings_errors
Test GSI mapping validation with various error conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:355
Methodtest_validate_entity_gsi_mappings_exception_in_loop
Test GSI mapping validation with exception during GSIMapping creation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:381
Methodtest_validate_entity_gsi_mappings_templates
Test GSI mapping validation with valid and invalid templates.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:408
Methodtest_validate_entity_involvement_not_dict
Test that entity involvement must be a dict.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:577
Methodtest_validate_entity_not_dict
Test that each entity must be a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:137
Methodtest_validate_entity_not_found
Test that referencing non-existent entity is rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:197
Methodtest_validate_entity_parameter_invalid_entity_type
Test that entity parameters with invalid entity_type are rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:314
Methodtest_validate_entity_parameter_missing_entity_type
Test that entity parameters without entity_type are rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:297
Methodtest_validate_entity_parameter_missing_entity_type
Test that entity parameters must have entity_type.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:393
Methodtest_validate_entity_parameter_with_valid_entity_type
Test that entity parameters with valid entity_type are accepted.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:289
Methodtest_validate_entity_reference
Test that entity references are validated correctly.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:410
Methodtest_validate_entity_type_wrong_type
Test that entity_type must be string (lines 241-242).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1219
Methodtest_validate_enum_field_invalid_value
Test validate_enum_field with invalid enum value.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_definitions.py:117
Methodtest_validate_enum_field_non_string_value
Test validate_enum_field with non-string value.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_definitions.py:123
Methodtest_validate_enum_field_valid_value
Test validate_enum_field with valid enum value.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_definitions.py:112
Methodtest_validate_enum_value_invalid
Test invalid enum value validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:949
Methodtest_validate_enum_value_valid
Test valid enum value validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:941
Methodtest_validate_expression_variable_name_invalid
Test invalid expression variable name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:403
Methodtest_validate_expression_variable_name_valid
Test valid expression variable name validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:389
Methodtest_validate_external_id_invalid
Test invalid external ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:334
Methodtest_validate_external_id_valid
Test valid external ID validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:320
Methodtest_validate_field_not_dict
Test that each field must be a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:168
Methodtest_validate_field_required_not_bool
Test that field required must be boolean.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:207
Methodtest_validate_fields_not_list
Test that fields must be a list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:152
Methodtest_validate_file_not_found
Test that validation fails gracefully for non-existent files.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:515
Methodtest_validate_file_permission_error
Test handling of file permission errors (line 92).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1077
Methodtest_validate_file_value_error_non_json
Test handling of ValueError that's not JSON-related (line 92).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1204
Functiontest_validate_forbidden_node_in_walk
Cover the _FORBIDDEN walk branch via a mock that injects a forbidden node.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1572
Functiontest_validate_four_parts_rejected
Four-part name is rejected.
src/oracle-mcp-server/tests/test_server.py:119
Functiontest_validate_four_parts_rejected
Four-part identifiers are rejected.
src/mssql-mcp-server/tests/test_server.py:81
Methodtest_validate_function_name_edge_cases
Test edge cases for function name validation.
src/lambda-tool-mcp-server/tests/test_server_coverage.py:133
Methodtest_validate_gateway_platform_invalid
Test invalid gateway platform validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:323
Methodtest_validate_gateway_platform_valid
Test valid gateway platform validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:316
Methodtest_validate_git_ref_allows_valid_refs
Legitimate refs pass validation (no exception).
src/security-agent-mcp-server/tests/test_scanner.py:680
Methodtest_validate_git_ref_rejects_option_like_refs
Hyphen-prefixed and empty refs raise ValueError.
src/security-agent-mcp-server/tests/test_scanner.py:685
Methodtest_validate_gsi_access_patterns_invalid_index
Test validation fails for invalid GSI reference.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:256
Methodtest_validate_gsi_access_patterns_invalid_range_and_empty_gsi
Test GSI access pattern validation with invalid range condition and empty GSI list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:509
Methodtest_validate_gsi_access_patterns_valid
Test validation passes for valid GSI access patterns.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:225
Methodtest_validate_gsi_configuration_exception_handling
Test exception handling in _validate_gsi_configuration (lines 598-600).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1178
Methodtest_validate_gsi_mappings_empty_gsi_list
Test GSI mapping validation when no GSIs are defined.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:465
Methodtest_validate_gsi_mappings_invalid_mapping_object
Test GSI mapping validation with invalid mapping object.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:117
Methodtest_validate_gsi_names_unique_invalid_gsi_object
Test GSI name validation with invalid GSI object.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:82
Methodtest_validate_gsi_with_exception_in_validation
Test exception handling in GSI validation (lines 598-600).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1319
Methodtest_validate_iana_timezone_invalid
Test invalid IANA timezone validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:689
Methodtest_validate_iana_timezone_valid
Test valid IANA timezone validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:671
Methodtest_validate_identifier
Identifier validation accepts valid one/two-part names only.
src/db2-mcp-server/tests/test_server.py:724
Methodtest_validate_identifier_empty
Test validate_identifier with empty string.
src/ccapi-mcp-server/tests/test_validation.py:52
Methodtest_validate_identifier_none
Test validate_identifier with None.
src/ccapi-mcp-server/tests/test_validation.py:47
Methodtest_validate_identifier_valid
Test validate_identifier with valid identifier.
src/ccapi-mcp-server/tests/test_validation.py:42
Methodtest_validate_image_ecr
Test validate_image function with ECR images.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:206
Methodtest_validate_image_ecr_general_exception
Test validate_image function with general exception during validation.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:299
Methodtest_validate_image_ecr_image_not_found
Test validate_image function with ECR image tag not found.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:249
Methodtest_validate_image_ecr_other_client_error
Test validate_image function with other ClientError response.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:277
Methodtest_validate_image_ecr_repository_not_found
Test validate_image function with ECR repository not found.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:227
Methodtest_validate_image_general_exception_in_repo_check
Test validate_image with general exception during repository check.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:100
Methodtest_validate_image_non_ecr
Test validate_image function with non-ECR images.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:321
Functiontest_validate_injection_rejected
SQL injection attempt in table name is rejected.
src/oracle-mcp-server/tests/test_server.py:134
Functiontest_validate_injection_rejected
SQL injection patterns are rejected.
src/mssql-mcp-server/tests/test_server.py:96
Methodtest_validate_inputs_all_valid_parameters
Test validation passes with all valid parameters.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:682
Methodtest_validate_inputs_empty_name
Test validation fails with empty name.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:565
Methodtest_validate_inputs_invalid_api_type
Test validation fails with invalid API type.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:608
Methodtest_validate_inputs_invalid_arn_format
Test validation fails with invalid ARN format.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:660
Methodtest_validate_inputs_invalid_auth_type
Test validation fails with invalid authentication type.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:581
Methodtest_validate_inputs_invalid_introspection_config
Test validation fails with invalid introspection config.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:618
Methodtest_validate_inputs_invalid_visibility
Test validation fails with invalid visibility.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:598
Methodtest_validate_inputs_name_too_long
Test validation fails with name exceeding 65536 characters.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:575
Methodtest_validate_inputs_query_depth_limit_negative
Test validation fails with negative query depth limit.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:630
Methodtest_validate_inputs_query_depth_limit_too_high
Test validation fails with query depth limit exceeding 75.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:635
Methodtest_validate_inputs_resolver_count_limit_negative
Test validation fails with negative resolver count limit.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:645
Methodtest_validate_inputs_resolver_count_limit_too_high
Test validation fails with resolver count limit exceeding 10000.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:650
Methodtest_validate_inputs_valid_api_type
Test validation passes with valid API types.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:613
Methodtest_validate_inputs_valid_arn_formats
Test validation passes with valid ARN formats.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:672
Methodtest_validate_inputs_valid_auth_types
Test validation passes with all valid authentication types.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:586
Methodtest_validate_inputs_valid_introspection_config
Test validation passes with valid introspection config values.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:625
Methodtest_validate_inputs_valid_minimal
Test validation with minimal valid inputs.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:560
Methodtest_validate_inputs_valid_query_depth_limits
Test validation passes with valid query depth limits.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:640
Methodtest_validate_inputs_valid_resolver_count_limits
Test validation passes with valid resolver count limits.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:655
Methodtest_validate_inputs_valid_visibility
Test validation passes with valid visibility values.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:603
Methodtest_validate_inputs_whitespace_name
Test validation fails with whitespace-only name.
src/aws-appsync-mcp-server/tests/test_create_graphql_api.py:570
Methodtest_validate_integer_range_invalid
Test invalid integer range validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:462
Methodtest_validate_integer_range_valid
Test valid integer range validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:451
← previousnext →34,001–34,100 of 35,417, ranked by callers