MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_metrics_fallback_healthy
Test audit using metrics fallback when no SLOs configured.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:344
Methodtest_metrics_fallback_latency
Test audit captures latency p99 via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:471
Methodtest_metrics_fallback_latency_critical
Test audit with critical latency via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:512
Functiontest_metrics_follows_next_token
Pagination must follow NextToken across pages and merge results under the same metric.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1412
Methodtest_metrics_get_service_failure
Test when get_service fails during metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:685
Methodtest_metrics_list
Test that MetricsList model works correctly.
src/prometheus-mcp-server/tests/test_models.py:23
Functiontest_metrics_malformed_response
Malformed MetricDataResults entry should return internal_error, not crash.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:904
Functiontest_metrics_names_validation_rejects_non_list
Metrics names validation rejects non list.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:937
Methodtest_metrics_provider_is_abstract
Test that MetricsProvider is an abstract class.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:111
Functiontest_metrics_status_ranks_choose_worst
Subsequent pages with a worse StatusCode must bump the entry status.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:2091
Methodtest_metrics_to_dict
Test metrics conversion to dictionary.
src/aws-healthomics-mcp-server/tests/test_pagination.py:345
Functiontest_metrics_truncates_at_page_cap
Infinite NextToken must stop at _METRIC_DATA_PAGE_CAP and surface truncated=True.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1460
Methodtest_mid_month_range_within_a_month_is_allowed
A 30-day range that crosses a month boundary is still accepted. The service caps the span, not the alignment, so a mid-month range must
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:899
Methodtest_mid_month_start_in_current_month_flags_actuals
A start moved back to a 1st before today puts month-to-date actuals in the result.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1293
Methodtest_mid_pagination_failure_returns_partial
A failure after the first page keeps the fetched items as a partial result.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:534
Methodtest_mid_path_traversal
Reject 'dir/../secret' style traversal.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:53
Methodtest_middle_wildcards
Test wildcards in the middle of patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3162
Methodtest_middleware_rejects_with_401_and_no_dispatch
The middleware returns 401 and never dispatches the wrapped app on failure. For any failing assume-role and any caller ``sub`` claim, the
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:217
Functiontest_midnight_spellings_become_dates
Every spelling of UTC midnight is stored as the bare date.
src/billing-cost-management-mcp-server/tests/utilities/test_ce_time_period_format.py:176
Methodtest_midnight_timestamp_is_sent_to_ce_as_a_date
A T00:00:00Z period is sent as a date (getCostComparisonDrivers answers 504 otherwise).
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1172
Methodtest_minimal
Test Minimal.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:57
Methodtest_minimal_call
A query alone sends the fixed id and default max results, and no filters.
src/amazon-bedrock-agentcore-mcp-server/tests/web_search/test_unit_search.py:126
Methodtest_minimal_case_formatting
Test that a minimal case is formatted correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1944
Methodtest_minimal_entry
Test Minimal entry.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:99
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:124
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:192
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:247
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:354
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:441
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:502
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:552
Methodtest_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:614
Methodtest_minimal_request_omits_optional_params
Only granularity + timePeriod are sent when optionals are absent.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1483
Methodtest_minimal_response
Response without optional fields uses defaults.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:269
Methodtest_minimal_response
Test with minimal TGW response (missing optional fields).
src/aws-network-mcp-server/tests/tools/transit_gateway/test_get_tgw_details.py:125
Methodtest_minimal_snake_case_input
Without KMS, snake_case s3_configuration becomes the PascalCase boto3 shape.
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:417
Methodtest_minimum_billable_seconds
Test MINIMUM_BILLABLE_SECONDS constant.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:168
Methodtest_mint_raises_on_challenge
A challenge response (no tokens) raises rather than returning an empty token.
src/aws-healthomics-mcp-server/integration/harness_tests/test_cognito_provisioning.py:185
Methodtest_mismatch_is_an_assertion_error
``TenantIdentityMismatch`` is an ``AssertionError`` for pytest reporting.
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:113
Methodtest_mismatched_hostname_returns_secret_host
Test that mismatched hostname raises ValueError.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:302
Methodtest_missing_actions_returned
Test that missing actions are correctly identified.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:176
Functiontest_missing_add_prompt_method
Test behavior when server doesn't have add_prompt.
src/openapi-mcp-server/tests/prompts/test_prompt_registration.py:109
Methodtest_missing_arn_returns_error
An empty invoice_unit_arn returns an error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:263
Methodtest_missing_arn_returns_error
An empty ARN returns an error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:301
Methodtest_missing_attribute_definitions
Error: AttributeDefinitions missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:209
Methodtest_missing_attribute_name
Error: AttributeName missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:290
Methodtest_missing_attribute_type
Error: AttributeType missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:324
Methodtest_missing_both_override_and_metadata_raises
No configured ARN AND no MasterUserSecret in cluster props → ValueError. Both fallbacks must fail before we refuse the connection.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1562
Methodtest_missing_broker_id
Test with missing broker ID.
src/amazon-mq-mcp-server/tests/test_server.py:253
Methodtest_missing_bucket_rejected
s3:// with no bucket name raises ValueError. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:199
Methodtest_missing_bundle_no_override_fails_fast
With neither override nor bundle, fail fast (no silent system fallback). The system trust store cannot verify the RDS private CAs that direct
src/postgres-mcp-server/tests/test_psycopg_connector.py:1172
Methodtest_missing_caller_claim_fails_closed_without_reading_source
Absent caller claim fails closed and never reads the source.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:233
Methodtest_missing_caller_identity_fails_closed
Property: Fail closed on resolution or STS failure (no caller identity). When the decoded claims carry no usable ``sub`` caller identity, the
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:244
Methodtest_missing_cluster_identifier_raises
Should raise ValueError if cluster_identifier is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:299
Methodtest_missing_cluster_identifier_raises_error
Test that missing cluster_identifier raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:376
Functiontest_missing_code_for_run_statement
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:937
Methodtest_missing_confirm
(self, _mock_cfg, handler, ctx)
src/aws-transform-mcp-server/tests/test_collaborator.py:117
Methodtest_missing_confirm
(self, _mock_cfg, handler, ctx)
src/aws-transform-mcp-server/tests/test_collaborator.py:151
Methodtest_missing_connection_method_raises_error
Test that missing connection_method raises ValueError.
src/postgres-mcp-server/tests/test_server_internal_functions.py:88
Methodtest_missing_containers
Test handling task definitions with missing container definitions.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:906
Methodtest_missing_content_key
Test handling of responses missing the 'content' key. Verifies that JSON responses without the expected 'content' key are rejected wi
src/aws-iac-mcp-server/tests/client/test_aws_knowledge_client.py:212
Methodtest_missing_core_networks_key
Test when response missing CoreNetworks key.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_list_core_networks.py:92
Methodtest_missing_coverage_lines
Test specific missing coverage lines to reach 95%.
src/ccapi-mcp-server/tests/test_server.py:385
Methodtest_missing_credentials
Test handling of missing AWS credentials.
src/amazon-qindex-mcp-server/tests/test_server.py:266
Methodtest_missing_credentials_raises
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:165
Methodtest_missing_data_is_not_reported_as_a_denial
An account with no Enterprise Support data reads as not_found. The API raises ResourceNotFoundException for any account or billing period
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:635
Methodtest_missing_database_name_raises
Should raise ValueError if database_name is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:319
Methodtest_missing_database_name_raises_error
Test that missing database_name raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:396
Methodtest_missing_database_type_raises_error
Test that missing database_type raises ValueError.
src/postgres-mcp-server/tests/test_server_internal_functions.py:101
Methodtest_missing_directory_logs_warning
Test that missing subdirectories are handled gracefully.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:201
Methodtest_missing_end_of_stream_event_is_incomplete_and_not_saved
( self, mock_stream, _cfg, handler, ctx, tmp_path )
src/aws-transform-mcp-server/tests/test_download_artifact.py:264
Methodtest_missing_engine_version_raises
Should raise ValueError if engine_version is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:309
Methodtest_missing_engine_version_raises_error
Test that missing engine_version raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:386
Methodtest_missing_error_message_still_structured
A ClientError without a message (sent with filters) still yields the structured error.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2649
Methodtest_missing_event_id
get_automation_event without event_id errors before creating a client.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1169
Methodtest_missing_expected_columns_fails_closed
A row lacking the expected columns is unverifiable -> enforce rejects. Guards against silently passing a role we could not actually inspect
src/postgres-mcp-server/tests/test_privilege_guardrail.py:224
Methodtest_missing_external_id_fails_closed
A record missing its ExternalId fails closed.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:194
Methodtest_missing_fields
Test handling of routes with missing fields.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_all_cloudwan_routes.py:107
Methodtest_missing_file_path_reports_error
A missing file_path produces a required-field error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1865
Methodtest_missing_firewalls_key
Test response without Firewalls key.
src/aws-network-mcp-server/tests/tools/network_firewall/test_list_network_firewalls.py:70
Methodtest_missing_first_label_still_flags_snapped_last_entry
A first entry without a TimePeriod does not hide a snapped last entry.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:368
Methodtest_missing_forecast_or_limit_is_not_flagged
No forecast, or no usable limit, never lands in forecast_exceeds_limit.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_usage_tools_new.py:698
Functiontest_missing_group_by_for_summaries
Test missing group_by for list_recommendation_summaries.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:215
Methodtest_missing_group_row_rule_keys_on_the_default_row
A next_token or partial page can lack the group row, so it must not read as open sharing.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:153
Methodtest_missing_host_in_secret_raises_error
Test that missing host field in secret raises ValueError.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:346
Methodtest_missing_iam_auth_field_is_treated_as_disabled
Absent IAMAuth must not be read as permission to use IAM.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2195
Methodtest_missing_id_skipped
(self)
src/valkey-mcp-server/tests/test_search_add_documents.py:67
Functiontest_missing_input_detection_is_exact
Property: Missing-input detection is exact. For any set of required input names and any mapping of provided inputs, ``missing_required_inputs
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_property.py:67
Methodtest_missing_key_attribute_name
Error: key AttributeName missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:401
Methodtest_missing_key_raises_value_error
Raises ValueError when S3 URI has no object key.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:145
Methodtest_missing_key_schema
Error: KeySchema missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:240
Methodtest_missing_key_type
Error: KeyType missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:439
Methodtest_missing_labels_return_empty
Entries without a TimePeriod are not flagged.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:375
Functiontest_missing_manifest_location_is_validation_error
No manifest_location argument and no environment variable is a validation_error.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1493
Methodtest_missing_message_id
(self, _cfg, _nudge, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_job_status.py:508
Methodtest_missing_message_id_returns_error
When messageId cannot be extracted, return error_result.
src/aws-transform-mcp-server/tests/test_chat.py:433
Methodtest_missing_metadata_field
Test handling when metadata field is missing entirely.
src/aws-documentation-mcp-server/tests/test_metadata_handling.py:306
Methodtest_missing_metric_name_raises_error
Test that missing metricName raises ValueError.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:138
Methodtest_missing_metrics_leave_none
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:147
Methodtest_missing_month_is_accepted_for_subscription_history
billing_month is optional for list_subscription_history.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:221
← previousnext →25,901–26,000 of 35,417, ranked by callers