MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_environment_variable_without_cli_flag
Test behavior when environment variable is set but no CLI flag is provided.
src/finch-mcp-server/tests/test_cli_flags.py:649
Functiontest_environment_variables_handling
Test that environment variables can be accessed.
src/billing-cost-management-mcp-server/tests/test_server.py:62
Methodtest_environment_variables_not_set_by_default
Test that environment variables are not set when flags are not provided.
src/finch-mcp-server/tests/test_cli_flags.py:172
Methodtest_epoch_dates_are_supported
Dates given as epoch seconds or milliseconds are classified like datetimes.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:413
Methodtest_epoch_int_timestamps_normalized_to_iso
Epoch INTEGER seconds for IssuedDate/DueDate are normalized to ISO 8601 strings.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:940
Methodtest_epoch_issued_date_in_local_timezone_is_null
The epoch as an aware datetime in a non-UTC zone is still the unset marker.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:1008
Methodtest_epoch_milliseconds
Epoch milliseconds are recognized by magnitude.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:193
Methodtest_epoch_ms_to_utc_iso
Test converting epoch milliseconds to ISO format.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:65
Methodtest_epoch_ms_to_utc_iso_with_z_suffix
Test epoch_ms_to_utc_iso when isoformat returns Z suffix.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:230
Methodtest_epoch_second_timestamps_are_not_1970
JSON callers send epoch seconds; enrollment dates must not land in 1970.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:2436
Methodtest_epoch_seconds
Epoch seconds (the AWS JSON wire form) are not divided by 1000.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:185
Methodtest_epoch_seconds_float
Fractional epoch seconds keep their sub-second part.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:189
Methodtest_epoch_zero_is_a_value
Epoch 0 is a real instant, not a missing value.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:204
Methodtest_equality_takes_priority_over_display
If a field is used in both filter= and fields, filter_equality wins.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:97
Methodtest_equivalent_to_item_count_times_single_getitem_rcus
Batch RCUs equal item_count × single GetItem RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_get_item.py:156
Methodtest_equivalent_to_item_count_times_single_write
WCUs equal item_count times the WCU cost of a single item.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_write_item.py:118
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:339
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:510
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:739
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:965
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:458
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:500
Methodtest_error
Exceeding the three-a-day refresh limit is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:530
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:623
Methodtest_error
An analysis already in flight is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:323
Methodtest_error
An unknown id is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:577
Methodtest_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:684
Methodtest_error
Test listing config check definitions handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:63
Methodtest_error
Test getting config check summary handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:149
Methodtest_error
Test getting config check operation handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:183
Methodtest_error
Test listing sub-check results handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:217
Methodtest_error
Test listing sub-check rule results handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:249
Methodtest_error
Test listing schedules handles errors.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:286
Methodtest_error_accepts_any_message
DummyCtx.error should accept any string.
src/mysql-mcp-server/tests/test_server_helpers.py:164
Methodtest_error_access_denied_exception
Test handling of AccessDeniedException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1393
Methodtest_error_access_denied_exception
Test handling of AccessDeniedException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3463
Methodtest_error_analysis_comprehensive
Test comprehensive error analysis functionality.
src/amazon-translate-mcp-server/tests/test_workflow_orchestrator.py:772
Methodtest_error_and_async_flags
Mark failing frames with ERROR and async frames with [async].
src/cloudwatch-applicationsignals-mcp-server/tests/test_formatting.py:61
Methodtest_error_body_json_parse_failure
When response.json() raises, fallback message is used.
src/aws-transform-mcp-server/tests/test_http_utils.py:228
Methodtest_error_botocore_error
Test handling of BotoCoreError.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1446
Methodtest_error_botocore_error
Test handling of BotoCoreError.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3527
Methodtest_error_client_error_s3
ClientError from S3 write is caught and returns JSON error.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:489
Functiontest_error_code_to_http_status
Test mapping of error codes to HTTP status codes.
src/mcp-lambda-handler/tests/test_lambda_handler.py:116
Methodtest_error_content_text_matches_structured_content
The text block the model reads should carry the same fields as structured_content.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:97
Methodtest_error_custom_content_preserved
Content that is not the serialized structured_content should be left as-is.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:116
Methodtest_error_does_not_lift_data_error
Test only data['message'] is lifted, not other keys such as data['error'].
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:927
Methodtest_error_does_not_raise
DummyCtx.error should not raise.
src/mysql-mcp-server/tests/test_server_helpers.py:159
Methodtest_error_envelope
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:111
Methodtest_error_event_in_stream_raises
A modelled error event in the stream is raised, not silently dropped.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:283
Methodtest_error_explicit_message_wins_over_nested
Test an explicit message is not replaced by the nested text.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:933
Methodtest_error_file_exists
FileExistsError from write is caught and returns JSON error.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:425
Methodtest_error_file_exists
When write_svg_to_local raises FileExistsError, handle_tool_error is called. Validates: Requirements OS Error Handling
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:1735
Methodtest_error_getting_tags
Test error handling when getting tags.
src/lambda-tool-mcp-server/tests/test_server.py:241
Methodtest_error_guidance_full_content
Test the full content of ERROR status guidance.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:169
Functiontest_error_handling
Test that the server handles errors correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2103
Methodtest_error_handling
Test that errors during client creation are handled properly.
src/eks-mcp-server/tests/test_aws_helper.py:225
Methodtest_error_handling
Test error handling in server functions.
src/healthimaging-mcp-server/tests/test_server.py:128
Methodtest_error_handling
Test error handling in get_cost_and_usage.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:430
Methodtest_error_handling
Test error handling in get_cost_and_usage_with_resources.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:846
Methodtest_error_handling
Test error handling in get_dimension_values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1003
Methodtest_error_handling
Test error handling in get_cost_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1131
Methodtest_error_handling
Test error handling in get_usage_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1241
Methodtest_error_handling
Test error handling in get_tags.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1620
Methodtest_error_handling
Test error handling in get_cost_categories.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1761
Methodtest_error_handling
Test error handling in get_savings_plans_utilization.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1884
Methodtest_error_handling
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:101
Methodtest_error_handling
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:239
Methodtest_error_handling
Test error handling in get_alarm_history.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:379
Methodtest_error_handling
Test error handling with parameterization.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:393
Methodtest_error_handling
Test error handling in list_registries.
src/aws-serverless-mcp-server/tests/test_schemas.py:63
Methodtest_error_handling
Test error handling in search_schemas.
src/aws-serverless-mcp-server/tests/test_schemas.py:114
Methodtest_error_handling
Test error handling in describe_schema.
src/aws-serverless-mcp-server/tests/test_schemas.py:168
Methodtest_error_handling
Test that errors during client creation are handled properly.
src/sagemaker-ai-mcp-server/tests/test_aws_helper.py:228
Methodtest_error_handling
Test that error handling works correctly for various operations.
src/aws-dataprocessing-mcp-server/tests/core/glue_data_catalog/test_data_catalog_table_manager.py:480
Methodtest_error_handling
Test error handling when Glue API calls raise exceptions.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:561
Methodtest_error_handling_and_retry_logic
Test error handling and retry logic in AWS client operations.
src/amazon-translate-mcp-server/tests/test_aws_client.py:900
Methodtest_error_handling_client_error
Test handling of AWS client errors.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:645
Methodtest_error_handling_during_initialization
Test proper error handling during server initialization.
src/ecs-mcp-server/tests/unit/test_main.py:308
Methodtest_error_handling_general_exception
Test handling of general exceptions.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:658
Functiontest_error_handling_invalid_data
Test error handling with invalid data.
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:430
Methodtest_error_handling_paths
Test error handling and edge case code paths.
src/openapi-mcp-server/tests/test_coverage_boost.py:82
Methodtest_error_has_no_selections
A failed GetPreferences call returns the error shape with no selections.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:353
Methodtest_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:208
Methodtest_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:640
Methodtest_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:703
Methodtest_error_is_returned_not_raised
(self, mock_omics)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:738
Methodtest_error_keeps_request_metadata
request_id and http_status survive, as handle_aws_error returned them.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2622
Methodtest_error_lifts_data_message_to_top_level_message
Test an error whose text is only in data['message'] still gets a top-level message.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:918
Methodtest_error_message_constants
Test error message constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:178
Methodtest_error_message_does_not_echo_host
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:499
Methodtest_error_message_does_not_echo_token
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:107
Functiontest_error_message_includes_query_type
Test that error messages include the detected query type for debugging.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:935
Methodtest_error_message_names_the_offending_directory
The error explains which sensitive directory caused the rejection.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:152
Methodtest_error_message_names_the_served_page_throughout
The whole message names the served page, not just the substitution note.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1390
Methodtest_error_message_omits_identity_and_record
The mapped error surfaces only the table name and exception type.
src/aws-healthomics-mcp-server/tests/test_dynamodb_registry_source.py:166
Methodtest_error_message_quality
Test that error messages are informative and helpful.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:508
Methodtest_error_message_returns_assistant_error
ERROR messageType should return error_result with ASSISTANT_ERROR.
src/aws-transform-mcp-server/tests/test_chat.py:395
Methodtest_error_messages_are_strings
Test that all error messages are strings.
src/aws-healthomics-mcp-server/tests/test_consts.py:187
Methodtest_error_messages_contain_placeholders
Test that parameterized error messages contain format placeholders.
src/aws-healthomics-mcp-server/tests/test_consts.py:194
Functiontest_error_never_leaks_token_value
The derivation error message never includes the raw token value.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:227
← previousnext →17,601–17,700 of 35,417, ranked by callers