MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

Methodtest_discover_knowledge_bases_with_custom_tag
Test discovering knowledge bases with a custom tag.
src/bedrock-kb-retrieval-mcp-server/tests/test_discovery.py:64
Methodtest_discover_schemas
Test discover_schemas function.
src/redshift-mcp-server/tests/test_redshift.py:1637
Methodtest_discover_schemas_error
Test error handling in discover_schemas.
src/redshift-mcp-server/tests/test_redshift.py:1691
Methodtest_discover_tables
Test discover_tables function.
src/redshift-mcp-server/tests/test_redshift.py:1702
Methodtest_discover_tables_error
Test error handling in discover_tables.
src/redshift-mcp-server/tests/test_redshift.py:1758
Methodtest_discover_templates
Test discover_templates.
src/aws-serverless-mcp-server/tests/test_template_registry.py:172
Methodtest_discover_templates_directory_not_exists
Test discover_templates when the directory doesn't exist.
src/aws-serverless-mcp-server/tests/test_template_registry.py:237
Methodtest_discover_templates_empty_directory
Test discover_templates with an empty directory.
src/aws-serverless-mcp-server/tests/test_template_registry.py:217
Methodtest_discover_templates_error
Test discover_templates when an error occurs.
src/aws-serverless-mcp-server/tests/test_template_registry.py:253
Methodtest_discover_vpcs_from_cloudformation
Test VPC discovery from CloudFormation stacks.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:311
Methodtest_discover_vpcs_from_cloudformation_deleted_stack
Test VPC discovery from CloudFormation with deleted stacks.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1069
Methodtest_discover_vpcs_from_cloudformation_error
Test discover_vpcs_from_cloudformation with an API error.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:682
Methodtest_discover_vpcs_from_cloudformation_invalid_stack_resource
Test VPC discovery from CloudFormation with invalid resource summary.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1108
Methodtest_discover_vpcs_from_cloudformation_missing_physical_id
Test VPC discovery from CloudFormation with missing PhysicalResourceId.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1143
Methodtest_discover_vpcs_from_cloudformation_pagination
Test VPC discovery with CloudFormation pagination.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:345
Methodtest_discover_vpcs_from_clusters
Test VPC discovery from ECS clusters.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:228
Methodtest_discover_vpcs_from_clusters_empty_detail_value
Test VPC discovery when networkInterfaceId value is empty.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:999
Methodtest_discover_vpcs_from_clusters_network_interface_not_found
Test VPC discovery when networkInterfaceId is not in attachment details.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:962
Methodtest_discover_vpcs_from_clusters_no_tasks
Test VPC discovery when no tasks are found.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:275
Methodtest_discover_vpcs_from_clusters_null_attachment
Test VPC discovery with null attachment in task.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:770
Methodtest_discover_vpcs_from_clusters_null_eni
Test VPC discovery when ENI response has null entries.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:1032
Methodtest_discover_vpcs_from_clusters_null_task
Test VPC discovery from clusters with null task in response.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:732
Methodtest_discover_vpcs_from_clusters_with_null_detail
Test VPC discovery from clusters with null detail in attachment.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:922
Methodtest_discover_vpcs_from_loadbalancers
Test VPC discovery from load balancers.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:290
Methodtest_discover_vpcs_from_loadbalancers_api_error
Test discover_vpcs_from_loadbalancers when the API call fails.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:697
Methodtest_discover_vpcs_from_loadbalancers_null_lb
Test discover_vpcs_from_loadbalancers with null load balancer entry.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:711
Methodtest_discovers_across_regions
(self, mock_fes_bearer)
src/aws-transform-mcp-server/tests/test_configure.py:834
Methodtest_discriminated_union_error
Test formatting discriminated union error (invalid operation type).
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:631
Methodtest_disk_detail_table
Test disk detail table with multiple paths (lines 1881-1900).
src/aws-for-sap-management-mcp-server/tests/test_health.py:4556
Methodtest_disk_space_error
Test handling of disk space errors.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:663
Functiontest_dispatcher_extra_kwarg_returns_bad_request
Passing an action-irrelevant kwarg triggers the TypeError guard, not a 500.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1819
Methodtest_display_only_auto_submit
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:245
Methodtest_display_only_field
Fields used only in fields/stats (not filter) should still be recommended.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:817
Methodtest_display_only_via_customizations
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:83
Methodtest_display_only_via_meta
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:95
Methodtest_display_only_via_meta
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:253
Methodtest_displays_group_details
Test that group membership details are shown.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:211
Methodtest_distinct_branch_labels_are_not_collapsed
Same rec from two different -- Signal branches yields two findings, one rec.
src/redshift-mcp-server/tests/test_review_executor.py:197
Methodtest_distributions_across_runs
(self)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:109
Methodtest_diversification_by_provider
Results are diversified by provider when limit is smaller than matches.
src/roda-mcp-server/tests/test_server.py:368
Methodtest_dns_rebinding_protection_disabled
DNS-rebinding Host allow-listing is disabled for both network app builders.
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint_header_shim.py:153
Methodtest_do_after_multiple_leading_semicolons_is_detected
r"""``;;\n DO ...`` — several separators before the verb.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1338
Methodtest_do_after_select_is_detected
``SELECT 1; DO GET_LOCK('t', 60)`` — DO leads the second statement.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1065
Methodtest_do_after_semicolon_no_space_is_detected
``SELECT 1;DO GET_LOCK(...)`` — no space after the separator.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1334
Methodtest_do_and_select_get_lock_are_symmetric
The reported asymmetry is closed: both DO and SELECT forms are blocked.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1584
Methodtest_do_as_trailing_word_in_string_is_not_flagged
``'things to do'`` — the word "do" ending a string literal.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1373
Methodtest_do_bare_is_detected
A lone ``DO`` token is reported (invalid SQL, but flagged safely).
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1302
Methodtest_do_comment_between_keyword_and_expr_is_detected
``DO/**/GET_LOCK(...)`` — comment AFTER the intact keyword is stripped.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1318
Methodtest_do_conditional_comment_is_rejected
``/*! DO SLEEP(1) */`` — MySQL conditional comment is rejected.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1342
Methodtest_do_crlf_leading_is_detected
Carriage-return / newline / tab before DO must not hide it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1314
Methodtest_do_get_lock_is_detected
Primary payload: ``DO GET_LOCK('tablename', 60)``. ``DO`` returns no result set, so it slips past result-shape checks, yet it acquire
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:953
Methodtest_do_inside_string_literal_is_not_flagged
``WHERE note = 'things to do'`` — the word "do" as data.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1234
Methodtest_do_line_comment_after_keyword_is_detected
r"""``DO -- c\n GET_LOCK(...)`` — line comment after DO is stripped.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1322
Methodtest_do_no_space_before_paren_is_detected
``DO(1)`` — no space between DO and its expression.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1306
Methodtest_do_prefixed_identifier_is_not_flagged
``SELECT do_work, doing FROM tasks`` — identifiers, not DO expr.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1094
Methodtest_do_side_effecting_function_is_detected
``DO <side_effecting_function>()`` — invokes a writing stored function.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:961
Methodtest_do_substrings_are_not_flagged
``undo``, ``redo``, ``todo``, ``doing`` etc. are not DO statements.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1367
Methodtest_do_tab_separator_is_detected
r"""``DO\tSLEEP(1)`` — tab between DO and expression.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1310
Methodtest_do_trailing_comment_is_detected
``DO GET_LOCK(...) -- trailing`` — trailing comment does not hide DO.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1326
Methodtest_do_trailing_semicolon_is_detected
``DO GET_LOCK(...);`` — trailing semicolon.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1330
Methodtest_docker_directory_blocked
Test that ~/.docker/ files are blocked.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:69
Methodtest_docker_hub_credential_requirement_independent_of_prefix
Property: Docker Hub credential requirement is independent of prefix. Feature: ecr-container-tools, Property: Credential Requirement by Regis
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4638
Methodtest_docker_hub_rejection_message_is_informative
Property: Docker Hub rejection message is informative. Feature: ecr-container-tools, Property: Credential Requirement by Registry Type
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4751
Methodtest_docker_hub_requires_credential_arn
Test that Docker Hub requires credential ARN.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4933
Methodtest_docker_hub_supported
Test Docker Hub registries are supported.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:894
Methodtest_docker_hub_uses_correct_url_with_credentials
Property: Docker Hub registry type uses correct URL. Feature: ecr-container-tools, Property: Registry Type to URL Mapping For docker
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3954
Methodtest_docker_hub_with_credential_arn_succeeds
Test that Docker Hub with credential ARN succeeds.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4955
Methodtest_docker_hub_with_credentials_accepted
Property: Docker Hub with credentials is accepted. Feature: ecr-container-tools, Property: Credential Requirement by Registry Type F
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4261
Methodtest_docker_hub_without_credentials_rejected
Property: Docker Hub without credentials is rejected. Feature: ecr-container-tools, Property: Credential Requirement by Registry Type
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4212
Methodtest_docker_io_matches_registry_1
Test that docker.io matches registry-1.docker.io.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:149
Methodtest_docker_io_normalized_to_registry_1
Test that docker.io is normalized to registry-1.docker.io.
src/aws-healthomics-mcp-server/tests/test_clone_container.py:99
Methodtest_docs_client_wires_the_redirect_hook
_docs_client must attach a response event hook; catches a dropped-hook regression.
src/aws-documentation-mcp-server/tests/test_server_utils.py:510
Methodtest_docs_contains_all_actions
Test that the documentation contains information about all actions.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:311
Methodtest_docs_contains_examples
Test that the documentation contains examples for each action.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:317
Methodtest_docs_formatting
Test that the documentation has correct formatting.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:327
Methodtest_docs_host_allowed
docs.aws.amazon.com is on the allowlist.
src/aws-documentation-mcp-server/tests/test_util.py:44
Methodtest_docs_not_empty
Test that generated docs are not empty.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:304
Methodtest_docs_tool_invocation
search_agentcore_docs can be called through protocol.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_mcp_protocol.py:826
Methodtest_docs_with_mocked_action
Test documentation generation with a mocked action.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:334
Methodtest_documentation_contains_expected_content
Fail if generated docs are missing expected action descriptions.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:543
Methodtest_documentation_links
Test Documentation links.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:135
Methodtest_documented_casing_rejected_on_every_platform
The blocklist casing itself is rejected regardless of platform.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:295
Functiontest_docx_parsing
Test DOCX parsing functionality.
src/document-loader-mcp-server/tests/test_document_parsing.py:465
Methodtest_does_not_check_extensions
(self)
src/eks-mcp-server/tests/test_path_validation.py:144
Methodtest_does_not_clear_on_successful_load
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:333
Functiontest_does_not_crash_on_invalid_command
Test that parser does not crash on invalid command and raises the correct error.
src/aws-api-mcp-server/tests/parser/test_parser.py:302
Functiontest_does_not_crash_on_parameter_without_value
Test that parser does not crash when a parameter is missing a value.
src/aws-api-mcp-server/tests/parser/test_parser.py:287
Methodtest_does_not_mark_checked_on_error
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_load_instructions.py:95
Methodtest_does_not_mutate_body
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:69
Methodtest_does_not_mutate_input
The caller's structure is left exactly as it was.
src/ecs-mcp-server/tests/unit/utils/test_security.py:475
Methodtest_dollar_quote_does_not_desync_detection
A single quote inside a dollar-quoted body must not open a phantom literal. Regression test: a naive single-quote scanner treated the quote i
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:696
Methodtest_dollar_quote_scan_is_linear
The dollar-quote boundary scan must be linear on `$`-heavy input. Regression: `_end_of_dollar_quote` once sliced ``sql[i:]`` on every `$`,
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:383
Methodtest_dollar_quoted_body_with_semicolons_is_a_single_statement
A `$$…$$` body containing `;` is one statement (not split), and allowed.
src/redshift-mcp-server/tests/test_sql_guard.py:241
Methodtest_dollar_quoted_string_contents_not_flagged
A keyword inside a dollar-quoted string is data, not a statement. blank_string_literals blanks dollar-quoted bodies (via the shared b
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:686
Methodtest_dollar_sign_start
Test that an identifier starting with dollar sign returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1082
Methodtest_dollar_sign_start
Test that unquoted identifier starting with dollar sign is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1512
Methodtest_dollar_sign_subsequent
Test that dollar sign in subsequent position is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1440
Methodtest_dom_error_falls_back
When CDP DOM calls fail, falls back to full page capture.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:492
Methodtest_dos_prevention
Test DoS prevention via text length limits.
src/amazon-translate-mcp-server/tests/test_security_validators.py:139
Methodtest_dot_after_quoted_identifier
Test that a trailing dot after a quoted identifier returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1264
← previousnext →15,201–15,300 of 32,024, ranked by callers