MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_internal_create_connection_evicts_on_secret_change
Cached connection is evicted when the resolved ARN differs.
src/mssql-mcp-server/tests/test_server_extended.py:601
Functiontest_internal_create_connection_falls_back_to_master_secret
When no --secret_arn is configured, fall back to the RDS master secret.
src/mssql-mcp-server/tests/test_server.py:1273
Functiontest_internal_create_connection_missing_connection_method
Empty connection_method raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:251
Functiontest_internal_create_connection_missing_endpoint
Empty db_endpoint raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:265
Functiontest_internal_create_connection_missing_endpoint_raises
Missing db_endpoint raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:522
Functiontest_internal_create_connection_missing_master_secret_raises
If no secret_arn and instance has no MasterUserSecret, raises ValueError.
src/mssql-mcp-server/tests/test_endpoint_validation.py:297
Functiontest_internal_create_connection_missing_method_raises
Missing connection_method raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:535
Functiontest_internal_create_connection_missing_region
Raises ValueError when region is empty.
src/oracle-mcp-server/tests/test_server.py:1435
Functiontest_internal_create_connection_missing_region_raises
Missing region raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:509
Functiontest_internal_create_connection_multitenant_with_secret_still_validates
Multi-tenant guard runs even when a secret_arn is configured (not bypassed).
src/oracle-mcp-server/tests/test_server.py:2751
Functiontest_internal_create_connection_multitenant_without_tenant_db_name_raises
Raises ValueError when instance is multi-tenant but no tenant_database_name provided.
src/oracle-mcp-server/tests/test_server.py:1701
Functiontest_internal_create_connection_non_multitenant_without_tenant_db_name_succeeds
Non-multi-tenant instance connects fine without tenant_database_name.
src/oracle-mcp-server/tests/test_server.py:1731
Functiontest_internal_create_connection_odb_arn
ODB ARN is correctly detected and used with get_autonomous_database.
src/oracle-mcp-server/tests/test_server.py:1874
Functiontest_internal_create_connection_odb_autonomous_db
ODB autonomous database path resolves endpoint from get_autonomous_database.
src/oracle-mcp-server/tests/test_server.py:1834
Functiontest_internal_create_connection_odb_no_endpoint_raises
Raises ValueError when autonomous database has no private endpoint.
src/oracle-mcp-server/tests/test_server.py:1907
Functiontest_internal_create_connection_odb_no_secret_raises
Raises ValueError when autonomous database is used without secret_arn.
src/oracle-mcp-server/tests/test_server.py:1930
Functiontest_internal_create_connection_odb_resolves_endpoint_before_cache_lookup
ODB endpoint is resolved before the cache lookup so reconnects hit the cache. Regression guard for the pool leak: if the lookup ran with db_endpo
src/oracle-mcp-server/tests/test_server.py:1946
Functiontest_internal_create_connection_odb_with_explicit_endpoint
When db_endpoint is explicitly provided for ODB, skips get_autonomous_database call.
src/oracle-mcp-server/tests/test_server.py:1978
Functiontest_internal_create_connection_odb_with_explicit_secret
When secret_arn is provided but no endpoint, calls get_autonomous_database to resolve endpoint.
src/oracle-mcp-server/tests/test_server.py:2004
Functiontest_internal_create_connection_publishes_only_after_successful_validation
A successful validate_sync is followed by publishing the connection to the map.
src/db2-mcp-server/tests/test_server.py:1196
Functiontest_internal_create_connection_rds_describe_best_effort_with_secret
With a configured secret, a describe_db_instances failure is non-fatal (best-effort guard). Least-privilege operators (secretsmanager access but
src/oracle-mcp-server/tests/test_server.py:1618
Functiontest_internal_create_connection_rds_describe_required_without_secret
With no configured secret, a describe_db_instances failure is fatal (need the master secret).
src/oracle-mcp-server/tests/test_server.py:1650
Functiontest_internal_create_connection_rds_no_endpoint_raises
RDS instance without db_endpoint raises ValueError.
src/oracle-mcp-server/tests/test_server.py:2039
Functiontest_internal_create_connection_rds_not_found_error
ClientError with DBInstanceNotFound raises ValueError.
src/oracle-mcp-server/tests/test_server.py:2680
Functiontest_internal_create_connection_rds_not_found_error
ClientError with DBInstanceNotFound raises clear ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:633
Functiontest_internal_create_connection_rds_other_client_error
ClientError with non-DBInstanceNotFound code raises ValueError.
src/oracle-mcp-server/tests/test_server.py:2704
Functiontest_internal_create_connection_rds_other_client_error
ClientError with non-DBInstanceNotFound code raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:666
Functiontest_internal_create_connection_rejects_invalid_endpoint
internal_create_connection raises ValueError for invalid endpoints.
src/mssql-mcp-server/tests/test_endpoint_validation.py:262
Functiontest_internal_create_connection_replaces_on_secret_change
Replaces existing connection when configured secret_arn changes.
src/oracle-mcp-server/tests/test_server.py:1381
Functiontest_internal_create_connection_returns_existing
Returns existing connection without creating a new one.
src/oracle-mcp-server/tests/test_server.py:1360
Functiontest_internal_create_connection_returns_existing
Second call with the same key returns the cached connection.
src/mssql-mcp-server/tests/test_server_extended.py:548
Functiontest_internal_create_connection_ssl_noverify_mode
The configured 'noverify' TLS mode is applied to the connection (not caller input).
src/oracle-mcp-server/tests/test_server.py:1265
Functiontest_internal_create_connection_ssl_uses_configured_mode
The connection uses the operator-configured TLS mode (not any caller input).
src/oracle-mcp-server/tests/test_server.py:1239
Functiontest_internal_create_connection_target_name_differentiates_cache
Same instance with different service_name values use different cache entries.
src/oracle-mcp-server/tests/test_server.py:1578
Functiontest_internal_create_connection_tenant_database
Retrieves secret_arn from describe_tenant_databases when tenant_database_name is given.
src/oracle-mcp-server/tests/test_server.py:1492
Functiontest_internal_create_connection_tenant_database_no_secret_raises
Raises ValueError when tenant database has no managed master secret.
src/oracle-mcp-server/tests/test_server.py:1534
Functiontest_internal_create_connection_tenant_database_not_found_raises
Raises ValueError when no tenant database is found.
src/oracle-mcp-server/tests/test_server.py:1557
Functiontest_internal_create_connection_tenant_describe_best_effort_with_secret
With a configured secret, a describe_tenant_databases failure is non-fatal (PDB path).
src/oracle-mcp-server/tests/test_server.py:1672
Functiontest_internal_create_connection_tenant_describe_client_error
describe_tenant_databases ClientError surfaces a clear ValueError.
src/oracle-mcp-server/tests/test_server.py:2838
Functiontest_internal_create_connection_uses_default_secret_arn
Falls back to configured_default_secret_arn when no per-target ARN is configured.
src/oracle-mcp-server/tests/test_server.py:1410
Functiontest_internal_create_connection_uses_per_target_secret_arn
Per-target --secret_arn overrides the bare default ARN.
src/oracle-mcp-server/tests/test_server.py:2495
Functiontest_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
Functiontest_internal_create_connection_validates_before_publishing
internal_create_connection validates connectivity BEFORE publishing to the map. When validate_sync fails (unreachable endpoint, bad secret, SSL e
src/db2-mcp-server/tests/test_server.py:1164
Functiontest_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
Functiontest_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
Methodtest_internal_server_error_handling
Test internal server error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1003
Methodtest_interpolation_preserves_seasonality
Test that interpolation preserves seasonal patterns.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:194
Methodtest_interpolation_with_empty_data
Test interpolation with empty data.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:233
Methodtest_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
Methodtest_interpolation_with_none_period
Test interpolation with None period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:393
Methodtest_interpolation_with_single_point
Test interpolation with single data point.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:221
Methodtest_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
Methodtest_interpolation_with_zero_period
Test interpolation with zero period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:410
Functiontest_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
Functiontest_interpret_command_credentials_precedence
Test that provided credentials take precedence over local credentials.
src/aws-api-mcp-server/tests/aws/test_driver.py:364
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_interpret_command_without_credentials_parameter
Test that interpret_command works without credentials parameter.
src/aws-api-mcp-server/tests/aws/test_service.py:637
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_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
Functiontest_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:845
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_intra_group_dependencies
Test detection of intra-group dependencies.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:729
Methodtest_invalid_action_validation
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:20
Methodtest_invalid_additional_mapping_skipped
Test that invalid additional mappings are skipped.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:342
Methodtest_invalid_alternative_language_raises_error
Test that invalid alternative language raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:134
Methodtest_invalid_arn_format
Test rejection of invalid ARN formats.
src/amazon-translate-mcp-server/tests/test_security_validators.py:212
Methodtest_invalid_arn_format
Test invalid ARN formats.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:33
Methodtest_invalid_arn_raises_error
Test that invalid ARN raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:205
Methodtest_invalid_arn_raises_error
Test that invalid ARN raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:264
Methodtest_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:114
Methodtest_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:307
Methodtest_invalid_attribute_type
Error: AttributeType not S/N/B.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:341
Methodtest_invalid_auth_mode_falls_back_to_iam
(self)
src/eks-mcp-server/tests/test_k8s_client_cache.py:455
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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:735
Methodtest_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:621
Methodtest_invalid_billing_period_month
An out-of-range month returns an error.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:639
Functiontest_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
Methodtest_invalid_brevity_raises_error
Test that invalid brevity setting raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:291
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
← previousnext →23,101–23,200 of 35,417, ranked by callers