MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_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
Methodtest_matches_search_terms_tags_only
Test search term matching with tags only.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:1335
Methodtest_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
Methodtest_matches_tracked_cluster_entry
The cluster entry has no TargetHealth, so requiring it would reject Aurora.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2276
Methodtest_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:671
Methodtest_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:678
Methodtest_matching_column_count_is_accepted
The guard must not fire when the row genuinely has every column.
src/db2-mcp-server/tests/test_ibm_db_connection.py:404
Methodtest_matching_hostname
Test that matching hostname returns the secret host.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:280
Methodtest_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
Methodtest_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:664
Methodtest_matching_tags
Test filtering functions with matching tags.
src/lambda-tool-mcp-server/tests/test_server.py:195
Functiontest_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
Methodtest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_max_agent_iterations_passed_through
The agent iteration cap is forwarded when supplied.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:209
Methodtest_max_items_allows_a_further_full_page
A second page is fetched when even a full one cannot pass max_items.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:969
Methodtest_max_items_and_next_token
max_items sizes the page; a remaining token marks the result partial.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:209
Methodtest_max_items_and_next_token
max_items sizes the page; a remaining token marks the result partial.
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:163
Methodtest_max_items_and_next_token
max_items sizes the page and next_token continues a previous call.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_plan_operations.py:205
Methodtest_max_items_applies_per_region
Each region stops at max_items on its own and its token joins the bundle.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:3158
Methodtest_max_items_below_one_is_rejected
A max_items below 1 is a validation error, before any call is made.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:515
Methodtest_max_items_below_one_is_validation_error
max_items < 1 is rejected in both modes, before any API call.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:2361
Methodtest_max_items_forwarded_to_paginator
An explicit max_items is forwarded to the paginator, not the request params.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:605
Methodtest_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
Methodtest_max_items_limit
Test max items limit.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:105
Methodtest_max_items_next_token
Test next_token returned when max_items is reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:658
Methodtest_max_items_next_token
Test next_token returned when max_items is reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:758
Methodtest_max_items_next_token
Test next_token returned when max_items is reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1127
Methodtest_max_items_next_token
Test next_token returned when max_items is reached.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1181
Methodtest_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
Methodtest_max_items_sizes_the_page
max_items below the page maximum becomes the requested page size.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:583
Methodtest_max_items_sizes_the_page_within_api_limits
max_items below 1 is rejected; otherwise it sizes the page within the API's 1000 limit.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_usage_tools_new.py:356
Methodtest_max_items_stop_marks_summary_partial
Stopping at max_items returns the token and the partial-data warning.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_usage_tools_new.py:420
Methodtest_max_items_stops_and_continuation_matches
max_items stops after a page; the continuation resends the request with the token.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1542
Methodtest_max_items_stops_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:314
Methodtest_max_items_stops_and_returns_service_token
max_items sizes the page and stops once reached, returning the service token.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3394
Methodtest_max_items_stops_and_returns_service_token
max_items asks for the remainder and stops once reached, with the service token.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_operations.py:1748
Methodtest_max_items_stops_and_returns_service_token
With max_items the call stops once it is reached and returns the service token.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:2175
Methodtest_max_items_stops_and_returns_the_token
max_items sizes the page and the service token comes back.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:587
Methodtest_max_items_stops_and_returns_the_token
max_items sizes the page and the service token is returned for continuation.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1286
Methodtest_max_items_stops_and_returns_the_token
max_items sizes the page, and the service token comes back for continuation.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:631
Methodtest_max_items_stops_before_a_5000_value_page
Pages hold up to 5,000 values, so max_items below that stops after one page.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:954
Methodtest_max_items_stops_before_a_page_that_could_exceed_it
max_items stops once another full page could pass it; the token leads the result.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:460
Methodtest_max_items_stops_before_exceeding
max_items sizes the page and stops once reached, returning the service token.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:163
Methodtest_max_items_stops_before_exceeding
max_items sizes the page and stops once reached, returning the service token.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:1082
Methodtest_max_items_stops_before_exceeding
max_items sizes the page and stops once it is reached, returning the token.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:947
Methodtest_max_items_stops_before_exceeding
max_items sizes the page and stops once reached, returning the service token.
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:194
Methodtest_max_items_stops_before_exceeding_it
max_items sizes the page and stops once it is reached, returning the token.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1169
Methodtest_max_items_stops_before_the_next_page
Once max_items is reached the walk stops and returns the service token.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:789
Methodtest_max_items_stops_early_and_reports_more
Stopping at max_items is reported rather than looking complete.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:276
Methodtest_max_items_validation_invalid
Test max_items parameter validation with invalid values.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:57
Methodtest_max_items_validation_valid
Test max_items parameter validation with valid values.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:38
Functiontest_max_items_without_next_token_omits_token_from_first_request
With max_items but no next_token, the first request carries no token or page size.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:2002
Methodtest_max_items_zero_is_rejected
max_items below 1 is a validation error and no request is sent.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_plan_operations.py:239
Methodtest_max_items_zero_is_rejected_before_any_call
max_items below 1 is a validation error and no request is sent.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:380
Methodtest_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:2327
Methodtest_max_length_identifier
Test that an identifier at exactly MAX_IDENTIFIER_BYTES is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2322
Methodtest_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
Functiontest_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
Methodtest_max_results_boundary_minimum
Test max_results boundary condition with minimum value (1).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:350
Methodtest_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
Methodtest_max_results_boundary_validation
Test max_results boundary validation.
src/healthimaging-mcp-server/tests/test_validation_edge_cases.py:49
Methodtest_max_results_boundary_zero_clamped
Test max_results boundary condition with zero (should be clamped to 1).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:376
Methodtest_max_results_passed_to_api
Test that max_results parameter is passed to the AWS API.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1365
Methodtest_max_results_passed_to_api
Test that max_results parameter is passed to the AWS API.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3432
Methodtest_max_results_validation_and_clamping
Test max_results parameter validation and clamping.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:187
Methodtest_max_retries_exceeded
Test behavior when max retries are exceeded.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:804
Methodtest_max_rows_caps_results
Test search_table_impl caps returned rows at max_rows.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1136
Functiontest_max_rows_is_forwarded_to_the_driver
The row cap must reach execute_query, not just post-slice the result. Nothing asserted the forwarding: passing max_rows=0 to the driver left the
src/db2-mcp-server/tests/test_ibm_db_connection.py:991
Methodtest_max_rows_is_forwarded_to_the_driver
run_query must pass the configured max_rows down to execute_query. Nothing asserted the forwarding: hardcoding max_rows=0 at the execute_quer
src/db2-mcp-server/tests/test_server.py:208
Methodtest_max_rows_truncates_fetch
Fetching stops at max_rows + 1.
src/db2-mcp-server/tests/test_ibm_db_connection.py:421
Methodtest_max_rows_zero_is_forwarded_as_zero
max_rows=0 ("no limit") must also be forwarded verbatim, not silently changed.
src/db2-mcp-server/tests/test_server.py:224
Methodtest_max_savings
MAX_SAVINGS still requires SavingsPlansToAdd and a lookback window.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:119
Methodtest_max_size
Test that the cache respects max size.
src/openapi-mcp-server/tests/auth/test_auth_cache.py:80
Methodtest_max_two_results
Test Max two results.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:376
Methodtest_max_wait_seconds_out_of_range_is_rejected_locally
An out-of-range wait is a validation error, and the analysis is not fetched.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:564
Functiontest_mcp_call_accepts_structured_and_json_string_params
metrics, group_by, and filter reach boto3 as list/dict whether sent structured or as JSON strings (#4553).
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1484
Functiontest_mcp_call_accepts_structured_filter_for_forecast
A structured filter is accepted by operations that only take filter (#4553).
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1512
Methodtest_mcp_call_tool_client_error_not_found
Test MCP call_tool with ClientError ResourceNotFoundException - covers lines 588-596.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:49
Methodtest_mcp_call_tool_client_error_unknown
Test MCP call_tool with unknown ClientError - covers lines 588-596.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:111
Methodtest_mcp_call_tool_client_error_validation_exception
Test MCP call_tool with ClientError ValidationException - covers lines 588-596.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:78
Methodtest_mcp_call_tool_no_credentials_error
Test MCP call_tool with NoCredentialsError - covers lines 597-599.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:138
Methodtest_mcp_call_tool_unexpected_error
Test MCP call_tool with unexpected error - covers lines 600-602.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:161
Methodtest_mcp_call_tool_validation_error
Test MCP call_tool with validation error - covers lines 585-587.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:27
Methodtest_mcp_initialization
Test that the MCP server is initialized correctly.
src/lambda-tool-mcp-server/tests/test_integration.py:20
Methodtest_mcp_initialization
Test that the MCP server is initialized correctly.
src/bedrock-kb-retrieval-mcp-server/tests/test_server.py:32
Methodtest_mcp_initialization
Test that the MCP server is initialized correctly.
src/amazon-sns-sqs-mcp-server/tests/test_server.py:76
Methodtest_mcp_initialization
Test that the MCP server is initialized with the correct parameters.
src/aws-serverless-mcp-server/tests/test_server.py:26
Methodtest_mcp_instance_exists
Test that the MCP instance is properly created.
src/amazon-translate-mcp-server/tests/test_server.py:154
Methodtest_mcp_instance_has_required_attributes
Test that MCP instance has all required attributes.
src/aws-network-mcp-server/tests/test_server.py:149
Methodtest_mcp_is_constructed_with_server_lifespan
Serving uses the lifespan passed to MCPServer, not a direct call. Tests that enter server_lifespan() themselves stay green if the con
src/postgres-mcp-server/tests/test_server_error_handling.py:1007
Methodtest_mcp_list_resources_handler_error
Test MCP list_resources handler error - covers lines 562-565.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:226
Methodtest_mcp_list_resources_handler_success
Test MCP list_resources handler success - covers lines 552-565.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:197
Methodtest_mcp_list_tools_handler
Test MCP list_tools handler - covers line 233.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:184
Methodtest_mcp_read_resource_handler_invalid_uri
Test MCP read_resource handler with invalid URI - covers lines 571-573.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:268
Methodtest_mcp_read_resource_handler_success
Test MCP read_resource handler success - covers lines 570-574.
src/healthlake-mcp-server/tests/test_mcp_integration_coverage.py:242
← previousnext →25,701–25,800 of 35,417, ranked by callers