Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
test_map_error_without_response
Test mapping of error without response attribute.
src/amazon-translate-mcp-server/tests/test_exceptions.py:252
Method
test_map_known_aws_error
Test mapping of known AWS error codes.
src/amazon-translate-mcp-server/tests/test_exceptions.py:212
Method
test_map_throttling_error_with_retry_after
Test mapping of throttling error with retry_after.
src/amazon-translate-mcp-server/tests/test_exceptions.py:229
Method
test_map_to_metrics_insights_statistic_invalid
Test mapping invalid statistic for Metrics Insights.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:195
Method
test_map_unknown_aws_error
Test mapping of unknown AWS error codes.
src/amazon-translate-mcp-server/tests/test_exceptions.py:242
Method
test_mapper_initialization
Test AccessPatternMapper initialization.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:72
Method
test_mapping_includes_filter_expression
Test mapping includes filter_expression for patterns that have one.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:152
Method
test_mapping_includes_filter_expression_when_present
Test that mapping includes filter_expression when pattern has one.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:411
Method
test_mapping_omits_filter_expression_when_absent
Test mapping omits filter_expression for patterns without one.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:159
Method
test_mapping_omits_filter_expression_when_absent
Test that mapping omits filter_expression when pattern has none.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:452
Method
test_mapping_preserves_all_conditions
Test mapping preserves all filter conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_codegen.py:165
Method
test_mapping_preserves_filter_expression_structure
Test that the full filter_expression structure is preserved in mapping.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:476
Method
test_maps_all_value_types_to_data_api_record_shape
Str / bool / int / float / bytes / None / fallback are each mapped.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:885
Method
test_maps_and_sorts_rows
Rows map to {operation, exception, exception_type, count}, sorted by count.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:255
Method
test_maps_ap_regions_to_ap_south_1
Test that Asia Pacific regions map to ap-south-1.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:174
Method
test_maps_cn_regions_to_cn_northwest_1
Test that China regions map to cn-northwest-1.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:162
Method
test_maps_eu_me_af_regions_to_eu_central_1
Test that EU, Middle East, and Africa regions map to eu-central-1.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:167
Method
test_maps_fields
Notification fields map to their snake_case equivalents.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:634
Method
test_maps_other_regions_to_us_east_1
Test that all other regions (us-*, sa-*, ca-*) map to us-east-1.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:180
Method
test_maps_tenant_token_header_to_authorization
A request with only the tenant-token header gains an Authorization header.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:65
Function
test_markdown_formatter_initialization
Test MarkdownFormatter initialization.
src/dynamodb-mcp-server/tests/test_markdown_formatter.py:158
Method
test_marker_absent_from_detected_section
detected_section is read after cells are marked, so it is joined too.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1517
Method
test_marker_absent_from_table_heading
table_heading is joined, so no marker reaches the caller.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1511
Method
test_masking_blanks_string_contents_but_keeps_code
Test that string contents are blanked while surrounding code remains.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3094
Method
test_masking_does_not_treat_slashes_in_strings_as_comments
Test that // inside a literal is data, so following code stays visible.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3100
Method
test_masking_preserves_length_and_line_structure
Test that masking keeps offsets and newlines aligned with the input.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:3087
Method
test_match_file_path
Test file path matching.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:123
Method
test_match_file_path_edge_cases
Test edge cases for file path matching.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:144
Method
test_match_is_case_insensitive
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:479
Method
test_match_metadata_edge_cases
Test metadata matching edge cases.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:352
Method
test_match_result
Test Match result.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:172
Method
test_match_tags
Test tag matching.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:156
Method
test_match_tags_edge_cases
Test edge cases for tag matching.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:182
Method
test_match_with_correct_resource_type
Test matching with correct resource type.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_failure_cases.py:23
Method
test_match_without_operation_filter
Test matching without operation filter.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_failure_cases.py:59
Method
test_match_without_resource_type_filter
Test matching without resource type filter.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_failure_cases.py:49
Method
test_matched_endpoint_malformed_port_raises
A malformed AWS port on the matching endpoint fails closed (no 3306 guess).
src/mysql-mcp-server/tests/test_endpoint_validation.py:161
Method
test_matched_endpoint_missing_port_raises
A missing AWS port on the matching endpoint fails closed.
src/mysql-mcp-server/tests/test_endpoint_validation.py:171
Method
test_matches_any_column
Query can match in any column, not just Name.
src/aws-documentation-mcp-server/tests/test_table_utils.py:248
Method
test_matches_any_endpoint_or_database_for_cluster
A match is found regardless of the stored endpoint or database. Regression guard for the original is_database_connected bug where the
src/mysql-mcp-server/tests/test_db_connection_map.py:618
Method
test_matches_any_method_for_cluster
A match is found regardless of which connection method was used.
src/mysql-mcp-server/tests/test_db_connection_map.py:606
Method
test_matches_basename_at_root_too
A root-level artifact with a folderless path still matches (agent-side uploads).
src/aws-transform-mcp-server/tests/test_load_instructions.py:119
Function
test_matches_bucket_pattern
Test matches bucket pattern.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:176
Method
test_matches_file_type_filter
Test file type filter matching.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:505
Method
test_matches_file_type_filter_aliases
Test file type filter matching with aliases.
src/aws-healthomics-mcp-server/tests/test_file_type_detector.py:356
Method
test_matches_file_type_filter_case_insensitive
Test file type filter is case insensitive.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1318
Method
test_matches_file_type_filter_case_insensitive
Test file type filter matching is case insensitive.
src/aws-healthomics-mcp-server/tests/test_file_type_detector.py:373
Method
test_matches_file_type_filter_category_match
Test file type filter matching with category matches.
src/aws-healthomics-mcp-server/tests/test_file_type_detector.py:338
Method
test_matches_file_type_filter_exact_match
Test file type filter with exact match.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1303
Method
test_matches_file_type_filter_exact_match
Test file type filter matching with exact type matches.
src/aws-healthomics-mcp-server/tests/test_file_type_detector.py:323
Method
test_matches_file_type_filter_no_filter
Test file type filter with no filter specified.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1308
Method
test_matches_file_type_filter_no_match
Test file type filter with no match.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1313
Method
test_matches_file_type_filter_unknown_file
Test file type filter matching with unknown files.
src/aws-healthomics-mcp-server/tests/test_file_type_detector.py:388
Method
test_matches_search_terms
Test search terms matching.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:519
Method
test_matches_search_terms_empty_search_terms
Test search term matching with empty search terms.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:1479
Method
test_matches_search_terms_metadata
Test search term matching against metadata.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:465
Method
test_matches_search_terms_metadata_with_none_values
Test _matches_search_terms_metadata with None values in metadata.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:1925
Method
test_matches_search_terms_no_match
Test search term matching with no matches.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1346
Method
test_matches_search_terms_no_match
Test search term matching with no matches.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:1467
Method
test_matches_search_terms_path_and_tags
Test search term matching with both path and tags.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1323
Method
test_matches_search_terms_tags_only
Test search term matching with tags only.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1335
Method
test_matches_search_terms_with_name_and_metadata
Test search term matching with name and metadata.
src/aws-healthomics-mcp-server/tests/test_healthomics_search_engine.py:1454
Method
test_matching_array_pk_passes
Array partition_key with same-length array pk_template — no error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:670
Method
test_matching_array_sk_passes
Array sort_key with same-length array sk_template — no error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:677
Method
test_matching_hostname
Test that matching hostname returns the secret host.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:280
Method
test_matching_rule_with_full_permissions
Test when matching rule exists with full HealthOmics permissions.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:665
Method
test_matching_string_pk_passes
String partition_key with string pk_template — no error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:663
Method
test_matching_tags
Test filtering functions with matching tags.
src/lambda-tool-mcp-server/tests/test_server.py:195
Function
test_matrix_covers_a_meaningful_number_of_statements
Guard against the matrix silently emptying out. A refactor that renamed or moved the corpora could leave the parametrized cells with almost n
src/postgres-mcp-server/tests/test_policy_matrix.py:315
Method
test_matrix_is_complete
Every DatabaseType value has a row in SUPPORTED_CONNECTION_METHODS. Adding a new engine without updating the matrix would silently make
src/mysql-mcp-server/tests/test_db_connection_map.py:150
Function
test_matrix_set1_reads_permitted_through_run_query
Cells (1, read-only) and (1, write): reads reach the connection in both modes.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:340
Function
test_matrix_set2_writes_permitted_in_write_mode_through_run_query
Cell (2, write): the same writes reach the connection once writes are enabled.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:354
Function
test_matrix_set2_writes_rejected_in_read_only_mode_through_run_query
Cell (2, read-only): every write is refused before the connection is used.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:347
Function
test_matrix_set3_dangerous_rejected_through_run_query
Cells (3, read-only) and (3, write): dangerous constructs never reach the DB.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:362
Function
test_matrix_set4_fail_closed_rejected_through_run_query
Cells (4, read-only) and (4, write): unclassifiable input is refused in both.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:370
Method
test_max_agent_iterations_passed_through
The agent iteration cap is forwarded when supplied.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:209
Method
test_max_items_invalid_type_handling
Test max_items parameter when invalid type is passed.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:66
Method
test_max_items_limit
Test max items limit.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:105
Method
test_max_items_none_handling
Test max_items parameter when None is passed - covers line 109.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:43
Method
test_max_items_validation_invalid
Test max_items parameter validation with invalid values.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:57
Method
test_max_items_validation_valid
Test max_items parameter validation with valid values.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:38
Method
test_max_length_each_part
Test that each part at exactly MAX_IDENTIFIER_BYTES is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1405
Method
test_max_length_identifier
Test that an identifier at exactly MAX_IDENTIFIER_BYTES is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1400
Method
test_max_pages_limit
max_pages caps the number of pages fetched and reports has_more.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:527
Method
test_max_pages_next_token
Test next_token returned when max_pages reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:650
Method
test_max_pages_next_token
Test next_token returned when max_pages reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:750
Method
test_max_pages_next_token
Test next_token returned when max_pages reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1119
Method
test_max_pages_next_token
Test next_token returned when max_pages reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1173
Method
test_max_pages_stops_early
max_pages caps the number of requests and reports more remaining.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:655
Method
test_max_pages_stops_early_and_reports_more
Stopping at the page limit is reported rather than looking complete.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:255
Method
test_max_pages_stops_early_and_reports_the_token
Stopping short is reported, so a truncated recommendation cannot read as complete.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:273
Function
test_max_pages_without_next_token_omits_token_from_first_request
When max_pages is set but next_token is None, the first boto3 request must not carry a token.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1160
Method
test_max_queries_cap_warning
When query history hits max_queries cap, a warning should be emitted.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1076
Function
test_max_results
Test that max results are set correctly based on config and parameters.
src/aws-api-mcp-server/tests/aws/test_services.py:23
Method
test_max_results_and_next_token_forwarded
max_results and next_token are forwarded to the request.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:152
Method
test_max_results_and_next_token_forwarded
max_results and next_token are forwarded to the request.
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:121
Method
test_max_results_boundary_conditions
Test max_results validation edge cases.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_usage_tools_new.py:372
Method
test_max_results_boundary_minimum
Test max_results boundary condition with minimum value (1).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:350
Method
test_max_results_boundary_negative_clamped
Test max_results boundary condition with negative value (should be clamped to 1).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:402
Method
test_max_results_boundary_validation
Test max_results boundary validation.
src/healthimaging-mcp-server/tests/test_validation_edge_cases.py:49
← previous
next →
23,401–23,500 of 32,024, ranked by callers