MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_safe_datetime_to_iso_with_string
Test safe_datetime_to_iso with string input.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:722
Methodtest_safe_extract_members_allows_safe_paths
Test safe extraction allows normal file paths.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1545
Methodtest_safe_extract_members_blocks_absolute_paths
Test safe extraction blocks absolute paths.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1565
Methodtest_safe_extract_members_blocks_directory_traversal
Test safe extraction blocks directory traversal sequences.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1582
Methodtest_safe_json_dumps_regular_data
Test JSON serialization with regular data.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:179
Methodtest_safe_json_dumps_with_datetime
Test that safe JSON dumps handles datetime objects.
src/aws-healthomics-mcp-server/tests/test_workflow_analysis.py:620
Methodtest_safe_json_dumps_with_datetime
Test JSON serialization with datetime objects.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:167
Methodtest_safe_path_accepted
Valid path without traversal is accepted.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:106
Functiontest_safe_path_allowed
Test that files within working directory are allowed.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:39
Methodtest_safe_path_not_blocked
(self)
src/aws-transform-mcp-server/tests/test_file_validation.py:42
Methodtest_safe_select_queries
Test that safe SELECT queries don't trigger security checks.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:89
Functiontest_safe_transaction_local_settings_are_allowed_in_read_only_mode
Read-only and isolation-only transaction settings remain compatible.
src/aurora-dsql-mcp-server/tests/test_sql_guard.py:271
Functiontest_safe_write_never_persists_credential_material
Property: Artifacts written to disk never contain Credential_Material verbatim. For any text and any set of registered Credential_Material values
src/aws-healthomics-mcp-server/integration/harness_tests/test_artifact_writer_property.py:77
Methodtest_sam_build_failure
Test SAM build failure.
src/aws-serverless-mcp-server/tests/test_sam_build.py:132
Methodtest_sam_build_general_exception
Test SAM build with a general exception.
src/aws-serverless-mcp-server/tests/test_sam_build.py:166
Methodtest_sam_build_success
Test successful SAM build.
src/aws-serverless-mcp-server/tests/test_sam_build.py:28
Methodtest_sam_build_with_optional_params
Test SAM build with optional parameters.
src/aws-serverless-mcp-server/tests/test_sam_build.py:75
Methodtest_sam_build_with_parallel_default
Test SAM build with default parallel parameter (True).
src/aws-serverless-mcp-server/tests/test_sam_build.py:200
Methodtest_sam_build_with_parallel_disabled
Test SAM build with parallel parameter set to False.
src/aws-serverless-mcp-server/tests/test_sam_build.py:244
Methodtest_sam_deploy_allow_write_false
Test SAM deployment when allow_write is False.
src/aws-serverless-mcp-server/tests/test_sam_deploy.py:210
Methodtest_sam_deploy_failure
Test SAM deployment failure.
src/aws-serverless-mcp-server/tests/test_sam_deploy.py:142
Methodtest_sam_deploy_general_exception
Test SAM deployment with a general exception.
src/aws-serverless-mcp-server/tests/test_sam_deploy.py:176
Methodtest_sam_deploy_success
Test successful SAM deployment.
src/aws-serverless-mcp-server/tests/test_sam_deploy.py:28
Methodtest_sam_deploy_with_optional_params
Test SAM deployment with optional parameters.
src/aws-serverless-mcp-server/tests/test_sam_deploy.py:77
Methodtest_sam_init_failure
Test SAM initialization failure.
src/aws-serverless-mcp-server/tests/test_sam_init.py:139
Methodtest_sam_init_general_exception
Test SAM initialization with a general exception.
src/aws-serverless-mcp-server/tests/test_sam_init.py:176
Methodtest_sam_init_success
Test successful SAM initialization.
src/aws-serverless-mcp-server/tests/test_sam_init.py:28
Methodtest_sam_init_with_optional_params
Test SAM initialization with optional parameters.
src/aws-serverless-mcp-server/tests/test_sam_init.py:86
Methodtest_sam_local_invoke_failure
Test SAM local invoke failure.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:270
Methodtest_sam_local_invoke_non_json_output
Test SAM local invoke with non-JSON output.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:235
Methodtest_sam_local_invoke_success
Test successful SAM local invoke.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:27
Methodtest_sam_local_invoke_with_event_data
Test SAM local invoke with event data.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:116
Methodtest_sam_local_invoke_with_event_file
Test SAM local invoke with event file.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:74
Methodtest_sam_local_invoke_with_optional_params
Test SAM local invoke with optional parameters.
src/aws-serverless-mcp-server/tests/test_sam_local_invoke.py:180
Methodtest_sam_logs_failure
Test SAM logs retrieval failure.
src/aws-serverless-mcp-server/tests/test_sam_logs.py:120
Methodtest_sam_logs_general_exception
Test SAM logs retrieval with a general exception.
src/aws-serverless-mcp-server/tests/test_sam_logs.py:151
Methodtest_sam_logs_success
Test successful SAM logs retrieval.
src/aws-serverless-mcp-server/tests/test_sam_logs.py:26
Methodtest_sam_logs_with_optional_params
Test SAM logs retrieval with optional parameters.
src/aws-serverless-mcp-server/tests/test_sam_logs.py:69
Functiontest_same_code_about_another_argument_is_unchanged
With a caller next_token, the code stays the service's error when it names another argument.
src/billing-cost-management-mcp-server/tests/utilities/test_caller_token_error_codes.py:312
Functiontest_same_code_on_a_later_page_keeps_the_retry_token
On a later page the code is an ordinary failure: the result is partial and resumable.
src/billing-cost-management-mcp-server/tests/utilities/test_caller_token_error_codes.py:300
Functiontest_same_code_without_caller_token_is_unchanged
Without a caller next_token the code is the service's own error, raised unchanged.
src/billing-cost-management-mcp-server/tests/utilities/test_caller_token_error_codes.py:289
Methodtest_same_date_bounds_cover_the_whole_day
published_after and published_before on one date span that whole day.
src/amazon-bedrock-agentcore-mcp-server/tests/web_search/test_unit_search.py:103
Methodtest_same_month_twice_rejected_without_aws_call
CE rejects a baseline equal to the comparison period.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1120
Methodtest_same_named_identifier_is_not_blocked
A column/table named like a function (no following ``(``) is not flagged.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1618
Methodtest_same_parent_value_distinct_blocks
Two adjacent rowspan blocks with same parent value are separate groups.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1307
Methodtest_same_service_different_profiles_cached_together
Test that clients for the same service are cached together regardless of profile.
src/eks-mcp-server/tests/test_aws_helper.py:241
Methodtest_same_service_different_regions_cached_together
Test that clients for the same service are cached together regardless of region.
src/eks-mcp-server/tests/test_aws_helper.py:202
Methodtest_same_source_target_raises_error
Test that same source and target language raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:682
Methodtest_sample_and_update_value_generation
Test sample and update value generation for all field types.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_sample_generators.py:168
Functiontest_sample_documents_exist
Test that sample documents are generated and exist.
src/document-loader-mcp-server/tests/test_document_parsing.py:675
Methodtest_sample_handles_naive_timestamp
get_sample_snapshot_for_breakpoint accepts a naive timestamp.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3514
Methodtest_sample_output_error_branch
An Error sample query renders the ERROR envelope.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2532
Methodtest_sample_output_invalid_message_json_yields_empty_snapshot
A small result with invalid JSON @message yields an empty sample snapshot.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2634
Methodtest_sample_output_large_snapshot_uses_parsed_summary
A >10KB snapshot with include_raw=False is replaced by a parsed summary.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2594
Methodtest_sample_output_no_results_branch
A Complete status with no results renders NO_SNAPSHOTS_FOUND.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2579
Methodtest_sample_output_non_complete_status_branch
A non-Complete, non-error status renders a passthrough envelope.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2564
Methodtest_sample_output_timeout_branch
A Polling Timeout sample query renders the TIMEOUT envelope.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2548
Methodtest_sample_rejects_bad_timestamp
get_sample_snapshot_for_breakpoint validates the timestamp too.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1341
Methodtest_sample_rejects_invalid_location_hash
get_sample_snapshot rejects a non-hex location_hash before querying.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3570
Methodtest_sample_renders_single_snapshot
A single completed result renders a SUCCESS sample-snapshot response.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1351
Functiontest_sample_summary_uses_only_summary_members
The list fixture carries only ProcurementPortalPreferenceSummary members (plus the secret).
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:88
Functiontest_sandbox_enforced_under_ci_env_end_to_end
End-to-end: an out-of-base absolute read is denied even with CI env set. This exercises the real enforcement path (validate_file_path -> _is_
src/document-loader-mcp-server/tests/test_server.py:1001
Methodtest_sanitization_invariant
Property: Sanitization invariant. For any string set as the AGENT env var, get_agent_value() returns either None or a non-empty strin
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:944
Methodtest_sanitize_access_key
Test access key sanitization.
src/aws-appsync-mcp-server/tests/test_helpers.py:42
Methodtest_sanitize_account_id
Test account ID sanitization.
src/aws-appsync-mcp-server/tests/test_helpers.py:30
Methodtest_sanitize_arn
Test ARN sanitization.
src/aws-appsync-mcp-server/tests/test_helpers.py:36
Methodtest_sanitize_dict
Test sanitizing a dictionary.
src/ecs-mcp-server/tests/unit/utils/test_response_sanitization.py:37
Methodtest_sanitize_list
Test sanitizing a list.
src/ecs-mcp-server/tests/unit/utils/test_response_sanitization.py:65
Methodtest_sanitize_multiple_patterns
Test multiple sensitive patterns in one message.
src/aws-appsync-mcp-server/tests/test_helpers.py:48
Methodtest_sanitize_name_already_valid
Test handling already valid names.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:59
Methodtest_sanitize_name_complex_cases
Test complex combinations of sanitization rules.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:93
Methodtest_sanitize_name_edge_cases
Test edge cases for name sanitization.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:75
Methodtest_sanitize_name_invalid_chars
Test replacing invalid characters with underscores.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:27
Methodtest_sanitize_name_numeric_start
Test handling names that start with numbers.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:44
Methodtest_sanitize_name_prefix_removal
Test removing prefix from state machine name.
src/stepfunctions-tool-mcp-server/tests/test_sanitize_tool_name.py:16
Functiontest_sanitize_real_cfn_validation_response
Test sanitization of realistic CloudFormation validation response.
src/aws-iac-mcp-server/tests/test_sanitizer.py:123
Methodtest_sanitize_resource_name_empty_string
Test sanitization of empty string resource name.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:187
Methodtest_sanitize_resource_name_long_string
Test sanitization truncates long strings.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:199
Methodtest_sanitize_resource_name_starts_with_number
Test sanitization when name starts with number.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:193
Functiontest_sanitize_session_name_falls_back_when_empty
_sanitize_session_name falls back to a default when nothing usable remains.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:256
Functiontest_sanitize_session_name_replaces_invalid_chars
_sanitize_session_name produces a valid, bounded RoleSessionName.
src/aws-healthomics-mcp-server/tests/test_inbound_jwt_exchange.py:247
Methodtest_sanitize_string
Test sanitizing a string.
src/ecs-mcp-server/tests/unit/utils/test_response_sanitization.py:11
Methodtest_sanitize_string
Test string sanitization.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:416
Methodtest_sanitize_tool_name_edge_cases
Test edge cases for tool name sanitization.
src/lambda-tool-mcp-server/tests/test_server_coverage.py:154
Functiontest_sanitize_tool_response_filters_unicode_tags
Test that unicode tags are filtered in full pipeline.
src/aws-iac-mcp-server/tests/test_sanitizer.py:113
Functiontest_sanitize_tool_response_filters_zero_width_chars
Test that zero-width characters are filtered in the full pipeline.
src/aws-iac-mcp-server/tests/test_sanitizer.py:79
Functiontest_sanitize_tool_response_full_pipeline
Test complete sanitization pipeline.
src/aws-iac-mcp-server/tests/test_sanitizer.py:102
Functiontest_sanitized_exception_all_file_exceptions_with_path_are_covered
Test that all built-in file-related exceptions that include path in their message are covered. These are the OSError subclasses that set the file
src/aws-api-mcp-server/tests/common/test_errors.py:97
Functiontest_sanitized_exception_does_not_leak_file_path
Test that SanitizedException does not leak file paths from the original exception.
src/aws-api-mcp-server/tests/common/test_errors.py:63
Functiontest_sanitized_exception_is_exception
Test that SanitizedException is an Exception subclass.
src/aws-api-mcp-server/tests/common/test_errors.py:91
Functiontest_sanitized_exception_resolves_most_specific_message
Test that SanitizedException resolves the most specific safe message via MRO. FileNotFoundError inherits from OSError, but should match its own e
src/aws-api-mcp-server/tests/common/test_errors.py:82
Functiontest_sanitized_exception_stores_original
Test that SanitizedException stores the original exception.
src/aws-api-mcp-server/tests/common/test_errors.py:69
Functiontest_sanitized_exception_uses_default_message_for_unknown_type
Test that SanitizedException uses a default message for unmapped exception types.
src/aws-api-mcp-server/tests/common/test_errors.py:76
Functiontest_sanitized_exception_uses_safe_message
Test that SanitizedException maps known exception types to safe messages.
src/aws-api-mcp-server/tests/common/test_errors.py:38
Methodtest_sap_hana_backup_failed_with_describe
Test backup with FAILED status triggers describe_backup_job (lines 807-819).
src/aws-for-sap-management-mcp-server/tests/test_health.py:3988
Methodtest_sap_hana_backup_type_query
Test that backup queries SAP HANA on Amazon EC2 resource type.
src/aws-for-sap-management-mcp-server/tests/test_health.py:1428
Methodtest_sap_hana_failed_job_no_status_message
Test SAP HANA FAILED job without StatusMessage triggers describe (lines 1600-1641).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4476
Methodtest_sap_hana_failed_job_with_describe
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2891
Methodtest_sap_hana_jobs_found
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2871
Methodtest_save_analysis_files_creation_error
Test save_analysis_files when folder creation fails.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:364
← previousnext →30,201–30,300 of 35,417, ranked by callers