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_every_mutating_keyword_has_a_payload
The payload table must cover every entry in MUTATING_KEYWORDS. Adding a keyword to MUTATING_KEYWORDS without adding a payload here fails this
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:462
Method
test_every_mutating_keyword_is_detected
Every entry in MUTATING_KEYWORDS has at least one exercised detection case. detect_mutating_keywords is the sole gate for read-only enforceme
src/db2-mcp-server/tests/test_mutable_sql_detector.py:80
Method
test_every_operation_routes_to_its_handler
With no regions, each operation dispatches to its named single-region handler.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1111
Method
test_every_page_is_read
One read returned the first page as though it were the whole answer. The service pages a result set and hands back a NextToken while records
src/redshift-mcp-server/tests/test_redshift.py:898
Method
test_every_page_of_provisioned_clusters_is_read
Read one page, a cluster past it was missing from list_clusters and 'not found'.
src/redshift-mcp-server/tests/test_clusters.py:47
Method
test_every_page_of_serverless_workgroups_is_read
The same for workgroups.
src/redshift-mcp-server/tests/test_clusters.py:60
Method
test_every_page_of_the_result_is_read
Read once, a result longer than a page came back as though it were the whole answer.
src/redshift-mcp-server/tests/test_redshift.py:3811
Method
test_every_page_requests_savings_percentage
A resumed, multi-page fetch asks for SavingsPercentage on every request.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:2806
Method
test_every_parameter_is_forwarded
No parameter is dropped between the tool and the operation.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:235
Method
test_every_provisioned_field_is_mapped
list_clusters reports each field DescribeClusters gives, rather than null.
src/redshift-mcp-server/tests/test_clusters.py:103
Function
test_every_qualified_dangerous_function_is_blocked
Each schema-qualified dangerous function is rejected (both modes).
src/postgres-mcp-server/tests/test_sql_guard.py:346
Method
test_every_query_carries_the_given_type
Each carries the review's identifier and type, so none reaches another warehouse.
src/redshift-mcp-server/tests/test_review_executor.py:230
Method
test_every_reference_the_files_cite_exists_and_the_guide_cites_every_reference
A dangling citation sends the model to a refusal; an uncited reference is never read.
src/redshift-mcp-server/tests/test_server.py:566
Method
test_every_rendered_example_validates_against_input_schema
Each example is valid JSON and satisfies the published input schema.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1943
Method
test_every_row_passed
An empty list, not None: the run was graded and nothing failed.
src/redshift-mcp-server/tests/test_e2e_verdict.py:73
Method
test_every_secret_like_field_in_the_model_is_classified
Independent check of the rule itself, not just of the operation set. Every member of the ECS API model whose name suggests a secret or creden
src/ecs-mcp-server/tests/unit/api/test_resource_management_sensitive_data.py:127
Function
test_every_security_guc_is_blocked
Each security-sensitive GUC is rejected via SET and set_config (both modes).
src/postgres-mcp-server/tests/test_sql_guard.py:354
Function
test_every_slice_read_actually_contains_a_slice_and_a_placeholder
Both halves are needed, or the case does not exercise the interaction.
src/postgres-mcp-server/tests/test_e2e_harness_contracts.py:361
Function
test_every_statement_start_keyword_has_a_payload
The payload table must cover every entry in STATEMENT_START_MUTATING_KEYWORDS. Adding a keyword to the set without adding a payload here fails th
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:927
Function
test_every_stmt_node_is_classified
No statement node type may go unreviewed. Fails when a PostgreSQL upgrade introduces a node type, forcing a decision instead of letting it be
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:230
Method
test_every_submit_carries_its_own_client_token
A submit whose response was lost is retried by botocore, which would write twice.
src/redshift-mcp-server/tests/test_redshift.py:645
Method
test_every_supported_metric_reaches_ce
U11: every documented metric, and its UPPER_SNAKE alias, reaches CE.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1295
Function
test_every_tool_argument_is_used_by_some_operation
A new cost-explorer argument must be added to the table of the operations that send it. Otherwise every operation rejects it.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:3335
Method
test_every_tool_is_annotated_open_world
Every tool calls the AWS API, so all carry ``open_world_hint=True``.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1517
Function
test_every_tool_operation_cross_reference_resolves
A description that points at `<tool> <operation>` must name a real one. A description is the only place these pointers exist, so a renamed operat
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:176
Method
test_every_tool_param_has_schema_description
Every bcm-pricing-calc parameter (excluding ctx) must resolve a description.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2567
Function
test_every_tool_taking_a_cluster_requires_its_type
One identifier can name a provisioned cluster and a workgroup, so alone it picks neither.
src/redshift-mcp-server/tests/test_server.py:433
Function
test_every_unused_argument_is_named_in_one_error
Several unused arguments are reported together, so one retry fixes them all.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:3086
Method
test_everything_else_keeps_confirmation
`false`, empty, and unrecognized values all keep the prompt.
src/redshift-mcp-server/tests/test_settings.py:172
Method
test_everything_pagination_url_is_trusted
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:381
Method
test_everything_pagination_url_uses_token_count_not_caller
Follow-up URL for ``$patient-everything`` also ignores caller count. Same as ``test_search_pagination_url_uses_token_count_not_caller``
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:172
Method
test_exact_4kb_boundaries
Exact 4KB boundaries consume exact RCUs (no ceiling overhead).
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_get_item.py:191
Method
test_exact_blocked_dir_match
(self)
src/aws-transform-mcp-server/tests/test_file_validation.py:27
Method
test_exact_filters_are_documented
The other usage filters are sent as EQUALS; the text-valued ones say case-sensitive.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2508
Method
test_exact_kb_boundaries_consume_exact_wcus
Exact KB boundaries consume exact WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_put_item.py:99
Method
test_exact_kb_boundaries_consume_exact_wcus
Items at exact KB boundaries must consume exactly size/1024 WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_gsi.py:225
Method
test_exact_match
Test exact string matching.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_matching.py:23
Method
test_exact_match
(self)
src/valkey-mcp-server/tests/test_command_runners.py:252
Method
test_exact_match
Test Exact match.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:229
Method
test_exact_match
Test exact match returns 100.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:147
Method
test_exact_match
Test finding exact registry match.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:140
Method
test_exact_match_allowed
Test that exact action match is allowed.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:152
Method
test_exact_match_no_args
(self)
src/valkey-mcp-server/tests/test_command_runners.py:257
Method
test_exact_match_score
Test exact matching algorithm.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:27
Method
test_exact_matches_no_wildcards
Test exact string matching with no wildcards.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3079
Method
test_exact_split
Even split produces equal-sized chunks.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:85
Method
test_exact_stop_with_page_size_param
The last page asks for exactly what is left, and the service token is returned.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:211
Method
test_exactly_50_percent_density_returns_none
Test that exactly 50% density returns NONE.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:48
Method
test_exactly_five_years_is_rejected
The service requires LESS than five years, so an exact span is refused. Verified live: a start of 2021-10-01 with an end of exactly 2026-10-0
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:362
Method
test_exactly_three_parts
Test that exactly three parts is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2354
Method
test_exactly_two_members
Test ScratchStorageMode defines exactly LOCAL and SHARED.
src/aws-healthomics-mcp-server/tests/test_models.py:1154
Method
test_exactly_two_parts
Test that exactly two parts is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2358
Function
test_example_arns_match_the_api_arn_patterns
Placeholder ARNs in the descriptions match the API's ARN patterns. An example with a well-formed ARN fails as not found; a 3-character ID such as
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:1039
Function
test_example_calls_are_valid_arguments
Each one-line example call is JSON that validates against the tool's input schema. An example that passes a JSON string must escape its inner quo
src/billing-cost-management-mcp-server/tests/test_tool_description_lint.py:261
Method
test_example_dates_are_valid_today
Every example date is inside the window Cost Explorer accepts today. The dates are rendered relative to today because literal ones go stale:
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2098
Method
test_example_from_user
Verify a representative real-world example converts correctly.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:78
Function
test_examples_pass_group_by_only_where_it_is_used
No example passes group_by to an operation that rejects it (getUsageForecast Example 3).
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2574
Method
test_exceeds_maximum
Test rejection of batch size exceeding maximum.
src/amazon-translate-mcp-server/tests/test_security_validators.py:318
Function
test_except_blocks_do_not_wrap_in_generic_exceptions
Raising Exception(...) in an except block hides the AWS error code from handle_aws_error. Re-raise the original (`raise`), or raise ValueError /
src/billing-cost-management-mcp-server/tests/test_error_contract_conformance.py:152
Method
test_exception_branch
Test format_datetime with an object whose strftime raises.
src/aws-for-sap-management-mcp-server/tests/test_common.py:59
Method
test_exception_handling
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2700
Method
test_exception_handling
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:3149
Method
test_exception_handling
Test exception handling in describe_log_groups.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:171
Method
test_exception_handling
Test exception handling.
src/amazon-mq-mcp-server/tests/test_server.py:311
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_namespaces.py:82
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_namespaces.py:179
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_namespaces.py:279
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:122
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:195
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:251
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:300
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:356
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:412
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:461
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:522
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:579
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:666
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:724
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_s3_operations.py:114
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:94
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:185
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:242
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:307
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:361
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:427
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:497
Method
test_exception_in_try_except
Test that NeptuneException can be used in a try-except block. This test verifies that: 1. NeptuneException can be raised and caught
src/amazon-neptune-mcp-server/tests/test_exceptions.py:144
Method
test_exception_inheritance
Test that NeptuneException inherits from Exception. This test verifies that: 1. NeptuneException is a subclass of Exception 2.
src/amazon-neptune-mcp-server/tests/test_exceptions.py:124
Method
test_exception_mapping_edge_cases
Test exception mapping edge cases.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:135
Method
test_exception_marks_job_failed_with_redacted_result
On exception, state -> failed and result reveals only the exception type. The async_job_status entry is read by the LLM via get_job_status, s
src/mysql-mcp-server/tests/test_server.py:242
Method
test_exception_on_page_two_propagates
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:97
Method
test_exception_prints_url
(self, _mock_popen, _mock_system, capsys)
src/aws-transform-mcp-server/tests/test_oauth.py:292
Method
test_exception_properties
Test exception properties.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:308
Method
test_exception_returns_error_dict
Decorated function should return error dict on exception.
src/dynamodb-mcp-server/tests/test_common.py:122
Method
test_exception_returns_false_after_log
An exception during the health probe is logged and reported as unhealthy.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:1100
Method
test_exception_returns_zero
Swallow errors from list_services and return zero.
src/cloudwatch-applicationsignals-mcp-server/tests/test_state.py:144
Method
test_exception_stores_available_methods
(self)
src/aws-transform-mcp-server/tests/test_auth_conflict.py:8
Method
test_exception_to_response_conversion
Test complete exception to response conversion.
src/amazon-translate-mcp-server/tests/test_exceptions.py:302
Method
test_exception_with_all_parameters
Test exception creation with all parameters.
src/amazon-translate-mcp-server/tests/test_exceptions.py:87
Method
test_exception_with_arguments_returns_error
Decorated function with args should return error dict on exception.
src/dynamodb-mcp-server/tests/test_common.py:160
← previous
next →
17,901–18,000 of 35,417, ranked by callers