MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_transaction_bypass_set_transaction
SET TRANSACTION is detected as transaction control.
src/oracle-mcp-server/tests/test_server.py:899
Methodtest_transaction_bypass_variations
Test detection of various transaction bypass attempts.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:123
Methodtest_transaction_capacity_doubling_property
Property 3: Transaction Capacity Doubling. For any TransactGetItems or TransactWriteItems access pattern, the calculated capa
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:256
Methodtest_transaction_control_is_rejected
Transaction-control statements (with WORK/TRANSACTION variants) are rejected.
src/redshift-mcp-server/tests/test_sql_guard.py:113
Methodtest_transaction_overhead_is_2x
Transaction WCUs are exactly 2x the base write cost.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_write_items.py:104
Methodtest_transaction_overhead_is_exactly_2x
Transaction overhead is exactly 2x compared to base RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_get_items.py:101
Methodtest_transaction_patterns_have_required_fields
Test that all transaction patterns have required fields.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1290
Methodtest_transaction_service_content
Test transaction_service.py contains expected content.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_transaction_service_generation.py:45
Methodtest_transaction_service_linting_passes
Test generated transaction service passes ruff linting.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_transaction_service_generation.py:200
Methodtest_transaction_service_method_signatures
Test transaction service methods have correct signatures.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_transaction_service_generation.py:179
Methodtest_transaction_service_template_loads
Test that transaction service template loads successfully.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1150
Methodtest_transactions_on_different_databases_are_independent
The name is scoped to the cluster and database it was opened against.
src/redshift-mcp-server/tests/test_redshift.py:3013
Methodtest_transactwriteitems_calculate_gsi_wcus_with_item_count
Test TransactWriteItems GSI WCU calculation multiplies by item_count.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_write_items.py:163
Methodtest_transform
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_list_resources.py:100
Methodtest_transform_composite_alarm_direct
Test _transform_composite_alarm method directly.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:524
Methodtest_transform_composite_alarm_with_minimal_data
Test composite alarm transformation with minimal data.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:428
Methodtest_transform_expression_validation
Test Transform expression validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:303
Methodtest_transform_history_item_error_handling
Test _transform_history_item error handling - covers lines 436, 443-444, 446.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:139
Methodtest_transform_history_item_general_exception
Test _transform_history_item with general exception in JSON processing.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:197
Methodtest_transform_history_item_json_parse_error
Test _transform_history_item with JSON parse error.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:170
Methodtest_transform_history_item_with_invalid_json
Test history item transformation with invalid JSON.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:239
Methodtest_transform_history_item_with_state_update
Test history item transformation with state update data.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:211
Methodtest_transform_metric_alarm_direct
Test _transform_metric_alarm method directly.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:495
Methodtest_transform_metric_alarm_with_missing_threshold
Test metric alarm transformation with missing threshold.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:409
Methodtest_transform_pricing_data_combined_pricing_and_attributes
Test filtering with both pricing terms and product attributes.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:331
Methodtest_transform_pricing_data_empty_list
Test that transform_pricing_data returns empty list for empty input.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:205
Methodtest_transform_pricing_data_json_error
Test error handling when JSON deserialization fails.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:235
Methodtest_transform_pricing_data_mixed_json_strings
Test filtering with JSON strings only (new simplified approach).
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:492
Methodtest_transform_pricing_data_multiple_terms
Test filtering with multiple allowed pricing terms.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:145
Methodtest_transform_pricing_data_no_options
Test that no filtering is applied when output_options is None.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:81
Methodtest_transform_pricing_data_no_product_attributes_section
Test filtering with items that have product but no attributes section.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:411
Methodtest_transform_pricing_data_no_product_section
Test filtering with items that don't have a product section.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:384
Methodtest_transform_pricing_data_no_terms_section
Test filtering with items that don't have a terms section.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:210
Methodtest_transform_pricing_data_ondemand_only
Test filtering to OnDemand pricing terms only.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:106
Methodtest_transform_pricing_data_product_attributes_only
Test filtering to specific product attributes only.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:286
Methodtest_transform_pricing_data_product_attributes_size_reduction
Test that product attribute filtering reduces response size.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:442
Methodtest_transform_pricing_data_reserved_only
Test filtering to Reserved pricing terms only.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:177
Methodtest_transform_pricing_data_size_reduction
Test that filtering actually reduces response size.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:246
Methodtest_transform_processing_config
Test TransformProcessingConfig model.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:829
Methodtest_transform_property_type
Test creating a transform property type.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:229
Methodtest_transformer_extra_parameters_ignored
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:285
Methodtest_transformer_functions_exist
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:42
Methodtest_transient_error
( self, mock_configured, mock_fes_cookie, mock_get_config, mock_boto3,
src/aws-transform-mcp-server/tests/test_configure.py:574
Methodtest_transient_mix_is_retried_without_hint
Throttling plus a 5xx is still transient, with no single hint.
src/billing-cost-management-mcp-server/tests/utilities/test_error_contract.py:174
Methodtest_transient_wins_over_modify
A throttled region may still hold the result, so retrying is right.
src/billing-cost-management-mcp-server/tests/utilities/test_error_contract.py:179
Functiontest_transit_gateway_route_table_attachment_success
Test successful Transit Gateway Route Table attachment retrieval.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_attachment_details.py:128
Methodtest_transit_gateway_tools_available
Test that Transit Gateway tools are available.
src/aws-network-mcp-server/tests/test_server.py:125
Methodtest_translate_client_property
Test translate client property lazy loading.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:94
Methodtest_translate_exception
Test base TranslateException.
src/amazon-translate-mcp-server/tests/test_models.py:786
Methodtest_translate_known_code
Test translate known code.
src/security-agent-mcp-server/tests/test_server.py:654
Methodtest_translate_missing_response_shape
Test translate missing response shape.
src/security-agent-mcp-server/tests/test_server.py:681
Methodtest_translate_text_auto_detect
Test text translation with automatic language detection.
src/amazon-translate-mcp-server/tests/test_translation_service.py:120
Methodtest_translate_text_exception_handling
Test translate_text exception handling.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:67
Methodtest_translate_text_params_validation
Test TranslateTextParams validation.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:63
Methodtest_translate_text_params_validation
Test TranslateTextParams validation.
src/amazon-translate-mcp-server/tests/test_server.py:79
Methodtest_translate_text_real_execution
Test translate_text method with real code execution.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1317
Functiontest_translate_text_service_error
Test translate_text when service raises an error.
src/amazon-translate-mcp-server/tests/test_server.py:935
Methodtest_translate_text_service_error
Test translation when service raises an error.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:245
Functiontest_translate_text_service_not_initialized
Test translate_text when service is not initialized.
src/amazon-translate-mcp-server/tests/test_server.py:923
Methodtest_translate_text_service_not_initialized
Test translation when service is not initialized.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:228
Methodtest_translate_text_service_not_initialized
Test translate_text when service is not initialized.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:52
Methodtest_translate_text_service_not_initialized
Test translate_text when translation service is not initialized.
src/amazon-translate-mcp-server/tests/test_server.py:330
Functiontest_translate_text_standard_pattern
Test the translate_text tool using standard pattern.
src/amazon-translate-mcp-server/tests/test_server.py:875
Methodtest_translate_text_success
Test successful text translation via MCP tool.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:187
Methodtest_translate_text_success
Test successful text translation.
src/amazon-translate-mcp-server/tests/test_translation_service.py:81
Methodtest_translate_text_success
Test successful text translation.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:16
Methodtest_translate_text_tool_exception_handling
Test translate_text exception handling.
src/amazon-translate-mcp-server/tests/test_server_tools.py:116
Methodtest_translate_text_tool_service_not_initialized
Test translate_text when service is not initialized.
src/amazon-translate-mcp-server/tests/test_server_tools.py:93
Methodtest_translate_text_tool_success
Test translate_text tool execution.
src/amazon-translate-mcp-server/tests/test_server_tools.py:52
Methodtest_translate_text_tool_validation
Test translate_text tool validation.
src/amazon-translate-mcp-server/tests/test_server.py:104
Methodtest_translate_text_validation_errors
Test translation input validation errors.
src/amazon-translate-mcp-server/tests/test_translation_service.py:162
Methodtest_translate_text_with_asyncio_executor
Test that translate_text properly uses asyncio executor.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:409
Methodtest_translate_text_with_none_terminology
Test translation with None terminology names.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:351
Functiontest_translate_text_with_terminology
Test translate_text with terminology names.
src/amazon-translate-mcp-server/tests/test_server.py:899
Methodtest_translate_unknown_code_uses_fallback
Test translate unknown code uses fallback.
src/security-agent-mcp-server/tests/test_server.py:668
Methodtest_translate_with_auto_detection
Test translation with auto language detection.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:721
Methodtest_translate_with_settings
Test translation with custom settings.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:860
Methodtest_translates_client_error_with_attempted_block
A backend error renders the attempted-retrieval block.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:987
Methodtest_translation_error
Test TranslationError.
src/amazon-translate-mcp-server/tests/test_models.py:815
Methodtest_translation_error_with_languages
Test TranslationError with language information.
src/amazon-translate-mcp-server/tests/test_exceptions.py:141
Methodtest_translation_result_minimal
Test creating translation result with minimal fields.
src/amazon-translate-mcp-server/tests/test_models.py:65
Methodtest_translation_retry_config
Test translation operation retry configuration.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:379
Methodtest_translation_retry_on_throttling
Test translation retry on throttling errors.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:27
Methodtest_translation_service_constants_real
Test real translation service constants.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1156
Methodtest_translation_service_content_type_validation_real
Test real translation service content type validation.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1222
Methodtest_translation_service_error_handling_real
Test real translation service error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1267
Methodtest_translation_service_language_validation_real
Test real translation service language validation.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1200
Methodtest_translation_service_private_methods_real
Test real translation service private methods.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1287
Methodtest_translation_service_real_initialization
Test translation service initialization with mocked AWS client.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1139
Methodtest_translation_service_utility_methods_real
Test real translation service utility methods.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1239
Methodtest_translation_service_validation_real
Test real translation service validation.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1178
Methodtest_translation_settings_validation
Test TranslationSettings validation.
src/amazon-translate-mcp-server/tests/test_advanced_functionality.py:15
Methodtest_transport_cli_wins_when_non_empty
A non-empty CLI transport wins; a blank CLI value falls back to env.
src/aws-healthomics-mcp-server/tests/test_config.py:229
Methodtest_transport_failure
The request never completed, so say so rather than failing bare.
src/aws-documentation-mcp-server/tests/test_tool_errors.py:150
Methodtest_transport_match_is_case_sensitive
Case-mismatched transports are unsupported (case-sensitive match).
src/aws-healthomics-mcp-server/tests/test_config.py:207
Methodtest_traversal_does_not_write_files
Property: No files are written when traversal is detected. Validates: Error is returned BEFORE any file I/O occurs.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:442
Methodtest_traversal_falls_through_to_inline
Path traversal in detect_content_input_type falls through to INLINE_CONTENT.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:101
Methodtest_traversal_in_filename_neutralized
(self, tmp_path)
src/aws-transform-mcp-server/tests/test_tool_utils.py:504
Methodtest_traversal_in_filename_stripped
(self)
src/aws-transform-mcp-server/tests/test_file_validation.py:110
Methodtest_traversal_in_save_path_with_extension
When save_path looks like a file (has extension), traversal in it is resolved.
src/aws-transform-mcp-server/tests/test_tool_utils.py:594
← previousnext →32,901–33,000 of 35,417, ranked by callers