MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_configure_security_groups_memcached_engine
Test _configure_security_groups with memcached engine (line 366->372).
src/elasticache-mcp-server/tests/tools/serverless/test_connect_coverage_additional.py:81
Functiontest_configure_security_groups_memcached_port
Test port selection for Memcached engine.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:433
Functiontest_configure_security_groups_no_cache_clusters
Test when no cache clusters are found.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:28
Functiontest_configure_security_groups_no_cache_nodes
Test when no cache nodes are found for the cache cluster.
src/elasticache-mcp-server/tests/tools/cc/test_connect_additional.py:84
Functiontest_configure_security_groups_no_cache_security_groups
Test when no security groups are found for the cache cluster.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:163
Functiontest_configure_security_groups_no_cache_security_groups
Test _configure_security_groups when cache has no security groups (line ~57).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:82
Functiontest_configure_security_groups_no_clients_provided
Test _configure_security_groups when no clients are provided (lines 43, 45).
src/elasticache-mcp-server/tests/tools/serverless/test_connect_coverage_additional.py:28
Functiontest_configure_security_groups_no_clients_provided
Test _configure_security_groups when no clients are provided (lines 43, 45).
src/elasticache-mcp-server/tests/tools/rg/test_connect_coverage_additional.py:28
Functiontest_configure_security_groups_no_clients_provided
Test _configure_security_groups when no clients are provided (lines 43, 45).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:29
Functiontest_configure_security_groups_no_instance_found
Test _configure_security_groups when EC2 instance is not found (line ~67).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:106
Functiontest_configure_security_groups_no_instance_security_groups
Test when no security groups are found for the EC2 instance.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:94
Functiontest_configure_security_groups_no_instance_security_groups
Test when no security groups are found for the EC2 instance.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:215
Functiontest_configure_security_groups_no_instance_security_groups
Test when no security groups are found for the EC2 instance.
src/elasticache-mcp-server/tests/tools/cc/test_connect_additional.py:148
Functiontest_configure_security_groups_no_instance_security_groups
Test _configure_security_groups when instance has no security groups (line ~82).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:174
Functiontest_configure_security_groups_no_security_groups
Test when no security groups are found.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:29
Functiontest_configure_security_groups_no_security_groups
Test when no security groups are found for the cache cluster.
src/elasticache-mcp-server/tests/tools/cc/test_connect_additional.py:53
Functiontest_configure_security_groups_no_subnet_group
Test when no subnet group is found.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:54
Functiontest_configure_security_groups_no_subnet_group
Test when no subnet group is found.
src/elasticache-mcp-server/tests/tools/cc/test_connect_additional.py:28
Functiontest_configure_security_groups_no_subnet_ids
Test when no subnet IDs are found.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:370
Functiontest_configure_security_groups_redis_default_port
Test _configure_security_groups with redis engine default port (line 367->366).
src/elasticache-mcp-server/tests/tools/serverless/test_connect_coverage_additional.py:125
Functiontest_configure_security_groups_rejects_public_cache
A public-endpoint cache is rejected before any security group work.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:812
Functiontest_configure_security_groups_subnet_group_error
Test when there's an error getting the subnet group.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:88
Functiontest_configure_security_groups_success
Test successful security group configuration.
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:29
Functiontest_configure_security_groups_vpc_cache_without_connection_type_field
Caches created before ConnectionType existed are treated as VPC caches.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:915
Functiontest_configure_security_groups_vpc_mismatch
Test when VPCs don't match.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:155
Functiontest_configure_security_groups_vpc_mismatch
Test security group configuration with VPC mismatch.
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:105
Functiontest_configure_security_groups_vpc_mismatch
Test when VPCs don't match.
src/elasticache-mcp-server/tests/tools/cc/test_connect.py:155
Functiontest_configure_security_groups_vpc_mismatch
Test _configure_security_groups when VPCs don't match (line ~75).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:133
Functiontest_configure_security_groups_with_endpoint_port
Test port retrieval from endpoint.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:497
Methodtest_configure_workspace_for_request_no_env_url_no_workspace_id
Test that configure_workspace_for_request raises ValueError when no environment URL and no workspace_id.
src/prometheus-mcp-server/tests/test_workspace_config.py:209
Methodtest_configure_workspace_for_request_unusual_workspace_id
Test that configure_workspace_for_request logs warning for unusual workspace ID.
src/prometheus-mcp-server/tests/test_workspace_config.py:314
Methodtest_configure_workspace_for_request_with_env_url
Test that configure_workspace_for_request uses environment URL when available.
src/prometheus-mcp-server/tests/test_workspace_config.py:139
Methodtest_configure_workspace_for_request_with_env_url_connection_failure
Test that configure_workspace_for_request raises RuntimeError when connection to environment URL fails.
src/prometheus-mcp-server/tests/test_workspace_config.py:178
Methodtest_configure_workspace_for_request_with_url_containing_workspace_id
Test that configure_workspace_for_request extracts workspace ID from URL.
src/prometheus-mcp-server/tests/test_workspace_config.py:361
Methodtest_configure_workspace_for_request_with_workspace_id
Test that configure_workspace_for_request uses workspace_id when no environment URL is available.
src/prometheus-mcp-server/tests/test_workspace_config.py:224
Methodtest_configure_workspace_for_request_with_workspace_id_connection_failure
Test that configure_workspace_for_request raises RuntimeError when connection with workspace_id fails.
src/prometheus-mcp-server/tests/test_workspace_config.py:273
Methodtest_configured_database_used_when_caller_omits_it
The operator's --database must be honored by tool calls that omit `database`. `database` is part of the connection-map cache key, and the sta
src/db2-mcp-server/tests/test_server.py:636
Methodtest_configured_default_secret_arn_overrides_cluster_metadata
When configured_default_secret_arn is set, it wins over the cluster's MasterUserSecret.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1601
Methodtest_configured_port_none_falls_back_to_ssl_mode_default
With no --port, the SSL-mode default is still used (no circular default).
src/db2-mcp-server/tests/test_server.py:551
Methodtest_configured_port_used_when_caller_omits_port
The operator's --port must be honored by tool calls that omit `port`. `port` is part of the connection-map cache key and the startup pre-conn
src/db2-mcp-server/tests/test_server.py:534
Methodtest_confirm_default_false
(self)
src/valkey-mcp-server/tests/test_command_runners.py:206
Methodtest_confirm_false_does_not_bypass_destructive_gate
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_engagement.py:504
Methodtest_confirm_false_is_ignored_for_non_destructive_action
( self, _, mock_fes, handler, ctx )
src/aws-transform-mcp-server/tests/test_engagement.py:485
Functiontest_confirmation_disabled_allows_without_confirmed
Test that operations proceed when confirmation is disabled.
src/iam-mcp-server/tests/test_server.py:2565
Functiontest_confirmation_gate_add_user_to_group
Test confirmation gate on add_user_to_group.
src/iam-mcp-server/tests/test_server.py:2272
Functiontest_confirmation_gate_allows_with_confirmed
Test that write operations proceed when confirmed=True.
src/iam-mcp-server/tests/test_server.py:2124
Functiontest_confirmation_gate_attach_group_policy
Test confirmation gate on attach_group_policy.
src/iam-mcp-server/tests/test_server.py:2298
Functiontest_confirmation_gate_blocks_without_confirmed
Test that write operations are blocked when confirmed=False.
src/iam-mcp-server/tests/test_server.py:2108
Functiontest_confirmation_gate_create_access_key
Test confirmation gate on create_access_key.
src/iam-mcp-server/tests/test_server.py:2197
Functiontest_confirmation_gate_create_group
Test confirmation gate on create_group.
src/iam-mcp-server/tests/test_server.py:2248
Functiontest_confirmation_gate_create_role
Test confirmation gate on create_role.
src/iam-mcp-server/tests/test_server.py:2223
Functiontest_confirmation_gate_create_user
Test confirmation gate on create_user.
src/iam-mcp-server/tests/test_server.py:2156
Functiontest_confirmation_gate_delete_access_key
Test confirmation gate on delete_access_key.
src/iam-mcp-server/tests/test_server.py:2209
Functiontest_confirmation_gate_delete_group
Test confirmation gate on delete_group.
src/iam-mcp-server/tests/test_server.py:2260
Functiontest_confirmation_gate_delete_role_policy
Test confirmation gate on delete_role_policy.
src/iam-mcp-server/tests/test_server.py:2386
Functiontest_confirmation_gate_delete_user
Test confirmation gate on delete_user.
src/iam-mcp-server/tests/test_server.py:2169
Functiontest_confirmation_gate_delete_user_policy
Test confirmation gate on delete_user_policy.
src/iam-mcp-server/tests/test_server.py:2374
Functiontest_confirmation_gate_detach_group_policy
Test confirmation gate on detach_group_policy.
src/iam-mcp-server/tests/test_server.py:2314
Functiontest_confirmation_gate_detach_user_policy
Test confirmation gate on detach_user_policy.
src/iam-mcp-server/tests/test_server.py:2181
Functiontest_confirmation_gate_put_role_policy
Test confirmation gate on put_role_policy.
src/iam-mcp-server/tests/test_server.py:2352
Functiontest_confirmation_gate_put_user_policy
Test confirmation gate on put_user_policy.
src/iam-mcp-server/tests/test_server.py:2330
Functiontest_confirmation_gate_remove_user_from_group
Test confirmation gate on remove_user_from_group.
src/iam-mcp-server/tests/test_server.py:2284
Methodtest_confirmed_writes_hand_over_nothing
With the prompt on, the caller is asked to take on no duty of its own.
src/redshift-mcp-server/tests/test_server.py:327
Methodtest_conflict
Returns ErrorResponse on ConflictException (duplicate name).
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_api_key_providers.py:74
Methodtest_conflict
ConflictException is returned as ErrorResponse.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_endpoints.py:92
Methodtest_conflict_has_targets
Returns ErrorResponse when gateway still has targets.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_gateways.py:263
Methodtest_conflict_when_has_policies
Returns ErrorResponse on ConflictException (engine has policies).
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_engines.py:197
Methodtest_conflicting_flags_behavior
Test behavior with potentially conflicting flags.
src/finch-mcp-server/tests/test_cli_flags.py:454
Methodtest_conflicting_logging_flags_behavior
Test behavior with conflicting logging flags set in environment.
src/finch-mcp-server/tests/test_cli_flags.py:738
Methodtest_conflicting_offset_and_continuation_token_logs_warning
continuation_token still wins, but the override must not be silent.
src/aws-healthomics-mcp-server/tests/test_genomics_search_continuation_token_bug.py:254
Functiontest_conftest_module_imports_no_boto3_at_module_load
Loading the gating conftest imports no boto3 module attribute. A defensive check that the conftest module namespace exposes no ``boto3``/``botoco
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_gate.py:268
Functiontest_conn_string_allows_equals_in_password
=' in a password is safe: the driver splits each attribute at its FIRST '='.
src/db2-mcp-server/tests/test_ibm_db_connection.py:798
Functiontest_conn_string_does_not_brace_quote_any_value
No value may be brace-quoted -- the CLI driver does not strip the braces. Verified against live RDS for Db2 12.1 / ibm_db 3.2.9: HOSTNAME={host}
src/db2-mcp-server/tests/test_ibm_db_connection.py:775
Functiontest_conn_string_emits_credentials_after_ssl_attributes
UID/PWD must come after the SSL attributes (first-occurrence-wins ordering). The Db2 CLI driver honors the FIRST occurrence of a repeated keyword
src/db2-mcp-server/tests/test_ibm_db_connection.py:830
Functiontest_conn_string_emits_hostname_validation_explicitly
SSLClientHostnameValidation is always emitted (BASIC or OFF) when SSL is on.
src/db2-mcp-server/tests/test_ibm_db_connection.py:845
Functiontest_conn_string_rejection_never_echoes_the_password
The rejection error must not leak the secret it rejected.
src/db2-mcp-server/tests/test_ibm_db_connection.py:813
Functiontest_conn_string_rejects_database_and_host_attribute_injection
An agent-supplied database/host that would inject a DSN attribute is rejected. Neither a Db2 database name nor a DNS hostname can legitimately co
src/db2-mcp-server/tests/test_ibm_db_connection.py:854
Functiontest_conn_string_rejects_leading_brace_in_value
A leading '{' is rejected -- the driver may try to treat it as a quoted value.
src/db2-mcp-server/tests/test_ibm_db_connection.py:822
Functiontest_conn_string_rejects_semicolon_in_cert_path
A ';' in the certificate path would corrupt the DSN, so it is rejected.
src/db2-mcp-server/tests/test_ibm_db_connection.py:867
Functiontest_conn_string_rejects_semicolon_in_credential
A ';' in a credential would truncate the value, so it is rejected.
src/db2-mcp-server/tests/test_ibm_db_connection.py:804
Functiontest_connect_accepts_when_autocommit_confirmed_off
A connection is used normally when autocommit reads back as OFF.
src/db2-mcp-server/tests/test_ibm_db_connection.py:895
Functiontest_connect_attachment_success
Test successful Connect attachment retrieval.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_attachment_details.py:54
Functiontest_connect_botocore_error_returns_failed
A BotoCoreError (endpoint/credential failure) honors the Failed contract, not a crash.
src/db2-mcp-server/tests/test_server.py:1062
Functiontest_connect_dsn_carries_host_database_and_credentials
Host, database and the resolved credentials all reach the driver.
src/db2-mcp-server/tests/test_ibm_db_connection.py:957
Functiontest_connect_dsn_carries_the_ssl_posture
The SSL attributes must be present in the DSN the driver actually receives. Complements the exact-match test above by naming the specific attribu
src/db2-mcp-server/tests/test_ibm_db_connection.py:941
Methodtest_connect_failure
A factory error is returned as a Failed status.
src/db2-mcp-server/tests/test_server.py:385
Methodtest_connect_failure
A connect failure raises ValueError.
src/db2-mcp-server/tests/test_ibm_db_connection.py:440
Functiontest_connect_jump_host_cc_error
Test error handling in connect_jump_host_cc.
src/elasticache-mcp-server/tests/tools/cc/test_connect_additional.py:193
Functiontest_connect_jump_host_cc_readonly_mode
Test connect_jump_host_cc in readonly mode (line 149).
src/elasticache-mcp-server/tests/tools/cc/test_connect_coverage_additional.py:212
Functiontest_connect_jump_host_cc_success
Test successful jump host connection.
src/elasticache-mcp-server/tests/tools/cc/test_connect.py:189
Functiontest_connect_jump_host_rg_error
Test error handling in connect_jump_host_rg.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:268
Functiontest_connect_jump_host_rg_no_member_clusters
Test connect_jump_host_rg when replication group has no member clusters.
src/elasticache-mcp-server/tests/tools/rg/test_connect_additional.py:721
Functiontest_connect_jump_host_rg_readonly_mode
Test connect_jump_host_rg in readonly mode.
src/elasticache-mcp-server/tests/tools/rg/test_connect_coverage_additional.py:310
Functiontest_connect_jump_host_rg_success
Test successful jump host connection.
src/elasticache-mcp-server/tests/tools/rg/test_connect.py:140
Functiontest_connect_jump_host_serverless_error
Test error handling in connect_jump_host_serverless.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:139
Functiontest_connect_jump_host_serverless_no_security_groups
Test connect_jump_host_serverless when serverless cache has no security groups.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:639
Functiontest_connect_jump_host_serverless_no_subnet_ids
Test connect_jump_host_serverless when serverless cache has no subnet IDs.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:677
Functiontest_connect_jump_host_serverless_readonly_mode
Test connect_jump_host_serverless in readonly mode.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_additional.py:408
Functiontest_connect_jump_host_serverless_readonly_mode
Test connect_jump_host_serverless in readonly mode.
src/elasticache-mcp-server/tests/tools/serverless/test_connect_coverage_additional.py:242
Functiontest_connect_jump_host_serverless_rejects_public_cache
connect-jump-host returns an error for a public-endpoint cache.
src/elasticache-mcp-server/tests/tools/serverless/test_connect.py:828
← previousnext →13,901–14,000 of 35,417, ranked by callers