MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

Methodtest_execute_query_writable
Should execute directly when readonly is False.
src/mysql-mcp-server/tests/test_rds_api_connection.py:105
Methodtest_execute_query_writable_no_params
Should not include parameters key when params is None.
src/mysql-mcp-server/tests/test_rds_api_connection.py:170
Functiontest_execute_query_write_mode_commits
In write mode, no-result queries are committed.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:477
Functiontest_execute_query_write_mode_no_rollback
In write mode, the wrapper does NOT call rollback() (autocommit=True).
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:320
Methodtest_execute_query_write_operation
Test executing a write operation query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:546
Methodtest_execute_range_query
Test that execute_range_query correctly executes a range query.
src/prometheus-mcp-server/tests/test_tools.py:153
Methodtest_execute_range_query_validation_failure
Test execute_range_query with query validation failure.
src/prometheus-mcp-server/tests/test_server_coverage.py:135
Methodtest_execute_read_only_query
Test executing a read-only query.
src/amazon-keyspaces-mcp-server/tests/test_client.py:452
Methodtest_execute_read_only_query_non_select
Test executing a non-SELECT query.
src/amazon-keyspaces-mcp-server/tests/test_client.py:542
Methodtest_execute_read_only_query_unsafe_operations
Test executing a query with unsafe operations.
src/amazon-keyspaces-mcp-server/tests/test_client.py:554
Methodtest_execute_read_only_query_with_complex_query
Test executing a more complex query.
src/amazon-keyspaces-mcp-server/tests/test_services.py:69
Methodtest_execute_read_only_query_with_keyspace_qualifier
Test executing a query that already has a keyspace qualifier.
src/amazon-keyspaces-mcp-server/tests/test_services.py:56
Methodtest_execute_read_only_query_with_params
Test executing a read-only query with parameters.
src/amazon-keyspaces-mcp-server/tests/test_client.py:501
Methodtest_execute_read_only_query_without_keyspace_qualifier
Test executing a query without a keyspace qualifier.
src/amazon-keyspaces-mcp-server/tests/test_services.py:39
Methodtest_execute_select_query
Test executing a SELECT query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:276
Methodtest_execute_session_sql_dangerous_query
Test execute_session_sql rejects dangerous queries.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1976
Functiontest_execute_single_command_error
Test _execute_single_command with error.
src/aws-api-mcp-server/tests/test_server.py:1447
Functiontest_execute_single_command_success
Test _execute_single_command with successful execution.
src/aws-api-mcp-server/tests/test_server.py:1431
Methodtest_execute_statement_active_waiting_requests_exceeded_falls_back
ActiveWaitingRequestsExceededException drops long polling for the statement.
src/redshift-mcp-server/tests/test_redshift.py:887
Methodtest_execute_statement_does_not_block_the_event_loop
A long-polled Data API call must not stall other coroutines.
src/redshift-mcp-server/tests/test_redshift.py:915
Methodtest_execute_statement_failed_in_execute_response_describes_for_error
A FAILED long poll still describes, because ExecuteStatement carries no Error.
src/redshift-mcp-server/tests/test_redshift.py:838
Methodtest_execute_statement_failed_status
Test _execute_statement with FAILED status.
src/redshift-mcp-server/tests/test_redshift.py:682
Methodtest_execute_statement_finished_in_execute_response_skips_describe
A statement that finishes inside the long poll costs no describe_statement.
src/redshift-mcp-server/tests/test_redshift.py:822
Methodtest_execute_statement_long_polling_disabled
A zero long poll sends no WaitTimeSeconds and polls on the interval instead.
src/redshift-mcp-server/tests/test_redshift.py:858
Methodtest_execute_statement_long_polls_execute_and_describe
WaitTimeSeconds is sent on both execute_statement and describe_statement.
src/redshift-mcp-server/tests/test_redshift.py:800
Methodtest_execute_statement_other_client_error_propagates
A describe_statement ClientError other than the waiter limit is not swallowed.
src/redshift-mcp-server/tests/test_redshift.py:949
Methodtest_execute_statement_timeout
Test _execute_statement timeout.
src/redshift-mcp-server/tests/test_redshift.py:703
Methodtest_execute_statement_unknown_cluster_type
Test _execute_statement with unknown cluster type.
src/redshift-mcp-server/tests/test_redshift.py:732
Methodtest_execute_statement_with_parameters
Test _execute_statement with parameters to cover line 335.
src/redshift-mcp-server/tests/test_redshift.py:751
Methodtest_execute_statement_with_session_id
Test _execute_statement with session_id.
src/redshift-mcp-server/tests/test_redshift.py:777
Methodtest_execute_training_action_evaluation_config_all_params_valid
Test training action with all evaluation parameters provided passes validation.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1216
Methodtest_execute_training_action_evaluation_config_partial_params_combinations
Test training action with various partial evaluation parameter combinations.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1254
Methodtest_execute_training_action_evaluation_params_internal_error
Test training action internal error when evaluation parameters are unexpectedly None.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1107
Methodtest_execute_training_action_execute_action_failure
Test training action when underlying execute_action fails.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:717
Methodtest_execute_training_action_generic_exception
Test execute_training_action with generic exception.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:867
Methodtest_execute_training_action_minimal_params
Test training action with minimal parameters for STOP_RETRAINING_SCHEDULER.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:763
Methodtest_execute_training_action_missing_both_retraining_params
Test training action validation error when both retraining params are missing for START_RETRAINING_SCHEDULER.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1168
Methodtest_execute_training_action_missing_lookback_window_for_retraining
Test training action validation error when lookback_window is missing for START_RETRAINING_SCHEDULER.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1133
Methodtest_execute_training_action_missing_retraining_frequency_for_retraining
Test training action validation error when retraining_frequency is missing for START_RETRAINING_SCHEDULER.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1149
Methodtest_execute_training_action_partial_evaluation_config_only_start_time
Test training action with only evaluation_start_time provided (missing other evaluation params).
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:918
Methodtest_execute_training_action_partial_label_config_only_prefix
Test training action with only label_s3_prefix provided (missing bucket).
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:898
Methodtest_execute_training_action_partial_metrics_config_only_prefix
Test training action with only metrics_s3_prefix provided (missing bucket).
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:935
Methodtest_execute_training_action_retraining_scheduler_with_valid_params
Test training action START_RETRAINING_SCHEDULER mode with valid parameters passes validation.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1185
Methodtest_execute_training_action_start_retraining_scheduler
Test training action in START_RETRAINING_SCHEDULER mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:332
Methodtest_execute_training_action_stop_retraining_scheduler
Test training action in STOP_RETRAINING_SCHEDULER mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:360
Methodtest_execute_training_action_train_model_success
Test successful training action execution in TRAIN_MODEL mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:262
Methodtest_execute_training_action_validation_error_partial_evaluation_config
Test training action with partial evaluation configuration.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:400
Methodtest_execute_training_action_validation_error_partial_label_config
Test training action with partial label configuration.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:380
Methodtest_execute_training_action_validation_error_partial_metrics_config
Test training action with partial metrics configuration.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:417
Methodtest_execute_training_action_with_all_configs
Test training action with all optional configurations.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:294
Methodtest_execute_update_query
Test executing an UPDATE query.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:292
Methodtest_execute_validation_error_classified
A blocked/harmful query classifies by its exception class ('ValueError').
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:526
Methodtest_execute_with_auto_table_name
Test executing a query with auto-generated table name.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:441
Methodtest_execute_with_close_error
Test executing a query where closing the connection raises an error.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:608
Methodtest_execute_with_connection_error
Test executing a query with a connection error.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:581
Methodtest_execute_with_data
Test executing a query after adding data.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:400
Methodtest_execute_with_error
Test executing a query with an error.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:471
Functiontest_execute_without_explain_is_rejected
EXECUTE is permitted only as a non-executing EXPLAIN target.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:323
Methodtest_execution_role_permissions_scope_assume_and_registry
The execution role is scoped to assume the tenant roles and read the registry.
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:118
Methodtest_execution_role_trust_is_agentcore_service
The execution role trusts the bedrock-agentcore service principal.
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:111
Methodtest_exhausted_run_reports_complete
Consuming every page reports a complete dataset with no token.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:748
Methodtest_existing_authorization_is_preserved
A request that already has Authorization is passed through unchanged.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:78
Methodtest_existing_file_detected_as_local
An existing filesystem path (not starting with s3://) is LOCAL_FILE. **Validates: Requirements Content Input Type Detection**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:122
Methodtest_existing_file_raises_and_content_unchanged
Writing to an existing file raises FileExistsError and preserves original content. Validates: Requirements Local File No-Overwrite
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:356
Methodtest_existing_job
Should return status for existing job.
src/mysql-mcp-server/tests/test_server.py:117
Methodtest_existing_object_raises_file_exists_and_no_put_object
Existing objects cause FileExistsError and put_object is never called. Validates: Requirements S3 Output No-Overwrite
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:651
Methodtest_existing_registry_policy_updated
Test that existing registry policy is updated correctly.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5644
Methodtest_existing_rule_handling
Test handling when pull-through cache rule already exists.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4997
Methodtest_existing_rule_with_failed_describe
Test handling when rule exists but describe fails.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5050
Methodtest_existing_tenant_token_header_not_overwritten
A caller-supplied tenant-token header is left untouched.
src/aws-healthomics-mcp-server/integration/harness_tests/test_mcp_client_headers.py:113
Methodtest_exists
(self, client)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:79
Functiontest_expand_regions_if_needed_get_regions_fails
Test expand_regions_if_needed when get_active_regions raises AwsRegionResolutionError.
src/aws-api-mcp-server/tests/aws/test_service.py:903
Functiontest_expand_regions_if_needed_wildcard
Test expand_regions_if_needed with wildcard region including whitespace variations.
src/aws-api-mcp-server/tests/aws/test_service.py:866
Functiontest_expand_regions_if_needed_with_api_mcp_profile_name
Test expand_regions_if_needed with wildcard region and check api mcp profile is used.
src/aws-api-mcp-server/tests/aws/test_service.py:875
Functiontest_expand_regions_if_needed_with_invalid_region
Test expand_regions_if_needed with invalid --region parameter.
src/aws-api-mcp-server/tests/aws/test_service.py:834
Functiontest_expand_regions_if_needed_with_profile
Test that --profile is extracted from the command and passed to get_active_regions.
src/aws-api-mcp-server/tests/aws/test_service.py:895
Functiontest_expand_regions_if_needed_without_expansion
Test expand_regions_if_needed with no --region parameter.
src/aws-api-mcp-server/tests/aws/test_service.py:819
Methodtest_expand_service_api_error
Test handling API errors during expansion.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:1463
Methodtest_expand_service_fuzzy_matching
Test fuzzy matching for inexact service names.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:1501
Methodtest_expand_service_no_wildcard
Test with no wildcard patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:1407
Methodtest_expand_service_non_service_targets
Test that non-service targets pass through unchanged.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:1477
Methodtest_expand_service_operation_api_error
Test handling API errors during expansion.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2509
Methodtest_expand_service_operation_compiled_pattern
Test service operation wildcard pattern compilation for GET*payments pattern.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2364
Methodtest_expand_service_operation_fault_to_availability_conversion
Test that operations with Fault metrics match when looking for Availability.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2590
Methodtest_expand_service_operation_metric_type_filter
Test filtering by metric type availability.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2448
Methodtest_expand_service_operation_multiple_wildcards
Test service operation wildcard pattern compilation for *GET*api* pattern.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2406
Methodtest_expand_service_operation_no_wildcard
Test with no wildcard patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2477
Methodtest_expand_service_operation_non_service_operation_targets
Test that non-service-operation targets pass through unchanged.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2570
Methodtest_expand_service_operation_operations_api_error
Test handling operations API errors during expansion.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2536
Methodtest_expand_service_operation_specific_operation
Test expanding with specific operation pattern.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2335
Methodtest_expand_service_operation_wildcard_all
Test expanding wildcard for all service operations.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2304
Methodtest_expand_service_operation_wildcard_exact_operation_match
Test expanding with exact operation name (no wildcard in operation name).
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2909
Methodtest_expand_service_operation_wildcard_exact_service_match
Test expanding with exact service name (no wildcard in service name).
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2874
Methodtest_expand_service_operation_wildcard_filters_unknown_services
Test that services with Unknown names or non-Service types are filtered out.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2808
Methodtest_expand_service_operation_wildcard_max_results_parameter
Test that max_results parameter is passed to list_services API.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2724
Methodtest_expand_service_operation_wildcard_no_matching_metric_type
Test expanding when operations don't have the required metric type.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2989
Methodtest_expand_service_operation_wildcard_no_matching_operations
Test expanding when no operations match the pattern.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2944
Methodtest_expand_service_operation_wildcard_service_names_collection
Test that all service names are collected in batch regardless of filtering.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2754
Methodtest_expand_service_operation_wildcard_time_parameters_passed
Test that start and end time parameters are correctly passed to APIs.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3039
Methodtest_expand_service_operation_wildcard_with_next_token_input
Test expanding service operation wildcard patterns with next_token input parameter.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:2688
← previousnext →16,401–16,500 of 32,024, ranked by callers