MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

Methodtest_opening_quote_only
Test that a single opening quote returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1186
Methodtest_operation_and_environment_filters
Operation and environment add quoted-label matchers to the selector.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:237
Functiontest_operation_cli_name
Test the operation_cli_name property.
src/aws-api-mcp-server/tests/common/test_command.py:19
Functiontest_operation_cli_name_ec2
Test operation_cli_name with operations that have multiple underscores.
src/aws-api-mcp-server/tests/common/test_command.py:31
Functiontest_operation_cli_name_with_s3
Test operation_cli_name with operations that have no underscores.
src/aws-api-mcp-server/tests/common/test_command.py:43
Methodtest_operation_filter
Return empty when the operation filter matches nothing.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:181
Methodtest_operation_filter_excludes_non_matching
The operation filter (case-insensitive substring) excludes non-matching ops.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:330
Methodtest_operation_name_patterns
Test realistic operation name patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3238
Methodtest_operation_opt_in_required_error
Test operation with OptInRequiredException - covers lines 230-280.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1480
Functiontest_operation_prompt_error_handling
Test error handling in create_operation_prompt.
src/openapi-mcp-server/tests/prompts/test_operation_prompts_extended.py:264
Functiontest_operation_prompt_registration
Test that operation prompts are registered correctly.
src/openapi-mcp-server/tests/prompts/test_prompt_registration.py:23
Functiontest_operation_prompt_with_enum_parameters
Test creating an operation prompt with enum parameters.
src/openapi-mcp-server/tests/prompts/test_operation_prompts_extended.py:88
Functiontest_operation_prompt_with_request_body_schema
Test creating an operation prompt with request body schema.
src/openapi-mcp-server/tests/prompts/test_operation_prompts_extended.py:174
Functiontest_operation_prompt_with_security
Test creating an operation prompt with security requirements.
src/openapi-mcp-server/tests/prompts/test_operation_prompts_extended.py:21
Methodtest_operation_resource_not_found_exception_error
Test operation with ResourceNotFoundException - covers lines 230-280.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1644
Methodtest_operation_routes_to_its_own_handler
The named operation calls only its own handler.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:131
Methodtest_operation_service_unavailable_exception_error
Test operation with ServiceUnavailableException - covers lines 230-280.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1601
Methodtest_operation_throttling_exception_error
Test operation with ThrottlingException - covers lines 230-280.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1561
Methodtest_operation_types_preserved
Test that operation types are preserved in mappings.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:222
Methodtest_operation_validation_exception_error
Test operation with ValidationException - covers lines 230-280.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1521
Methodtest_operations_paginated
list_service_operations pagination is followed via NextToken.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:358
Functiontest_opt_in_signal_enable_and_disable_steps
The Opt-In Signal section names the variable and gives enable + disable steps. Asserts an opt-in section names ``RUN_REMOTE_INTEGRATION_TESTS`` a
src/aws-healthomics-mcp-server/integration/harness_tests/test_readme_docs.py:137
Methodtest_optimize_buffer_size_base_case
Test buffer size optimization with base case.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:538
Methodtest_optimize_buffer_size_with_metrics
Test buffer size optimization with historical metrics.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:547
Functiontest_optimize_waypoints
Test the optimize_waypoints tool.
src/aws-location-mcp-server/tests/test_server.py:827
Functiontest_optimize_waypoints_error
Test the optimize_waypoints tool when an error occurs.
src/aws-location-mcp-server/tests/test_server.py:867
Functiontest_optimize_waypoints_no_client
Test optimize_waypoints when client is not initialized.
src/aws-location-mcp-server/tests/test_server.py:893
Functiontest_optimize_waypoints_no_routes
Test optimize_waypoints when no routes are found.
src/aws-location-mcp-server/tests/test_server.py:908
Functiontest_optimize_waypoints_raw_mode
Test optimize_waypoints with raw mode.
src/aws-location-mcp-server/tests/test_server.py:929
Methodtest_option_b_excludes_plaintext_modes
The allowed set never permits an unencrypted connection.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1335
Methodtest_optional_description_and_target_regions
( self, _, mock_fes, mock_config, handler, ctx )
src/aws-transform-mcp-server/tests/test_connector.py:226
Functiontest_optional_fields
Test data models with optional fields.
src/aws-dataprocessing-mcp-server/tests/models/test_athena_models.py:188
Methodtest_optional_fields
Test mapping with optional index_name and range_condition.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:146
Methodtest_optional_fields_included_when_present
Test optional fields are included when present in API response.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:902
Methodtest_optional_parameters
Account scope, filter, and paging are added only when supplied.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:176
Methodtest_optional_parameters
Status and id filters are decoded and forwarded.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:485
Methodtest_optional_parameters
Listing what has already run is cheaper than starting another analysis.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:312
Methodtest_optional_params_forwarded_to_api
All provided optional params appear in the API call args.
src/aws-healthomics-mcp-server/tests/test_store_properties.py:127
Methodtest_optional_params_forwarded_to_api
All provided optional parameters appear in the API call arguments.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:175
Methodtest_or_1_equals_1
Test that OR 1=1 injection is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1599
Methodtest_or_logic_any_true_wins
Test OR logic: if multiple patterns map to same CRUD, any true wins. Critical: Without OR logic, last pattern overwrites previous values.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_utils.py:644
Methodtest_or_logical_operator_renders
Test OR logical operator renders correctly.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:124
Methodtest_oracle_instructions_include_dba_note
Test that Oracle instructions include DBA privilege and schema notes.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:741
Methodtest_oracle_parse_results_awr_fallback_both_empty
Test that empty AWR key is kept when both queries return no data.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:1027
Methodtest_oracle_parse_results_awr_fallback_handles_missing_awr
Test that V$SQL data is used when AWR query is missing entirely (error case).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:1004
Methodtest_oracle_parse_results_awr_fallback_prefers_awr
Test that AWR data is preferred when both AWR and V$SQL have data.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:940
Methodtest_oracle_parse_results_awr_fallback_uses_vsql_when_awr_empty
Test that V$SQL data is used when AWR returns no data.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:972
Methodtest_oracle_uses_fetch_first
Test that Oracle uses FETCH FIRST syntax.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:126
Methodtest_oracle_write_queries_missing_query_name_logs_warning
Test that a missing query name in query_order logs a warning (oracle.py lines 342-343).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:892
Methodtest_oracle_write_queries_ordering
Test that Oracle puts performance queries last, with V$SQL before AWR.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:167
Methodtest_oracle_write_queries_prerequisites
Test that Oracle generated SQL includes prerequisites section.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:137
Methodtest_oracle_write_queries_skips_substitution_without_target_owner
Test that queries without target_owner parameter skip substitution.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:915
Methodtest_oracle_write_queries_uses_dba_segments
Test that Oracle uses DBA_SEGMENTS for enterprise mode.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:200
Methodtest_oracle_write_queries_uses_from_dual
Test that Oracle markers use FROM DUAL syntax.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:154
Methodtest_orchestrator_cache_key_includes_adhoc_buckets
Test that pagination cache key includes adhoc buckets.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:268
Methodtest_orchestrator_execute_parallel_searches_with_adhoc_buckets
Test _execute_parallel_searches includes adhoc buckets in search.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:219
Methodtest_orchestrator_get_all_s3_bucket_paths_no_adhoc
Test _get_all_s3_bucket_paths with no adhoc buckets.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:143
Methodtest_orchestrator_get_all_s3_bucket_paths_validation_exception
Test _get_all_s3_bucket_paths when adhoc bucket validation raises exception.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:198
Methodtest_orchestrator_get_all_s3_bucket_paths_validation_failure
Test _get_all_s3_bucket_paths when adhoc bucket validation fails.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:177
Methodtest_orchestrator_get_all_s3_bucket_paths_with_adhoc
Test _get_all_s3_bucket_paths with adhoc buckets.
src/aws-healthomics-mcp-server/tests/test_adhoc_s3_buckets.py:156
Methodtest_orchestrator_searches_union_of_configured_and_adhoc_buckets
Orchestrator searches union of configured and adhoc buckets. For any combination of configured S3 bucket paths (possibly empty) and a
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:3383
Methodtest_order_by
SQL ORDER BY fields should be display.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:211
Methodtest_order_by_omitted_when_absent
No ``orderBy`` key is sent when ``order_by`` is not provided.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:240
Methodtest_order_by_passthrough
``order_by`` is forwarded to boto3 as the ``orderBy`` structure.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:230
Methodtest_order_by_statistic_without_sort_order
Test that ORDER BY clause is added when order_by_statistic is specified but sort_order is not.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_server.py:400
Methodtest_ordinary_upload_leaves_check_alone
( self, _mock_cfg, mock_fes, mock_httpx_cls, handler, ctx )
src/aws-transform-mcp-server/tests/test_artifact.py:475
Methodtest_org_image_becomes_docker_hub
Test that 'myorg/myimage:v1' becomes Docker Hub image.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:59
Methodtest_origin_403_with_creds_produces_structured_choice
Full flow: call_transform_api raises AuthConflict, failure_result formats it.
src/aws-transform-mcp-server/tests/test_auth_conflict.py:326
Functiontest_origin_fails_validation_when_both_present
Test that origin validation fails even when host is valid.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:207
Functiontest_origin_header_validation_fails
Test origin header validation fails for disallowed origins.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:53
Functiontest_origin_header_validation_passes
Test origin header validation passes for allowed origins.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:22
Methodtest_origin_trailing_slash_stripped
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:148
Methodtest_os_error_delegates_to_handle_tool_error
OSError from write_svg_to_local delegates to handle_tool_error. Validates: Requirements Error Logging, Error Context Reporting
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:1332
Methodtest_os_error_raises_runtime_error
OSError at exec time (e.g. PermissionError) raises RuntimeError chained from e.
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:272
Methodtest_otel_format_with_0x_prefix
OTel 0x-prefixed 32-hex ID converts to X-Ray format.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:32
Methodtest_other_aws_error
Test list_recommendation_summaries other AWS error surfaces the service message.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:870
Methodtest_other_client_error
Test get_schedule_details with non-ResourceNotFound ClientError.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:840
Methodtest_other_client_error
Test handling of other ClientError types.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2411
Methodtest_other_client_error
Test other ClientError returns proper error.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:718
Methodtest_other_client_error_fallback
Test fallback to default prefixes on non-AccessDenied ClientError.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:587
Methodtest_other_client_error_on_get_policy
Test handling of other ClientError when getting policy.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1970
Methodtest_other_client_error_on_set_policy
Test handling of other ClientError when setting policy.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1995
Methodtest_other_client_error_reraise
Test get_recommendation other ClientError gets re-raised.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:667
Methodtest_other_client_error_returns_service_message
Any ClientError now returns the service's code/message instead of re-raising.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:570
Methodtest_other_client_error_returns_service_message
Any ClientError now returns the service's code/message instead of re-raising.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1356
Methodtest_other_client_errors_fall_through
An unclassified error keeps the AWS error code from the shared handler. Only the two misleading failures are explained here; anything else mu
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:666
Methodtest_other_client_errors_fall_through
A non-permission error keeps the AWS error code from the shared handler.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:953
Methodtest_other_client_errors_propagate
Non-InvalidParameterValue errors still reach the dispatcher's error ladder.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:847
Methodtest_other_error
Testing error.
src/ccapi-mcp-server/tests/test_aws_client.py:75
Methodtest_other_metrics_use_default_sampling_interval
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:233
Functiontest_other_mode_independent_dangerous_constructs
Host access and security-control changes are rejected in every mode.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:386
Methodtest_other_name_no_match
(self)
src/aws-transform-mcp-server/tests/test_guidance_nudge.py:88
Methodtest_other_regions_supported
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:191
Functiontest_other_settings_are_rejected_in_read_only_mode
Session mutation and read-write escalation remain prohibited.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:284
Functiontest_our_own_rewrites_leave_slice_reads_intact
The guard and the psycopg executor must both pass a slice through unchanged. This is the half we own. The Data API's behavior is AWS's, but a reg
src/postgres-mcp-server/tests/test_e2e_harness_contracts.py:367
Methodtest_out_of_range_cli_values_raise
Integers outside the inclusive range 900..43200 are rejected.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:140
Methodtest_out_of_range_ports_are_rejected
Integer ports outside 1..65535 raise TransportConfigError.
src/aws-healthomics-mcp-server/tests/test_config.py:289
Methodtest_outer_exception
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2971
Methodtest_outer_exception
Test log backup outer exception (lines 1343-1344).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4459
Functiontest_output_dir_containment_enforced_under_ci_env
Regression: the write path (output_dir) stays sandboxed under ambient CI env. Companion to ``test_sandbox_enforced_under_ci_env_end_to_end`` (rea
src/document-loader-mcp-server/tests/test_server.py:1279
← previousnext →24,701–24,800 of 32,024, ranked by callers