MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_arn
ARN should have the name extracted.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:289
Methodtest_arn_govcloud
GovCloud ARN should work too.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:294
Methodtest_arn_input_extracts_name_for_describe_queries
ARN input should use name for DescribeQueries and ARN for DescribeIndexPolicies.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:603
Methodtest_arn_parsing
Account id and partition are parsed from an ARN's fixed segments.
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:144
Methodtest_arn_with_star_suffix
ARN with :* resource suffix should strip it.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:299
Methodtest_arns_omitted_when_not_provided
No ARN parameter is sent when resource_arns is not given.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2050
Methodtest_arns_sent_as_operation_parameter
Each operation sends the ARNs under its own AWS parameter name.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2036
Methodtest_arns_without_region_fall_back_to_given_region
ARNs whose region field is empty leave the caller's region unchanged.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3259
Methodtest_arrappend_nonexistent_key
(self)
src/valkey-mcp-server/tests/integration/test_error_cases_live.py:78
Methodtest_arrappend_to_non_array
(self, client)
src/valkey-mcp-server/tests/integration/test_error_cases_live.py:71
Methodtest_array_empty_string_element_errors
Empty string element in array produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:843
Methodtest_array_index
Test formatting an array index location.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:414
Methodtest_array_non_string_element_errors
Non-string element in array produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:837
Methodtest_array_non_string_element_errors
Non-string element in template array produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:884
Methodtest_array_over_four_errors
Array with >4 elements produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:829
Methodtest_array_over_four_errors
Array with >4 templates produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:877
Methodtest_array_passes_through
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:567
Functiontest_array_slice_not_mangled
Array-slice reads parse and are allowed; the slice colon is not rewritten.
src/postgres-mcp-server/tests/test_sql_guard.py:408
Functiontest_array_slice_regression_end_to_end
The documented slice query survives both layers. Guard-side acceptance was already fixed; this pins the executor side, which used to mangle t
src/postgres-mcp-server/tests/test_named_params.py:136
Methodtest_array_value
Should extract arrayValue.
src/mysql-mcp-server/tests/test_server_helpers.py:48
Methodtest_array_with_field
Test formatting an array index with nested field.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:418
Methodtest_array_with_invalid_field_reference
Array template referencing non-existent field produces error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:898
Methodtest_arrpop_nonexistent_key
(self)
src/valkey-mcp-server/tests/integration/test_error_cases_live.py:61
Methodtest_arrtrim_nonexistent_key
(self)
src/valkey-mcp-server/tests/integration/test_error_cases_live.py:66
Methodtest_artifact_download
(self, _, mock_fes, mock_dl, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:313
Methodtest_artifact_download_with_warning
When agent artifact download has a warning, it appears in the result.
src/aws-transform-mcp-server/tests/test_hitl.py:691
Methodtest_artifact_requires_artifact_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:294
Methodtest_artifact_requires_job_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:283
Methodtest_artifact_requires_workspace_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:274
Methodtest_artifact_role_and_authorizer_wired
The image, execution role, and Cognito JWT authorizer are placed correctly.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_boto_model_smoke.py:96
Methodtest_artifacts_default_merges_connector_and_artifact_store
With jobId and no pathPrefix, fire both ListArtifacts calls in parallel and merge.
src/aws-transform-mcp-server/tests/test_list_resources.py:358
Methodtest_artifacts_passes_folders_assets_connector_id_to_paginate_all
paginate_all is invoked with extra_list_keys and scalar_keys for ListArtifacts.
src/aws-transform-mcp-server/tests/test_list_resources.py:527
Methodtest_artifacts_requires_workspace_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:341
Methodtest_artifacts_response_surfaces_folders_assets_connector_id
The full ListArtifacts response envelope is returned to the caller.
src/aws-transform-mcp-server/tests/test_list_resources.py:558
Methodtest_artifacts_source_artifact_store_uses_awstransform_prefix
Without pathPrefix and with jobId, both stores are queried — artifact store prefix is included.
src/aws-transform-mcp-server/tests/test_list_resources.py:436
Methodtest_artifacts_source_connector_uses_transform_output_prefix
Without pathPrefix and with jobId, both stores are queried — connector prefix is included.
src/aws-transform-mcp-server/tests/test_list_resources.py:406
Methodtest_artifacts_with_path_prefix_makes_single_call
Explicit pathPrefix is honoured verbatim — single call, no GetJob, no merge.
src/aws-transform-mcp-server/tests/test_list_resources.py:466
Methodtest_artifacts_with_plan_step_filter
Forward planStepId in both parallel ListArtifacts calls.
src/aws-transform-mcp-server/tests/test_list_resources.py:497
Functiontest_as_json_basic_dict
Test that as_json converts a basic dictionary to JSON string.
src/aws-api-mcp-server/tests/common/test_helpers.py:151
Functiontest_as_json_encodes_bytes_with_non_utf8_content
Test that bytes with non-UTF-8 content is base64 encoded.
src/aws-api-mcp-server/tests/common/test_helpers.py:183
Functiontest_as_json_encodes_bytes_with_utf8_content
Test that bytes with valid UTF-8 content is decoded correctly.
src/aws-api-mcp-server/tests/common/test_helpers.py:176
Functiontest_as_json_encodes_streaming_body_with_non_utf8_content
Test that StreamingBody with non-UTF-8 content is base64 encoded.
src/aws-api-mcp-server/tests/common/test_helpers.py:166
Functiontest_as_json_encodes_streaming_body_with_utf8_content
Test that StreamingBody with valid UTF-8 content is decoded correctly.
src/aws-api-mcp-server/tests/common/test_helpers.py:158
Functiontest_as_json_raises_type_error_for_unsupported_type
Test that as_json raises Exception for non-serializable objects.
src/aws-api-mcp-server/tests/common/test_helpers.py:192
Methodtest_as_of_forwarded
as_of is converted to epoch seconds and forwarded.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:290
Methodtest_as_of_uses_epoch_seconds
as_of is converted to epoch seconds for the AsOf request field.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:99
Methodtest_ascii_upper_is_length_preserving
ASCII-only folding cannot change the byte length, unlike str.upper().
src/db2-mcp-server/tests/test_server.py:739
Methodtest_asg_finding_reason_codes_not_advertised
The ASG API rejects FindingReasonCodes, so the error must not suggest it.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2596
Functiontest_assemble_bundle_rejects_too_few_certs
A bundle assembled below the cert floor is rejected.
src/postgres-mcp-server/tests/test_hatch_build.py:96
Functiontest_assemble_bundle_success
A healthy set of sources assembles into a valid bundle.
src/postgres-mcp-server/tests/test_hatch_build.py:105
Methodtest_assert_aws_host_accepts_known_aws_hosts
Legitimate per-partition AWS hosts pass the assertion (no raise).
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:320
Methodtest_assert_aws_host_rejects_malformed_authority
A malformed port makes urlsplit().port raise, which is caught and re-raised.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:306
Methodtest_assert_aws_host_rejects_non_aws
The backstop refuses to sign a request to a non-AWS/altered host.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_client.py:301
Methodtest_assert_identity_matches_raises_carrying_both_identities
A mismatch raises ``TenantIdentityMismatch`` carrying both identities. Both the expected and observed identities must appear on the exception
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:95
Methodtest_assert_identity_matches_returns_comparison_without_raising
``assert_identity_matches`` returns the comparison and does not raise.
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:65
Methodtest_assess_match_quality
Test match quality assessment.
src/aws-healthomics-mcp-server/tests/test_json_response_builder.py:319
Methodtest_asset_download
(self, _, mock_fes, mock_dl, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:377
Methodtest_asset_hierarchy_validation
Test AssetHierarchy validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:442
Methodtest_asset_id_pattern_edge_cases
Test asset ID pattern edge cases.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:1003
Methodtest_asset_model_composite_model_validation
Test AssetModelCompositeModel validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:478
Methodtest_asset_model_hierarchy_validation
Test AssetModelHierarchy validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:460
Methodtest_asset_model_property_binding_value_validation
Test AssetModelPropertyBindingValue model validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:70
Methodtest_asset_model_property_validation
Test AssetModelProperty validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:365
Methodtest_asset_model_type
Test AssetModelType model.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:844
Methodtest_asset_model_validation
Test AssetModel validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:496
Methodtest_asset_model_validation_errors
Test validation error handling in asset models.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_asset_models.py:257
Methodtest_asset_property_binding_value_validation
Test AssetPropertyBindingValue model validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:92
Methodtest_asset_property_validation
Test asset property validation requirements.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:419
Methodtest_asset_requires_all_params
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:340
Methodtest_asset_validation
Test Asset validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:506
Methodtest_assistant_error_returns_error
( self, _cfg, _nudge, mock_fes, mock_poll_fes, mock_sleep, handler, ctx )
src/aws-transform-mcp-server/tests/test_job_status.py:457
Methodtest_associate_assets_field_info_validation
Test associate_assets with FieldInfo parameters to cover lines 453->460.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_assets.py:790
Methodtest_associate_assets_success
Test successful asset association.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_assets.py:258
Methodtest_associate_assets_with_client_token
Test associate assets with client token.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_assets.py:528
Methodtest_associate_time_series_success
Test successful time series association.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_gateways.py:194
Methodtest_associate_time_series_with_client_token
Test associate time series with client token parameter.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_gateways.py:490
Methodtest_associated_app_verification_error
Test stop when verifying associated app raises exception (lines 611-612).
src/aws-for-sap-management-mcp-server/tests/test_applications.py:955
Methodtest_associated_arn_without_slash
Test stop when associated ARN has no slash (line 604).
src/aws-for-sap-management-mcp-server/tests/test_applications.py:979
Methodtest_association_score_bonus
Test association score bonus calculation.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:464
Methodtest_association_scoring
Test associated files scoring.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:159
Methodtest_assume_ecr_role
Test assume_ecr_role function.
src/ecs-mcp-server/tests/unit/test_aws_role_utils.py:22
Methodtest_assume_ecr_role
Test assume_ecr_role function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:343
Methodtest_assume_ecr_role_error_handling
Test error handling in assume_ecr_role function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:391
Functiontest_assume_role_uses_execution_role_creds_and_request_external_id
The assume uses the injected server-credential STS client + request ExternalId. The ``sts:AssumeRole`` presents the resolved customer ``ExternalI
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:250
Methodtest_assume_role_with_identity_context_error
Test error handling in role assumption.
src/amazon-qindex-mcp-server/tests/test_server.py:358
Methodtest_assume_role_with_identity_context_success
Test successful role assumption with identity context.
src/amazon-qindex-mcp-server/tests/test_server.py:323
Methodtest_assume_tenant_role_untagged_returns_creds_and_arn
assume_tenant_role passes ExternalId, no Tags, and returns creds + assumed ARN.
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:233
Methodtest_assumed_creds_absent_from_inventory
The forwarded short-lived credentials never appear in the persisted inventory.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:364
Methodtest_assumed_role_identity
Test policy setup for assumed role identity.
src/postgres-mcp-server/tests/test_cp_api_connection.py:749
Methodtest_async_function
()
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:358
Methodtest_async_main_with_url
Test that async_main correctly logs when URL is configured.
src/prometheus-mcp-server/tests/test_main.py:27
Methodtest_async_main_with_url_containing_workspace_id
Test that async_main correctly logs when URL contains a workspace ID.
src/prometheus-mcp-server/tests/test_main.py:53
Methodtest_async_main_without_url
Test that async_main correctly logs when URL is not configured.
src/prometheus-mcp-server/tests/test_main.py:79
Methodtest_async_retry_decorator
Test async retry decorator.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:351
Methodtest_async_retry_exhaustion
Test async retry exhaustion.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:294
Methodtest_async_retry_on_error
Test async retry behavior on retryable errors.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:270
Methodtest_async_successful_execution
Test successful async function execution.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:258
Methodtest_async_test_framework
Test that the async test framework is working correctly.
src/aws-healthomics-mcp-server/tests/test_integration_framework.py:191
Methodtest_at_limit_via_results_fallback
At limit via results fallback returns True.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:593
Methodtest_at_limit_via_stats
At limit via stats returns True.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:589
← previousnext →11,601–11,700 of 35,417, ranked by callers