MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_cloudtrail_integration_enabled
Test CloudTrail integration when enabled.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:179
Functiontest_cloudtrail_tools_initialization
Test CloudTrail tools can be initialized.
src/cloudtrail-mcp-server/tests/test_server.py:37
Methodtest_cloudtrail_url_format
Test CloudTrail URL has correct format.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:156
Functiontest_cloudwatch_handler_initialization
()
src/eks-mcp-server/tests/test_server.py:357
Functiontest_cloudwatch_handler_initialization_with_sensitive_data_access
()
src/eks-mcp-server/tests/test_server.py:379
Methodtest_cloudwatch_logs_disabled
Should not enable CloudWatch logs when disabled.
src/mysql-mcp-server/tests/test_cp_api_connection.py:158
Methodtest_cloudwatch_logs_disabled
Test cluster creation with CloudWatch logs disabled.
src/postgres-mcp-server/tests/test_cp_api_connection.py:481
Methodtest_cloudwatch_logs_enabled
Should enable CloudWatch logs with audit, error, general, slowquery.
src/mysql-mcp-server/tests/test_cp_api_connection.py:137
Methodtest_cluster_config
(self)
src/valkey-mcp-server/tests/test_connection.py:67
Methodtest_cluster_creation_fails
Test handling of cluster creation failure.
src/postgres-mcp-server/tests/test_cp_api_connection.py:521
Methodtest_cluster_describe_error
Test error handling when describing clusters fails.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:649
Methodtest_cluster_invalid_port_falls_back_to_default
Unparseable cluster Port falls back to DEFAULT_POSTGRES_PORT.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1457
Methodtest_cluster_metadata_secret_used_when_no_override
Without any configured override, the cluster's MasterUserSecret drives auth.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1637
Methodtest_cluster_mode_with_iam
(self)
src/valkey-mcp-server/tests/test_connection.py:254
Methodtest_cluster_not_found
Test when cluster is not found.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:433
Methodtest_cluster_not_found_raises
Should raise ValueError when cluster is not found.
src/mysql-mcp-server/tests/test_cp_api_simple_functions.py:59
Methodtest_cluster_not_found_raises
A nonexistent cluster raises early with a clear message.
src/redshift-mcp-server/tests/test_review_executor.py:340
Methodtest_cluster_not_found_when_none_discovered
An unknown cluster is named in the error, with the tool that lists valid ones.
src/redshift-mcp-server/tests/test_redshift.py:193
Methodtest_cluster_not_in_list
A cluster missing from a non-empty discovery result is still not found.
src/redshift-mcp-server/tests/test_redshift.py:203
Methodtest_cluster_only
Test execution with only cluster name provided.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:548
Methodtest_cluster_status_populated
Test that cluster_status is extracted from Resilience.ClusterStatus.
src/aws-for-sap-management-mcp-server/tests/test_health.py:1888
Methodtest_cluster_tls_uses_correct_advanced_config
(self, tmp_path)
src/valkey-mcp-server/tests/test_connection.py:127
Methodtest_cluster_waiter_timeout
Test handling of cluster waiter timeout.
src/postgres-mcp-server/tests/test_cp_api_connection.py:545
Methodtest_cn_host_allowed
docs.amazonaws.cn is on the CN allowlist.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:356
Methodtest_co_real_access_denied_error_reload_identity_decorator
Test real compute_optimizer access denied error with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1250
Methodtest_co_real_enrollment_error_reload_identity_decorator
Test real compute_optimizer enrollment error with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1197
Methodtest_co_real_exception_flow_calls_handle_error_reload_identity_decorator
Test real compute_optimizer exception flow calls handle_error with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1284
Methodtest_co_real_get_auto_scaling_group_recommendations_reload_identity_decorator
Test real compute_optimizer get_auto_scaling_group_recommendations with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1033
Methodtest_co_real_get_ebs_volume_recommendations_reload_identity_decorator
Test real compute_optimizer get_ebs_volume_recommendations dispatch.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1064
Methodtest_co_real_get_ec2_recommendations_reload_identity_decorator
Test real compute_optimizer get_ec2_instance_recommendations with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1000
Methodtest_co_real_get_idle_recommendations_reload_identity_decorator
Test real compute_optimizer get_idle_recommendations dispatch.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1148
Methodtest_co_real_get_lambda_function_recommendations_reload_identity_decorator
Test real compute_optimizer get_lambda_function_recommendations dispatch.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1094
Methodtest_co_real_get_rds_recommendations_reload_identity_decorator
Test real compute_optimizer get_rds_recommendations dispatch.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1124
Methodtest_co_real_invalid_operation_error_reload_identity_decorator
Test real compute_optimizer invalid operation error with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1172
Methodtest_co_real_resource_not_enrolled_error_reload_identity_decorator
Test real compute_optimizer with active enrollment status.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1222
Methodtest_co_real_value_error_handling_reload_identity_decorator
Test real compute_optimizer ValueError handling with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1316
Methodtest_co_region_parameter_passed_to_client
Test that the region parameter is passed to create_aws_client.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1343
Methodtest_code_capture_preserves_explicit_empty_argument_list
Code capture preserves explicit empty argument list.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1439
Methodtest_code_deploy_multi_entry_point
Comma-separated entry point is split into a list.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:95
Methodtest_code_deploy_no_optional
Code deploy update without runtime/entry_point omits them.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:342
Methodtest_code_deploy_no_optional_fields
Code deploy without runtime or entry_point omits those keys.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:117
Methodtest_code_interpreter_primitive
Works for code-interpreter primitive.
src/amazon-bedrock-agentcore-mcp-server/tests/test_user_agent.py:61
Methodtest_code_review_id_round_trip
get_code_review_id returns what set_code_review_id stored.
src/security-agent-mcp-server/tests/test_state.py:167
Methodtest_code_tag_keeps_surrounding_spaces
The words either side of an inline tag stay separate words.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1727
Functiontest_codeartifact_login_allowed_in_unrestricted_mode
Test that codeartifact login is allowed when FILE_ACCESS_MODE is UNRESTRICTED.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:496
Methodtest_codeartifact_login_rejected_in_workdir_mode
Test that codeartifact login is rejected in WORKDIR mode since it writes to home directory.
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:181
Methodtest_codebuild_failure_returns_manual_instructions
Test CodeBuild failure returns manual push instructions.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:629
Methodtest_coerce_case_insensitive_type
Test coercing with case insensitive type.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:146
Methodtest_coerce_data_name_fallback
Test coercing with data name fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:168
Methodtest_coerce_data_service_string
Test coercing data service string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:99
Functiontest_coerce_for_column_real_branch
REAL columns float-coerce; unfloatable values fall back to None, non-REAL passes through.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:2483
Methodtest_coerce_missing_service
Test coercing without service raises error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:185
Methodtest_coerce_non_service_type
Test coercing non-service type raises error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:179
Methodtest_coerce_service_dict
Test coercing service dictionary.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:110
Methodtest_coerce_shorthand_service_string
Test coercing shorthand service string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:88
Methodtest_coerce_target_type_field
Test coercing with target_type field.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:157
Methodtest_coerce_with_aws_account_id
Test coercing with AWS account ID.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:126
Methodtest_coercer_direct
(self, raw, expected)
src/aws-transform-mcp-server/tests/test_hitl.py:427
Methodtest_coercer_via_pydantic_validator
Ensure the Annotated type actually wires BeforeValidator into Pydantic.
src/aws-transform-mcp-server/tests/test_hitl.py:441
Methodtest_cognito_auth_init_exception_handling
Test exception handling during CognitoAuthProvider initialization.
src/openapi-mcp-server/tests/auth/test_cognito_auth_coverage_boost.py:12
Methodtest_cognito_auth_not_configured
Test handling of Cognito auth not configured.
src/openapi-mcp-server/tests/test_server_auth_errors.py:89
Methodtest_cognito_auth_provider_init
Test CognitoAuthProvider initialization.
src/openapi-mcp-server/tests/auth/test_cognito_auth_boost_coverage.py:37
Methodtest_cognito_auth_successful_validation
Test successful CognitoAuthProvider validation.
src/openapi-mcp-server/tests/auth/test_cognito_auth_coverage_boost.py:38
Functiontest_cognito_import_error_handling
Test that ImportError is handled when importing CognitoAuthProvider.
src/openapi-mcp-server/tests/auth/test_register_coverage.py:20
Functiontest_coh_commitment_enums_map_to_cost_explorer_values
Every COH term and payment option value maps to a value Cost Explorer accepts.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:2295
Functiontest_coh_empty_filter_rejected_before_api_call
An empty list filter returns a validation_error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1735
Functiontest_coh_filters_that_are_not_an_object_are_rejected_clearly
Filters that decode to a non-object get a clear error, not the dict() failure.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2265
Functiontest_coh_id_filters_still_reach_list_recommendations
list_recommendations accepts the ID filters, so they pass through.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1800
Functiontest_coh_list_recommendations_string_boolean_filter
A 'true' string boolean filter reaches the API as a boolean.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2077
Functiontest_coh_local_validation_errors_carry_telemetry_fields
Local validation errors carry top-level service/operation/error_type for telemetry.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1561
Functiontest_coh_missing_group_by_lists_tag_key
The missing-group_by error lists the same valid values as the invalid-group_by error.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2061
Functiontest_coh_real_efficiency_metrics_clamps_daily_over_90_days
A Daily start older than 90 days before today is clamped forward with a range_note.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1194
Functiontest_coh_real_efficiency_metrics_clamps_monthly_over_3_months
A Monthly start older than 3 months before this month is clamped forward with a note.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1227
Functiontest_coh_real_efficiency_metrics_daily_passthrough_reload_identity_decorator
Daily granularity keeps full YYYY-MM-DD dates (no month truncation).
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:988
Functiontest_coh_real_efficiency_metrics_daily_rejects_monthly_format_date
Daily granularity with a YYYY-MM date is rejected locally, not forwarded. A month-only date is only valid for Monthly; validating against the res
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1047
Functiontest_coh_real_efficiency_metrics_defaults_reload_identity_decorator
Omitted granularity/dates default to Monthly + a coerced lookback window.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:843
Functiontest_coh_real_efficiency_metrics_error_result_skips_operation_parameters
A non-success helper result is returned without an operation_parameters block.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1412
Functiontest_coh_real_efficiency_metrics_exception_reload_identity_decorator
A helper exception is caught and surfaced through handle_aws_error.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:949
Functiontest_coh_real_efficiency_metrics_invalid_date_reload_identity_decorator
A malformed date is rejected before any API call.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1028
Functiontest_coh_real_efficiency_metrics_invalid_granularity_reload_identity_decorator
An unsupported granularity is rejected before any API call.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:885
Functiontest_coh_real_efficiency_metrics_invalid_group_by_reload_identity_decorator
Efficiency metrics reject group_by values other than AccountId/Region.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:904
Functiontest_coh_real_efficiency_metrics_invalid_order_by_reload_identity_decorator
An out-of-range order_by dimension is rejected.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:924
Functiontest_coh_real_efficiency_metrics_invalid_order_value_reload_identity_decorator
An order value outside Asc/Desc is rejected.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1167
Functiontest_coh_real_efficiency_metrics_invalid_ranking_mode
An unrecognized ranking_mode is rejected before the helper is called.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1318
Functiontest_coh_real_efficiency_metrics_monthly_truncates_daily_format_date
Monthly granularity accepts a YYYY-MM-DD date by truncating it to YYYY-MM.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1104
Functiontest_coh_real_efficiency_metrics_no_clamp_within_limit
A window inside the API span is passed through unchanged with no range_note.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1259
Functiontest_coh_real_efficiency_metrics_order_by_not_dict_reload_identity_decorator
A non-object order_by JSON is rejected.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1142
Functiontest_coh_real_efficiency_metrics_performance_requires_group_by
ranking_mode='performance' without group_by is rejected before the helper.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1345
Functiontest_coh_real_efficiency_metrics_performance_with_group_by_proceeds
ranking_mode='performance' WITH group_by passes validation and calls the helper.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1381
Functiontest_coh_real_efficiency_metrics_rejects_unpadded_date
A non-zero-padded date is rejected locally, not forwarded. strptime alone is lenient (it accepts '2026-6-5'), but COH requires strict zero-pa
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1076
Functiontest_coh_real_efficiency_metrics_reload_identity_decorator
Real dispatcher wires list_efficiency_metrics with parsed/validated params.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:794
Functiontest_coh_real_enrollment_statuses_account_id_reload_identity_decorator
account_id is forwarded to the helper.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1460
Functiontest_coh_real_enrollment_statuses_no_params_reload_identity_decorator
list_enrollment_statuses with no params defaults account_id to None.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1438
Functiontest_coh_real_get_preferences_reload_identity_decorator
get_preferences is dispatched to the helper with no extra params.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1497
Functiontest_coh_real_get_recommendation_missing_params_reload_identity_decorator
Test real cost_optimization_hub get_recommendation missing params with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:536
Functiontest_coh_real_get_recommendation_missing_resource_id_reload_identity_decorator
Test real cost_optimization_hub get_recommendation missing resource_id with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:691
Functiontest_coh_real_get_recommendation_success_reload_identity_decorator
Test real cost_optimization_hub get_recommendation success with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:509
Functiontest_coh_real_invalid_group_by_reload_identity_decorator
Test real cost_optimization_hub invalid group_by with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:622
Functiontest_coh_real_list_recommendations_exception_reload_identity_decorator
Test real cost_optimization_hub list_recommendations exception with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:666
Functiontest_coh_real_list_recommendations_invalid_order_by_reload_identity_decorator
list_recommendations rejects an unsupported order_by dimension before the API call.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:769
← previousnext →13,501–13,600 of 35,417, ranked by callers