MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_initialize_aws_clients_with_profile
Test _initialize_aws_clients function with AWS_PROFILE set.
src/cloudwatch-applicationsignals-mcp-server/tests/test_aws_profile.py:111
Methodtest_initialize_connection_aws_api_error
Test handling of AWS API errors during broker lookup.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:131
Methodtest_initialize_connection_empty_broker_id
Test that empty broker_id raises ValueError.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:94
Methodtest_initialize_connection_empty_region
Test that empty region parameter is accepted (region validation removed).
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:109
Functiontest_initialize_connection_exception
Test PyIcebergEngine raises ConnectionError when initialization fails.
src/s3-tables-mcp-server/tests/test_pyiceberg.py:81
Methodtest_initialize_connection_invalid_broker_id
Test that invalid broker_id raises appropriate error.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:76
Methodtest_initialize_connection_success
Test successful RabbitMQ connection initialization. Verifies that connection and admin instances are properly set after successful initializa
src/amazon-mq-mcp-server/tests/rabbitmq/test_module.py:53
Methodtest_initialize_connection_with_broker_id
Test that initialize_connection accepts broker_id and retrieves hostname.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:29
Methodtest_initialize_connection_with_oauth_and_broker_id
Test that initialize_connection_with_oauth accepts broker_id.
src/amazon-mq-mcp-server/tests/rabbitmq/test_module_broker_id.py:54
Methodtest_initialize_default_rules_file
Test that the bundled default rules file can be loaded without mocking.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:30
Methodtest_initialize_deployment_status_file_creation_error
Test handling file creation errors during initialization.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:297
Methodtest_initialize_deployment_status_rejects_traversal
A rejected path raises so the deployment stops, and nothing is written outside.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:234
Methodtest_initialize_deployment_status_with_region
Test initializing deployment status with region.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:267
Methodtest_initialize_deployment_status_without_region
Test initializing deployment status without region.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:285
Methodtest_initialize_file_not_found
Test initialization when the bundled rules file cannot be found.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:37
Methodtest_initialize_file_not_found
Test initialization when the bundled rules file does not exist.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:178
Methodtest_initialize_general_exception
Test initialization with a general exception reading the bundled file.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:185
Methodtest_initialize_guard_rules_exception_handling
Test initialize_guard_rules handles import exceptions.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:589
Functiontest_initialize_includes_resources_capability
Test that initialize response includes resources capability.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1411
Methodtest_initialize_pool_already_initialized
Test that initialize_pool doesn't reinitialize if pool exists.
src/postgres-mcp-server/tests/test_psycopg_connector.py:940
Functiontest_initialize_pool_calls_create_pool_async
Verify initialize_pool calls oracledb.create_pool_async.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:109
Functiontest_initialize_pool_failure_leaves_pool_none
Failed initialize_pool leaves pool=None and re-raises the exception.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:540
Functiontest_initialize_pool_idempotent
Verify calling initialize_pool twice reuses the existing pool.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:121
Functiontest_initialize_pool_idempotent
Calling initialize_pool twice does not re-initialize.
src/mssql-mcp-server/tests/test_pymssql_pool_connection.py:50
Methodtest_initialize_pool_idempotent
Calling initialize_pool twice should only create pool once.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:196
Functiontest_initialize_pool_is_test
With is_test=True, pool initializes using test credentials.
src/mssql-mcp-server/tests/test_pymssql_pool_connection.py:39
Methodtest_initialize_pool_logs_hint_and_preserves_exception
The hint is logged; the original exception type still propagates.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1432
Functiontest_initialize_pool_no_seclevel_override
Verify SSL context does not use @SECLEVEL=0 cipher override.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:178
Functiontest_initialize_pool_no_ssl_when_off
Verify no SSL kwargs are passed when ssl_encryption=off.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:165
Methodtest_initialize_pool_offloads_iam_token
IAM auth token generation must run off the event loop. ``get_iam_auth_token`` makes a synchronous boto3 call, so the IAM path of ``in
src/postgres-mcp-server/tests/test_psycopg_connector.py:1095
Methodtest_initialize_pool_offloads_secret_fetch
Secrets Manager credential fetch must run off the event loop. Regression test for the blocking-boto3 crash: ``initialize_pool`` has to
src/postgres-mcp-server/tests/test_psycopg_connector.py:1062
Methodtest_initialize_pool_open_failure_sets_pool_to_none
Test that pool is set to None when pool.open() fails.
src/postgres-mcp-server/tests/test_psycopg_connector.py:966
Functiontest_initialize_pool_passes_ssl_context_when_require
Verify ssl_context and ssl_server_dn_match=True are passed when ssl_encryption=require.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:133
Functiontest_initialize_pool_raises_when_all_connections_fail
If every pre-fill attempt fails, initialize_pool raises and resets pool to None.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:49
Functiontest_initialize_pool_ssl_noverify
Verify ssl_context is passed with ssl_server_dn_match=False when ssl_encryption=noverify.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:152
Methodtest_initialize_pool_stays_quiet_for_non_tls_failure
A non-TLS pool failure logs no TLS remediation.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1476
Methodtest_initialize_pool_with_iam
Should initialize pool using IAM auth token.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:163
Methodtest_initialize_pool_with_iam_auth
Test pool initialization with IAM authentication.
src/postgres-mcp-server/tests/test_psycopg_connector.py:392
Methodtest_initialize_pool_with_iam_auth_token
Test initializing pool with IAM auth token.
src/postgres-mcp-server/tests/test_psycopg_connector.py:909
Methodtest_initialize_pool_with_secret
Should initialize pool using credentials from Secrets Manager.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:127
Methodtest_initialize_pool_with_secrets_manager
Test initializing pool with Secrets Manager credentials.
src/postgres-mcp-server/tests/test_psycopg_connector.py:878
Methodtest_initialize_pool_without_iam_auth
Test pool initialization without IAM authentication.
src/postgres-mcp-server/tests/test_psycopg_connector.py:415
Functiontest_initialize_result_model_dump_json
Test InitializeResult model_dump_json method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:280
Methodtest_initialize_services_failure
Test service initialization failure handling.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:50
Methodtest_initialize_services_failure
Test service initialization failure handling.
src/amazon-translate-mcp-server/tests/test_server.py:65
Methodtest_initialize_services_success
Test successful service initialization.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:31
Methodtest_initialize_services_success
Test successful service initialization.
src/amazon-translate-mcp-server/tests/test_server_comprehensive.py:26
Methodtest_initialize_services_success
Test successful service initialization.
src/amazon-translate-mcp-server/tests/test_server.py:33
Methodtest_initialize_vm_failure
Test initialize_vm function failure case.
src/finch-mcp-server/tests/test_utils_vm.py:123
Methodtest_initialize_vm_linux
Test initialize_vm function on Linux.
src/finch-mcp-server/tests/test_utils_vm.py:137
Methodtest_initialize_vm_success
Test initialize_vm function success case.
src/finch-mcp-server/tests/test_utils_vm.py:108
Methodtest_initialize_with_default_rules
Test initialization with default rules.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_compliance_checker.py:168
Methodtest_initiate_pull_through_failure
Test when pull-through initiation fails.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:1023
Methodtest_initiate_pull_through_on_image_not_found_success
Test successful pull-through initiation when image not found.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:959
Methodtest_initiate_pull_through_on_repo_not_found_not_usable
Test pull-through not initiated when PTC not usable by HealthOmics.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:918
Methodtest_initiate_pull_through_on_repo_not_found_success
Test successful pull-through initiation when repository not found.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:848
Methodtest_initiates_pull_through_on_image_not_found
Test that pull-through is initiated when image is not found.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:412
Methodtest_initiates_pull_through_on_repository_not_found
Test that pull-through is initiated when repository is not found.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:460
Methodtest_inject_bearer_auth_sets_headers
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:327
Methodtest_inject_bearer_auth_skips_origin_for_list_profiles
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:345
Methodtest_inject_cookie_auth_sets_headers
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:312
Methodtest_inject_k8s_aws_id_header
Test _inject_k8s_aws_id_header method.
src/eks-mcp-server/tests/test_k8s_client_cache.py:132
Functiontest_injection_alter_session
ALTER SESSION is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:674
Functiontest_injection_alter_system
ALTER SYSTEM is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:668
Functiontest_injection_alternative_quoting
Oracle alternative quoting syntax is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:752
Methodtest_injection_attempt
Test rejection of clearly malicious injection attempts.
src/amazon-translate-mcp-server/tests/test_security_validators.py:98
Methodtest_injection_attempts
Test various injection attempts that might bypass validation.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_is_ecr_image_security.py:132
Functiontest_injection_autonomous_transaction
AUTONOMOUS_TRANSACTION pragma is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:702
Functiontest_injection_comment_hidden_not_detected
Injection pattern inside a comment is not flagged after stripping.
src/oracle-mcp-server/tests/test_server.py:827
Functiontest_injection_comment_injection
Inline comment injection is flagged.
src/mssql-mcp-server/tests/test_server.py:1016
Functiontest_injection_connect_by_level
CONNECT BY LEVEL is flagged as injection risk (DoS via row generation).
src/oracle-mcp-server/tests/test_server.py:812
Functiontest_injection_connect_by_rownum
CONNECT BY ROWNUM is flagged as injection risk (DoS via row generation).
src/oracle-mcp-server/tests/test_server.py:818
Functiontest_injection_connect_by_tautology
CONNECT BY tautology is flagged as injection risk (DoS vector).
src/oracle-mcp-server/tests/test_server.py:806
Functiontest_injection_create_database_link
CREATE DATABASE LINK is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:686
Functiontest_injection_create_directory
CREATE DIRECTORY is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:680
Functiontest_injection_create_java
CREATE JAVA is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:738
Functiontest_injection_create_or_replace
CREATE OR REPLACE is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:694
Functiontest_injection_ctxsys
CTXSYS schema access is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:800
Functiontest_injection_dba_view
DBA_ dictionary view access is flagged as injection risk in readonly mode.
src/oracle-mcp-server/tests/test_server.py:782
Functiontest_injection_dbms_package
DBMS_* package usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:726
Functiontest_injection_detected_through_double_quoted_identifier
The bypass SELECT "/*",dbms_scheduler...,"*/" is caught by injection detector.
src/oracle-mcp-server/tests/test_server.py:485
Functiontest_injection_detected_through_string_with_dashes
The bypass SELECT 'x--',dbms_scheduler... is caught by injection detector.
src/oracle-mcp-server/tests/test_server.py:465
Functiontest_injection_exec_dynamic_sql_parens
EXEC('...') dynamic SQL is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1056
Functiontest_injection_execute_dynamic_sql_parens
EXECUTE('...') dynamic SQL is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1062
Functiontest_injection_execute_immediate
EXECUTE IMMEDIATE is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:661
Functiontest_injection_gv_dollar_view
GV$ global dynamic performance view access is flagged as injection risk in readonly mode.
src/oracle-mcp-server/tests/test_server.py:776
Functiontest_injection_htf
HTF package usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:720
Functiontest_injection_htp
HTP package usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:714
Functiontest_injection_httpuritype
HTTPURITYPE usage is flagged as injection risk (SSRF vector).
src/oracle-mcp-server/tests/test_server.py:788
Functiontest_injection_numeric_tautology
Numeric tautology (OR 1=1) is flagged.
src/mssql-mcp-server/tests/test_server.py:1022
Functiontest_injection_owa_util
OWA_UTIL access is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:708
Functiontest_injection_raiserror_with_log
RAISERROR WITH LOG is flagged as injection risk (non-transactional write).
src/mssql-mcp-server/tests/test_server.py:1110
Functiontest_injection_raiserror_with_log_multiline
RAISERROR WITH LOG spanning multiple lines is flagged.
src/mssql-mcp-server/tests/test_server.py:1116
Functiontest_injection_rds_backup_database
rds_backup_database is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:668
Functiontest_injection_rds_cancel_task
rds_cancel_task is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:680
Functiontest_injection_rds_modify_db_instance
rds_modify_db_instance is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:686
Functiontest_injection_rds_restore_database
rds_restore_database is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:674
Methodtest_injection_rejected
A suspicious injection pattern is rejected.
src/db2-mcp-server/tests/test_server.py:201
Methodtest_injection_result_includes_label
Callers should be able to distinguish patterns without parsing messages.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1279
Functiontest_injection_set_context_info
SET CONTEXT_INFO is flagged as injection risk (non-transactional write).
src/mssql-mcp-server/tests/test_server.py:1068
← previousnext →22,901–23,000 of 35,417, ranked by callers