MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_security_policy_customization_file_not_found
Test behavior when customization file doesn't exist - should raise error.
src/aws-api-mcp-server/tests/test_security_policy.py:171
Functiontest_security_policy_customization_invalid_api_call
Test customization with invalid API call format in customizations.
src/aws-api-mcp-server/tests/test_security_policy.py:449
Functiontest_security_policy_customization_invalid_command
Test customization with invalid IR metadata.
src/aws-api-mcp-server/tests/test_security_policy.py:425
Functiontest_security_policy_customization_missing_api_calls
Test customization loading when api_calls key is missing - should load empty list.
src/aws-api-mcp-server/tests/test_security_policy.py:188
Functiontest_security_policy_customization_missing_customizations_key
Test customization loading when customizations key is missing.
src/aws-api-mcp-server/tests/test_security_policy.py:515
Functiontest_security_policy_customization_mixed_decisions_deny_wins
Test customization with mixed decisions - deny should win.
src/aws-api-mcp-server/tests/test_security_policy.py:381
Functiontest_security_policy_customization_no_match
Test customization when command doesn't match any customization.
src/aws-api-mcp-server/tests/test_security_policy.py:411
Functiontest_security_policy_customization_parent_deny
Test customization when parent command is in denylist.
src/aws-api-mcp-server/tests/test_security_policy.py:287
Functiontest_security_policy_customization_parent_elicit
Test customization when parent command is in elicit list.
src/aws-api-mcp-server/tests/test_security_policy.py:303
Functiontest_security_policy_customization_parent_elicit_no_support
Test customization when parent is in elicit list but elicitation not supported.
src/aws-api-mcp-server/tests/test_security_policy.py:319
Functiontest_security_policy_default_behavior
Test default behavior for all operation types.
src/aws-api-mcp-server/tests/test_security_policy.py:221
Functiontest_security_policy_deny_takes_priority
Test that denylist takes priority over elicitList.
src/aws-api-mcp-server/tests/test_security_policy.py:209
Functiontest_security_policy_file_error_handling
Test error handling for policy and customization files.
src/aws-api-mcp-server/tests/test_security_policy.py:106
Functiontest_security_policy_file_loading_empty
Test successful policy loading empty file.
src/aws-api-mcp-server/tests/test_security_policy.py:60
Functiontest_security_policy_file_loading_success
Test successful policy loading from files.
src/aws-api-mcp-server/tests/test_security_policy.py:46
Functiontest_security_policy_file_not_found
Test behavior when policy file doesn't exist.
src/aws-api-mcp-server/tests/test_security_policy.py:95
Functiontest_security_policy_operation_name_conversion
Test operation name conversion from various formats to kebab-case.
src/aws-api-mcp-server/tests/test_security_policy.py:237
Methodtest_security_scan_result_valid
Test SecurityScanResult with valid data.
src/ccapi-mcp-server/tests/test_models.py:197
Methodtest_security_scan_result_with_failed_checks
Test SecurityScanResult with failed checks.
src/ccapi-mcp-server/tests/test_models.py:209
Methodtest_security_sensitive_gucs_blocked_both_modes
row_security / session_replication_role rejected via SET and set_config.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:591
Methodtest_security_sensitive_var_check_survives_block_comment
``SET /**/ sql_log_bin = 0`` — comment between SET and var. sqlparse strips the comment before the regex sweep, so the normalised for
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:661
Functiontest_security_sensitive_vars_is_non_empty
The set must have at least the three ticket-required entries.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:806
Functiontest_security_services_uses_user_agent_config
Test that security services functions use the USER_AGENT_CONFIG.
src/well-architected-security-mcp-server/tests/test_user_agent_config.py:43
Functiontest_security_validation
Test security validation functionality.
src/document-loader-mcp-server/tests/test_document_parsing.py:591
Methodtest_segment_with_errors
error/fault flags surface when true.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:94
Methodtest_segment_with_routes
Test successful segment route retrieval.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_routes.py:109
Functiontest_select_1
SELECT 1 returns a single row with value 1.
src/mssql-mcp-server/tests/e2e/e2e_integration_test.py:60
Functiontest_select_1_not_flagged
SELECT 1 is not flagged as mutating.
src/mssql-mcp-server/tests/test_server.py:927
Methodtest_select_empty_transport_returns_default
Property: Empty transport resolves to the default stdio transport.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:72
Methodtest_select_fields
SQL SELECT fields should be display.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:200
Functiontest_select_from_dual_not_flagged
SELECT FROM DUAL is not flagged as mutating.
src/oracle-mcp-server/tests/test_server.py:653
Functiontest_select_grammar_not_over_blocked
Every SELECT grammar feature PostgreSQL runs read-only must pass the guard.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:733
Methodtest_select_into_behind_a_set_operation_is_still_a_write
Redshift's grammar allows these, and each one creates the table. The INTO then hangs off a child Select rather than the root, so a root-only
src/redshift-mcp-server/tests/test_sql_guard.py:778
Methodtest_select_into_is_a_write_despite_the_select_root
`SELECT ... INTO` creates a table, so the Select root must not make it a read.
src/redshift-mcp-server/tests/test_sql_guard.py:697
Functiontest_select_into_is_rejected_in_read_only_mode
SELECT INTO is represented as a SelectStmt but still writes.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:392
Methodtest_select_invalid_region
( self, mock_get_region, mock_get_regions, mock_available, mock_get_co
src/aws-transform-mcp-server/tests/test_configure.py:1526
Methodtest_select_is_not_mutating
SELECT must not be reported as a mutation.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:266
Methodtest_select_literal_is_allowed
The simplest read (`SELECT 1`) is permitted.
src/redshift-mcp-server/tests/test_sql_guard.py:70
Functiontest_select_not_flagged
Plain SELECT is not flagged as mutating.
src/oracle-mcp-server/tests/test_server.py:648
Functiontest_select_not_flagged
Plain SELECT is not flagged as mutating.
src/mssql-mcp-server/tests/test_server.py:922
Methodtest_select_option_by_index
Select a dropdown option by zero-based index.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:801
Methodtest_select_option_by_index
Select option by index calls select_option with index parameter.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:906
Methodtest_select_option_by_index_zero
Select option by index 0 (falsy but valid) calls select_option.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:926
Methodtest_select_option_by_label
Select a dropdown option by its visible label.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:765
Methodtest_select_option_by_label
Select option by visible label.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:493
Methodtest_select_option_by_value
Select a dropdown option by its value attribute.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:783
Methodtest_select_option_by_value
Select option by value attribute.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:513
Methodtest_select_option_generic_error
Select option generic error returns error message.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:884
Methodtest_select_option_no_criteria
Calling select_option with no criteria raises ValueError.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:819
Methodtest_select_option_no_criteria
Select option with no criteria raises ValueError.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:533
Methodtest_select_option_ref_not_found
Select option with invalid ref returns error and snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:863
Methodtest_select_sse_transport_returns_sse
Property: The sse transport is recognized and returned.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:89
Methodtest_select_tab
Select tab brings it to front, sets active page, and returns snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:152
Methodtest_select_tab_missing_index
Select tab without tab_index returns error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:251
Methodtest_select_tab_out_of_range
Select tab with invalid index returns error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:174
Methodtest_select_valid_region
( self, mock_set, mock_get_region, mock_get_regions, mock_available,
src/aws-transform-mcp-server/tests/test_configure.py:1498
Methodtest_select_valid_transport_returns_mode
Property: A valid transport mode is returned as-is.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:82
Methodtest_select_whitespace_transport_returns_default
Property: Whitespace-only transport resolves to the default.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:77
Methodtest_select_with_block_comment_passes
A short ``/* ... */`` annotation between columns is benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:324
Methodtest_select_with_hash_comment_passes
A ``#`` annotation at end-of-line is benign in MySQL.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:334
Methodtest_select_with_line_comment_passes
A ``-- ...`` annotation at end-of-line is benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:329
Methodtest_selected_source_value_is_trimmed
A selected source value is normalized by trimming surrounding whitespace.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:219
Methodtest_selector_conflict_reported_before_time_filter
account_id plus invoice_id plus a time filter reports the selector conflict first.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:151
Methodtest_selector_escapes_quotes
Escape embedded quotes in label values.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:77
Methodtest_selector_includes_all_filters
function_duration_selector threads every filter into the selector.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:63
Methodtest_selector_not_found_falls_back
When selector doesn't match, falls back to full page with warning.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:466
Methodtest_selector_quotes_metric_and_labels
Quote the metric name and label values in a selector.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:72
Methodtest_selector_scoped_capture
When selector matches, queryAXTree is used and only subtree nodes are returned.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:445
Functiontest_self_service_query_generation
Test self-service mode query generation for different databases.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:449
Functiontest_self_service_result_parsing
Test self-service mode result parsing.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:522
Methodtest_self_signed_certificate_recommends_ca_bundle
A self-signed server certificate is the private-CA case.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1389
Methodtest_semantic_mode
Explicit mode='semantic' uses vector-only search.
src/valkey-mcp-server/tests/test_search_query.py:123
Methodtest_semantic_provider_failure
Embedding provider failure should propagate as error.
src/valkey-mcp-server/tests/test_search_query.py:234
Functiontest_semantic_read_function_boundaries_allowed
Confusing but observational/calculation cases remain allowed read-only.
src/postgres-mcp-server/tests/test_sql_guard.py:544
Methodtest_semantic_search
(self)
src/valkey-mcp-server/tests/integration/test_search_live.py:230
Methodtest_semaphore_limits_concurrency
Semaphore should limit concurrent access.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:106
Methodtest_semicolon
Test that an identifier with semicolon returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1979
Methodtest_semicolon_in_string_is_rejected
``WHERE note = 'a; commit b'`` — blocked by the stacked-queries rule.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1493
Methodtest_semicolon_injection
Test that semicolon-based injection returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2217
Methodtest_semicolon_injection
Test that semicolon-based injection is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2505
Methodtest_send_and_poll_uses_engagement_scope
( self, mock_send_fes, _mock_configured, mock_poll_fes, mock_sleep, ctx )
src/aws-transform-mcp-server/tests/test_chat.py:467
Methodtest_send_command_exception
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2200
Methodtest_send_exception
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2284
Methodtest_send_for_approval_critical
SEND_FOR_APPROVAL on CRITICAL task routes to UpdateHitlTask with postUpdateAction.
src/aws-transform-mcp-server/tests/test_hitl.py:636
Methodtest_send_message_with_only_required_params
Omit jobId and skipPolling — should be None, not FieldInfo.
src/aws-transform-mcp-server/tests/test_field_defaults.py:435
Methodtest_sends_and_stores_parsed_metrics
The parsed metrics, default applied, are sent to the API and stored with the result.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:371
Methodtest_sends_and_stores_parsed_metrics
The parsed metrics, default applied, are sent to the API and stored with the result.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:811
Methodtest_sensitive_data_action_allowed
Test that sensitive data actions work when allowed.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:391
Methodtest_sensitive_data_action_blocked
Test that sensitive data actions are blocked when not allowed.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:377
Methodtest_sensitive_filename_credentials_blocked
Test that 'credentials' filename is blocked regardless of directory.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:95
Methodtest_sensitive_filename_env_blocked
Test that .env filename is blocked regardless of directory.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:100
Methodtest_sensitive_filename_id_rsa_blocked
Test that id_rsa filename is blocked regardless of directory.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:90
Methodtest_sensitive_filename_netrc_blocked
Test that .netrc filename is blocked regardless of directory.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:105
Methodtest_sensitive_operations_are_supported
Every sensitive operation is one the tool can actually execute.
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:105
Methodtest_sensitive_operations_match_ecs_api_model
The set equals the supported operations whose response shape can carry a sensitive field. Derived from the botocore ECS model pinned in uv.lo
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:109
Methodtest_sensitive_operations_set_contains_expected
The set includes the operations that return task, container and service configuration.
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:85
Methodtest_sensitivity_validation_invalid_negative
Test sensitivity validation rejects negative values.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:392
Methodtest_sensitivity_validation_invalid_over_100
Test sensitivity validation rejects values over 100.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:403
Methodtest_sensitivity_validation_invalid_zero
Test sensitivity validation rejects zero.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:381
Methodtest_sentinel_default_triggers_get_account_id
Sentinel '__DEFAULT__' expected_bucket_owner triggers get_account_id() resolution. Validates: Requirements S3 Bucket Owner Verification
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:1638
← previousnext →30,801–30,900 of 35,417, ranked by callers