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
Method
test_last_insert_id_empty_parens_with_spaces_is_allowed
``LAST_INSERT_ID( )`` is still the no-arg read form.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1609
Method
test_last_insert_id_no_arg_is_allowed
``LAST_INSERT_ID()`` (no arg) is a benign read and must be allowed.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1600
Method
test_last_insert_id_with_arg_is_blocked
``LAST_INSERT_ID(expr)`` sets the session value (side effect) — blocked.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1605
Method
test_last_modified_normalized_to_iso
The LastModified datetime is normalized to an ISO 8601 string.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:122
Method
test_last_month_is_allowed_on_the_first
A period ending today (the 1st) is complete.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1604
Method
test_last_refresh_timestamp_matches_list_recommendations
get_recommendation formats lastRefreshTimestamp the same way list_recommendations does.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1235
Method
test_latency_dedup_by_day
Latency incidents with the same operation and day collapse to one.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1363
Method
test_latency_incident
Mark a latency incident and add a latency note.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:634
Method
test_latency_with_call_tree_note
A latency incident with a call_path gets the bottleneck latency note.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1457
Method
test_later_level_one_line_is_not_the_page_title
Only the first h1 names the page; an unescaped '# of hosts' paragraph names nothing.
src/aws-documentation-mcp-server/tests/test_util.py:1031
Function
test_later_manifest_is_read_not_the_first_days_folder
Day 2's query reads day 2's folder, though the table was created over day 1's.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:2228
Method
test_later_page_failure_keeps_earlier_periods
A failure after the first page returns the periods read so far, marked partial.
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:244
Method
test_later_page_failure_returns_partial_result
A failure after the first page keeps the activities already read, marked partial.
src/billing-cost-management-mcp-server/tests/tools/test_free_tier_plan_operations.py:265
Method
test_latest_deployment_dt_none_on_error_or_empty
Query failure or no parseable timestamps yields None.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1294
Method
test_latest_deployment_dt_picks_newest
_latest_deployment_dt returns the newest parseable deployment timestamp.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1276
Function
test_latest_efficiency_point_none_when_no_timestamped_points
No point (empty list, or points without a timestamp) yields None.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1981
Method
test_launch_reason_names_date_and_fallback
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:218
Method
test_lazily_creates_bucket
Calls _ensure_s3_bucket when bucket not yet configured.
src/security-agent-mcp-server/tests/test_server.py:943
Method
test_lazy_creates_threat_model_bucket
When threat_model_s3_bucket missing, _ensure_s3_bucket creates+registers it.
src/security-agent-mcp-server/tests/test_server.py:1015
Method
test_leading_block_comment_then_verb_is_detected
``/* header */ COMMIT`` — sqlparse strips the comment, verb still leads.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1049
Method
test_leading_callout_is_not_its_own_value
A cell opening with a callout yields two values, not three.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1783
Method
test_leading_comment_or_ws_does_not_hide_verb
``<prefix><verb>`` is still detected regardless of the prefix form.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1529
Method
test_leading_digit_is_prefixed
A name starting with a digit is prefixed so it can start an identifier.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:658
Method
test_leading_dot
Test that a leading dot returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2171
Method
test_leading_dot
Test that leading dot is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2382
Method
test_leading_literal_and_bare_dollar_are_safe
A literal at index 0 and a bare $ (positional param) must not crash or misfire. Exercises the boundary-helper edges: a single quote at the ve
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:724
Method
test_leading_semicolon_before_deny_keyword_is_rejected
Leading semicolons cannot smuggle a deny-listed keyword past the guard.
src/redshift-mcp-server/tests/test_sql_guard.py:189
Method
test_leading_underscore
Test parsing an unquoted name starting with underscore.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1920
Method
test_leading_underscore
Test that a name starting with underscore is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2250
Method
test_leading_utility_verbs_are_still_caught
The mutating spelling of each utility verb is statement-initial, and blocked. This is the other half of the leading-verb split: anchoring mus
src/db2-mcp-server/tests/test_mutable_sql_detector.py:183
Method
test_leading_whitespace_is_handled
Leading whitespace/newlines before the verb do not hide it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1045
Method
test_leap_day_bound_keeps_the_start_time_of_day
The 1 March bound carries the start's time of day, not midnight. Verified live from a 2024-02-29T12:00:00 start: 2029-03-01T11:59:59 is
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:461
Method
test_leap_day_start_resolves_forward_to_1_march
A 29 February start has no counterpart five years on. The service resolves it FORWARD to 1 March, not back to 28 February. Verified l
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:423
Method
test_least_privilege_role_allowed
A non-superuser role passes without raising.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:188
Method
test_leave_with_userId_defaulting_to_none
Omit userId for 'leave' — should be None so the 'userId must not be provided' check passes.
src/aws-transform-mcp-server/tests/test_field_defaults.py:302
Method
test_leave_without_confirm_defaults_to_none
Omit confirm for 'leave' — should be None (falsy), triggering validation error.
src/aws-transform-mcp-server/tests/test_field_defaults.py:326
Method
test_ledger_offloads_one_row_per_record
A large ledger becomes a table with one row per allocation record.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1287
Method
test_legacy_fallback_infers_code_capture_without_wrapper_key
Legacy fallback infers code capture without wrapper key.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_capture.py:77
Method
test_legacy_suffixed_url
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:99
Method
test_legitimate_comments_not_flagged
Legitimate use of comments in benign queries should not trigger false positives.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1569
Method
test_legitimate_filename_unchanged
(self)
src/aws-transform-mcp-server/tests/test_file_validation.py:144
Function
test_legitimate_multi_union_not_flagged
Multiple UNION clauses in a query should not be flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:37
Method
test_legitimate_query_not_flagged
(self, sql, reason)
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1534
Method
test_legitimate_read_queries
Test that legitimate read queries are properly allowed.
src/aws-dataprocessing-mcp-server/tests/utils/test_sql_analyzer.py:393
Method
test_legitimate_readonly_queries_are_allowed
These were all rejected before the two-form normalization and leading-verb split.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:162
Function
test_legitimate_select_query_allowed
Test that legitimate SELECT queries are allowed when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:889
Method
test_legitimate_subheading_still_used
A normal h4 outside a callout remains the table_heading.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1433
Function
test_legitimate_union_all_select_not_flagged
A legitimate UNION ALL SELECT query should not be flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:30
Function
test_legitimate_union_select_not_flagged
A legitimate UNION SELECT query should not be flagged as injection.
src/mssql-mcp-server/tests/test_injection_false_positives.py:23
Function
test_legitimate_union_select_not_flagged
Legitimate UNION SELECT is not flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1042
Method
test_length_constraints
Test length validation (1-20 characters).
src/ecs-mcp-server/tests/unit/utils/test_security.py:56
Method
test_length_difference_penalty
Test penalty for very different lengths.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:207
Method
test_length_limit
Policies at the max length pass; one character more is rejected.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1832
Method
test_less_than_equal
Test customizing less_than_equal error.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:455
Method
test_level_four_section
Shaped on the DevOps Agent authentication page, which lists an h4 title.
src/aws-documentation-mcp-server/tests/test_util.py:919
Method
test_level_line_level_when_line_number_set
Level reports LINE-LEVEL when a line_number is present.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3193
Method
test_level_one_line_does_not_end_a_deeper_section
The unescaped '# of hosts' paragraph is text inside an h3 section too.
src/aws-documentation-mcp-server/tests/test_util.py:992
Method
test_level_one_line_does_not_end_a_section
Converted HTML leaves a paragraph starting with '#' unescaped; it is section text.
src/aws-documentation-mcp-server/tests/test_util.py:847
Method
test_level_one_title_selects_the_whole_page
Search recommends the page title, which is an h1.
src/aws-documentation-mcp-server/tests/test_util.py:891
Method
test_level_six_titles_match_but_are_not_offered
An h6 callout title can be read by name, but a miss never suggests one.
src/aws-documentation-mcp-server/tests/test_util.py:1080
Method
test_level_three_section_at_end_of_document
Shaped on the AppSync resolvers tutorial, which ends on an h3.
src/aws-documentation-mcp-server/tests/test_util.py:935
Method
test_level_three_section_ends_at_the_next_level_three
An h3 section stops at its sibling, not at the end of its h2.
src/aws-documentation-mcp-server/tests/test_util.py:904
Method
test_level_three_section_keeps_its_subsections
Deeper headings belong to the section, so the h3 runs to the next h2.
src/aws-documentation-mcp-server/tests/test_util.py:909
Method
test_lifespan_browser_without_code_interpreter
Lifespan manages browser cleanup when code interpreter is not registered.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:356
Method
test_lifespan_cleans_up_on_exception
Lifespan cleans up even when body raises.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:272
Method
test_lifespan_code_interpreter_cleanup_no_browser
Lifespan calls code interpreter cleanup on exit (no browser).
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:269
Method
test_lifespan_does_not_call_add_signal_handler
Regression for #2752: lifespan must not call loop.add_signal_handler. On Windows the default ProactorEventLoop raises NotImplementedError fro
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:318
Method
test_lifespan_no_browser_no_code_interpreter
Lifespan yields cleanly when no services registered.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:258
Method
test_lifespan_with_browser_and_code_interpreter
Lifespan manages browser cleanup task and code interpreter cleanup.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:283
Method
test_lifespan_with_browser_disabled
With browser disabled (_browser_cm is None), yields cleanly.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:262
Method
test_lifespan_with_browser_enabled
With browser enabled: signal handlers registered, cleanup on exit.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:245
Method
test_light_theme_background_in_build
Test that light theme produces a white background rect.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:328
Method
test_light_theme_default
Test that light theme is the default.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:303
Method
test_light_theme_does_not_use_dark_colors
Test that light theme does not use dark theme colors.
src/aws-healthomics-mcp-server/tests/test_gantt_generator.py:481
Method
test_light_theme_line_default_stroke
Test that light theme lines default to dark axis color.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:358
Method
test_light_theme_title_text_color
Test that light theme title uses dark text color.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:340
Method
test_lightweight_non_equality_penalty
Account-level lightweight analysis should penalize non-equality fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1028
Method
test_limit
(self)
src/valkey-mcp-server/tests/test_search_aggregate.py:86
Method
test_limit_caps_results
The limit parameter caps the number of summaries returned.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:377
Method
test_limit_does_not_cut_a_complete_result
A result that ends before the time limit is complete, with no warning.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:388
Method
test_limit_exceeded_exception
Test handling of LimitExceededException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5333
Method
test_limit_param_forwarded
Limit parameter should be passed to start_query.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:878
Method
test_limit_respected
Limit caps the number of results.
src/roda-mcp-server/tests/test_server.py:424
Method
test_limit_respected
Limit caps related results.
src/roda-mcp-server/tests/test_server.py:483
Method
test_limit_respected
Limit caps number of results.
src/roda-mcp-server/tests/test_server.py:633
Method
test_line_breaks_alone_are_not_content
A body of <br> converts to spaces and newlines, which is not prose.
src/aws-documentation-mcp-server/tests/test_util.py:1311
Method
test_line_captures_with_locals_args_return_and_throwable
Line captures aggregate locals, arguments, return values, and throwables.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1756
Method
test_line_comment
Line comments are stripped.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:413
Method
test_line_explicit_stroke_overrides_theme
Test that an explicit stroke color overrides the theme default.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:364
Method
test_line_int_coercion
A numeric line label is coerced to int.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:195
Method
test_line_non_int_falls_back_to_raw
A non-integer line label falls back to the raw string value.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:206
Method
test_line_number_below_one_reports_error
A line_number below 1 produces a range error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1878
Method
test_line_throwable_non_list_stacktrace_counts_zero
A line throwable with non-list stacktrace reports zero frames.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1794
Method
test_linear_scaling_with_item_count
Doubling item_count doubles WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_write_items.py:120
Method
test_linear_scaling_with_item_count
Doubling item_count exactly doubles RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_get_items.py:115
Method
test_linear_scaling_with_item_count
Doubling item_count exactly doubles RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_get_item.py:105
Method
test_linear_scaling_with_item_count
Doubling item_count doubles WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_write_item.py:104
Method
test_linear_scaling_with_item_count
Doubling item_count must double RCUs when item_size is RCU-aligned.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_query.py:157
Method
test_link_local_blocked
Test link-local range (AWS IMDS) is blocked.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:72
Method
test_link_preservation
Links in cells are preserved as markdown.
src/aws-documentation-mcp-server/tests/test_table_utils.py:195
← previous
next →
23,801–23,900 of 35,417, ranked by callers