MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_rabbitmq_broker_purge_queue_success
Test successful queue purging.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:924
Functiontest_raiserror_without_log_not_flagged
RAISERROR without WITH LOG should not be flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1122
Methodtest_raises_after_max_retries
(self, mock_sleep: AsyncMock)
src/aws-transform-mcp-server/tests/test_http_utils.py:191
Methodtest_raises_auth_conflict_on_origin_403_with_sigv4_available
When bearer path gets 403 origin error and SigV4 is available, raise AuthConflict.
src/aws-transform-mcp-server/tests/test_auth_conflict.py:22
Methodtest_raises_auth_conflict_when_creds_exist_but_sigv4_not_probed
When bearer gets 403 and sigv4 not probed but creds exist, still raise AuthConflict.
src/aws-transform-mcp-server/tests/test_auth_conflict.py:55
Methodtest_raises_http_error_on_origin_403_without_creds
When bearer gets 403 but no AWS creds exist, raise HttpError as before.
src/aws-transform-mcp-server/tests/test_auth_conflict.py:96
Functiontest_raises_on_failure
get_s3_client re-raises exceptions from boto3.
src/roda-mcp-server/tests/test_aws_client.py:49
Methodtest_raises_on_non_retryable
(self)
src/aws-transform-mcp-server/tests/test_http_utils.py:182
Methodtest_raises_runtime_error_on_failure
Raises RuntimeError if a tool group fails to register.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_init.py:40
Methodtest_raises_runtime_error_on_failure
Raises RuntimeError if a tool group fails to register.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_init.py:39
Methodtest_raises_runtime_error_on_failure
Raises RuntimeError if a tool group fails to register.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_init.py:40
Methodtest_raises_runtime_error_on_failure
Raises RuntimeError if a tool group fails to register.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_init.py:39
Methodtest_raises_runtime_error_on_group_failure
Registration failure in a tool group raises RuntimeError.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_init.py:38
Methodtest_raises_when_no_stores
(self)
src/aws-healthomics-mcp-server/tests/test_reference_store_tools.py:70
Methodtest_random_noise_returns_none
Test that random noise returns NONE.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:133
Methodtest_range_longer_than_a_month_is_rejected
An over-long range errors locally and names the sub-ranges to call. The suggestions stay expressed as dates, not billing periods: a T
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:738
Methodtest_range_outside_window_is_rejected
A range with no day inside the window is a local error that states the window.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:970
Methodtest_range_over_24_months_is_narrowed
A range longer than 24 months is narrowed to the enforced window.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:760
Methodtest_range_query
Test basic range query.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:97
Methodtest_range_query_error
Test range query propagates errors.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:134
Methodtest_range_query_helper
range_query builds start/end/step params and returns matrix data.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:326
Methodtest_range_query_parameters_included_in_both_repository_and_usage_examples
Test that range query parameters are included even if they don't match entity field names.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:687
Methodtest_range_touching_window_is_limited_not_rejected
A range sharing even one day with the window is limited to it, not rejected.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:941
Methodtest_rank_results
Test result ranking functionality.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:331
Methodtest_rank_results_by_relevance_score
Test ranking results by relevance score.
src/aws-healthomics-mcp-server/tests/test_result_ranker.py:72
Methodtest_rank_results_empty_list
Test ranking empty results list.
src/aws-healthomics-mcp-server/tests/test_result_ranker.py:89
Methodtest_rank_results_identical_scores
Test ranking results with identical relevance scores.
src/aws-healthomics-mcp-server/tests/test_result_ranker.py:112
Methodtest_rank_results_single_result
Test ranking single result.
src/aws-healthomics-mcp-server/tests/test_result_ranker.py:94
Methodtest_rank_results_unsupported_sort_by
Test ranking with unsupported sort_by parameter.
src/aws-healthomics-mcp-server/tests/test_result_ranker.py:102
Methodtest_rate_limit_error
Test RateLimitError.
src/amazon-translate-mcp-server/tests/test_models.py:836
Methodtest_rate_limit_error_retry_after
Test rate limit error with retry_after.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:323
Methodtest_rate_limit_error_with_retry_after
Test RateLimitError with retry_after.
src/amazon-translate-mcp-server/tests/test_exceptions.py:166
Methodtest_rate_limit_response_with_retry_after
Test rate limit error response includes retry_after.
src/amazon-translate-mcp-server/tests/test_exceptions.py:323
Methodtest_rate_limit_with_retry_after_header
Test rate limit error with retry-after header.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:451
Methodtest_raw_32_hex
Raw 32-hex ID (no prefix) converts to X-Ray format.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:37
Methodtest_raw_output_included_in_bundle_response
Test that raw linter output is included in bundle linting response.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:1707
Methodtest_raw_output_included_in_response
Test that raw linter output is included in the response.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:1677
Methodtest_raw_token_fields_are_not_pagination
Only the pagination block counts; a raw service token field is ignored.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1153
Methodtest_rcu_formula_property
Property 1: RCU Calculation Formula. For any read access pattern with item_size_bytes and consistency mode, the calculated RC
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:97
Methodtest_rcus_are_always_positive
RCUs are always positive for valid inputs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_get_items.py:132
Methodtest_rcus_are_always_positive
RCUs are always positive for valid inputs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_get_item.py:142
Methodtest_rcus_are_always_positive
RCUs must always be positive for valid inputs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_query.py:181
Methodtest_rds_ambiguous_finding_name_is_rejected
RDS has no plain Finding filter; the error names the instance/storage choices.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2256
Methodtest_rds_api
RDS_API should map to 'rdsapi'.
src/mysql-mcp-server/tests/test_db_connection_map.py:207
Methodtest_rds_api_endpoint_not_validated
RDS_API ignores db_endpoint, so a non-matching endpoint must not be rejected. RDS_API connects via the Data API using cluster_arn and never d
src/mysql-mcp-server/tests/test_endpoint_validation.py:447
Methodtest_rds_api_never_pays_for_a_proxy_lookup
The Data API cannot use a proxy, so it must not pay to discover one. proxy_supports_connection rejects RDS_API correctly, but only after the
src/postgres-mcp-server/tests/test_server_internal_functions.py:1110
Methodtest_rds_api_never_uses_a_proxy
The Data API speaks HTTPS to the cluster, so a proxy is not on its path.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2179
Functiontest_rds_generate_db_auth_token_no_args
Test aws rds generate-db-auth-token with no arguments (should fail with missing required params).
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:300
Functiontest_rds_generate_db_auth_token_with_all_required_args
Test aws rds generate-db-auth-token with all required arguments.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:311
Functiontest_rds_generate_db_auth_token_with_numeric_port
Test aws rds generate-db-auth-token with numeric port.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:428
Functiontest_rds_generate_db_auth_token_with_region
Test aws rds generate-db-auth-token with region.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:324
Methodtest_rds_mariadb_rejects_data_api
RDS MariaDB + rdsapi: must fail.
src/mysql-mcp-server/tests/test_server_internal_functions.py:145
Methodtest_rds_mariadb_rejects_iam_auth
RDS MariaDB + mysqlwire_iam: must fail (MariaDB has no IAM auth).
src/mysql-mcp-server/tests/test_server_internal_functions.py:158
Methodtest_rds_mariadb_supports_wire_only
RDS MariaDB: wire protocol only. No Data API, no IAM auth.
src/mysql-mcp-server/tests/test_db_connection_map.py:138
Methodtest_rds_mariadb_value
RDS_MARIADB pins to AWS RDS engine string 'mariadb'.
src/mysql-mcp-server/tests/test_db_connection_map.py:48
Methodtest_rds_mariadb_without_cluster_or_endpoint_raises
RDS MariaDB: at least one of cluster_identifier or db_endpoint required.
src/mysql-mcp-server/tests/test_server_internal_functions.py:99
Methodtest_rds_mysql_rejects_data_api
RDS MySQL + rdsapi: must fail with a clear unsupported-pair error.
src/mysql-mcp-server/tests/test_server_internal_functions.py:132
Methodtest_rds_mysql_supports_wire_and_iam
RDS MySQL: wire protocol + IAM auth, but no Data API.
src/mysql-mcp-server/tests/test_db_connection_map.py:126
Methodtest_rds_mysql_value
RDS_MYSQL pins to AWS RDS engine string 'mysql'.
src/mysql-mcp-server/tests/test_db_connection_map.py:44
Methodtest_rds_mysql_without_cluster_or_endpoint_raises
RDS MySQL: at least one of cluster_identifier or db_endpoint required.
src/mysql-mcp-server/tests/test_server_internal_functions.py:84
Methodtest_rds_proxy_parameter_can_disable_routing_when_startup_default_is_auto
The override works in both directions, so a caller can opt out too.
src/postgres-mcp-server/tests/test_server_internal_functions.py:947
Methodtest_rds_proxy_parameter_enables_routing_when_startup_default_is_off
The MCP tool is a config surface too, not just the JSON config file. A caller reaching the server through connect_to_database must be able to
src/postgres-mcp-server/tests/test_server_internal_functions.py:903
Methodtest_rds_proxy_parameter_is_case_and_whitespace_insensitive
Case and surrounding whitespace are normalized rather than rejected. Rejecting 'AUTO' outright would be honest but unhelpful; the intent is
src/postgres-mcp-server/tests/test_server_internal_functions.py:1069
Methodtest_rds_proxy_parameter_omitted_uses_the_startup_setting
None means defer, so existing callers are unaffected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:984
Methodtest_rds_proxy_parameter_rejects_unrecognized_values
An unhonourable value must raise, not silently connect directly. --rds_proxy is guarded by argparse choices=; this parameter has no such
src/postgres-mcp-server/tests/test_server_internal_functions.py:1023
Methodtest_rds_recommendations_success_with_data
Test RDS recommendations success case.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1678
Methodtest_rds_superuser_rejected
A member of rds_superuser (but not a superuser) is rejected. Asserts on the specific flag fragment ('a member of rds_superuser') rath
src/postgres-mcp-server/tests/test_privilege_guardrail.py:134
Methodtest_rds_superuser_sets_flag_true_before_enforce_raise
The flag is recorded even when enforce rejects the connection.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:376
Methodtest_read_command_rejected
(self)
src/valkey-mcp-server/tests/test_command_runners.py:149
Methodtest_read_cost_calculation
Verify read cost calculation.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:439
Methodtest_read_documentation
Test reading AWS documentation.
src/aws-documentation-mcp-server/tests/test_server_aws.py:50
Methodtest_read_documentation_china
Test reading AWS China documentation.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:48
Methodtest_read_documentation_china_error
Test reading AWS China documentation with an error.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:101
Functiontest_read_documentation_china_fetches_html_page_for_md_url
A .md URL reads the .html page at the same path.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:449
Methodtest_read_documentation_china_invalid_domain
Test reading AWS China documentation with invalid domain.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:79
Methodtest_read_documentation_china_invalid_extension
Test reading AWS China documentation with invalid file extension.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:90
Functiontest_read_documentation_china_live
Test that read_documentation can fetch real AWS China documentation.
src/aws-documentation-mcp-server/tests/test_aws_cn_read_documentation_live.py:40
Functiontest_read_documentation_china_pagination_live
Test that read_documentation pagination works correctly for AWS China docs.
src/aws-documentation-mcp-server/tests/test_aws_cn_read_documentation_live.py:88
Methodtest_read_documentation_error
Test reading AWS documentation with an error.
src/aws-documentation-mcp-server/tests/test_server_aws.py:110
Methodtest_read_documentation_fetches_html_page_for_md_url
read_documentation reads the .html page at the .md URL's path.
src/aws-documentation-mcp-server/tests/test_server_aws.py:1429
Methodtest_read_documentation_flags_redirect_that_carried_content
Content from another page is labelled, not silently returned as the requested page.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1547
Functiontest_read_documentation_global_live
Test that read_documentation can fetch real AWS global documentation.
src/aws-documentation-mcp-server/tests/test_aws_read_documentation_live.py:40
Functiontest_read_documentation_global_pagination_live
Test that read_documentation pagination works correctly for global AWS docs.
src/aws-documentation-mcp-server/tests/test_aws_read_documentation_live.py:88
Methodtest_read_documentation_hint_names_the_served_page
After a rename the suggested search_table call points at the new URL.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1925
Methodtest_read_documentation_invalid_domain
Test reading AWS documentation with invalid domain.
src/aws-documentation-mcp-server/tests/test_server_aws.py:123
Methodtest_read_documentation_invalid_extension
Test reading AWS documentation with invalid file extension.
src/aws-documentation-mcp-server/tests/test_server_aws.py:132
Methodtest_read_documentation_offsite_redirect_blocked
read_documentation: a docs page that 302s to IMDS is refused, body never leaks.
src/aws-documentation-mcp-server/tests/test_server_utils.py:558
Methodtest_read_documentation_offsite_redirect_blocked
read_documentation (via read_documentation_impl) refuses an IMDS redirect.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:379
Methodtest_read_documentation_onsite_redirect_followed
read_documentation: a same-domain redirect is followed and content returned.
src/aws-documentation-mcp-server/tests/test_server_utils.py:574
Methodtest_read_documentation_onsite_redirect_followed
A same-domain (docs.amazonaws.cn) redirect is followed and content returned.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:410
Methodtest_read_documentation_raises_on_unreadable_redirect
An unreadable redirected page raises rather than returning a tagged string.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1442
Methodtest_read_documentation_rejects_non_html
A path that is not .html is rejected before any fetch.
src/aws-documentation-mcp-server/tests/test_tool_errors.py:110
Methodtest_read_documentation_rejects_unsupported_domain
A host outside the allowlist is rejected before any fetch.
src/aws-documentation-mcp-server/tests/test_tool_errors.py:102
Methodtest_read_documentation_status_error_names_the_redirect
A 404 reached by redirect says where the request landed, not just the status.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1696
Methodtest_read_documentation_tool
Test the read documentation tool.
src/aws-documentation-mcp-server/tests/test_integ_basic.py:134
Methodtest_read_documentation_with_domain_modification
Test reading AWS documentation with domain modification.
src/aws-documentation-mcp-server/tests/test_server_aws.py:79
Methodtest_read_is_wrapped_in_a_read_only_transaction
A caller's read runs as one batch wrapped in BEGIN READ ONLY ... ROLLBACK.
src/redshift-mcp-server/tests/test_redshift.py:68
Methodtest_read_k8s_resource
Test read_k8s_resource method.
src/eks-mcp-server/tests/test_k8s_handler.py:505
Methodtest_read_local_directory_not_found
_read_local_directory raises FileNotFoundError for missing dir.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1195
Methodtest_read_local_directory_size_limit
_read_local_directory enforces size limit.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1371
← previousnext →28,701–28,800 of 35,417, ranked by callers