MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_nothing_is_asked_when_no_approval_is_due
None of these calls is due an approval.
src/redshift-mcp-server/tests/test_server.py:237
Methodtest_nothing_is_claimed_when_both_halves_answered
With discovery complete, not found is the whole truth and needs no qualification.
src/redshift-mcp-server/tests/test_clusters.py:828
Methodtest_nothing_read_here_tells_the_caller_to_run_the_statement_again
This does not know whether the statement ran; the callers that do already say. Appended to `_report_staged_statement` or `_report_write_outco
src/redshift-mcp-server/tests/test_redshift.py:1014
Methodtest_nothing_to_redact_leaves_the_transcript_alone
A run with no assumed-role configuration collects no values.
src/redshift-mcp-server/tests/test_e2e_verdict.py:128
Methodtest_nova_default_dimensions
(self)
src/valkey-mcp-server/tests/test_embeddings.py:282
Methodtest_nova_model_detection
(self)
src/valkey-mcp-server/tests/test_embeddings.py:294
Methodtest_nul_character
Test that a NUL character inside a quoted identifier returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2103
Methodtest_nul_in_quoted
Test that NUL character in quoted identifier is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2414
Methodtest_null_auth_provider_methods
Test NullAuthProvider methods.
src/openapi-mcp-server/tests/auth/test_auth_provider_additional.py:10
Methodtest_null_bytes_rejected
Paths containing null bytes are always rejected with ValueError. Validates: Requirements Path Security Null Bytes
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:177
Methodtest_null_false_not_null
Should not treat isNull=False as null.
src/mysql-mcp-server/tests/test_server_helpers.py:57
Methodtest_null_value
Should return None for isNull cells.
src/mysql-mcp-server/tests/test_server_helpers.py:23
Methodtest_null_values
Should handle null values in records.
src/mysql-mcp-server/tests/test_server_helpers.py:118
Methodtest_nullable_preservation
Test that nullable property is preserved.
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:110
Methodtest_num_fields_failure_falls_back_to_fetching
If num_fields raises, fall back to fetching (prior behavior, correct for SELECT).
src/db2-mcp-server/tests/test_ibm_db_connection.py:412
Methodtest_number_subpath
Setting a number at a sub-path.
src/valkey-mcp-server/tests/integration/test_aggregate_json_live.py:203
Methodtest_numbered_section_with_empty_items_returns_empty
An empty items sequence yields an empty numbered section.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3163
Methodtest_numeric_first_character
Test handling numeric first character.
src/lambda-tool-mcp-server/tests/test_server.py:65
Methodtest_numeric_prefixed_tokens_excluded
Tokens starting with digits (5m, 1h, 30s) should not be extracted.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:114
Methodtest_numeric_tautology_is_detected
OR 1=1 must remain blocked.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:230
Methodtest_numeric_value
A numeric value string is parsed to float.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:145
Methodtest_numerical_stability_with_constant_values
Test numerical stability with constant values.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:384
Methodtest_nw_stop_client_error
Test cascade stop when NW stop raises ClientError.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:691
Methodtest_nw_stop_operation_error
Test cascade stop when NW stop operation returns ERROR.
src/aws-for-sap-management-mcp-server/tests/test_applications.py:752
Functiontest_observation_only_functions_stay_allowed
Reads that resemble mutators must not be swept into the denylist.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:945
Methodtest_octal_ip_encoding_blocked
Test octal IP encoding is blocked.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:111
Methodtest_off_adds_keyword
Disabling validation adds SSLClientHostnameValidation=OFF.
src/db2-mcp-server/tests/test_ibm_db_connection.py:249
Methodtest_off_allowlist_redirect_blocked
A redirect whose target is off the allowlist (IMDS) is rejected.
src/aws-documentation-mcp-server/tests/test_util.py:91
Methodtest_off_connectivity_failure_rejects
Under off, a failed connectivity check still fails fast. The off path now reuses check_connection_health() (which returns False rathe
src/postgres-mcp-server/tests/test_privilege_guardrail.py:302
Methodtest_off_empty_health_result_rejects
Under off, a SELECT 1 that returns no rows is treated as unhealthy.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:315
Methodtest_off_leaves_flag_none
Under off the probe is skipped, so the flag stays None (undetermined).
src/postgres-mcp-server/tests/test_privilege_guardrail.py:399
Methodtest_off_runs_select_1_only
Under off, only SELECT 1 runs (shared health probe); privilege query skipped.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:293
Functiontest_offering_class_enum_matches_botocore_model
Pin Cost Explorer's OfferingClass spelling, which differs from Cost Optimization Hub's.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:2141
Methodtest_offering_rate_filters_omit_product_id
The offering-rate filter names are the five the service accepts.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1479
Functiontest_offline_suite_does_not_import_integration_package
No module under ``tests/`` imports the ``integration`` package. Validates: Requirements Harness location and offline isolation.
src/aws-healthomics-mcp-server/integration/harness_tests/test_structural_isolation.py:91
Methodtest_offload_denormalizes_groups_to_rows
Grouped response is offloaded: one row per (group, timestamp).
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1764
Methodtest_offload_preserves_guardrail_blocks
time_range and completeness survive an offload.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1313
Methodtest_offload_preserves_next_token
When a large response paginates, the next_token survives the offload.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1616
Methodtest_offload_preserves_no_data_group
A group with an empty series survives offload as one null-metric row.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1815
Methodtest_offload_preserves_ranking_focus_in_performance_mode
A performance-mode ranking that offloads to SQL must still carry ranking_focus. Otherwise the caller loses the cap_hit / PARTIAL VIEW disclos
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1849
Methodtest_offload_preview_has_flattened_columns
Preview rows expose the scalar columns; resource summaries pass through as strings.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1382
Methodtest_offload_returns_table_sentinel
Large response is offloaded to SQLite; caller gets table metadata.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1341
Methodtest_offloaded_event_steps_keep_the_event_region
found_in_region and regions_not_found survive the SQL conversion.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:3081
Methodtest_offloaded_guidance_parses_only_a_sample
An offloaded result is not parsed whole for guidance; only the first products are.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1956
Methodtest_offloaded_products_also_carry_the_hint
A response large enough to be offloaded to SQL keeps varying_attributes and the hint.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1912
Methodtest_offset_is_converted_to_utc
An explicit offset is converted to UTC.
src/amazon-bedrock-agentcore-mcp-server/tests/web_search/test_unit_search.py:51
Methodtest_old_paging_parameters_are_gone
The tool schema exposes max_items and next_token, not max_results/max_pages.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:347
Methodtest_old_queries_filtered_out
Queries older than 30 days should be excluded.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:508
Methodtest_oldest_allowed_start_is_today_minus_38_months
CE rejects a start before today minus 38 months, to the day.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1592
Methodtest_ollama_provider
(self)
src/valkey-mcp-server/tests/test_config.py:122
Methodtest_omits_hint_when_none_applies
No hint key is added for the default.
src/billing-cost-management-mcp-server/tests/utilities/test_error_contract.py:214
Methodtest_omits_unset_optional_parameters
Unset optional parameters are absent from the request.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:254
Methodtest_omitted_arguments_round_trip_to_omitted
Omitted arguments round trip to omitted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_capture.py:93
Methodtest_omitted_credit_id_is_absent
No creditId parameter is sent when the caller omits it.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1181
Functiontest_omitted_filter_sends_no_filter
Omitting the filter still means no filter: the request carries none.
src/billing-cost-management-mcp-server/tests/tools/test_empty_filter.py:138
Functiontest_omitted_lower_bound_slice_treated_consistently
``a[:n]`` is rewritten by both layers, so they stay consistent. Both treat it as a placeholder. The result parses either way, and the guard i
src/postgres-mcp-server/tests/test_named_params.py:153
Methodtest_omitted_max_items_fetches_everything
An omitted max_items reaches the operation as None, which fetches every page.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:257
Methodtest_omitted_params_not_in_request
Omitted optional parameters do not appear in the request.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:820
Methodtest_omitted_region_uses_aws_region_env
With no region, AWS_REGION is queried and echoed.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3624
Methodtest_omitted_region_without_env_defaults_to_us_east_1
With no region and no AWS_REGION, us-east-1 is queried and echoed.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3634
Methodtest_omitted_required_fields_are_left_out_of_the_config
A missing field is left out entirely, so botocore names it rather than typing None. The API rejects the empty configuration; the point of thi
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:292
Methodtest_on_allowlist_redirect_allowed
A same-domain canonicalization redirect is allowed.
src/aws-documentation-mcp-server/tests/test_util.py:99
Methodtest_one_api_filter_without_a_list_is_refused
A lone {Field, Type, Value} object, in any key case, is not read as three attributes.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:2230
Methodtest_one_byte_over_limit
Test that an identifier one byte over the limit is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2462
Methodtest_one_day_under_five_years_is_allowed
One day short of the bound reaches the API, as it does live.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:383
Methodtest_one_page
max_pages=1 fetches one page at the spec's size and returns the service token.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:430
Methodtest_one_parameter_names_the_action_and_the_transaction
Each parameter both picks the action and carries the name.
src/redshift-mcp-server/tests/test_redshift.py:1730
Methodtest_one_product_has_no_hint
A filter that resolves to one product needs no hint.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1988
Methodtest_one_second_over_five_years_is_rejected
The bound is compared on instants, not on whole days. Together with the two tests above this pins the boundary: a bound of six years,
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:402
Methodtest_one_sided_metrics_note_names_the_empty_run
( self, mock_resolve, mock_client_cls, mock_query )
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:674
Methodtest_one_signal_with_two_recommendations_is_one_finding
Several branches share a signal label, so len(findings) would overcount problems. `definitions.py` emits one row per recommendation, and a si
src/redshift-mcp-server/tests/test_review_executor.py:443
Methodtest_online_no_history
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2788
Methodtest_online_with_backup_history
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2754
Methodtest_only_a_whole_number_above_zero_is_used
Zero or a negative would refuse every result, so each falls back to the default.
src/redshift-mcp-server/tests/test_settings.py:48
Methodtest_only_dot
Test that a single dot returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2181
Methodtest_only_dot
Test that a single dot is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2410
Methodtest_only_exact_operation_values_succeed
Empty, padded, wrong-case and None values are a validation_error; no AWS call.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:159
Methodtest_only_interactable_get_refs
Non-interactable elements (heading, group, navigation) get no refs.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:176
Methodtest_only_one_describe_is_taken_when_the_submit_already_carries_the_ids
The ordinary settled submit must not pay a second round trip for the re-check.
src/redshift-mcp-server/tests/test_redshift.py:3575
Methodtest_only_one_leading_user_prefix_is_stripped
user:user:x adds user:x only; a bare user: adds no empty key.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:691
Methodtest_only_redacts_fields_that_are_present
No keys are invented: an item without value or valueFrom stays as it is.
src/ecs-mcp-server/tests/unit/utils/test_security.py:484
Methodtest_only_system_fields
Queries using only system fields should return no recommendations.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:339
Methodtest_open_ended_window_reports_null_end
An omitted end_date is reported as a null end in the time range.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:265
Methodtest_openai_missing_key_raises
(self)
src/valkey-mcp-server/tests/test_embeddings.py:101
Methodtest_opening_a_read_only_transaction
A read-only caller gets a read-only transaction, so the engine still refuses writes.
src/redshift-mcp-server/tests/test_redshift.py:1833
Methodtest_opening_a_read_write_transaction
A read-write caller gets a writable transaction.
src/redshift-mcp-server/tests/test_redshift.py:1846
Methodtest_opening_an_open_name_is_refused
Silently joining someone else's transaction is the failure mode to avoid.
src/redshift-mcp-server/tests/test_transactions.py:289
Methodtest_opening_is_refused_while_latched
Refused before any name is reserved. The latch can be minutes old, so the refusal says when a grant takes effect. Worded as current,
src/redshift-mcp-server/tests/test_redshift.py:4087
Methodtest_opening_quote_only
Test that a single opening quote returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2108
Methodtest_opening_with_a_first_statement_returns_that_statement
Opening and running the first statement in one call saves a round trip.
src/redshift-mcp-server/tests/test_redshift.py:1859
Methodtest_opening_without_a_statement_reports_the_batch
There is no statement of the caller's to report, so the batch stands in for it.
src/redshift-mcp-server/tests/test_redshift.py:1885
Methodtest_operation_and_environment_filters
Operation and environment add quoted-label matchers to the selector.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:237
Functiontest_operation_cli_name
Test the operation_cli_name property.
src/aws-api-mcp-server/tests/common/test_command.py:19
Functiontest_operation_cli_name_ec2
Test operation_cli_name with operations that have multiple underscores.
src/aws-api-mcp-server/tests/common/test_command.py:31
Functiontest_operation_cli_name_with_s3
Test operation_cli_name with operations that have no underscores.
src/aws-api-mcp-server/tests/common/test_command.py:43
Functiontest_operation_docstring_does_not_offer_the_window_for_several_months
The operation docstring gives the same one-call-per-month guidance as the tool.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1628
Methodtest_operation_filter
Return empty when the operation filter matches nothing.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:181
Methodtest_operation_filter_excludes_non_matching
The operation filter (case-insensitive substring) excludes non-matching ops.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:330
Methodtest_operation_filter_warns_about_variants
CONTAINS on RunInstances also matches the platform variants such as RunInstances:0002.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2517
Methodtest_operation_is_required_in_schema
Operation has no default: the served schema lists it as required.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:133
← previousnext →27,101–27,200 of 35,417, ranked by callers