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
Function
test_handle_request_unsupported_content_type
Test handle_request with unsupported content type.
src/mcp-lambda-handler/tests/test_lambda_handler.py:459
Function
test_handle_request_valid
Test handling of a valid request.
src/mcp-lambda-handler/tests/test_lambda_handler.py:148
Function
test_handle_resources_list
Test handling resources/list request.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1248
Function
test_handle_resources_read
Test handling resources/read request for different resource types.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1284
Function
test_handle_resources_read_exception
Test handling resources/read request when resource reading fails.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1382
Function
test_handle_resources_read_missing_uri
Test handling resources/read request with missing URI parameter.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1345
Function
test_handle_resources_read_not_found
Test handling resources/read request for non-existent resource.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1361
Method
test_handle_rnf
Testing rnf.
src/ccapi-mcp-server/tests/test_errors.py:60
Method
test_handle_search_resources
Test search resources handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:137
Method
test_handle_service_unavailable
Testing internal failure.
src/ccapi-mcp-server/tests/test_errors.py:90
Method
test_handle_shovel
Test get shovel info handler.
src/amazon-mq-mcp-server/tests/rabbitmq/test_handlers.py:186
Method
test_handle_start_export_job
Test start export job handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:184
Method
test_handle_start_import_job
Test start import job handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:167
Function
test_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
Method
test_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
Method
test_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
Method
test_handle_template_list
Test the handle_template_list function.
src/aws-serverless-mcp-server/tests/test_template_list.py:23
Method
test_handle_throttle
Testing throttle.
src/ccapi-mcp-server/tests/test_errors.py:78
Function
test_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
Function
test_handle_tool_error_with_exception_details
Test handle_tool_error preserves exception details.
src/aws-healthomics-mcp-server/tests/test_error_utils.py:44
Method
test_handle_ua
Testing uae.
src/ccapi-mcp-server/tests/test_errors.py:66
Method
test_handle_unknown_tool
Test unknown tool handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:215
Method
test_handle_update_resource
Test update resource handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:104
Method
test_handle_validation
Testing validation.
src/ccapi-mcp-server/tests/test_errors.py:54
Method
test_handle_validation_error
Test handling of validation errors.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1694
Method
test_handle_validation_error
Test handling of validation error.
src/openapi-mcp-server/tests/auth/test_api_key_auth.py:205
Method
test_handle_value_error
Test handling ValueError.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:439
Method
test_handler_count
There should be exactly 14 handler classes registered.
src/aws-transform-mcp-server/tests/test_server.py:118
Method
test_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
Method
test_handler_initialization
Test that the handler initializes correctly.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_steps_handler.py:84
Method
test_handler_initialization
Test that the handler initializes correctly.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:92
Method
test_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
Method
test_handler_open_is_detected
``HANDLER t OPEN`` — direct storage-engine access.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:530
Method
test_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
Method
test_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
Method
test_handler_with_permissions
Test handler initialization with permissions.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_ec2_instance_handler.py:116
Function
test_handler_write_access_control
Test that write access control works correctly in the handlers.
src/aws-dataprocessing-mcp-server/tests/test_server.py:304
Method
test_handles_bucket_already_exists
Handles BucketAlreadyOwnedByYou gracefully.
src/security-agent-mcp-server/tests/test_server.py:292
Method
test_handles_bucket_already_owned
BucketAlreadyOwnedByYou is swallowed (idempotent setup).
src/security-agent-mcp-server/tests/test_server.py:1084
Method
test_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:29
Method
test_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_error_handler.py:29
Method
test_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
Method
test_handles_client_error
ClientError is caught and returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:151
Method
test_handles_client_error
ClientError during update is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:411
Method
test_handles_client_error
ClientError during delete is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:445
Method
test_handles_client_error
ClientError during list is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:485
Method
test_handles_client_error
ClientError during list versions is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:535
Method
test_handles_client_error
ClientError during update is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:192
Method
test_handles_client_error
ClientError during delete is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:228
Method
test_handles_client_error
ClientError during list is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:297
Method
test_handles_client_error
Extracts code, message, HTTP status from ClientError.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:29
Method
test_handles_client_error
Should handle ClientError and return error response.
src/mysql-mcp-server/tests/test_server_error_handling.py:220
Method
test_handles_conflict_error
Extracts 409 conflict errors correctly.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:45
Method
test_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
Method
test_handles_exception
Exceptions are routed through handle_aws_error.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1148
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_handles_naive_datetime
Test naive datetime conversion.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:236
Method
test_handles_naive_datetime
Test naive datetime conversion.
src/aws-healthomics-mcp-server/tests/test_datetime_utils.py:38
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_handles_region_failure
(self, mock_fes_bearer)
src/aws-transform-mcp-server/tests/test_configure.py:874
Method
test_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_error_handler.py:73
Method
test_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_error_handler.py:55
Method
test_handles_runtime_error
Handles RuntimeError with the correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:56
Method
test_handles_runtime_error
Handles RuntimeError with correct type name.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_error_handler.py:72
Method
test_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
Method
test_handles_unexpected_error
Should handle unexpected exceptions and return error response.
src/mysql-mcp-server/tests/test_server_error_handling.py:249
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_happy_path
(self, _, mock_tcp, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_connector.py:79
Method
test_happy_path
(self, _, mock_fes, mock_config, handler, ctx)
src/aws-transform-mcp-server/tests/test_connector.py:154
Method
test_happy_path
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:34
Method
test_happy_path
Testing happy path.
src/ccapi-mcp-server/tests/test_aws_client.py:28
Method
test_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:139
Method
test_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:240
Method
test_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:414
Method
test_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:586
Method
test_happy_path
(self)
src/aws-healthomics-mcp-server/tests/test_sequence_store_tools.py:655
← previous
next →
22,201–22,300 of 35,417, ranked by callers