Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
test_handle_list_users
Test list users handler.
src/amazon-mq-mcp-server/tests/rabbitmq/test_handlers.py:312
Method
test_handle_list_vhosts
Test list vhosts handler.
src/amazon-mq-mcp-server/tests/rabbitmq/test_handlers.py:162
Method
test_handle_not_authorized
Testing invalid not authorized.
src/ccapi-mcp-server/tests/test_errors.py:48
Method
test_handle_other
Testing big catch.
src/ccapi-mcp-server/tests/test_errors.py:96
Method
test_handle_patient_everything
Test patient everything handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:153
Method
test_handle_purge_queue
Test purge queue handler.
src/amazon-mq-mcp-server/tests/rabbitmq/test_handlers.py:114
Method
test_handle_read_resource
Test read resource handler.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:88
Method
test_handle_read_timeout
Test handling of read timeout error.
src/openapi-mcp-server/tests/utils/test_error_handler_extended.py:218
Method
test_handle_read_timeout
Test handling of read timeout error.
src/openapi-mcp-server/tests/utils/test_error_handler_fix.py:52
Function
test_handle_request_delete_session
Test handle_request for deleting a session.
src/mcp-lambda-handler/tests/test_lambda_handler.py:443
Function
test_handle_request_delete_session_failure
Test handle_request when session deletion fails.
src/mcp-lambda-handler/tests/test_lambda_handler.py:899
Function
test_handle_request_finally_clears_context
Test that handle_request finally clears the context variable.
src/mcp-lambda-handler/tests/test_lambda_handler.py:925
Function
test_handle_request_invalid_event
Test handling of invalid event in request.
src/mcp-lambda-handler/tests/test_lambda_handler.py:125
Function
test_handle_request_malformed_jsonrpc
Test handle_request with malformed JSON-RPC input.
src/mcp-lambda-handler/tests/test_lambda_handler.py:915
Function
test_handle_request_notification
Test handle_request with a notification (no response expected).
src/mcp-lambda-handler/tests/test_lambda_handler.py:416
Function
test_handle_request_ping
Test handle_request with a ping (no response expected).
src/mcp-lambda-handler/tests/test_lambda_handler.py:428
Function
test_handle_request_session_required
Test handle_request when session is required and using DynamoDBSessionStore.
src/mcp-lambda-handler/tests/test_lambda_handler.py:468
Function
test_handle_request_tool_exception
Test handle_request when a tool raises an exception.
src/mcp-lambda-handler/tests/test_lambda_handler.py:485
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
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:262
Method
test_handler_count
There should be exactly 13 handler classes registered.
src/aws-transform-mcp-server/tests/test_server.py:116
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:856
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:165
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:275
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:468
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:582
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:181
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:291
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:424
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:484
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:600
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:293
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:367
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:424
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:479
← previous
next →
20,201–20,300 of 32,024, ranked by callers