MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

Methodtest_backslash_dot_dot_windows
r"""Reject '..\\\\windows' style traversal via normpath on any OS.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:83
Methodtest_backslash_escape_attempt
Test that backslash escape attempt returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1300
Methodtest_backslash_escaped_quote_then_hash_then_drop_is_detected
r"""``SELECT 'a\'#b'; DROP TABLE t`` — escaped quote keeps the string open.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1708
Methodtest_backslash_traversal
Reject backslash-based traversal (cross-platform safety). On POSIX, os.path.normpath treats backslashes as literal chars, but the for
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:73
Functiontest_backstop_assertions_hold_for_the_observed_mode_pair
Replay the exact pair of outcomes Aurora produced for one statement. Read-only mode gave ReadOnlySqlTransaction; write mode gave Insufficient
src/postgres-mcp-server/tests/test_e2e_harness_contracts.py:205
Methodtest_backtick
Test that backtick-quoted identifier is rejected (MySQL syntax, not PostgreSQL).
src/postgres-mcp-server/tests/test_server_internal_functions.py:1516
Methodtest_backtick_fields
SQL backtick-quoted fields should be extracted.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:216
Methodtest_backtick_hash_identifiers_are_allowed
Backtick identifiers containing ``#`` are benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1746
Methodtest_backtick_injection
Test that backtick injection attempt is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1619
Methodtest_backticked_keyword_identifiers_are_not_flagged
Backticked identifiers named after keywords are benign reads.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1459
Methodtest_backup_ec2_fallback_failed_with_describe
Test EC2 ARN fallback with FAILED job and describe_backup_job (lines 863-901).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4090
Methodtest_backup_exception_fallback_ec2_failed
Test backup outer exception fallback with FAILED EC2 job (lines 933-952).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4148
Methodtest_backup_fallback_to_ec2_arn
Test backup falls back to EC2 ARN query when no SAP HANA jobs match.
src/aws-for-sap-management-mcp-server/tests/test_health.py:1484
Methodtest_backup_sap_query_exception_fallback
Test backup when SAP HANA query raises exception, falls back to EC2 ARN (lines 842-856).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4042
Methodtest_backward_compat_base64_format
Existing base64 format still works via definition_source. Validates: Requirement Backward Compatibility
src/aws-healthomics-mcp-server/tests/test_workflow_management_resolution.py:398
Methodtest_backward_compat_when_expected_host_none
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:490
Methodtest_backward_compatible_shape_without_extras
No extras / scalars → output shape matches the pre-change contract.
src/aws-transform-mcp-server/tests/test_paginate_all.py:200
Methodtest_bad_deployed_at_skips_hours
A malformed deployed_at is tolerated and hours_since_deployment is omitted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:756
Methodtest_balanced_default
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:114
Methodtest_bam_index_alternative_naming
Test BAM file with alternative BAI naming convention.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:70
Methodtest_bam_index_associations
Test BAM file and BAI index associations.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:53
Methodtest_bare_double_dot
Reject bare '..' path.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:63
Methodtest_bare_list_wraps_in_uploaded_file
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:579
Methodtest_bare_name
(self)
src/aws-transform-mcp-server/tests/test_guidance_nudge.py:77
Methodtest_bare_replace_set_is_detected
``REPLACE t SET ...`` — bare REPLACE (no INTO) is still a mutation.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1037
Methodtest_bare_s3_prefix
Reject 's3://' with no bucket or key.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:126
Methodtest_bare_s3_prefix_rejected
Bare 's3://' URI with no bucket or key is rejected before any S3 API calls. Validates: Requirements S3 Path Format Validation
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:735
Methodtest_bare_string_feature_is_wrapped_into_a_list
The API takes a list, so a bare feature name is wrapped rather than rejected.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:89
Methodtest_bare_type_only_returns_preview
A captured value with only a type returns the type preview.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1623
Methodtest_bare_urls_keep_the_bracket_form
autolinks=True would emit <url> instead of [url](url), changing every bare link.
src/aws-documentation-mcp-server/tests/test_util.py:233
Methodtest_bare_wildcard_matches_any_group
Test that '*' wildcard matches any service with a group (line 68).
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:1650
Methodtest_bare_wildcard_matches_even_empty_fields
Test that '*' wildcard matches via substring check ('' in '' is True).
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:1657
Methodtest_bare_wildcard_no_match_empty_list
Test that '*' wildcard doesn't match when no groups exist.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:1665
Methodtest_base64_decode_failure
Test error when resolving definition source fails.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1893
Methodtest_base64_round_trip
Test encoding and decoding round trip.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:596
Methodtest_base_auth_provider_config_validation
Test BaseAuthProvider config validation.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:97
Methodtest_base_auth_provider_error_handling
Test BaseAuthProvider error handling.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:64
Methodtest_base_auth_provider_initialization
Test BaseAuthProvider initialization.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:28
Methodtest_base_get_recommended_command_fallback
Test that the base class get_recommended_command provides a generic fallback.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:748
Functiontest_base_response
Test BaseResponse model.
src/billing-cost-management-mcp-server/tests/test_models.py:57
Methodtest_basic
Inventory comes back under the API's own key, with pagination metadata.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:151
Methodtest_basic
Rates page through searchResults and keep the plan id on the result.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:224
Methodtest_basic
Offerings page through searchResults.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:287
Methodtest_basic
Offering rates page through searchResults.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:395
Methodtest_basic
The four required parameters reach the API and the response keeps its shape.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:140
Methodtest_basic
The hourly series is returned as the API shapes it.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:392
Methodtest_basic
The refresh takes no parameters and returns the generation identifiers.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:425
Methodtest_basic
Generations page through GenerationSummaryList.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:458
Methodtest_basic
The analysis is fetched by id and returned as the API shapes it.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:256
Methodtest_basic
Analyses page through AnalysisSummaryList.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:288
Methodtest_basic
Test Basic.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:74
Methodtest_basic_aggregate
(self, mock_client)
src/valkey-mcp-server/tests/test_search_aggregate.py:112
Methodtest_basic_auth_not_configured
Test handling of basic auth not configured.
src/openapi-mcp-server/tests/test_server_auth_errors.py:38
Methodtest_basic_call
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_list_resources.py:75
Methodtest_basic_call
Test basic call to list_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:164
Methodtest_basic_call
Test basic call to get_recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:254
Methodtest_basic_call
Test basic call to list_recommendation_summaries.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:328
Methodtest_basic_call
Request params are sent as camelCase and the response is flattened.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1095
Methodtest_basic_call
Test basic call to get_cost_and_usage.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:274
Methodtest_basic_call
Test basic call to get_cost_and_usage_with_resources.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:445
Methodtest_basic_call
Test basic call to get_dimension_values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:534
Methodtest_basic_call
Test basic call to get_cost_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:628
Methodtest_basic_call
Test basic call to get_usage_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:738
Methodtest_basic_call
Test basic call to get_savings_plans_utilization.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:978
Methodtest_basic_call
Test basic call to get_auto_scaling_group_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:351
Methodtest_basic_call
Test basic call to get_ebs_volume_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:423
Methodtest_basic_call
Test basic call to get_lambda_function_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:486
Methodtest_basic_call
Test basic call to get_rds_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:606
Methodtest_basic_call
Test basic call to get_idle_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:686
Methodtest_basic_call
Test basic call to get_ecs_service_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1802
Methodtest_basic_decode
(self)
src/valkey-mcp-server/tests/test_search_query.py:68
Methodtest_basic_describe
Test basic log group description.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:71
Methodtest_basic_error
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:149
Methodtest_basic_exception
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:170
Methodtest_basic_exception_creation
Test basic exception creation.
src/amazon-translate-mcp-server/tests/test_exceptions.py:75
Methodtest_basic_flow_logs_retrieval
Test basic network firewall flow logs retrieval.
src/aws-network-mcp-server/tests/tools/network_firewall/test_get_network_firewall_flow_logs.py:72
Methodtest_basic_flow_logs_retrieval
Test basic VPC flow logs retrieval.
src/aws-network-mcp-server/tests/tools/vpc/test_get_vpc_flow_logs.py:68
Methodtest_basic_formatting
Test basic log record formatting.
src/amazon-translate-mcp-server/tests/test_logging_config.py:94
Methodtest_basic_functionality_comprehensive_history_false
Test basic functionality with comprehensive_history=False (ListServiceStates).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:106
Methodtest_basic_functionality_comprehensive_history_true
Test basic functionality with comprehensive_history=True (ListEntityEvents).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:56
Methodtest_basic_imports
Test basic imports work.
src/ccapi-mcp-server/tests/test_server.py:96
Methodtest_basic_init
Should initialize with basic parameters.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:35
Methodtest_basic_match
Return details for the exact-matching function record.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:819
Methodtest_basic_merge
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:364
Methodtest_basic_operation
Test creating a basic operation prompt.
src/openapi-mcp-server/tests/prompts/standalone/test_secure_operation_prompt.py:31
Functiontest_basic_parse_falls_back_to_ruamel_when_pyyaml_absent
When PyYAML is absent, YAML is parsed via ruamel (prance's own parser). This closes the prescan gap where a YAML spec would be unparseable here y
src/openapi-mcp-server/tests/test_ssrf_protection.py:1345
Functiontest_basic_parse_falls_back_to_ruamel_when_pyyaml_rejects
When PyYAML *rejects* a doc it still falls back to ruamel (prance's parser). A tab after a mapping key is rejected by PyYAML but accepted by ruam
src/openapi-mcp-server/tests/test_ssrf_protection.py:1359
Functiontest_basic_parse_reraises_json_error_when_no_yaml_parser
With neither PyYAML nor ruamel available, non-JSON re-raises the JSON error.
src/openapi-mcp-server/tests/test_ssrf_protection.py:1396
Methodtest_basic_protocol
Test basic MCP protocol functionality — server starts and registers all tools.
src/aws-transform-mcp-server/tests/test_integ_basic.py:86
Methodtest_basic_protocol
Test basic MCP protocol functionality.
src/aws-documentation-mcp-server/tests/test_integ_basic.py:67
Methodtest_basic_query_shape
Builds a sum-by-(operation, exception) sum_over_time query on the count metric.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:229
Methodtest_basic_registry_map_creation
Test basic container registry map creation with discovered caches.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:71
Methodtest_basic_run_selector
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:119
Methodtest_basic_schema_conversion
Test basic schema conversion.
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:29
Methodtest_basic_segment
A minimal segment yields name and computed duration_ms.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:87
Methodtest_basic_table_extraction
Extracts a table from a section correctly.
src/aws-documentation-mcp-server/tests/test_table_utils.py:118
Methodtest_basic_trace
A single-segment trace parses with no errors/faults.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:290
Functiontest_batch_apply_update_action_cache_clusters
Test batch apply update action with cache clusters.
src/elasticache-mcp-server/tests/tools/misc/test_batch_apply_update_action.py:38
Functiontest_batch_apply_update_action_invalid_parameter
Test batch apply update action with invalid parameter.
src/elasticache-mcp-server/tests/tools/misc/test_batch_apply_update_action.py:65
Functiontest_batch_apply_update_action_missing_targets
Test batch apply update action with no targets specified.
src/elasticache-mcp-server/tests/tools/misc/test_batch_apply_update_action.py:87
← previousnext →10,701–10,800 of 32,024, ranked by callers