MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_main_with_workspace_id_in_url
Test that main correctly handles URLs with workspace IDs.
src/prometheus-mcp-server/tests/test_main.py:131
Methodtest_main_with_write_access
Test main function with write access enabled.
src/sagemaker-ai-mcp-server/tests/test_main.py:74
Methodtest_main_with_write_permission
Test main function with --allow-write argument.
src/s3-tables-mcp-server/tests/test_main.py:34
Methodtest_main_without_allow_resource_creation
Test main function without --allow-resource-creation flag.
src/amazon-sns-sqs-mcp-server/tests/test_server.py:140
Functiontest_main_without_allow_write
Test main function without --allow-write flag.
src/aws-appsync-mcp-server/tests/test_server.py:41
Methodtest_main_without_debug_flag
Test main function without debug flag.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3272
Methodtest_main_without_profile_argument
(self, mocker)
src/aurora-dsql-mcp-server/tests/test_profile_option.py:74
Methodtest_main_without_sse
Test main function without SSE.
src/amazon-sns-sqs-mcp-server/tests/test_server.py:91
Methodtest_main_write_and_hostname_off
--allow_write_query and --ssl_hostname_validation off are honored.
src/db2-mcp-server/tests/test_server.py:888
Methodtest_mainframe_assessment_summary_passthrough
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:261
Functiontest_make_request
Test making a request.
src/openapi-mcp-server/tests/utils/test_http_client.py:53
Methodtest_make_request_api_error
Test API error response raises RuntimeError.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:70
Methodtest_make_request_api_error
Test API error response.
src/prometheus-mcp-server/tests/test_coverage_gaps.py:35
Methodtest_make_request_api_error
Test that make_request raises RuntimeError when the API returns an error status.
src/prometheus-mcp-server/tests/test_prometheus_client.py:86
Methodtest_make_request_api_url_construction
Test that make_request correctly constructs the API URL.
src/prometheus-mcp-server/tests/test_prometheus_client.py:80
Methodtest_make_request_dangerous_endpoint
Test that make_request raises ValueError when endpoint contains dangerous characters.
src/prometheus-mcp-server/tests/test_prometheus_client.py:52
Methodtest_make_request_dangerous_params
Test that make_request raises ValueError when params contain dangerous values.
src/prometheus-mcp-server/tests/test_prometheus_client.py:64
Methodtest_make_request_failure
Test failed API request.
src/amazon-mq-mcp-server/tests/rabbitmq/test_admin.py:48
Methodtest_make_request_invalid_endpoint
Test make_request with invalid endpoint.
src/prometheus-mcp-server/tests/test_server_coverage.py:56
Methodtest_make_request_invalid_endpoint_type
Test that make_request raises ValueError when endpoint is not a string.
src/prometheus-mcp-server/tests/test_prometheus_client.py:40
Methodtest_make_request_invalid_params
Test make_request with invalid parameters.
src/prometheus-mcp-server/tests/test_server_coverage.py:77
Methodtest_make_request_max_retries_exceeded
Test that make_request raises exception when max retries are exceeded.
src/prometheus-mcp-server/tests/test_prometheus_client.py:98
Methodtest_make_request_max_retries_exceeded
Test make_request with max retries exceeded.
src/prometheus-mcp-server/tests/test_server_coverage.py:95
Methodtest_make_request_max_retries_reached
Test max retries exceeded.
src/prometheus-mcp-server/tests/test_final_coverage.py:12
Methodtest_make_request_network_error_with_retry
Test that make_request retries on network errors.
src/prometheus-mcp-server/tests/test_prometheus_client.py:92
Methodtest_make_request_no_credentials
Test missing credentials raises ValueError.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:92
Methodtest_make_request_no_credentials
Test that make_request raises ValueError when no AWS credentials are found.
src/prometheus-mcp-server/tests/test_prometheus_client.py:104
Methodtest_make_request_no_url
Test that make_request raises ValueError when no URL is provided.
src/prometheus-mcp-server/tests/test_prometheus_client.py:32
Methodtest_make_request_rejects_region_before_signing
A rejected region fails closed before any credential/sign/network op. Proves the ValueError is raised before boto3 Session creation, SigV4
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:265
Methodtest_make_request_retry_on_network_error
Test retry logic on network errors.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:107
Methodtest_make_request_retry_then_success
Test retry succeeds on second attempt.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:154
Methodtest_make_request_success
Test successful request.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:43
Methodtest_make_request_success
Test successful API request.
src/amazon-mq-mcp-server/tests/rabbitmq/test_admin.py:37
Methodtest_make_request_success
Test that make_request successfully makes a request and returns data.
src/prometheus-mcp-server/tests/test_prometheus_client.py:26
Methodtest_make_request_success_path
Test successful request execution.
src/prometheus-mcp-server/tests/test_coverage_gaps.py:12
Methodtest_make_request_uses_profile
Test that profile_name is passed to boto3 Session.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:131
Functiontest_make_request_with_json
Test making a request with JSON data.
src/openapi-mcp-server/tests/utils/test_http_client.py:94
Functiontest_make_request_with_params
Test making a request with parameters.
src/openapi-mcp-server/tests/utils/test_http_client.py:73
Functiontest_make_request_with_retry
Test making a request with retry.
src/openapi-mcp-server/tests/utils/test_http_client.py:114
Functiontest_make_request_with_retry_and_error
Test making a request with retry when there's an error.
src/openapi-mcp-server/tests/utils/test_http_client.py:141
Functiontest_make_request_with_retry_http_status_error
Test making a request with retry that fails with an HTTP status error.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:142
Functiontest_make_request_with_retry_max_attempts
Test making a request with retry that fails all attempts.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:118
Functiontest_make_request_with_retry_timeout_error
Test making a request with retry that fails with a timeout error.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:173
Methodtest_make_snippet_removes_code_blocks
Test make_snippet removes code blocks from content.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:143
Methodtest_make_snippet_returns_title_for_empty_page
Test make_snippet returns title when page is empty or None.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:130
Methodtest_make_snippet_skips_headings_and_toc
Test make_snippet skips headings and table of contents entries.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:181
Methodtest_make_snippet_skips_title_line
Test make_snippet skips first line if it matches the title.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:165
Methodtest_make_snippet_stops_at_sentence_end
Test make_snippet stops at sentence boundaries when possible.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:215
Methodtest_make_snippet_truncates_long_content
Test make_snippet truncates content that exceeds max_chars.
src/amazon-bedrock-agentcore-mcp-server/tests/test_text_processor.py:204
Methodtest_malformed_account_id_is_rejected
An account_id that is not 12 digits fails without calling AWS.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:359
Methodtest_malformed_bound_is_rejected
A bound that is not ISO-8601 fails without calling AWS and names the field.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1225
Methodtest_malformed_cardinality_result
Non-numeric cardinality result should default to 0.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:944
Functiontest_malformed_dsql_iam_statements_fail_closed
Near-miss IAM syntax is rejected rather than broadly rewritten.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:256
Methodtest_malformed_filter_shape_is_not_reported_as_transient
U9: botocore's ParamValidationError is a validation error, not a connection one.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1315
Functiontest_malformed_filter_still_routes_to_the_operation
The hint check never stops a malformed filter from reaching the API's own validation.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2846
Methodtest_malformed_header_entries_are_skipped
Property: Non-decodable header entries are skipped gracefully.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:203
Methodtest_malformed_json_array_string_is_rejected_as_given
A string that only looks like a JSON array is checked as one status and refused.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2812
Methodtest_malformed_json_lines_skipped
Malformed JSON lines are skipped with a warning when under the threshold.
src/roda-mcp-server/tests/test_server.py:51
Methodtest_malformed_month_is_rejected
A month not in YYYY-MM format fails without calling AWS.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:202
Functiontest_malformed_normalized_sql_is_rejected
Malformed parameterized SQL still fails closed after placeholder conversion.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:131
Methodtest_malformed_optional_month_is_rejected_for_subscription_history
An invalid optional billing_month is still rejected for subscription_history.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:285
Methodtest_malformed_preview_request_fails_before_any_client
A request botocore would reject in every region is rejected once, with its message.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1928
Methodtest_malformed_regions_rejected
Blank, non-string, and non-list region inputs error before any AWS call.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:2973
Methodtest_malformed_result_returns_fallback
(self)
src/aws-transform-mcp-server/tests/test_audit.py:133
Methodtest_malformed_s3_uri_returns_error_without_api_call
Malformed S3 URIs produce an error dict and the HealthOmics API is never called. Validates: S3 URI format validation rejects malformed URIs
src/aws-healthomics-mcp-server/tests/test_run_cache.py:88
Methodtest_malformed_sort_by_is_rejected_before_the_api
A sort_by that is not JSON returns an error and makes no call.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1927
Methodtest_malformed_string_raises_value_error
A malformed datetime string raises a clear ValueError.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:123
Methodtest_malformed_token_failure_never_leaks_token
Property: No secret leakage (malformed-token arm). For any malformed bearer token, the fail-closed ``CredentialDerivationError`` mess
src/aws-healthomics-mcp-server/tests/test_no_secret_leakage_property.py:243
Methodtest_malformed_z_strings_still_rejected
Only a single trailing Z is accepted; other malformed strings still fail.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:612
Methodtest_malicious_entity_name_rejected
An entity name carrying Python code fails validation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:188
Methodtest_malicious_field_name_rejected
The reported field-name payload fails validation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:169
Methodtest_malicious_parameter_name_rejected
A parameter name carrying Python code fails validation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:204
Methodtest_malicious_region_rejected_before_signing
execute_promql_query with a host-breakout region raises without signing/sending.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:349
Methodtest_malicious_urls_with_embedded_amazonaws_com
Test that URLs with embedded 'amazonaws.com' are rejected.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_is_ecr_image_security.py:32
Methodtest_manage_aws_glue_classifiers_client_error
Test handling of ClientError in classifiers.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1232
Methodtest_manage_aws_glue_classifiers_create_grok_classifier
Test successful creation of a Grok classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1084
Methodtest_manage_aws_glue_classifiers_create_invalid_definition
Test that creating a classifier with invalid definition raises ValueError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:645
Methodtest_manage_aws_glue_classifiers_create_json_classifier
Test successful creation of a JSON classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1136
Methodtest_manage_aws_glue_classifiers_create_missing_definition
Test that creating a classifier without definition raises ValueError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:635
Methodtest_manage_aws_glue_classifiers_create_no_write_access
Test that creating a classifier fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:618
Methodtest_manage_aws_glue_classifiers_create_success
Test successful creation of a Glue classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:590
Methodtest_manage_aws_glue_classifiers_create_xml_classifier
Test successful creation of an XML classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1110
Methodtest_manage_aws_glue_classifiers_delete_no_write_access
Test that deleting a classifier fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:675
Methodtest_manage_aws_glue_classifiers_delete_success
Test successful deletion of a Glue classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:657
Methodtest_manage_aws_glue_classifiers_error_handling
Test error handling when Glue API calls raise exceptions.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:809
Methodtest_manage_aws_glue_classifiers_get_classifier_success
Test successful retrieval of a Glue classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:688
Methodtest_manage_aws_glue_classifiers_get_classifiers_success
Test successful retrieval of all Glue classifiers.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:710
Methodtest_manage_aws_glue_classifiers_invalid_operation
Test handling of invalid operation.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:784
Methodtest_manage_aws_glue_classifiers_missing_classifier_name
Test that operations requiring classifier_name raise ValueError when it's missing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:794
Methodtest_manage_aws_glue_classifiers_update_grok_classifier
Test successful update of a Grok classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1158
Methodtest_manage_aws_glue_classifiers_update_json_classifier
Test successful update of a JSON classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1210
Methodtest_manage_aws_glue_classifiers_update_no_write_access
Test that updating a classifier fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:767
Methodtest_manage_aws_glue_classifiers_update_success
Test successful update of a Glue classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:741
Methodtest_manage_aws_glue_classifiers_update_xml_classifier
Test successful update of an XML classifier.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1184
Methodtest_manage_aws_glue_crawler_management_client_error
Test handling of ClientError in crawler management.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1267
Methodtest_manage_aws_glue_crawler_management_error_handling
Test error handling when Glue API calls raise exceptions.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:1012
Methodtest_manage_aws_glue_crawler_management_get_metrics_success
Test successful retrieval of crawler metrics.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:825
Methodtest_manage_aws_glue_crawler_management_invalid_operation
Test handling of invalid operation.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:977
Methodtest_manage_aws_glue_crawler_management_missing_crawler_name
Test that operations requiring crawler_name raise ValueError when it's missing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:989
Methodtest_manage_aws_glue_crawler_management_start_schedule_no_write_access
Test that starting a crawler schedule fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_crawler_handler.py:891
← previousnext →25,201–25,300 of 35,417, ranked by callers