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
Function
test_log_level_enum
Test the LogLevel enum values.
src/eks-mcp-server/tests/test_logging_helper.py:86
Method
test_log_level_enum
Test that the LogLevel enum has the expected values.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:35
Method
test_log_level_values
Test that the LogLevel enum has the expected values.
src/sagemaker-ai-mcp-server/tests/test_logging_helper.py:26
Function
test_log_response
Test LogResponse model.
src/aws-healthomics-mcp-server/tests/test_models.py:307
Method
test_log_tls_posture_bundled_ca
The bundled AWS CA is identified as the trust anchor.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1284
Method
test_log_tls_posture_iam_and_unparseable_conninfo
Unparseable conninfo falls back to '(none)', and IAM auth is reported.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1299
Method
test_log_tls_posture_operator_ca
An operator-supplied CA path is surfaced verbatim.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1293
Method
test_log_tls_posture_require
Require mode logs an unverified trust anchor and the auth mode.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1268
Method
test_log_tls_posture_system_trust
--ca_bundle system logs the system trust store as the anchor.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1278
Method
test_log_validation_error
Test _log_validation_error method.
src/openapi-mcp-server/tests/auth/test_cognito_auth_additional_coverage.py:310
Method
test_log_validation_error
Test logging of validation error.
src/openapi-mcp-server/tests/auth/test_basic_auth.py:121
Method
test_log_validation_error
Test logging of validation error.
src/openapi-mcp-server/tests/auth/test_bearer_auth.py:93
Method
test_log_validation_error_direct
Test logging validation error directly.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:106
Method
test_log_warning
Test that log_with_request_id logs at WARNING level.
src/sagemaker-ai-mcp-server/tests/test_logging_helper.py:60
Method
test_log_with_additional_kwargs
Test that log_with_request_id passes additional kwargs to the logger.
src/sagemaker-ai-mcp-server/tests/test_logging_helper.py:85
Method
test_log_with_correlation_methods
Test correlation-aware logging methods.
src/amazon-translate-mcp-server/tests/test_logging_config.py:390
Function
test_log_with_request_id_critical
Test log_with_request_id with CRITICAL level.
src/eks-mcp-server/tests/test_logging_helper.py:61
Method
test_log_with_request_id_critical
Test that log_with_request_id logs at the CRITICAL level with the request ID.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:76
Function
test_log_with_request_id_debug
Test log_with_request_id with DEBUG level.
src/eks-mcp-server/tests/test_logging_helper.py:31
Method
test_log_with_request_id_debug
Test that log_with_request_id logs at the DEBUG level with the request ID.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:44
Function
test_log_with_request_id_error
Test log_with_request_id with ERROR level.
src/eks-mcp-server/tests/test_logging_helper.py:54
Method
test_log_with_request_id_error
Test that log_with_request_id logs at the ERROR level with the request ID.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:68
Function
test_log_with_request_id_info
Test log_with_request_id with INFO level.
src/eks-mcp-server/tests/test_logging_helper.py:38
Method
test_log_with_request_id_info
Test that log_with_request_id logs at the INFO level with the request ID.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:52
Function
test_log_with_request_id_warning
Test log_with_request_id with WARNING level.
src/eks-mcp-server/tests/test_logging_helper.py:45
Method
test_log_with_request_id_warning
Test that log_with_request_id logs at the WARNING level with the request ID.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:60
Function
test_log_with_request_id_with_kwargs
Test log_with_request_id with additional kwargs.
src/eks-mcp-server/tests/test_logging_helper.py:70
Method
test_log_with_request_id_with_kwargs
Test that log_with_request_id passes kwargs to the logger.
src/aws-dataprocessing-mcp-server/tests/utils/test_logging_helper.py:86
Method
test_logger_property
Test logger property creates logger with correct name.
src/amazon-translate-mcp-server/tests/test_logging_config.py:365
Method
test_logger_property_caching
Test logger property caches logger instance.
src/amazon-translate-mcp-server/tests/test_logging_config.py:378
Method
test_logging_code_paths
Test code paths that involve logging.
src/openapi-mcp-server/tests/test_coverage_boost.py:129
Method
test_logging_configuration
Test logging configuration.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3229
Method
test_logging_configuration
Test that logging is properly configured.
src/aws-network-mcp-server/tests/test_server.py:157
Method
test_logging_default_level
Test that logging uses default level when not specified.
src/aws-documentation-mcp-server/tests/test_server.py:92
Method
test_logging_setup
Test that logging is set up correctly.
src/aws-documentation-mcp-server/tests/test_server.py:75
Method
test_logic
()
src/ecs-mcp-server/tests/unit/test_main.py:294
Method
test_logs_error_response
(self)
src/aws-transform-mcp-server/tests/test_audit.py:210
Method
test_logs_exception_and_reraises
(self)
src/aws-transform-mcp-server/tests/test_audit.py:236
Method
test_logs_exception_with_function_name
Decorator should log exception with function name.
src/dynamodb-mcp-server/tests/test_common.py:186
Method
test_logs_found
Test when CloudWatch logs are found.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_logs.py:42
Method
test_logs_invocation_and_returns_result
(self)
src/aws-transform-mcp-server/tests/test_audit.py:194
Method
test_long_cell_truncated_in_preview_only
A long cell is shortened in the preview but stored in full.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils_bounded_handle.py:245
Method
test_long_description_truncation
Descriptions longer than 200 chars are truncated with ellipsis.
src/roda-mcp-server/tests/test_server.py:375
Method
test_long_name_returns_error_and_api_never_called
Names exceeding max length return a validation error without calling the API.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:103
Method
test_long_name_truncated
Very long element names are truncated.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:188
Method
test_long_page_is_paginated_like_read_documentation
The first page and the start_index hint match read_documentation's defaults.
src/aws-documentation-mcp-server/tests/test_server_utils.py:2223
Method
test_long_poll_limit_falls_back_to_plain_polling
The account-wide waiting-request limit must not fail a statement that is running.
src/redshift-mcp-server/tests/test_redshift.py:801
Method
test_long_polling_can_be_disabled
Zero means the parameter is omitted, not sent as zero.
src/redshift-mcp-server/tests/test_redshift.py:786
Method
test_long_polls_both_the_submit_and_each_describe
The long poll is what keeps a fast batch down to one round trip.
src/redshift-mcp-server/tests/test_redshift.py:765
Method
test_long_preceding_assignment_within_bound_is_handled
A 100-char REPEAT() expression in slot 1 still leaves slot 2 detectable. Pins that the 500-char wildcard bound is comfortable for rea
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:751
Method
test_long_range_3600s
> 24 hours picks a 3600s period.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:46
Method
test_long_start_month_allows_a_31_day_span
A 31-day span starting in a 31-day month is accepted. Verified against the live API: 2026-01-31 to 2026-03-03 succeeds. The cap track
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:828
Method
test_long_string_gets_marker
A string over the cap keeps its first PREVIEW_CELL_MAX_CHARS characters and a marker.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils_bounded_handle.py:102
Method
test_long_value
Should extract longValue.
src/mysql-mcp-server/tests/test_server_helpers.py:31
Method
test_long_value_truncated
Textbox with value longer than 50 chars is truncated.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:258
Method
test_long_zero
Should return 0 for longValue=0.
src/mysql-mcp-server/tests/test_server_helpers.py:65
Method
test_lookalike_host_blocked
A host that merely contains the allowed domain as a substring is not allowed.
src/aws-documentation-mcp-server/tests/test_util.py:77
Method
test_looks_like_rds_endpoint
Only standard RDS DNS endpoints are treated as id-derivable.
src/db2-mcp-server/tests/test_server.py:1127
Method
test_looks_like_sensitive_value_high_entropy
Test values with high entropy.
src/aws-serverless-mcp-server/tests/test_data_scrubber.py:357
Method
test_looks_like_sensitive_value_low_entropy
Test values with low entropy.
src/aws-serverless-mcp-server/tests/test_data_scrubber.py:363
Method
test_looks_like_sensitive_value_pattern_matches
Test values matching sensitive patterns.
src/aws-serverless-mcp-server/tests/test_data_scrubber.py:350
Method
test_looks_like_sensitive_value_short_values
Test that short values are not considered sensitive.
src/aws-serverless-mcp-server/tests/test_data_scrubber.py:256
Method
test_lookup_by_aws_engine_string
DatabaseType('aurora-mysql') resolves to AURORA_MYSQL. This is the lookup the CLI uses when the user passes --db_type aurora-mysql.
src/mysql-mcp-server/tests/test_db_connection_map.py:75
Method
test_lookup_events_basic
Test basic lookup_events functionality.
src/cloudtrail-mcp-server/tests/test_tools.py:128
Method
test_lookup_events_different_region
Test lookup_events with different AWS region.
src/cloudtrail-mcp-server/tests/test_tools.py:201
Method
test_lookup_events_error_handling
Test lookup_events general AWS API error handling.
src/cloudtrail-mcp-server/tests/test_tools.py:381
Method
test_lookup_events_max_results_boundary
Test lookup_events max_results boundary conditions.
src/cloudtrail-mcp-server/tests/test_tools.py:1241
Method
test_lookup_events_pagination_invalid_time_format_error
Test lookup_events with invalid time format during pagination raises ValueError.
src/cloudtrail-mcp-server/tests/test_tools.py:361
Method
test_lookup_events_pagination_missing_both_times_error
Test lookup_events with next_token but missing both start_time and end_time raises ValueError.
src/cloudtrail-mcp-server/tests/test_tools.py:344
Method
test_lookup_events_pagination_missing_end_time_error
Test lookup_events with next_token but missing end_time raises ValueError.
src/cloudtrail-mcp-server/tests/test_tools.py:325
Method
test_lookup_events_pagination_missing_start_time_error
Test lookup_events with next_token but missing start_time raises ValueError.
src/cloudtrail-mcp-server/tests/test_tools.py:306
Method
test_lookup_events_with_all_attributes
Test lookup_events with all possible attribute keys.
src/cloudtrail-mcp-server/tests/test_tools.py:1213
Method
test_lookup_events_with_filters
Test lookup_events with attribute filters.
src/cloudtrail-mcp-server/tests/test_tools.py:155
Method
test_lookup_events_with_next_token
Test lookup_events with next_token for pagination (requires both start_time and end_time).
src/cloudtrail-mcp-server/tests/test_tools.py:219
Method
test_lookup_events_with_next_token_and_filters
Test lookup_events with both next_token and attribute filters.
src/cloudtrail-mcp-server/tests/test_tools.py:248
Method
test_lookup_events_with_time_range
Test lookup_events with specific time range.
src/cloudtrail-mcp-server/tests/test_tools.py:180
Method
test_lookup_events_without_next_token_in_response
Test lookup_events when response doesn't include NextToken (last page).
src/cloudtrail-mcp-server/tests/test_tools.py:284
Method
test_lookup_is_case_sensitive
Engine strings are lowercase per AWS RDS API. Mixed-case must fail. Pinning to AWS's canonical lowercase prevents confusion in error
src/mysql-mcp-server/tests/test_db_connection_map.py:94
Method
test_lookup_with_unknown_value_raises
Unknown engine strings must raise ValueError, not return None.
src/mysql-mcp-server/tests/test_db_connection_map.py:85
Method
test_loopback_emits_no_exposure_warning
A loopback host binds silently with no fronting-auth warning.
src/aws-healthomics-mcp-server/tests/test_transport_exposure.py:172
Method
test_loopback_literals_are_classified_as_loopback
IPv4 127.0.0.0/8 and IPv6 ::1 literals classify as loopback.
src/aws-healthomics-mcp-server/tests/test_config.py:334
Method
test_low_density_returns_none
Test that low density (≤50%) data returns NONE.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:40
Function
test_lower_precedence_applies_when_higher_does_not
When the highest-precedence mechanism does not apply, the next one is used.
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:241
Method
test_lowercase_leading_verb_is_detected
Case-insensitive: lowercase leading verb still fires.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1041
Method
test_lowercase_set_is_rejected
Case-insensitive: lowercase ``set`` still fires.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:657
Method
test_lpush_and_lrange
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:156
Function
test_main
Test the main function.
src/well-architected-security-mcp-server/tests/test_server.py:527
Function
test_main
Test the main function.
src/well-architected-security-mcp-server/tests/test_server_coverage.py:69
Method
test_main
Test the main function.
src/aws-documentation-mcp-server/tests/test_server_aws.py:1410
Method
test_main
Test the main function.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:437
Method
test_main
Test main function.
src/amazon-qindex-mcp-server/tests/test_server.py:372
Method
test_main_accepts_zero_for_int_args
0 is a valid, documented value for max_rows/query_timeout_s/login_timeout_s.
src/db2-mcp-server/tests/test_server.py:916
Function
test_main_allow_write_query_flag_sets_write_mode
--allow_write_query disables readonly mode.
src/mssql-mcp-server/tests/test_server_extended.py:757
Method
test_main_as_script
Test the __main__ block.
src/aws-serverless-mcp-server/tests/test_server.py:235
Method
test_main_as_script_entry_point
Test main function works as script entry point.
src/aws-network-mcp-server/tests/test_server.py:197
Function
test_main_both_service_name_and_sid_exits
Passing both --service_name and --sid exits with code 1.
src/oracle-mcp-server/tests/test_coverage.py:314
Function
test_main_calls_mcp_run
Verify main() calls mcp.run().
src/security-agent-mcp-server/tests/test_main.py:20
Method
test_main_calls_mcp_run
Test that main() calls mcp.run().
src/aws-iac-mcp-server/tests/test_server.py:309
Method
test_main_calls_run
Test main function calls mcp.run().
src/aws-for-sap-management-mcp-server/tests/test_main.py:24
Function
test_main_cli_log_level_overrides_env_var
An explicit --log-level wins over LOG_LEVEL.
src/openapi-mcp-server/tests/test_log_level_env.py:73
← previous
next →
24,901–25,000 of 35,417, ranked by callers