Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_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
Function
test_environment_variables_handling
Test that environment variables can be accessed.
src/billing-cost-management-mcp-server/tests/test_server.py:62
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_epoch_milliseconds
Epoch milliseconds are recognized by magnitude.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:193
Method
test_epoch_ms_to_utc_iso
Test converting epoch milliseconds to ISO format.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:65
Method
test_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
Method
test_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
Method
test_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
Method
test_epoch_seconds_float
Fractional epoch seconds keep their sub-second part.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:189
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:339
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:510
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:739
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:965
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:458
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:500
Method
test_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
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:623
Method
test_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
Method
test_error
An unknown id is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:577
Method
test_error
A client failure is reported rather than raised.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:684
Method
test_error
Test listing config check definitions handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:63
Method
test_error
Test getting config check summary handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:149
Method
test_error
Test getting config check operation handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:183
Method
test_error
Test listing sub-check results handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:217
Method
test_error
Test listing sub-check rule results handles errors.
src/aws-for-sap-management-mcp-server/tests/test_config_checks.py:249
Method
test_error
Test listing schedules handles errors.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:286
Method
test_error_accepts_any_message
DummyCtx.error should accept any string.
src/mysql-mcp-server/tests/test_server_helpers.py:164
Method
test_error_access_denied_exception
Test handling of AccessDeniedException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1393
Method
test_error_access_denied_exception
Test handling of AccessDeniedException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3463
Method
test_error_analysis_comprehensive
Test comprehensive error analysis functionality.
src/amazon-translate-mcp-server/tests/test_workflow_orchestrator.py:772
Method
test_error_and_async_flags
Mark failing frames with ERROR and async frames with [async].
src/cloudwatch-applicationsignals-mcp-server/tests/test_formatting.py:61
Method
test_error_body_json_parse_failure
When response.json() raises, fallback message is used.
src/aws-transform-mcp-server/tests/test_http_utils.py:228
Method
test_error_botocore_error
Test handling of BotoCoreError.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1446
Method
test_error_botocore_error
Test handling of BotoCoreError.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3527
Method
test_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
Function
test_error_code_to_http_status
Test mapping of error codes to HTTP status codes.
src/mcp-lambda-handler/tests/test_lambda_handler.py:116
Method
test_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
Method
test_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
Method
test_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
Method
test_error_does_not_raise
DummyCtx.error should not raise.
src/mysql-mcp-server/tests/test_server_helpers.py:159
Method
test_error_envelope
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:111
Method
test_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
Method
test_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
Method
test_error_file_exists
FileExistsError from write is caught and returns JSON error.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:425
Method
test_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
Method
test_error_getting_tags
Test error handling when getting tags.
src/lambda-tool-mcp-server/tests/test_server.py:241
Method
test_error_guidance_full_content
Test the full content of ERROR status guidance.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:169
Function
test_error_handling
Test that the server handles errors correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2103
Method
test_error_handling
Test that errors during client creation are handled properly.
src/eks-mcp-server/tests/test_aws_helper.py:225
Method
test_error_handling
Test error handling in server functions.
src/healthimaging-mcp-server/tests/test_server.py:128
Method
test_error_handling
Test error handling in get_cost_and_usage.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:430
Method
test_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
Method
test_error_handling
Test error handling in get_dimension_values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1003
Method
test_error_handling
Test error handling in get_cost_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1131
Method
test_error_handling
Test error handling in get_usage_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1241
Method
test_error_handling
Test error handling in get_tags.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1620
Method
test_error_handling
Test error handling in get_cost_categories.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1761
Method
test_error_handling
Test error handling in get_savings_plans_utilization.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1884
Method
test_error_handling
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:101
Method
test_error_handling
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:239
Method
test_error_handling
Test error handling in get_alarm_history.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:379
Method
test_error_handling
Test error handling with parameterization.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:393
Method
test_error_handling
Test error handling in list_registries.
src/aws-serverless-mcp-server/tests/test_schemas.py:63
Method
test_error_handling
Test error handling in search_schemas.
src/aws-serverless-mcp-server/tests/test_schemas.py:114
Method
test_error_handling
Test error handling in describe_schema.
src/aws-serverless-mcp-server/tests/test_schemas.py:168
Method
test_error_handling
Test that errors during client creation are handled properly.
src/sagemaker-ai-mcp-server/tests/test_aws_helper.py:228
Method
test_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
Method
test_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
Method
test_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
Method
test_error_handling_client_error
Test handling of AWS client errors.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:645
Method
test_error_handling_during_initialization
Test proper error handling during server initialization.
src/ecs-mcp-server/tests/unit/test_main.py:308
Method
test_error_handling_general_exception
Test handling of general exceptions.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:658
Function
test_error_handling_invalid_data
Test error handling with invalid data.
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:430
Method
test_error_handling_paths
Test error handling and edge case code paths.
src/openapi-mcp-server/tests/test_coverage_boost.py:82
Method
test_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
Method
test_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:208
Method
test_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:640
Method
test_error_is_returned_not_raised
(self, mock_resolve)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:703
Method
test_error_is_returned_not_raised
(self, mock_omics)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:738
Method
test_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
Method
test_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
Method
test_error_message_constants
Test error message constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:178
Method
test_error_message_does_not_echo_host
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:499
Method
test_error_message_does_not_echo_token
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:107
Function
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_error_message_quality
Test that error messages are informative and helpful.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:508
Method
test_error_message_returns_assistant_error
ERROR messageType should return error_result with ASSISTANT_ERROR.
src/aws-transform-mcp-server/tests/test_chat.py:395
Method
test_error_messages_are_strings
Test that all error messages are strings.
src/aws-healthomics-mcp-server/tests/test_consts.py:187
Method
test_error_messages_contain_placeholders
Test that parameterized error messages contain format placeholders.
src/aws-healthomics-mcp-server/tests/test_consts.py:194
Function
test_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
← previous
next →
17,601–17,700 of 35,417, ranked by callers