MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_platform_and_environment_distribution
Test that platform and environment distribution is shown.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:225
Methodtest_platform_with_embedded_separator_rejected
A platform value with an embedded separator is treated as unsupported.
src/cloudwatch-applicationsignals-mcp-server/tests/test_enablement_tools.py:249
Methodtest_platform_with_path_separators_rejected
A platform value containing path separators is treated as unsupported.
src/cloudwatch-applicationsignals-mcp-server/tests/test_enablement_tools.py:204
Methodtest_plugin_has_core_schema_queries
Test that each plugin defines the core schema queries.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:624
Methodtest_plugin_methods_return_correct_types
Test that plugin methods return expected types.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:522
Functiontest_plural_singular_params
Test that singular and plural parameter forms are supported.
src/aws-api-mcp-server/tests/parser/test_parser.py:366
Methodtest_policy_already_attached_to_role
Test when policy is already attached to role.
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:104
Methodtest_policy_already_attached_to_user
Test when policy is already attached to user.
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:51
Methodtest_policy_already_includes_resource
Test that no update occurs if resource already exists in policy.
src/postgres-mcp-server/tests/test_cp_api_connection.py:927
Methodtest_policy_creation_race_condition
Test handling of race condition during policy creation.
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:228
Methodtest_policy_engine_create_has_optional_params
policy_engine_create exposes optional params.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_mcp_protocol.py:667
Methodtest_policy_generation_minimal_permissions
Test that policies follow principle of least privilege.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:255
Methodtest_policy_generation_resource_arns
Test that generated policies contain proper ARN formats.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:222
Methodtest_policy_generation_with_special_characters
Test policy generation with special characters in names.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:208
Functiontest_policy_matrix_is_importable_from_the_harness
--full-policy-corpus depends on this import, and refuses to run without it. The wrapper script invokes the harness through ``uv run --frozen``, s
src/postgres-mcp-server/tests/test_e2e_harness_contracts.py:119
Methodtest_policy_statements_structure
Test that policy statements have proper structure.
src/aws-serverless-mcp-server/tests/test_iam_policies.py:239
Methodtest_policy_tools_require_policy_engine_id
Most policy tools require policy_engine_id.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_mcp_protocol.py:637
Methodtest_policy_update_adds_new_resource
Test that existing policy is updated with new resource.
src/postgres-mcp-server/tests/test_cp_api_connection.py:859
Methodtest_policy_update_no_non_default_versions
Test policy update when at version limit but no non-default versions to delete.
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:602
Methodtest_policy_update_with_string_resource
Test policy update when existing resource is a string (not list).
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:440
Methodtest_policy_update_with_version_limit
Test policy update when version limit is reached.
src/postgres-mcp-server/tests/test_cp_api_iam_policy.py:156
Methodtest_policy_version_limit_deletes_oldest
Test that oldest version is deleted when limit is reached.
src/postgres-mcp-server/tests/test_cp_api_connection.py:975
Methodtest_policy_with_deny_effect_ignored
Test that Deny statements are ignored.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:246
Methodtest_policy_with_healthomics_as_string_principal
Test handling when existing policy has HealthOmics as string principal.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1898
Methodtest_policy_with_healthomics_service_in_list
Test handling when existing policy has HealthOmics in Service list.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1858
Methodtest_policy_with_single_statement_dict
Test that single statement as dict (not list) is handled.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:276
Methodtest_policy_with_single_statement_dict
Test handling when existing policy has Statement as dict instead of list.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1821
Methodtest_policy_with_wrong_principal_ignored
Test that statements with wrong principal are ignored.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:261
Methodtest_poll_exception_continues
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2294
Methodtest_poll_failure
A get_query_results client error is reported as an error result.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_snapshot_queries.py:92
Methodtest_poll_for_query_completion_cancelled_status
Test polling with cancelled query status.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:274
Methodtest_poll_for_query_completion_failed_status
Test polling with failed query status.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:256
Methodtest_poll_for_query_completion_polling_exception
Test polling with exception during get_query_results.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:311
Methodtest_poll_for_query_completion_timeout
Test polling timeout scenario.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:238
Methodtest_poll_for_query_completion_unexpected_status
Test polling with unexpected query status.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:292
Methodtest_poll_query_results_cancelled
Test _poll_query_results with Cancelled status.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:1167
Methodtest_poll_query_results_complete
Test _poll_query_results with Complete status.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:1114
Methodtest_poll_query_results_exponential_backoff
Test _poll_query_results with exponential backoff.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:1209
Methodtest_poll_query_results_failed
Test _poll_query_results with Failed status.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:1147
Methodtest_poll_query_results_timeout
Test _poll_query_results with timeout.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:1187
Methodtest_poll_timeout
Polling past max_timeout returns a timeout result.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_snapshot_queries.py:141
Methodtest_polling_timeout
PollingTimeout status is splittable.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:610
Methodtest_polling_timeout_returns_timeout
When the deadline passes without a terminal status, a timeout dict results.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3444
Methodtest_polling_timeout_triggers_rechunk
PollingTimeout from _start_and_poll should trigger time-range split.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:764
Methodtest_polling_until_success
Test polling continues until success status.
src/aws-appsync-mcp-server/tests/test_create_schema.py:127
Functiontest_pool_exhaustion_raises_timeout
When all connections are checked out, _get_connection times out.
src/mssql-mcp-server/tests/test_pool_exhaustion_and_expiry.py:42
Functiontest_pool_get_timeout_is_15_seconds
The pool timeout value passed to asyncio.wait_for is 15 seconds.
src/mssql-mcp-server/tests/test_pool_exhaustion_and_expiry.py:55
Methodtest_pool_stats_no_pool
Should return default stats when pool is None.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:548
Methodtest_pool_stats_with_pool
Should return pool stats when pool exists.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:571
Methodtest_pop_nonexistent_key
(self)
src/valkey-mcp-server/tests/test_json.py:150
Methodtest_pop_readonly
(self)
src/valkey-mcp-server/tests/test_json.py:144
Methodtest_pop_success
(self, mock_client)
src/valkey-mcp-server/tests/test_json.py:134
Methodtest_pop_with_index
(self, mock_client)
src/valkey-mcp-server/tests/test_json.py:139
Functiontest_poppler_step_gets_the_tool_timeout
The poppler step is bounded by the same timeout as the tool call.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:293
Methodtest_populates_all_dimensions
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:125
Methodtest_populates_cache_with_name_and_env
Cache service->env pairs that carry both Name and Environment.
src/cloudwatch-applicationsignals-mcp-server/tests/test_state.py:109
Methodtest_port_as_string_parses
Port returned as a string (as the RDS API sometimes does) is parsed as int.
src/postgres-mcp-server/tests/test_cp_api_connection.py:1399
Functiontest_port_inclusion
Test port is correctly included in guidance for various port numbers.
src/ecs-mcp-server/tests/unit/test_containerize.py:309
Functiontest_port_removal_from_origin
Test that port is correctly removed from origin before validation.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:262
Methodtest_positional_args
(self)
src/aws-transform-mcp-server/tests/test_audit.py:79
Methodtest_positive_hours
A positive hours value maps to an Nh window.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:120
Methodtest_positive_inf_value
A "+Inf" value yields None rather than a non-finite float.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:153
Methodtest_positive_int_env
Only a positive int overrides the default.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:404
Methodtest_possibly_hung
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:235
Methodtest_post_launch_run_gets_feature_reason
(self, mock_resolve, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:454
Methodtest_postgresql_specific_patterns
Test detection of PostgreSQL-specific patterns.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:767
Methodtest_ppl
PPL queries using where (not filter) should be detected.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:165
Methodtest_ppl_compound_and_equality
PPL compound 'and field = val' should detect both fields as equality.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1172
Methodtest_ppl_detection_with_filter_and_where
Query with both filter and where should detect as cwli, not ppl.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1131
Functiontest_pptx_parsing
Test PowerPoint presentation parsing functionality.
src/document-loader-mcp-server/tests/test_document_parsing.py:533
Methodtest_pre_launch_run_gets_launch_date_reason
(self, mock_resolve, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:404
Functiontest_precedence_is_independent_of_input_order
Selection follows INBOUND_PRECEDENCE regardless of the order supplied. Both mechanisms apply, but ``sigv4`` outranks ``explicit`` in the document
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:195
Functiontest_preexisting_slide_symlink_inside_base_is_refused
Links are refused even when they point inside the base directory.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:117
Functiontest_preexisting_slide_symlink_outside_is_refused
A slide_1.png link to an outside file is refused and the file is unchanged.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:96
Methodtest_preference_kept_with_arns_and_next_token
The preference rides along with ARN lookups and pagination.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3208
Methodtest_preference_omitted_by_default
Without the parameter nothing is sent, so the API default (CURRENT) applies.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3139
Methodtest_preference_sent_and_echoed
The resolved list is sent as recommendationPreferences and echoed back.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3119
Methodtest_preferences_expired_sso_token_is_do_not_retry
get_preferences' failure keeps handle_aws_error's do_not_retry.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2605
Methodtest_preferences_unmapped_5xx_stays_retryable
An unmapped code with a 5xx status is transient after get_preferences repackages it.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2621
Methodtest_prefix_and_list
Test with both prefix and list.
src/lambda-tool-mcp-server/tests/test_server.py:43
Methodtest_prefix_bypass_blocked
GETDEL should NOT pass the read allowlist even though GET is allowed.
src/valkey-mcp-server/tests/test_command_runners.py:71
Methodtest_prefix_bypass_blocked
GETDEL must NOT match GET — word boundary required.
src/valkey-mcp-server/tests/test_command_runners.py:262
Methodtest_prefix_match
Test with matching prefix.
src/lambda-tool-mcp-server/tests/test_server.py:29
Methodtest_prefix_match_does_not_false_positive
r"""``SET sql_log_bin_extra = 0`` — \b prevents prefix collision. There is no real MySQL variable named ``sql_log_bin_extra``, but th
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:669
Methodtest_prefix_match_on_compound_identifiers
A long query (4+ chars) matches as prefix of compound tokens.
src/aws-documentation-mcp-server/tests/test_table_utils.py:358
Methodtest_prefix_must_be_followed_by_slash
Test that prefix must be followed by a slash to match.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:163
Methodtest_prefix_only_no_match
(self)
src/aws-transform-mcp-server/tests/test_guidance_nudge.py:91
Methodtest_prefix_overridable
Override the log group prefix via the environment variable.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:92
Functiontest_prefix_parameter
Test that the AWS CLI supports prefixes for its parameters.
src/aws-api-mcp-server/tests/parser/test_parser.py:407
Methodtest_prefix_wildcards
Test wildcards at the beginning of patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3133
Methodtest_prefix_without_slash_not_detected
Property: Prefix alone without trailing slash is not detected. Feature: ecr-container-tools, Property: Pull-Through Cache Detection
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:403
Methodtest_prefixed_identifiers_are_not_flagged
r"""Columns whose names start with a keyword must not match (``\b`` guard).
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1098
Methodtest_prefixed_name_collision_is_reported
A name prefixed to become a legal identifier can collide, and must be reported. `'123'` needs the `table` prefix to start an identifier, whic
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:668
Methodtest_prepare_failure
A prepare failure raises ValueError.
src/db2-mcp-server/tests/test_ibm_db_connection.py:428
Functiontest_prepare_failure_rolls_back
A prepare failure also triggers the cleanup rollback.
src/db2-mcp-server/tests/test_ibm_db_connection.py:1117
Methodtest_prepare_is_detected
``PREPARE s FROM @x`` — dynamic SQL setup.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:518
Methodtest_prepare_resource_tags
Test that prepare_resource_tags returns the correct tags.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:298
Methodtest_prepare_resource_tags_with_custom_tags_disabled
Test that prepare_resource_tags adds MCP tags when CUSTOM_TAGS is disabled.
src/aws-dataprocessing-mcp-server/tests/utils/test_custom_tags.py:63
Methodtest_prepare_resource_tags_with_custom_tags_enabled
Test that prepare_resource_tags returns only additional tags when custom tags are enabled.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:635
Methodtest_prepare_resource_tags_with_custom_tags_enabled
Test that prepare_resource_tags respects CUSTOM_TAGS when enabled.
src/aws-dataprocessing-mcp-server/tests/utils/test_custom_tags.py:47
← previousnext →28,001–28,100 of 35,417, ranked by callers