Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Function
test_internal_create_connection_uses_per_target_secret_arn
Per-target --secret_arn overrides default and skips RDS describe.
src/oracle-mcp-server/tests/test_server.py:1678
Function
test_internal_create_connection_uses_per_target_secret_arn
When a per-target --secret_arn is configured, skip the RDS describe call and use it.
src/mssql-mcp-server/tests/test_server.py:1170
Function
test_internal_create_connection_validates_endpoint
internal_create_connection calls validate_endpoint and uses its result.
src/mssql-mcp-server/tests/test_endpoint_validation.py:226
Function
test_internal_create_connection_without_secret_uses_rds_describe
When no --secret_arn is configured, fall back to RDS describe_db_instances.
src/oracle-mcp-server/tests/test_coverage.py:215
Method
test_internal_server_error_handling
Test internal server error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1003
Method
test_interpolation_preserves_seasonality
Test that interpolation preserves seasonal patterns.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:194
Method
test_interpolation_with_empty_data
Test interpolation with empty data.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:233
Method
test_interpolation_with_negative_calculated_period
Test detect_strongest_seasonality handles invalid calculated period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:446
Method
test_interpolation_with_none_period
Test interpolation with None period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:393
Method
test_interpolation_with_single_point
Test interpolation with single data point.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:221
Method
test_interpolation_with_single_timestamp_gap
Test detect_strongest_seasonality calculates period from single timestamp gap.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:433
Method
test_interpolation_with_zero_period
Test interpolation with zero period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:410
Function
test_interpret_command_creates_output_file_for_streaming_operations
Test that interpret_command writes an output file for streaming operations with outfile parameter.
src/aws-api-mcp-server/tests/aws/test_service.py:590
Function
test_interpret_command_credentials_precedence
Test that provided credentials take precedence over local credentials.
src/aws-api-mcp-server/tests/aws/test_driver.py:364
Function
test_interpret_command_with_credentials_parameter
Test that interpret_command uses provided credentials instead of calling get_local_credentials.
src/aws-api-mcp-server/tests/aws/test_driver.py:331
Function
test_interpret_command_with_credentials_parameter
Test that interpret_command passes credentials parameter through to driver.
src/aws-api-mcp-server/tests/aws/test_service.py:620
Function
test_interpret_command_with_region_parameter
Test that interpret_command forwards region to driver.interpret.
src/aws-api-mcp-server/tests/aws/test_service.py:653
Function
test_interpret_command_without_credentials_parameter
Test that interpret_command falls back to get_local_credentials when no credentials provided.
src/aws-api-mcp-server/tests/aws/test_driver.py:348
Function
test_interpret_command_without_credentials_parameter
Test that interpret_command works without credentials parameter.
src/aws-api-mcp-server/tests/aws/test_service.py:637
Function
test_interpret_injects_region
Test that interpret_command injects the correct region into the request.
src/aws-api-mcp-server/tests/aws/test_service.py:235
Function
test_interpret_returns_missing_context_failures
Test that interpret_command returns missing context failures when required parameters are missing.
src/aws-api-mcp-server/tests/aws/test_service.py:83
Function
test_interpret_returns_valid_response
Test that interpret_command returns a valid response for correct CLI commands.
src/aws-api-mcp-server/tests/aws/test_service.py:211
Function
test_interpret_returns_validation_failures
Test that interpret_command returns validation failures for invalid operations.
src/aws-api-mcp-server/tests/aws/test_service.py:62
Method
test_into_dumpfile_with_block_comment_is_detected
DUMPFILE is the binary-write sibling of OUTFILE; same bypass shape.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:64
Function
test_into_outfile_not_flagged
INTO OUTFILE is MySQL syntax, not Oracle — should not be in suspicious patterns.
src/oracle-mcp-server/tests/test_server.py:823
Method
test_into_outfile_with_block_comment_is_detected
Reporter's payload: SELECT * FROM mysql.user INTO/**/OUTFILE '/tmp/x'.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:52
Method
test_into_outfile_with_hash_comment_is_detected
MySQL-specific ``#`` line comment; sqlparse strips it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:74
Method
test_into_outfile_with_line_comment_is_detected
Line comment between INTO and OUTFILE; sqlparse normalises it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:69
Method
test_into_outfile_with_padded_block_comment_is_detected
Variant with whitespace surrounding the comment.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:59
Method
test_intra_group_dependencies
Test detection of intra-group dependencies.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:729
Method
test_invalid_action_validation
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:20
Method
test_invalid_additional_mapping_skipped
Test that invalid additional mappings are skipped.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:342
Method
test_invalid_alternative_language_raises_error
Test that invalid alternative language raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:134
Method
test_invalid_arn_format
Test rejection of invalid ARN formats.
src/amazon-translate-mcp-server/tests/test_security_validators.py:212
Method
test_invalid_arn_format
Test invalid ARN formats.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:33
Method
test_invalid_arn_raises_error
Test that invalid ARN raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:205
Method
test_invalid_arn_raises_error
Test that invalid ARN raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:264
Method
test_invalid_as_of_returns_error
A malformed as_of returns a format error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:113
Method
test_invalid_as_of_returns_error
A malformed as_of returns a format error.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:246
Method
test_invalid_attribute_type
Error: AttributeType not S/N/B.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:341
Method
test_invalid_auth_mode_falls_back_to_iam
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:455
Method
test_invalid_batch_run_settings_both_present
Test error when both inlineSettings and s3UriSettings are present.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:378
Method
test_invalid_batch_run_settings_neither_present
Test error when neither inlineSettings nor s3UriSettings are present.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:412
Method
test_invalid_batchgetitem_exceeds_max
Test BatchGetItem exceeding maximum items.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_get_item.py:68
Method
test_invalid_batchwriteitem_exceeds_max
Test BatchWriteItem exceeding maximum items.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_write_item.py:69
Method
test_invalid_billing_period
A malformed billing period is rejected without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:490
Method
test_invalid_billing_period_format
A malformed billing_period returns a YYYY-MM error.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:218
Method
test_invalid_billing_period_month
An out-of-range month returns an error.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:226
Function
test_invalid_bound_placeholder_syntax_is_rejected
A parameters object makes unescaped percent operators invalid to psycopg.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:125
Method
test_invalid_brevity_raises_error
Test that invalid brevity setting raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:291
Method
test_invalid_bucket_chars_rejected
Bucket names with uppercase or special chars raise ValueError. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:212
Method
test_invalid_bucket_name_rejected
S3 URIs with invalid bucket names are rejected before any S3 API calls. Validates: Requirements S3 Path Format Validation
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:778
Method
test_invalid_cache_behavior_returns_error_without_api_call
Invalid cache behavior produces an error dict and the HealthOmics API is never called. Validates: Invalid cache behavior produces validation
src/aws-healthomics-mcp-server/tests/test_run_cache.py:143
Method
test_invalid_calculator_input_ap_size_exceeds_gsi_size
Test DataModel with access pattern size exceeding GSI size.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:191
Method
test_invalid_calculator_input_ap_size_exceeds_table_size
Test CalculatorInput with access pattern size exceeding table size.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:177
Method
test_invalid_calculator_input_duplicate_table_names
Test DataModel with duplicate table names.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:105
Method
test_invalid_calculator_input_empty_access_patterns
Test DataModel with empty access pattern list.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:91
Method
test_invalid_calculator_input_gsi_list_not_found
Test DataModel with write operation referencing non-existent GSI in list.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:152
Method
test_invalid_calculator_input_gsi_not_found
Test DataModel with access pattern referencing non-existent GSI.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:129
Method
test_invalid_calculator_input_table_not_found
Test DataModel with access pattern referencing non-existent table.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:118
Method
test_invalid_characters
Test replacing invalid characters.
src/lambda-tool-mcp-server/tests/test_server.py:58
Method
test_invalid_characters
Test invalid characters in name.
src/amazon-mq-mcp-server/tests/rabbitmq/test_connection.py:52
Method
test_invalid_characters
Test that invalid characters are rejected.
src/ecs-mcp-server/tests/unit/utils/test_security.py:79
Method
test_invalid_characters
Test rejection of invalid characters in job names.
src/amazon-translate-mcp-server/tests/test_security_validators.py:244
Method
test_invalid_characters
Test rejection of invalid characters.
src/amazon-translate-mcp-server/tests/test_security_validators.py:282
Function
test_invalid_choice_for_option
Test that an invalid choice for an option raises InvalidChoiceForParameterError.
src/aws-api-mcp-server/tests/parser/test_parser.py:211
Method
test_invalid_cluster_region_raises_error
Test that invalid cluster_region raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:843
Method
test_invalid_cluster_resource_id_raises_error
Test that invalid cluster_resource_id raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:832
Method
test_invalid_cluster_type_raises
An unknown cluster_type value should raise ValueError.
src/mysql-mcp-server/tests/test_cp_api_connection.py:487
Method
test_invalid_colspan_treated_as_1
colspan='auto' is treated as 1, not a crash.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1191
Method
test_invalid_confidence_score_raises_error
Test that invalid confidence score raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:90
Method
test_invalid_confidence_score_raises_error
Test that invalid confidence score raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:129
Method
test_invalid_config
Test invalid server configuration.
src/amazon-translate-mcp-server/tests/test_config.py:59
Method
test_invalid_config_template_method
Test that the template method pattern handles invalid config correctly.
src/openapi-mcp-server/tests/auth/test_base_auth.py:94
Function
test_invalid_configservice_operation
Test invalid ConfigService operation.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:381
Function
test_invalid_credential_rejected_at_boundary
A request with an invalid credential is rejected at the boundary before the Server. Validates: Requirements AgentCore deployment demonstration (t
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:151
Function
test_invalid_data_catalog_operation
Test that running manage_aws_athena_data_catalogs with an invalid operation results in an error.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_data_catalog_handler.py:334
Function
test_invalid_database_table_operation
Test that running manage_aws_athena_databases_and_tables with an invalid operation results in an error.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_data_catalog_handler.py:548
Method
test_invalid_datastore_id
Test invalid datastore ID.
src/healthlake-mcp-server/tests/test_models.py:63
Method
test_invalid_date_format
A malformed start_date returns a format error.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:234
Method
test_invalid_db_type_exits_nonzero
Unknown --db_type values must exit(1) with a clear log line.
src/mysql-mcp-server/tests/test_server_main.py:82
Method
test_invalid_db_user_raises_error
Test that invalid db_user raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:821
Method
test_invalid_destination_details_json
Test parsing log delivery with invalid DestinationDetails JSON.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:158
Method
test_invalid_destination_type
Test parsing log delivery with invalid DestinationType.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:131
Method
test_invalid_digest_format_no_sha256_prefix
Test that digest without sha256: prefix returns validation error.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2292
Method
test_invalid_digest_format_wrong_prefix
Test that digest with wrong prefix returns validation error.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2317
Method
test_invalid_directionality_raises_error
Test that invalid directionality raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:506
Method
test_invalid_document_json_skipped
A segment with unparseable JSON is skipped, valid ones kept.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:340
Method
test_invalid_ecr_repository
Test invalid ECR repository URLs.
src/finch-mcp-server/tests/test_utils_push.py:27
Method
test_invalid_empty
An empty string raises ValueError.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:73
Function
test_invalid_emr_operation
Test invalid EMR operation.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:389
Method
test_invalid_enabled
Test parsing log delivery with invalid Enabled value.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:149
Method
test_invalid_environment_values
Test handling of invalid environment variable values.
src/amazon-translate-mcp-server/tests/test_config.py:623
Method
test_invalid_error_rate_raises_error
Test that invalid error rate raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:732
Method
test_invalid_event_type
Test error handling for invalid event type.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_logs.py:114
Function
test_invalid_execution_class
Test that passing an invalid execution class results in an error.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:619
Function
test_invalid_execution_modes
Test invalid execution modes and parameter combinations.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:595
Method
test_invalid_file_type
Test handling of invalid file type.
src/aws-healthomics-mcp-server/tests/test_genomics_file_search_integration_working.py:187
Method
test_invalid_file_type_in_determine_group_type
Test _determine_group_type with unknown file types.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:601
Method
test_invalid_filter_name
An unknown filter name errors and lists the valid names.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:933
← previous
next →
21,101–21,200 of 32,024, ranked by callers