MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_coh_real_list_recommendations_no_filters_reload_identity_decorator
Test real cost_optimization_hub list_recommendations no filters with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:583
Functiontest_coh_real_list_recommendations_order_by_reload_identity_decorator
list_recommendations forwards a parsed order_by to the helper.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:731
Functiontest_coh_real_list_recommendations_reload_identity_decorator
Test real cost_optimization_hub list_recommendations with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:354
Functiontest_coh_real_main_exception_reload_identity_decorator
Test real cost_optimization_hub main exception with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:709
Functiontest_coh_real_summaries_default_group_by_reload_identity_decorator
Test real cost_optimization_hub summaries default group_by with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:566
Functiontest_coh_real_summaries_exception_reload_identity_decorator
Test real cost_optimization_hub summaries exception with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:638
Functiontest_coh_real_summaries_reload_identity_decorator
Test real cost_optimization_hub summaries with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:305
Functiontest_coh_real_unsupported_operation_lists_efficiency_metrics
The unsupported-operation error advertises list_efficiency_metrics.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:975
Functiontest_coh_real_unsupported_operation_lists_enrollment_statuses
The unsupported-operation error advertises list_enrollment_statuses.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1485
Functiontest_coh_real_unsupported_operation_lists_get_preferences
The unsupported-operation error advertises get_preferences.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1517
Functiontest_coh_real_unsupported_operation_reload_identity_decorator
Test real cost_optimization_hub unsupported operation with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:552
Functiontest_coh_response_fields_named_by_the_prompts_exist
The list_recommendations fields the Graviton prompt names are the formatter's keys.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:260
Functiontest_coh_summaries_group_by_folds_case
A lower-case group_by reaches the summaries API in the API's spelling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2035
Functiontest_coh_summaries_group_by_tag_key
TagKey group_by and a tag filter reach the summaries API in the API's spelling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2130
Functiontest_coh_summaries_group_by_tag_key_without_key
TagKey: with no key is rejected without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2160
Functiontest_coh_summaries_reject_id_filters_before_api_call
The service rejects ID filters on summaries, so they fail locally with a hint.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1770
Functiontest_coh_validation_exception_adds_valid_filter_values
A ValidationException from the API carries the accepted filter values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1829
Methodtest_cohere_model_allowed_in_us_east_1
The Cohere reranking model is offered in us-east-1 and must be allowed.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:317
Methodtest_collaborators_missing_workspace
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:1136
Methodtest_collaborators_success
(self, _, mock_paginate, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:1116
Methodtest_collect_cluster_details
Test collect_cluster_details function.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:338
Methodtest_collect_cluster_details_error
Test collect_cluster_details with error handling.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:370
Methodtest_collect_cluster_details_missing_clusters
Test collect_cluster_details when clusters key is missing.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:386
Functiontest_collect_regional_pages_merges_items_tokens_and_outcomes
Regional pages are merged, stamped, and retain every regional error.
src/billing-cost-management-mcp-server/tests/utilities/test_regional_fanout.py:77
Methodtest_collect_service_details_exception_handling
Test collect_service_details exception handling - covers lines 324-325.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:1074
Methodtest_collect_task_details_find_load_balancers_exception
Test collect_task_details when find_load_balancers raises exception.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:1044
Methodtest_collect_task_details_validate_container_images_exception
Test collect_task_details when validate_container_images raises exception.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:1009
Methodtest_collect_task_details_with_find_task_definitions_client_error
Test collect_task_details when find_task_definitions raises ClientError.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:981
Methodtest_collect_task_details_with_find_task_definitions_general_exception
Test collect_task_details when find_task_definitions raises general Exception.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:1125
Functiontest_collection_does_not_skip_when_opt_in_present
With the signal present, the hook leaves integration items unskipped. When ``RUN_REMOTE_INTEGRATION_TESTS`` is truthy the collection hook is a no
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:220
Functiontest_collection_skips_integration_items_and_builds_no_aws_client
With the signal absent, integration items are skipped and no AWS client is built. Drives ``pytest_collection_modifyitems`` directly with fake ite
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:171
Methodtest_collects_enums_from_lists_and_ignores_repeated_or_missing_shapes
Enums are found through lists, and a shape that refers to itself is visited once.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1535
Methodtest_colspan_in_data_row
A data cell with colspan fills multiple columns.
src/aws-documentation-mcp-server/tests/test_table_utils.py:838
Methodtest_colspan_in_header
A header cell with colspan expands into multiple columns.
src/aws-documentation-mcp-server/tests/test_table_utils.py:856
Methodtest_colspan_row_not_dropped
Rows with colspan cells are not dropped due to cell count mismatch.
src/aws-documentation-mcp-server/tests/test_table_utils.py:885
Methodtest_colspan_rowspan_not_parent
A cell with both colspan and rowspan does not make those columns parents.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1266
Methodtest_colspan_suffixes_use_delimited_text
A colspan header carries the delimited text into its generated suffixes.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1480
Methodtest_colspan_with_rowspan
Colspan and rowspan can coexist in the same table.
src/aws-documentation-mcp-server/tests/test_table_utils.py:868
Functiontest_column_definition
Test ColumnDefinition model.
src/billing-cost-management-mcp-server/tests/test_models.py:91
Functiontest_column_name_containing_into_not_flagged
A column name containing 'into' (e.g. shipped_into) should not trigger SELECT INTO.
src/mssql-mcp-server/tests/test_injection_false_positives.py:151
Methodtest_column_named_change_is_not_flagged
``SELECT change FROM ledger`` — column, not CHANGE REPLICATION.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1082
Methodtest_column_named_release_is_not_flagged
``SELECT release FROM versions`` — column, not RELEASE SAVEPOINT.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1086
Methodtest_column_named_start_is_not_flagged
``SELECT start, stop FROM schedule`` — columns, not verbs.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1078
Methodtest_combined_flags
Test parsing multiple flags together.
src/finch-mcp-server/tests/test_cli_flags.py:110
Methodtest_combined_registry_and_image_mappings
Test with both registry and image mappings.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:274
Methodtest_combined_validation_workflow
Test combined validation in a typical workflow.
src/amazon-translate-mcp-server/tests/test_security_validators.py:361
Methodtest_command_and_stdin_payload
Verify argv flags and that sql is piped via stdin (input=sql).
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:206
Methodtest_command_error
(self, mock_client)
src/valkey-mcp-server/tests/test_search_aggregate.py:149
Methodtest_command_failed
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2177
Methodtest_command_injection_in_parameters
Test command injection patterns in parameters.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_validator.py:239
Functiontest_command_line_args
Test that the command-line arguments are parsed correctly.
src/eks-mcp-server/tests/test_server.py:57
Functiontest_command_line_args
Test that the command-line arguments are parsed correctly.
src/sagemaker-ai-mcp-server/tests/test_server.py:58
Functiontest_command_line_args
Test that the command-line arguments are parsed correctly.
src/aws-dataprocessing-mcp-server/tests/test_server.py:132
Methodtest_comment_at_end_of_input_without_terminator
A comment running to end-of-input is still fully stripped.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:555
Methodtest_comment_before_verb_after_semicolon_is_detected
``SELECT 1;<comment>DO ...`` — comment after ``;`` must not hide DO.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1538
Methodtest_comment_bypass_injection_detected
Inline comments between SQL keywords must not bypass injection detection.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1548
Methodtest_comment_bypass_mutating_detected
Inline comments between SQL keywords must not bypass mutating keyword detection.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1559
Methodtest_comment_handling
Test that comments don't interfere with detection.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:781
Methodtest_comment_injection
Test that comment injection returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2212
Methodtest_comment_injection_block
Test that block comment injection is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2513
Methodtest_comment_injection_does_not_bypass_detection
SQL comments must not smuggle a mutation past the detector. Postgres treats /* */ and -- as whitespace, so a comment wedged between t
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:508
Methodtest_comment_injection_double_dash
Test that double-dash comment injection is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2509
Functiontest_comment_injection_no_space_detected
Comment injection with no space between quote and -- is flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:99
Methodtest_comment_injection_same_line_only
comment_injection flags a quote + -- on the SAME line, not across lines. The historical `'.*?--` regex ran without re.DOTALL, so a string lit
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:451
Methodtest_comment_injection_scan_is_linear
The comment-injection check must not be O(n^2) on quote-heavy input (ReDoS).
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:441
Functiontest_comment_injection_with_space_detected
Comment injection with space between quote and -- is also flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:106
Methodtest_comment_only
Should return an empty set for a query with only comments.
src/s3-tables-mcp-server/tests/test_database.py:159
Methodtest_comment_only_body_raises
A build comment is not content.
src/aws-documentation-mcp-server/tests/test_util.py:1240
Methodtest_comment_only_input_might_write
Input with no statement is not a recognized read.
src/redshift-mcp-server/tests/test_sql_guard.py:823
Methodtest_comment_only_query
Should not raise for comment-only query, just return result from engine.
src/s3-tables-mcp-server/tests/test_database.py:221
Functiontest_comment_precedence_line_then_block
Line comment on same line as /* prevents block comment from opening.
src/oracle-mcp-server/tests/test_server.py:539
Methodtest_comment_prefixed_insert_is_durable
A comment-prefixed INSERT must persist after the connection closes. Regression test for the keyword-prefix commit check: ``.strip()`` does
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:590
Methodtest_comment_text_containing_into_outfile_passes
Benign query whose comment happens to mention ``INTO OUTFILE``. Regression test: V1 of the fix would have flagged this because it ran
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:344
Methodtest_comment_text_containing_load_data_passes
Benign query whose comment happens to mention ``LOAD DATA``.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:354
Methodtest_commercial_host_rejected
The commercial docs host is not on the CN allowlist.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:362
Methodtest_commercial_list_matches_fes_deployment
Drift guard: this list must track where FES is actually deployed. A missing region makes every caller in it undiscoverable; a surplus one
src/aws-transform-mcp-server/tests/test_configure.py:963
Methodtest_commercial_region_excludes_gov
(self)
src/aws-transform-mcp-server/tests/test_configure.py:990
Methodtest_commercial_region_never_probes_gov
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:350
Methodtest_commit_after_select_is_detected
``SELECT 1; COMMIT`` — COMMIT leads the second statement.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1057
Methodtest_commit_detected
COMMIT is detected as a transaction-control bypass.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:397
Functiontest_commit_failure_rolls_back
A failed commit is followed by a cleanup rollback so nothing partial lingers.
src/db2-mcp-server/tests/test_ibm_db_connection.py:1126
Functiontest_commit_falsy_return_raises
A falsy commit() return must raise, not be treated as a successful commit.
src/db2-mcp-server/tests/test_ibm_db_connection.py:715
Methodtest_commit_inside_string_literal_is_not_flagged
``WHERE kind = 'commit'`` — "commit" as data.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1264
Methodtest_commit_is_detected
``COMMIT`` — makes pending mutations durable.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:969
Methodtest_commit_prefix_filter
Match deployments by commit prefix and exclude non-matches.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:240
Methodtest_communication
Test Communication model.
src/aws-support-mcp-server/tests/test_models.py:91
Methodtest_compare_identities_does_not_match_and_carries_values
``compare_identities`` reports no match while carrying both identities.
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:87
Methodtest_compare_identities_matches_and_carries_values
``compare_identities`` reports a match and carries both identities.
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:56
Methodtest_compare_run_metrics
(self, mock_resolve, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:357
Methodtest_comparison_does_not_raise_on_naive_deployment_dt
A naive deployment_dt must not raise when subtracted from aware now.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1322
Methodtest_comparison_filter_in_signature
Test comparison filter params appear in method signature.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:52
Methodtest_comparison_flags_missing_baseline
Empty prior + non-empty recent flags baseline_unavailable (count retention).
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1197
Methodtest_comparison_missing_param
Test comparison operator without param.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:72
Methodtest_comparison_missing_param_error
Test that comparison operator missing param is caught.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:631
Methodtest_comparison_none_when_a_window_fails
If either window query fails (None), the comparison is omitted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1186
Methodtest_comparison_operators_parameter_count
Test validation for comparison operators with correct and incorrect count.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:172
Methodtest_comparison_operators_require_two_parameters
Test comparison operators require 2 parameters (pk + 1 range value).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:84
Methodtest_comparison_uses_deployment_cut_line
A recent deployment drives the ±3h deployment-anchored windows.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1127
Methodtest_compiled_patterns_handle_special_characters
Test that compiled patterns handle special characters correctly.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:850
Methodtest_compiled_patterns_initialization
Test that patterns are pre-compiled during initialization.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:644
← previousnext →13,601–13,700 of 35,417, ranked by callers