MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_handle_request_unsupported_content_type
Test handle_request with unsupported content type.
src/mcp-lambda-handler/tests/test_lambda_handler.py:459
Functiontest_handle_request_valid
Test handling of a valid request.
src/mcp-lambda-handler/tests/test_lambda_handler.py:148
Functiontest_handle_resources_list
Test handling resources/list request.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1248
Functiontest_handle_resources_read
Test handling resources/read request for different resource types.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1284
Functiontest_handle_resources_read_exception
Test handling resources/read request when resource reading fails.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1382
Functiontest_handle_resources_read_missing_uri
Test handling resources/read request with missing URI parameter.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1345
Functiontest_handle_resources_read_not_found
Test handling resources/read request for non-existent resource.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1361
Methodtest_handle_rnf
Testing rnf.
src/ccapi-mcp-server/tests/test_errors.py:60
Methodtest_handle_search_resources
Test search resources handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:137
Methodtest_handle_service_unavailable
Testing internal failure.
src/ccapi-mcp-server/tests/test_errors.py:90
Methodtest_handle_shovel
Test get shovel info handler.
src/amazon-mq-mcp-server/tests/rabbitmq/test_handlers.py:186
Methodtest_handle_start_export_job
Test start export job handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:184
Methodtest_handle_start_import_job
Test start import job handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:167
Functiontest_handle_states_the_time_format
The handle and the time-ordered sample query say how periods are stored.
src/billing-cost-management-mcp-server/tests/utilities/test_ce_time_period_format.py:276
Methodtest_handle_template_details_invalid_template
Test the handle_template_details function with an invalid template name.
src/aws-serverless-mcp-server/tests/test_template_details.py:52
Methodtest_handle_template_details_valid_templates
Test the handle_template_details function with valid template names.
src/aws-serverless-mcp-server/tests/test_template_details.py:25
Methodtest_handle_template_list
Test the handle_template_list function.
src/aws-serverless-mcp-server/tests/test_template_list.py:23
Methodtest_handle_throttle
Testing throttle.
src/ccapi-mcp-server/tests/test_errors.py:78
Functiontest_handle_tool_error
Test handle_tool_error returns error dict and calls ctx.error.
src/aws-healthomics-mcp-server/tests/test_error_utils.py:23
Functiontest_handle_tool_error_with_exception_details
Test handle_tool_error preserves exception details.
src/aws-healthomics-mcp-server/tests/test_error_utils.py:44
Methodtest_handle_ua
Testing uae.
src/ccapi-mcp-server/tests/test_errors.py:66
Methodtest_handle_unknown_tool
Test unknown tool handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:215
Methodtest_handle_update_resource
Test update resource handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:104
Methodtest_handle_validation
Testing validation.
src/ccapi-mcp-server/tests/test_errors.py:54
Methodtest_handle_validation_error
Test handling of validation errors.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1694
Methodtest_handle_validation_error
Test handling of validation error.
src/openapi-mcp-server/tests/auth/test_api_key_auth.py:205
Methodtest_handle_value_error
Test handling ValueError.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:439
Methodtest_handler_count
There should be exactly 14 handler classes registered.
src/aws-transform-mcp-server/tests/test_server.py:118
Methodtest_handler_exception_returns_error_response
An exception from a handler comes back as an error response.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:961
Methodtest_handler_initialization
Test that the handler initializes correctly.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_steps_handler.py:84
Methodtest_handler_initialization
Test that the handler initializes correctly.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:92
Methodtest_handler_message_has_correct_structure
Message objects must have role and content attributes.
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:85
Methodtest_handler_open_is_detected
``HANDLER t OPEN`` — direct storage-engine access.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:530
Methodtest_handler_passes_convert_result
CRITICAL: Handler output must survive FastMCP's convert_result pipeline.
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:112
Methodtest_handler_returns_message_objects_not_dicts
CRITICAL: Handlers must return list[Message], not list[dict].
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:58
Methodtest_handler_with_permissions
Test handler initialization with permissions.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:116
Functiontest_handler_write_access_control
Test that write access control works correctly in the handlers.
src/aws-dataprocessing-mcp-server/tests/test_server.py:304
Methodtest_handles_bucket_already_exists
Handles BucketAlreadyOwnedByYou gracefully.
src/security-agent-mcp-server/tests/test_server.py:292
Methodtest_handles_bucket_already_owned
BucketAlreadyOwnedByYou is swallowed (idempotent setup).
src/security-agent-mcp-server/tests/test_server.py:1084
Methodtest_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:29
Methodtest_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_error_handler.py:29
Methodtest_handles_client_error
Extracts code, message, and HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:30
Methodtest_handles_client_error
ClientError is caught and returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:151
Methodtest_handles_client_error
ClientError during update is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:411
Methodtest_handles_client_error
ClientError during delete is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:445
Methodtest_handles_client_error
ClientError during list is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:485
Methodtest_handles_client_error
ClientError during list versions is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:535
Methodtest_handles_client_error
ClientError during update is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:192
Methodtest_handles_client_error
ClientError during delete is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:228
Methodtest_handles_client_error
ClientError during list is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:297
Methodtest_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:29
Methodtest_handles_client_error
Should handle ClientError and return error response.
src/mysql-mcp-server/tests/test_server_error_handling.py:220
Methodtest_handles_conflict_error
Extracts 409 conflict errors correctly.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:45
Methodtest_handles_conflict_exception
Correctly handles ConflictException (e.g. delete engine with policies).
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:45
Methodtest_handles_exception
Exceptions are routed through handle_aws_error.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1148
Methodtest_handles_generic_exception
Generic exception from get_browser is caught and loop continues.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:168
Methodtest_handles_generic_exception
Falls back to exception type name for non-ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:63
Methodtest_handles_generic_exception
Falls back to exception type name for non-ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_error_handler.py:45
Methodtest_handles_generic_exception
Falls back to exception type name for non-ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:46
Methodtest_handles_generic_exception
Falls back to exception type name for non-ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:62
Methodtest_handles_get_session_ids_error
Exception from get_session_ids is caught by outer handler.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:187
Methodtest_handles_missing_http_status
Falls back to empty error_code when HTTPStatusCode is absent.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:64
Methodtest_handles_naive_datetime
Test naive datetime conversion.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:236
Methodtest_handles_naive_datetime
Test naive datetime conversion.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:38
Methodtest_handles_operation_error
Test that errors from the operation are returned properly.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:166
Methodtest_handles_operation_error
Test that errors from the operation are returned properly.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:283
Methodtest_handles_operation_error
Test that errors from the operation are returned properly.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:506
Methodtest_handles_operation_error
Test that errors from the operation are returned properly.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:617
Methodtest_handles_region_failure
(self, mock_fes_bearer)
src/aws-transform-mcp-server/tests/test_configure.py:874
Methodtest_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:73
Methodtest_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_error_handler.py:55
Methodtest_handles_runtime_error
Handles RuntimeError with the correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:56
Methodtest_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:72
Methodtest_handles_stop_failure_gracefully
Test continues even if stopping a session fails.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:239
Methodtest_handles_unexpected_error
Should handle unexpected exceptions and return error response.
src/mysql-mcp-server/tests/test_server_error_handling.py:249
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:182
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:299
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:462
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:522
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:635
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:391
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:465
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:522
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:577
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:618
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:659
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:714
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:757
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:804
Methodtest_handles_unexpected_exception
Test that unexpected exceptions are caught by the tool wrapper.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:930
Methodtest_handles_value_error
ValueError from get_browser (session vanished) is silently handled.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:149
Methodtest_happy_path
(self, _, mock_tcp, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_connector.py:79
Methodtest_happy_path
(self, _, mock_fes, mock_config, handler, ctx)
src/aws-transform-mcp-server/tests/test_connector.py:154
Methodtest_happy_path
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:34
Methodtest_happy_path
Testing happy path.
src/ccapi-mcp-server/tests/test_aws_client.py:28
Methodtest_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:139
Methodtest_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:240
Methodtest_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:414
Methodtest_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:586
Methodtest_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:655
← previousnext →22,201–22,300 of 35,417, ranked by callers