Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
test_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
Method
test_backslash_escape_attempt
Test that backslash escape attempt returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1300
Method
test_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
Method
test_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
Function
test_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
Method
test_backtick
Test that backtick-quoted identifier is rejected (MySQL syntax, not PostgreSQL).
src/postgres-mcp-server/tests/test_server_internal_functions.py:1516
Method
test_backtick_fields
SQL backtick-quoted fields should be extracted.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:216
Method
test_backtick_hash_identifiers_are_allowed
Backtick identifiers containing ``#`` are benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1746
Method
test_backtick_injection
Test that backtick injection attempt is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1619
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_backward_compat_when_expected_host_none
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:490
Method
test_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
Method
test_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
Method
test_balanced_default
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:114
Method
test_bam_index_alternative_naming
Test BAM file with alternative BAI naming convention.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:70
Method
test_bam_index_associations
Test BAM file and BAI index associations.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:53
Method
test_bare_double_dot
Reject bare '..' path.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:63
Method
test_bare_list_wraps_in_uploaded_file
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:579
Method
test_bare_name
(self)
src/aws-transform-mcp-server/tests/test_guidance_nudge.py:77
Method
test_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
Method
test_bare_s3_prefix
Reject 's3://' with no bucket or key.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:126
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_base64_decode_failure
Test error when resolving definition source fails.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1893
Method
test_base64_round_trip
Test encoding and decoding round trip.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:596
Method
test_base_auth_provider_config_validation
Test BaseAuthProvider config validation.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:97
Method
test_base_auth_provider_error_handling
Test BaseAuthProvider error handling.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:64
Method
test_base_auth_provider_initialization
Test BaseAuthProvider initialization.
src/openapi-mcp-server/tests/auth/test_base_auth_coverage.py:28
Method
test_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
Function
test_base_response
Test BaseResponse model.
src/billing-cost-management-mcp-server/tests/test_models.py:57
Method
test_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
Method
test_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
Method
test_basic
Offerings page through searchResults.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:287
Method
test_basic
Offering rates page through searchResults.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:395
Method
test_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
Method
test_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
Method
test_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
Method
test_basic
Generations page through GenerationSummaryList.
src/billing-cost-management-mcp-server/tests/tools/test_sp_recommendation_tools.py:458
Method
test_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
Method
test_basic
Analyses page through AnalysisSummaryList.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:288
Method
test_basic
Test Basic.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:74
Method
test_basic_aggregate
(self, mock_client)
src/valkey-mcp-server/tests/test_search_aggregate.py:112
Method
test_basic_auth_not_configured
Test handling of basic auth not configured.
src/openapi-mcp-server/tests/test_server_auth_errors.py:38
Method
test_basic_call
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_list_resources.py:75
Method
test_basic_call
Test basic call to list_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:164
Method
test_basic_call
Test basic call to get_recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:254
Method
test_basic_call
Test basic call to list_recommendation_summaries.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:328
Method
test_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
Method
test_basic_call
Test basic call to get_cost_and_usage.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:274
Method
test_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
Method
test_basic_call
Test basic call to get_dimension_values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:534
Method
test_basic_call
Test basic call to get_cost_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:628
Method
test_basic_call
Test basic call to get_usage_forecast.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:738
Method
test_basic_call
Test basic call to get_savings_plans_utilization.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:978
Method
test_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
Method
test_basic_call
Test basic call to get_ebs_volume_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:423
Method
test_basic_call
Test basic call to get_lambda_function_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:486
Method
test_basic_call
Test basic call to get_rds_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:606
Method
test_basic_call
Test basic call to get_idle_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:686
Method
test_basic_call
Test basic call to get_ecs_service_recommendations.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1802
Method
test_basic_decode
(self)
src/valkey-mcp-server/tests/test_search_query.py:68
Method
test_basic_describe
Test basic log group description.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:71
Method
test_basic_error
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:149
Method
test_basic_exception
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:170
Method
test_basic_exception_creation
Test basic exception creation.
src/amazon-translate-mcp-server/tests/test_exceptions.py:75
Method
test_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
Method
test_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
Method
test_basic_formatting
Test basic log record formatting.
src/amazon-translate-mcp-server/tests/test_logging_config.py:94
Method
test_basic_functionality_comprehensive_history_false
Test basic functionality with comprehensive_history=False (ListServiceStates).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:106
Method
test_basic_functionality_comprehensive_history_true
Test basic functionality with comprehensive_history=True (ListEntityEvents).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:56
Method
test_basic_imports
Test basic imports work.
src/ccapi-mcp-server/tests/test_server.py:96
Method
test_basic_init
Should initialize with basic parameters.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:35
Method
test_basic_match
Return details for the exact-matching function record.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:819
Method
test_basic_merge
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:364
Method
test_basic_operation
Test creating a basic operation prompt.
src/openapi-mcp-server/tests/prompts/standalone/test_secure_operation_prompt.py:31
Function
test_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
Function
test_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
Function
test_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
Method
test_basic_protocol
Test basic MCP protocol functionality — server starts and registers all tools.
src/aws-transform-mcp-server/tests/test_integ_basic.py:86
Method
test_basic_protocol
Test basic MCP protocol functionality.
src/aws-documentation-mcp-server/tests/test_integ_basic.py:67
Method
test_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
Method
test_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
Method
test_basic_run_selector
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:119
Method
test_basic_schema_conversion
Test basic schema conversion.
src/s3-tables-mcp-server/tests/test_file_processor_utils.py:29
Method
test_basic_segment
A minimal segment yields name and computed duration_ms.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:87
Method
test_basic_table_extraction
Extracts a table from a section correctly.
src/aws-documentation-mcp-server/tests/test_table_utils.py:118
Method
test_basic_trace
A single-segment trace parses with no errors/faults.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:290
Function
test_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
Function
test_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
Function
test_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
← previous
next →
10,701–10,800 of 32,024, ranked by callers