Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_start_transaction_is_detected
``START TRANSACTION`` — begins a writable transaction.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:973
Function
test_start_trigger_client_error
Test start trigger with non-EntityNotFoundException ClientError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2136
Function
test_start_trigger_entity_not_found
Test start trigger when trigger is not found.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2571
Function
test_start_trigger_success
( mock_is_mcp_managed, mock_get_account_id, mock_get_region, mock_create_client )
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1555
Function
test_start_workflow_run_client_error
Test start workflow run with non-EntityNotFoundException ClientError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1898
Function
test_start_workflow_run_entity_not_found
Test start workflow run when workflow is not found.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2425
Function
test_start_workflow_run_no_write_access
Test starting a workflow run without write access.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:726
Function
test_start_workflow_run_not_found
Test starting a workflow run for a workflow that doesn't exist.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:769
Function
test_start_workflow_run_not_mcp_managed
Test starting a workflow run for a workflow that is not MCP managed.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:674
Function
test_start_workflow_run_success
( mock_is_mcp_managed, mock_get_account_id, mock_get_region, mock_create_client )
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:609
Function
test_start_workflow_run_with_run_properties
Test start workflow run with run_properties.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2458
Function
test_start_workflow_run_without_run_properties
Test starting a workflow run without run properties.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:822
Function
test_start_workflow_run_without_run_properties_mcp_managed
Test start workflow run without run_properties when workflow is MCP managed.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1930
Method
test_starts_with_digit
Test that an identifier starting with a digit returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1964
Method
test_starts_with_digit_unquoted
Test that unquoted identifier starting with digit is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2394
Method
test_starts_with_dot
Test that a leading dot returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1994
Method
test_startup_cached_connection_is_reachable_without_explicit_database
End-to-end: a tool call omitting `database` finds the startup-cached connection. Caches under configured_database DIRECTLY (not via _resolve_
src/db2-mcp-server/tests/test_server.py:654
Method
test_startup_cached_connection_is_reachable_without_explicit_port
End-to-end: a tool call omitting `port` finds the startup-cached connection. This is the regression test for the --port bug: it drives the re
src/db2-mcp-server/tests/test_server.py:590
Method
test_startup_collapses_periodic_same_commit
Collapse periodic re-emits into the startup for the same commit.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:268
Method
test_startup_configuration_validation
Test startup configuration validation.
src/amazon-translate-mcp-server/tests/test_config.py:588
Method
test_startup_validation_and_first_query_share_mcp_loop
A startup PG-wire pool is never bound to a temporary asyncio.run loop.
src/postgres-mcp-server/tests/test_server_error_handling.py:1016
Method
test_state_error_handling
Test error handling for state-related errors.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:1318
Method
test_state_error_handling
Test error handling for state-related errors.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:1423
Method
test_state_error_handling
Test error handling for state-related errors.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:1528
Method
test_state_mismatch
(self)
src/aws-transform-mcp-server/tests/test_oauth.py:216
Method
test_stateless_http_is_enabled
The wrapped streamable_http_app() defaults stateless_http to True.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:143
Function
test_statement_invalid_operation
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:796
Method
test_statement_keywords_do_not_false_positive_on_reads
The statement-keyword block must not reject legitimate reads. Anchoring at statement start keeps mid-query occurrences (notably ``EXP
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:298
Method
test_statement_level_mutations_blocked
Statement-level mutations (CALL/DO/VACUUM/… + setval/nextval) are blocked. These are ordinary Postgres statements that write or act on durabl
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:270
Function
test_statement_no_write_access_fallback
Test statements no write access fallback response.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:2025
Function
test_statement_parameter_validation_errors
Test statement parameter validation errors.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1923
Function
test_statement_sent_to_the_driver_still_parses
The executor's rewrite must not corrupt a statement the guard approved. This is the regression seam for the array-slice defect: the guard accepte
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:275
Function
test_statement_start_and_general_keyword_sets_are_disjoint
The two keyword sets must be string-disjoint. A keyword string belongs in exactly one set: MUTATING_KEYWORDS (matched anywhere) or STATEMENT_
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1117
Function
test_statement_start_keyword_is_detected
Every statement-leading keyword must be detected on its payload.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:942
Method
test_statements_carrying_hidden_sql_are_rejected
Their body stays text, so every check here is blind to what will run. One of these can therefore carry anything the rest of the deny-list ref
src/redshift-mcp-server/tests/test_sql_guard.py:434
Function
test_statements_general_exception
Test general exception handling in statements.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1479
Method
test_statements_in_one_transaction_are_serialized
A SessionId is strictly serial: a second concurrent submit is refused at submit.
src/redshift-mcp-server/tests/test_redshift.py:3046
Method
test_statements_that_clear_read_only_are_rejected
Each of these would let a later statement in the same transaction write.
src/redshift-mcp-server/tests/test_sql_guard.py:364
Method
test_states_and_filters_are_json_decoded
List parameters are passed through to boto3 unchanged.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:201
Method
test_states_match_the_api_enum
No SCHEDULED state; the listed states equal CostAllocationTagBackfillStatus.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:1008
Method
test_states_the_data_lag_and_data_unavailable_causes
The lag is 2-3 days (excluding today is not enough), and unmatched filters fail too.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1657
Method
test_states_the_public_rate_basis_and_where_billed_figures_come_from
Coverage and utilization dollars are at public rates, not billed spend or savings.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1672
Method
test_static_arn_derive_omits_external_id_and_tags_caller
Property: Backward compatibility. With only ``MCP_JWT_ROLE_ARN`` configured (the default ``StaticRoleResolver`` injected exactly as t
src/aws-healthomics-mcp-server/tests/test_jwt_backward_compat_property.py:116
Method
test_static_local_gpu_has_everything
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:70
Function
test_static_resource
Test StaticResource functionality.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1014
Method
test_static_role_arn_does_not_build_registry_resolver
jwt' with a static ARN builds only the static resolver, never the registry one. Guards the single-resolver-source selection so a static-ARN c
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:234
Method
test_static_storage_increment_gib
Test STATIC_STORAGE_INCREMENT_GIB constant.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:176
Method
test_static_storage_min_gib
Test STATIC_STORAGE_MIN_GIB constant.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:172
Method
test_statistic_mappings
Test statistic mapping functions.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:555
Method
test_stats_alias_excluded
Aliases created by 'as' should not be treated as fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:138
Method
test_stats_by
Stats by clause should extract display fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:86
Method
test_stats_by
PPL stats by should extract display fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:258
Method
test_status_any_case
Status is matched case-insensitively and sent in the API's casing.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:935
Method
test_status_available
Test that status() returns "Available" when the database is available. This test verifies that: 1. A test query is executed to check d
src/amazon-neptune-mcp-server/tests/test_neptune.py:110
Method
test_status_check_error
Test CloudWatch status check with exception.
src/aws-for-sap-management-mcp-server/tests/test_health.py:3376
Method
test_status_check_failed
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:3032
Method
test_status_check_no_data
Test CloudWatch status check with no datapoints.
src/aws-for-sap-management-mcp-server/tests/test_health.py:3334
Method
test_status_colors
Test that different statuses produce different colors.
src/aws-healthomics-mcp-server/tests/test_gantt_generator.py:122
Method
test_status_emoji_logic
Test datastore status emoji logic.
src/healthlake-mcp-server/tests/test_server_core.py:167
Method
test_status_error_without_redirect_is_unchanged
A plain 404 keeps its original message.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1736
Method
test_status_filter_is_upper_cased
Any casing of a valid status is sent upper-cased, since the service match is case-sensitive.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2702
Method
test_status_list_is_sent_as_one_or_filter
A list of statuses is normalized and sent as one STATUS filter, which the API ORs.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2754
Method
test_status_list_with_unknown_values_is_rejected
Every unknown entry is named in one validation_error, with no AWS call.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2774
Method
test_status_unavailable
Test that status() returns "Unavailable" when the database is unavailable. This test verifies that: 1. A test query is executed to che
src/amazon-neptune-mcp-server/tests/test_neptune.py:131
Method
test_stdio_ignores_and_does_not_validate_bind_values
The stdio transport never raises on bind values and uses network defaults.
src/aws-healthomics-mcp-server/tests/test_config.py:395
Method
test_step_widened_for_long_windows
A window that would exceed the datapoint cap widens the step.
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:80
Method
test_stop
(self, _mock_configured, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_job.py:131
Method
test_stop_application_client_error
Test stopping handles ClientError.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:469
Method
test_stop_application_invalid_connected_entity
Test stopping with invalid connected entity.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:458
Method
test_stop_application_success
Test stopping an application.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:426
Method
test_stop_application_success
Test successful application stop.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_emr_serverless_application_handler.py:493
Method
test_stop_application_with_custom_tags_enabled
Test that stop application operation respects CUSTOM_TAGS when enabled.
src/aws-dataprocessing-mcp-server/tests/handlers/emr/test_custom_tags_emr_serverless.py:293
Method
test_stop_application_with_ec2_shutdown
Test stopping with EC2 shutdown flag.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:441
Method
test_stop_code_review_job
stop_code_review_job calls the underlying boto3 method with correct kwargs.
src/security-agent-mcp-server/tests/test_aws_client.py:228
Method
test_stop_generic_exception_during_final_stop
Test stop_application generic exception during final stop call (lines 787-789).
src/aws-for-sap-management-mcp-server/tests/test_applications.py:1058
Method
test_stop_inside_string_literal_is_not_flagged
``WHERE name = 'bus stop 5'`` — "stop" as data.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1246
Function
test_stop_job_run_operation_invalid_arguments
Test that stopping a job run fails when required arguments are missing.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:252
Function
test_stop_job_run_operation_without_write_permission
Test that stopping a job run fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:315
Function
test_stop_job_run_success
Test successful termination of a Glue job run.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_etl_handler.py:168
Method
test_stop_query_called_on_cancellation
When a task is cancelled, stop_query should be called for in-flight queries.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:1017
Function
test_stop_query_execution_allowed_with_write_access
Test that stop-query-execution succeeds when write access is enabled.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:384
Function
test_stop_query_execution_blocked_in_readonly_mode
Test that stop-query-execution is blocked when write access is disabled. Security regression test for the read-only mode bypass reported via
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:365
Method
test_stop_query_execution_data
Test the StopQueryExecutionData model.
src/aws-dataprocessing-mcp-server/tests/models/test_athena_models.py:124
Function
test_stop_query_execution_missing_parameters
Test that stop query execution fails when query_execution_id is missing.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:355
Function
test_stop_query_execution_success
Test successful stop of a query execution.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:339
Method
test_stop_replica_is_detected
``STOP REPLICA`` — halts replication threads.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1015
Method
test_stop_scan
Test stop scan.
src/security-agent-mcp-server/tests/test_server.py:557
Method
test_stop_scan
Stops a running scan.
src/security-agent-mcp-server/tests/test_scanner.py:225
Method
test_stop_scan_clienterror_returns_structured
Test stop scan clienterror returns structured.
src/security-agent-mcp-server/tests/test_server.py:797
Method
test_stop_scan_error
Test stop scan error.
src/security-agent-mcp-server/tests/test_server.py:570
Method
test_stop_scan_no_scan
Returns error when scan not found.
src/security-agent-mcp-server/tests/test_scanner.py:243
Method
test_stop_scan_threat_model
Stops a threat model scan via StopThreatModelJob.
src/security-agent-mcp-server/tests/test_scanner.py:250
Method
test_stop_session
Stop the session and verify termination.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:390
Method
test_stop_session
Stop session returns TERMINATED status.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:278
Method
test_stop_session_api_error
Stop session raises on API error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:317
Function
test_stop_session_client_error
Test stop session with non-EntityNotFoundException ClientError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1209
Method
test_stop_session_happy_path
Test stopping a session returns TERMINATED and removes client.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_session.py:161
Method
test_stop_session_no_connection_manager
Stop session with no connection_manager skips disconnect.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:296
Method
test_stop_session_no_snapshot_manager
Stop session with no snapshot_manager skips cleanup.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:305
Function
test_stop_session_no_write_access
Test stop session without write access.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1012
← previous
next →
31,801–31,900 of 35,417, ranked by callers