MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_all_zeros
Test All zeros.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:320
Methodtest_allocation_above_minimum
Test allocation when capacity exceeds minimum.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:143
Methodtest_allocation_at_minimum
Test allocation when capacity equals minimum.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:138
Methodtest_allocation_below_minimum
Test allocation when capacity is below minimum.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:131
Methodtest_allocation_large_capacity
Test allocation for large capacity values.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:158
Methodtest_allocation_zero
Test allocation when capacity is zero.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:153
Methodtest_allow_listed_commands_are_reads
Every SHOW form parses as one command name, so the allow-list covers them all.
src/redshift-mcp-server/tests/test_sql_guard.py:640
Methodtest_allow_mutative_action_only_on_tagged_sns_resource
Test allow_mutative_action_only_on_tagged_sns_resource function.
src/amazon-sns-sqs-mcp-server/tests/test_sns.py:33
Methodtest_allow_mutative_action_only_on_tagged_sns_resource
Test allow_mutative_action_only_on_tagged_sns_resource function.
src/amazon-sns-sqs-mcp-server/tests/test_server.py:38
Methodtest_allow_mutative_action_only_on_tagged_sqs_resource
Test allow_mutative_action_only_on_tagged_sqs_resource function.
src/amazon-sns-sqs-mcp-server/tests/test_sqs.py:32
Methodtest_allow_mutative_action_only_on_tagged_sqs_resource
Test allow_mutative_action_only_on_tagged_sqs_resource function.
src/amazon-sns-sqs-mcp-server/tests/test_server.py:182
Functiontest_allow_write_defaults_to_false
The operator gate is read from the ALLOW_WRITE environment variable.
src/timestream-for-influxdb-mcp-server/tests/test_write_gate.py:60
Methodtest_allow_write_query_flag_disables_readonly
--allow_write_query should set the global readonly_query to False.
src/mysql-mcp-server/tests/test_server_main.py:133
Methodtest_allowed_command
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:47
Methodtest_allowed_command
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:119
Functiontest_allowed_custom_operations_when_file_access_disabled_is_subset
Test that restricted allowlists are proper subsets of ALLOWED_CUSTOM_OPERATIONS. This ensures that all operations allowed in restricted modes are
src/aws-api-mcp-server/tests/parser/test_parser.py:661
Methodtest_allowed_custom_operations_work_with_disabled_file_access
Test that allowed custom operations work when FILE_ACCESS_MODE is NO_ACCESS.
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:346
Methodtest_allowed_standalone_in_read_write_mode
Outside a transaction it is an honest write, and refusing it would remove a capability.
src/redshift-mcp-server/tests/test_sql_guard.py:273
Functiontest_allowlist_is_exactly_the_read_node_types
The guard's allowlist and the reviewed read set must not drift apart.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:251
Methodtest_allows_dotdot_in_filename
Property: Filenames containing '..' as substring (not component) are accepted.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:79
Methodtest_allows_double_slash_inside_string_on_earlier_line
Test that // inside a string literal does not consume later lines.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3078
Methodtest_allows_keyword_as_data_in_readonly
A benign read that only mentions the verbs as data is allowed through.
src/mysql-mcp-server/tests/test_server_error_handling.py:378
Methodtest_allows_local_files_in_unrestricted_mode
Test that FILE_ACCESS_MODE.UNRESTRICTED allows local files anywhere on the filesystem.
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:467
Methodtest_allows_normal_read_query
Test that normal read queries are not blocked.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2822
Methodtest_allows_s3_uris_and_stdout_redirect
Test that S3 URIs, stdout redirect, and inline values are allowed when FILE_ACCESS_MODE is NO_ACCESS.
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:265
Methodtest_allows_safe_query
Test that a safe query passes validation.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2948
Methodtest_allows_select_in_readonly
Should allow SELECT when readonly is True.
src/mysql-mcp-server/tests/test_server_error_handling.py:137
Methodtest_allows_toString_function
Test that toString() is not falsely blocked (no false positive).
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2845
Methodtest_allows_to_prefixed_conversion_functions
Test that the toX() conversion family are reads and are not rejected.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3072
Methodtest_allows_to_when_write_mode_enabled
Test that to() is allowed when INFLUXDB_WRITE_MODE is True.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2799
Methodtest_allows_valid_default_domain_urls
Legitimate URLs for all default allowed domains must still pass.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:131
Methodtest_allows_valid_nested_paths_in_zip
Property: ZIP entries with valid nested paths are accepted.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:154
Methodtest_allows_valid_relative_path
Property: Valid relative paths without traversal are accepted.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:72
Methodtest_allows_valid_s3_object_keys
Property: S3 object keys with valid relative paths are accepted.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:233
Methodtest_allows_write_function_name_inside_string_literal
Test that a string literal resembling a call is data, not code.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3053
Methodtest_allows_write_when_enabled
Test that write is allowed when INFLUXDB_WRITE_MODE is True.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2954
Methodtest_alpha_intg_url
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:105
Methodtest_already_absent_is_treated_as_deleted
A deleter raising ``ResourceNotFound`` is an idempotent success, not a failure.
src/aws-healthomics-mcp-server/integration/harness_tests/test_provision_teardown_unit.py:245
Methodtest_already_formed_with_data_and_metadata
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:529
Methodtest_already_in_desired_state
Test updating when already in desired state.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:355
Methodtest_already_indexed_field
Fields already indexed should appear in already_indexed bucket.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:365
Methodtest_already_indexed_log_group_included
Log groups where all fields are already indexed should still appear.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:737
Functiontest_alt_quoting_preserves_content
Oracle alternative quoting q'[...]' preserves content inside.
src/oracle-mcp-server/tests/test_server.py:458
Functiontest_alt_quoting_strips_literal_content
Oracle q'[...]' literal content is stripped for security analysis.
src/oracle-mcp-server/tests/test_server.py:513
Methodtest_alt_text_survives_the_link_path
A cell holding both an image and a link keeps both.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1897
Functiontest_alter_already_exists_failure_is_not_swallowed
Only IF NOT EXISTS statements treat AlreadyExists as done.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2642
Methodtest_alter_event_with_do_delete_is_blocked_by_alter
``ALTER EVENT ... DO DELETE ...`` — caught by ALTER (and DELETE).
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1398
Methodtest_amazon_model_rejected_in_us_east_1
The Amazon reranking model is not offered in us-east-1 and must be refused.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:302
Functiontest_ambiguity_is_resolved_by_an_explicit_identifier
Naming the identifier selects deterministically, with no ambiguity error.
src/db2-mcp-server/tests/test_db_connection_map.py:119
Functiontest_ambiguity_not_raised_for_different_endpoints_or_databases
Entries that differ on endpoint/database/port are not candidates, so no ambiguity.
src/db2-mcp-server/tests/test_db_connection_map.py:129
Functiontest_ambiguous_candidates_filtered_by_secret_arn
A supplied secret_arn narrows the candidates, so a unique match is still returned.
src/db2-mcp-server/tests/test_db_connection_map.py:139
Functiontest_ambiguous_fallback_refuses_instead_of_picking_by_dict_order
Two connections under different identifiers must not be silently disambiguated. instance_identifier IS part of the cache key, so a read-only and
src/db2-mcp-server/tests/test_db_connection_map.py:97
Methodtest_ambiguous_filter_names_derived_from_model
RDS splits Finding/FindingReasonCode into instance and storage variants.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3286
Methodtest_an_accepted_batch_clears_its_clusters_latch
Accepted, the action is permitted there now, whichever call latched the denial. Cleared by a closer alone, a statement that ran on a restored
src/redshift-mcp-server/tests/test_redshift.py:547
Methodtest_an_accepted_write_that_never_settles_is_not_reported_as_not_having_run
Unwrapped, the batch autocommits, and abandoning the poll cancels nothing. Reported as a bare timeout, a write that was still committing read
src/redshift-mcp-server/tests/test_redshift.py:1221
Functiontest_an_argument_the_operation_does_not_use_is_rejected
An argument the operation never sends is a validation_error, not a silent drop. Dropping it returns a result that reads as narrowed (search_strin
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:3015
Functiontest_an_argument_the_operation_uses_still_reaches_it
The check rejects only what an operation drops; what it sends reaches its parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:3237
Methodtest_an_echoed_operation_is_truncated
A very long operation value is cut before it is echoed back.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:340
Methodtest_an_empty_blob_is_an_empty_value
Tested for truthiness, an empty blob fell through to the unknown-member string.
src/redshift-mcp-server/tests/test_redshift.py:1652
Methodtest_an_empty_list_is_refused_when_a_half_could_not_be_listed
Nothing in the returned list says a half was skipped, so `[]` read as none exist. A caller denied one listing with nothing on the other half
src/redshift-mcp-server/tests/test_server.py:659
Methodtest_an_empty_result_is_not_claimed_to_be_proof
This is the inference the old wording invited, now refused.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:542
Methodtest_an_empty_variable_reads_as_unset
Each of these, left empty, failed every client and with it every tool. A profile named `''` (`The config profile () could not be found`), the
src/redshift-mcp-server/tests/test_clients.py:290
Methodtest_an_engine_failure_carries_its_message
The caller needs the engine's reason, not a generic failure.
src/redshift-mcp-server/tests/test_redshift.py:3873
Methodtest_an_entry_without_an_arn_is_not_a_crash
Tags are keyed by ARN, and subscripting a missing one would fail all of discovery.
src/redshift-mcp-server/tests/test_clusters.py:710
Methodtest_an_expired_name_can_be_opened_again
Refused as still open, the name was unusable: closing it needs the session that is gone. The cap is not the only thing reaping frees. Tested
src/redshift-mcp-server/tests/test_transactions.py:254
Methodtest_an_explicit_tbody_is_still_honoured
Pages that do supply a tbody keep working.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1860
Methodtest_an_image_without_alt_contributes_nothing
A decorative image adds no text and introduces no delimiter.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1893
Methodtest_an_invalid_type_names_the_valid_ones
The Type error lists the five values the API accepts.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:2265
Methodtest_an_open_and_attached_transaction_reports_its_session
The session is what every later statement in the transaction runs on.
src/redshift-mcp-server/tests/test_transactions.py:282
Methodtest_an_open_without_a_session_is_refused
Without the session id there is no way to reach the transaction again.
src/redshift-mcp-server/tests/test_redshift.py:2127
Methodtest_an_open_without_a_statement_is_not_said_to_leave_one_running
BEGIN takes no locks, so nothing of the caller's can be holding any.
src/redshift-mcp-server/tests/test_redshift.py:3316
Methodtest_an_opening_statement_the_read_only_list_denies_is_refused
The write confirmation calls no guard in read-only mode, so this one is the barrier. Guarded as read-write, an UNLOAD wrote to S3 from a read
src/redshift-mcp-server/tests/test_redshift.py:3101
Methodtest_an_unattached_transaction_has_no_session_to_submit_on
Registered and usable are separate: the opening batch is what mints the session.
src/redshift-mcp-server/tests/test_transactions.py:64
Methodtest_an_unknown_argument_keeps_its_name
The argument name is never dropped, even one that looks like a union branch tag.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:324
Methodtest_an_unknown_cluster_type_is_our_bug
Discovery only ever sets provisioned or serverless.
src/redshift-mcp-server/tests/test_redshift.py:3886
Methodtest_an_unknown_transaction_names_every_way_it_could_be_gone
Every cause is indistinguishable from here, so the message covers all of them.
src/redshift-mcp-server/tests/test_transactions.py:320
Methodtest_an_unnamed_row_is_still_reported
Losing the failure because its name cell was empty would be worse than a placeholder.
src/redshift-mcp-server/tests/test_e2e_verdict.py:91
Methodtest_an_unreachable_cluster_is_not_the_signal
Denied cluster credentials answer ValidationException, so the two do not collide. Measured against the Data API: revoking redshift:GetCluster
src/redshift-mcp-server/tests/test_redshift.py:3433
Methodtest_an_unreadable_page_at_the_url_asked_for_does_not
Nothing moved, so suggesting a search would be misdirection.
src/aws-documentation-mcp-server/tests/test_server_utils.py:2078
Methodtest_an_unrecognized_status_is_polled_on_and_reported_once
A status the API adds must not fail every statement, nor poll out in silence.
src/redshift-mcp-server/tests/test_redshift.py:3621
Methodtest_an_unrelated_client_error_is_not_absorbed
A denial that is not about the batch action must not select the fallback.
src/redshift-mcp-server/tests/test_redshift.py:4043
Methodtest_an_unset_cap_falls_back_to_the_configured_one
The server's own manager takes no cap, so the setting is read on first use.
src/redshift-mcp-server/tests/test_transactions.py:343
Methodtest_an_unusable_value_falls_back
A mistyped timeout should not take the server down at import.
src/redshift-mcp-server/tests/test_settings.py:92
Functiontest_analysis_exception_fails_closed
An unexpected error during tree analysis is converted to a rejection. Guards the wrapper that turns non-SqlPolicyError exceptions into a fail
src/postgres-mcp-server/tests/test_sql_guard.py:559
Functiontest_analysis_failures_are_converted_to_policy_errors
Unexpected AST-analysis errors fail closed.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:398
Methodtest_analysis_parameter_models
Test analysis parameter models.
src/amazon-translate-mcp-server/tests/test_server.py:650
Methodtest_analysis_report_scenarios
Test various analysis report building scenarios.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:530
Functiontest_analysis_response
Test AnalysisResponse model.
src/aws-healthomics-mcp-server/tests/test_models.py:380
Functiontest_analysis_result
Test AnalysisResult model.
src/aws-healthomics-mcp-server/tests/test_models.py:345
Functiontest_analysis_result_validation
Test AnalysisResult validation.
src/aws-healthomics-mcp-server/tests/test_models.py:510
Functiontest_analyze
Analyze.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:502
Functiontest_analyze_anomaly_listing_error_is_swallowed
If list_anomalies fails for a detector, analyze must continue cleanly.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:2042
Methodtest_analyze_batch_translation_errors_no_errors_found
Test error analysis when no errors are found.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:853
Methodtest_analyze_batch_translation_errors_params_validation
Test AnalyzeBatchTranslationErrorsParams validation.
src/amazon-translate-mcp-server/tests/test_server.py:275
Methodtest_analyze_batch_translation_errors_success
Test successful batch translation error analysis.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:814
Methodtest_analyze_batch_translation_errors_tool_success
Test analyze_batch_translation_errors tool execution.
src/amazon-translate-mcp-server/tests/test_server_tools.py:758
Functiontest_analyze_canary_failures_artifact_location_without_s3_prefix
Test analyze_canary_failures with artifact location without s3:// prefix.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:2728
Functiontest_analyze_canary_failures_disk_usage_exception
Test analyze_canary_failures when disk usage analysis fails.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:2448
Functiontest_analyze_canary_failures_empty_base_path
Test analyze_canary_failures with empty base path.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:2775
Functiontest_analyze_canary_failures_enospc_error
Test analyze_canary_failures with ENOSPC error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:2173
← previousnext →11,201–11,300 of 35,417, ranked by callers