MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_tool_returns_validation_error_for_non_id
The tool returns a structured validation error instead of raising.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_account_ids.py:120
Functiontest_tool_schema_exposes_every_api_filter_member
A filter member the API accepts must be reachable, or deliberately not. This is the class behind `ReceiverRole`: the member was never exposed, so
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:205
Functiontest_tool_schema_publishes_structured_types
The tool schema advertises array/object types for metrics, group_by, and filter (#4553).
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1537
Functiontest_tool_schemas_follow_the_max_items_contract
List tools take max_items + next_token; get tools take neither.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:685
Functiontest_tool_schemas_follow_the_max_items_contract
Every paginated conductor tool takes max_items + next_token; the get-preference tool neither.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:953
Methodtest_tool_schemas_follow_the_max_items_contract
All three budget tools take max_items + next_token and no page parameters.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1776
Methodtest_tool_signature_has_broker_id_parameter
Test that the tool signature includes broker_id and region parameters.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:150
Functiontest_tool_success_response_unchanged
End to end: the success response format is unchanged.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:281
Functiontest_tool_timeout_leaves_no_slides
End to end: the tool reports a timeout and the output directory holds no slides.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:251
Functiontest_tool_usage_timer_error
Test the tool_usage_timer decorator with tool execution that raises an exception.
src/openapi-mcp-server/tests/utils/test_metrics_provider_decorators.py:111
Methodtest_tool_usage_timer_error
Test tool_usage_timer with a tool call that raises an exception.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:217
Functiontest_tool_usage_timer_success
Test the tool_usage_timer decorator with successful tool execution.
src/openapi-mcp-server/tests/utils/test_metrics_provider_decorators.py:84
Methodtest_tool_usage_timer_success
Test tool_usage_timer with a successful tool call.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:185
Functiontest_tool_write_mode_not_in_signature
No mutating tool may expose a caller-supplied write-mode parameter. A caller (or a prompt-injected agent) must not be able to self-authorize
src/timestream-for-influxdb-mcp-server/tests/test_write_gate.py:47
Functiontest_tools_are_discovered
Guard the guards: a discovery that finds nothing would pass both rules.
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:151
Methodtest_tools_modules_importable
Test that all tool modules can be imported.
src/aws-network-mcp-server/tests/test_server.py:78
Methodtest_tools_registered
Test that all tool modules are registered on the server.
src/aws-for-sap-management-mcp-server/tests/test_server.py:28
Methodtest_tools_registration
Test that all tools are properly registered.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:462
Methodtest_tools_registration
Test that all tools are properly registered.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:381
Functiontest_tools_without_credential_parameters_are_exactly_the_local_tools
Only the known static/local tools may omit the credential parameters. Asserted as an exact set so a tool silently losing its credential parameter
src/aws-healthomics-mcp-server/tests/test_tool_surface.py:126
Methodtest_tooltip_content
Test that tooltips contain required information (Requirement 5.4).
src/aws-healthomics-mcp-server/tests/test_gantt_generator.py:203
Methodtest_top_caps_rows
The top arg caps the number of returned rows (after sorting).
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:296
Methodtest_top_level_error
A top-level error is detected.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:243
Methodtest_top_level_warning_is_kept
A specific top-level warning (e.g. a failed page) wins over the generic one.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1098
Methodtest_top_wraps_in_topk
A top value wraps the aggregation in topk().
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:246
Methodtest_topk_wrapping
Wrap an expression in topk when a top limit is given.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:96
Methodtest_topology_change_filter
Test filtering by topology change event type.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_logs.py:83
Methodtest_total_recommendation_count_is_absent_on_a_continuation
A continuation holds only the later groups.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:485
Methodtest_total_recommendation_count_is_absent_on_a_partial_result
Groups left unfetched would make the sum an undercount.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:469
Methodtest_total_recommendation_count_is_absent_when_a_group_has_no_count
A group without a count would make the sum undercount.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:499
Methodtest_total_recommendation_count_sums_every_group
A complete result carries the overall count, so the agent need not add groups.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:438
Methodtest_total_recommendation_count_sums_groups_across_pages
Groups from every page count toward the total.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:456
Methodtest_trace_only_included_when_requested
The condensed trace is opt-in.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:144
Methodtest_trace_with_faults
A fault in a nested AWS subsegment is surfaced.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:303
Methodtest_track_error
Test error tracking.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3166
Methodtest_track_error_disabled
Test error tracking when disabled.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3177
Methodtest_track_performance
Test performance tracking.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3146
Methodtest_track_performance_disabled
Test performance tracking when disabled.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3160
Methodtest_track_request
Test request tracking.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3183
Methodtest_track_request_disabled
Test request tracking when disabled.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3194
Methodtest_trailing_dot
Test that a trailing dot returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2166
Methodtest_trailing_dot
Test that trailing dot is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2386
Methodtest_trailing_dot_only_is_invalid
Property: A single trailing dot (empty candidate) is invalid.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:114
Methodtest_trailing_hash_comment_after_read_is_allowed
A genuine trailing ``#`` comment on a read is stripped, not flagged.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1755
Methodtest_trailing_newline_is_rejected
A valid identifier with a trailing newline is rejected (fullmatch semantics). This mirrors the CDK generator comment that validation must not
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:98
Methodtest_trailing_slash_saves_inside_new_directory
(self, handler, ctx, tmp_path)
src/aws-transform-mcp-server/tests/test_download_artifact.py:323
Methodtest_trailing_traversal
Reject 'dir/..' style traversal.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:58
Methodtest_trailing_z_is_accepted_as_utc
A trailing 'Z' (UTC designator) parses to the same UTC datetime.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:597
Methodtest_training_mode_validation
Test training mode validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:474
Methodtest_training_payload_none_target_sampling_rate_validation
Test TrainingPayload with None targetSamplingRate value.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1124
Methodtest_training_payload_none_timestamp_validation
Test TrainingPayload with None timestamp values.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1113
Methodtest_training_payload_optional_fields_validation
Test TrainingPayload optional fields validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:454
Methodtest_training_payload_retraining_scheduler_validation
Test TrainingPayload validation for START_RETRAINING_SCHEDULER mode.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:418
Methodtest_training_payload_stop_retraining_scheduler_validation
Test TrainingPayload validation for STOP_RETRAINING_SCHEDULER mode.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:433
Methodtest_training_payload_target_sampling_rate_none_validation
Test TrainingPayload targetSamplingRate None validation to cover line 550.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1308
Methodtest_training_payload_timestamp_validation_edge_cases
Test TrainingPayload timestamp validation edge cases.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1232
Methodtest_training_payload_timestamp_validation_with_none_values
Test TrainingPayload timestamp validation with None values to cover lines 484->493.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1280
Methodtest_training_payload_train_model_validation
Test TrainingPayload validation for TRAIN_MODEL mode.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:392
Functiontest_transact_allows_benign_session_mutation_in_write_mode
Write-mode transact permits an ordinary SET the caller issued on purpose.
src/aurora-dsql-mcp-server/tests/test_server.py:679
Methodtest_transact_allows_read_queries_in_read_only_mode
Test that transact allows SELECT queries in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1094
Functiontest_transact_blocks_mode_independent_risks_in_write_mode
Write-mode transact still blocks GUC / COPY PROGRAM / dangerous functions. These are the mode-independent checks: in write mode generic SET and
src/aurora-dsql-mcp-server/tests/test_server.py:652
Methodtest_transact_case_insensitive_validation
Test that transact validation works regardless of case.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1226
Functiontest_transact_commit_on_success
(mocker)
src/aurora-dsql-mcp-server/tests/test_server.py:377
Functiontest_transact_does_not_reset_session_state_in_read_write_mode
transact in read-write mode must NOT issue RESET ALL. In write mode the caller intentionally controls session state (e.g. SET statements they
src/aurora-dsql-mcp-server/tests/test_server.py:585
Functiontest_transact_error_on_failed_begin
(mocker)
src/aurora-dsql-mcp-server/tests/test_server.py:432
Functiontest_transact_error_on_failed_begin_read_only
Test that transact handles BEGIN READ ONLY TRANSACTION failures.
src/aurora-dsql-mcp-server/tests/test_server.py:110
Methodtest_transact_get_items
TransactGetItems doubles RCU.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:229
Methodtest_transact_get_patterns_have_get_action
Test that TransactGet patterns only have Get actions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1325
Methodtest_transact_handles_readonly_sql_transaction_error
Test that transact properly handles ReadOnlySqlTransaction errors.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1205
Methodtest_transact_in_write_mode_allows_legitimate_ddl
Write mode must not block DDL that keyword-level patterns match.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1347
Methodtest_transact_in_write_mode_allows_legitimate_inserts
Harden-in-write-mode must not break normal INSERT/UPDATE/DELETE.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1328
Methodtest_transact_in_write_mode_catches_injection_in_later_statement
Second statement in list is injected; first is clean.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1314
Methodtest_transact_in_write_mode_still_rejects_injection
Even with --allow-writes, obviously-injected SQL must be rejected.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1292
Methodtest_transact_in_write_mode_still_rejects_stacked_queries
Write mode must not permit `...; DROP TABLE ...` style chaining.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1303
Functiontest_transact_not_allowed
Test transact when writes not allowed.
src/aurora-dsql-mcp-server/tests/test_error_paths.py:59
Methodtest_transact_permission_statements_in_read_only_mode
Test that transact rejects permission statements in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1240
Methodtest_transact_rejects_injection_in_read_only_mode
Test that transact rejects SQL injection patterns in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1147
Methodtest_transact_rejects_mixed_queries_in_read_only_mode
Test that transact rejects transactions with mixed read/write in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1133
Functiontest_transact_rejects_session_mutation_in_read_only_mode
Read-only transact must reject session-mutating SQL before executing.
src/aurora-dsql-mcp-server/tests/test_server.py:637
Methodtest_transact_rejects_stacked_queries_in_read_only_mode
Test that transact specifically rejects stacked queries (transaction bypass).
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1178
Methodtest_transact_rejects_transaction_bypass_in_read_only_mode
Test that transact rejects transaction bypass attempts in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1161
Methodtest_transact_rejects_write_queries_in_read_only_mode
Test that transact rejects write operations in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1115
Functiontest_transact_resets_session_state_in_read_only_mode
transact in read-only mode must scrub session state after execution.
src/aurora-dsql-mcp-server/tests/test_server.py:566
Functiontest_transact_resets_session_state_on_failure
Read-only transact must still scrub session state when a query raises.
src/aurora-dsql-mcp-server/tests/test_server.py:694
Functiontest_transact_rollback_error_logging
Test that rollback errors in transact are logged.
src/aurora-dsql-mcp-server/tests/test_server.py:482
Functiontest_transact_rollback_on_failure
(mocker)
src/aurora-dsql-mcp-server/tests/test_server.py:406
Functiontest_transact_rolls_back_on_readonly_violation
The ReadOnlySqlTransaction branch must ROLLBACK before the reset scrub. Without the ROLLBACK the scrub would run inside an aborted transaction wh
src/aurora-dsql-mcp-server/tests/test_server.py:716
Methodtest_transact_system_statements_in_read_only_mode
Test that transact rejects system statements in read-only mode.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1254
Functiontest_transact_throws_exception_on_empty_input
()
src/aurora-dsql-mcp-server/tests/test_server.py:81
Functiontest_transact_uses_read_only_transaction
Test that transact uses BEGIN READ ONLY TRANSACTION in read-only mode.
src/aurora-dsql-mcp-server/tests/test_server.py:88
Methodtest_transact_validates_all_statements_before_execution
Test that transact validates all statements before executing any.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1191
Functiontest_transact_without_cluster_config
Test that transact returns helpful error when cluster not configured.
src/aurora-dsql-mcp-server/tests/test_graceful_startup.py:54
Methodtest_transact_write_items
TransactWriteItems doubles WCU.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_cost_calculator.py:240
Methodtest_transact_write_patterns_have_valid_actions
Test that TransactWrite patterns have valid actions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1312
Functiontest_transaction_bypass_commit
COMMIT is detected as transaction control.
src/oracle-mcp-server/tests/test_server.py:881
Methodtest_transaction_bypass_edge_cases
Test edge cases for transaction bypass detection.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:869
Functiontest_transaction_bypass_in_comment_not_detected
Transaction control keywords inside comments are ignored.
src/oracle-mcp-server/tests/test_server.py:905
Methodtest_transaction_bypass_no_redos_on_repeated_commit
detect_transaction_bypass_attempt must be linear on commit-heavy input.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:374
Functiontest_transaction_bypass_rollback
ROLLBACK is detected as transaction control.
src/oracle-mcp-server/tests/test_server.py:887
Functiontest_transaction_bypass_savepoint
SAVEPOINT is detected as transaction control.
src/oracle-mcp-server/tests/test_server.py:893
← previousnext →32,801–32,900 of 35,417, ranked by callers