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
Function
test_injection_stacked_queries_comment_evasion
Stacked query hidden behind a line comment is still detected.
src/mssql-mcp-server/tests/test_server.py:986
Function
test_injection_string_tautology
String tautology is flagged.
src/mssql-mcp-server/tests/test_server.py:1028
Function
test_injection_sys_internal_table
Access to SYS internal tables is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:736
Function
test_injection_union_select_after_string_literal
UNION SELECT preceded by string-closing is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1034
Function
test_injection_union_select_typical_sqli_flagged
Typical SQL injection pattern with UNION is flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:51
Function
test_injection_union_select_with_numeric_column_flagged
UNION injection with numeric columns after string literal is flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:58
Function
test_injection_union_select_with_string_closing_flagged
UNION SELECT preceded by string-closing is flagged as injection.
src/mssql-mcp-server/tests/test_injection_false_positives.py:44
Function
test_injection_uritype
URITYPE usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:772
Function
test_injection_utl_package
UTL_* package usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:710
Function
test_injection_v_dollar_view
V$ dynamic performance view access is flagged as injection risk in readonly mode.
src/oracle-mcp-server/tests/test_server.py:742
Function
test_injection_v_dollar_view_allowed_in_write_mode
V$ dynamic performance view access is allowed in write mode.
src/oracle-mcp-server/tests/test_server.py:748
Function
test_injection_waitfor_delay
WAITFOR DELAY is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:974
Function
test_injection_waitfor_time
WAITFOR TIME is flagged as injection risk (not just DELAY).
src/mssql-mcp-server/tests/test_server.py:980
Function
test_injection_xmltype
XMLTYPE constructor is flagged as injection risk (XXE vector).
src/oracle-mcp-server/tests/test_server.py:722
Function
test_injection_xp_cmdshell
xp_cmdshell is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1004
Function
test_injection_xp_regread
xp_regread is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1010
Method
test_injects_expected_env_by_server_constant_keys
The injected env uses the server's own ``*_ENV`` keys and the required values. The core assertions of the requirement are the loopback host,
src/aws-healthomics-mcp-server/integration/harness_tests/test_apigateway_config.py:66
Function
test_inline_comment_blocked
Inline comments (-- after code on same line) are blocked.
src/mssql-mcp-server/tests/test_injection_false_positives.py:134
Method
test_inline_content
Lint passes inline content through unchanged. Validates: Requirement Lint Workflow Definition with File Path or S3 URI, Backward Comp
src/aws-healthomics-mcp-server/tests/test_workflow_linting_resolution.py:126
Method
test_inline_content
Package passes inline content through unchanged (backward compat). Validates: Requirement Package Workflow with File Path or S3 URI,
src/aws-healthomics-mcp-server/tests/test_helper_tools_resolution.py:101
Method
test_inline_markup_does_not_introduce_delimiters
Inline tags inside a single value are not treated as boundaries.
src/aws-documentation-mcp-server/tests/test_table_utils.py:692
Method
test_inline_markup_inside_link_text_keeps_its_spaces
The link label is spaced too, not just the prose around it.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1744
Method
test_inline_script_is_not_returned_as_documentation
A tag stripped by markdownify keeps its text, so script bodies are removed outright.
src/aws-documentation-mcp-server/tests/test_util.py:1023
Method
test_input_not_dict
Error: Input must be a dictionary.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:130
Method
test_input_token_passed_to_aws_and_output_preserved
Property: Input token is passed to AWS and output token is preserved. Feature: ecr-container-tools, Property: Pagination Token Preservation
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:904
Method
test_input_validation_error_handling
Test InputValidationError handling.
src/healthlake-mcp-server/tests/test_server_core.py:132
Method
test_insert_connection_not_found
Test insert with invalid connection ID.
src/documentdb-mcp-server/tests/test_write_tools.py:121
Method
test_insert_data
Test inserting standard data rows.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:223
Method
test_insert_data_empty_first_row
Test inserting data with empty first row.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1939
Method
test_insert_data_with_none_values
Test inserting data with None values.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1952
Method
test_insert_empty_data
Test inserting empty data.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:244
Method
test_insert_handles_generic_exception
Test handling of generic exceptions during insert.
src/documentdb-mcp-server/tests/test_write_tools.py:134
Method
test_insert_is_detected
Plain INSERT is reported as INSERT.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:254
Method
test_insert_items_empty_items
Test item insertion with empty items dictionary.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:881
Method
test_insert_items_error
Test item insertion error handling.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:860
Method
test_insert_items_invalid_items
Test insert_items with invalid item configurations.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:888
Method
test_insert_items_multiple_tables
Test item insertion across multiple tables.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:869
Method
test_insert_items_success
Test successful item insertion.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:834
Method
test_insert_items_with_unprocessed
Test item insertion with unprocessed items.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:847
Method
test_insert_multiple_documents_read_only_mode
Test insert multiple documents in read-only mode.
src/documentdb-mcp-server/tests/test_write_tools.py:49
Method
test_insert_multiple_documents_success
Test successful insertion of multiple documents.
src/documentdb-mcp-server/tests/test_write_tools.py:96
Method
test_insert_none_data
Test inserting None data (edge case).
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:258
Method
test_insert_rejected
INSERT via query should be rejected.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1342
Method
test_insert_single_document_read_only_mode
Test insert single document in read-only mode.
src/documentdb-mcp-server/tests/test_write_tools.py:26
Method
test_insert_single_document_success
Test successful insertion of a single document.
src/documentdb-mcp-server/tests/test_write_tools.py:72
Method
test_inside_store_folder
(self)
src/aws-transform-mcp-server/tests/test_guidance_nudge.py:80
Method
test_install_packages_failure
Test package installation failure (execution-level).
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:277
Method
test_install_packages_happy_path
Test installing packages returns correct response.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:218
Method
test_install_packages_multiple
Test installing multiple packages.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:260
Method
test_install_packages_with_upgrade
Test installing packages with upgrade flag.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:239
Function
test_installed_boto3_version_meets_minimum
The installed boto3 version is >= 1.43.36.
src/aws-healthomics-mcp-server/tests/test_sdk_scratch_storage.py:45
Function
test_installed_botocore_version_meets_minimum
The installed botocore version is >= 1.43.36.
src/aws-healthomics-mcp-server/tests/test_sdk_scratch_storage.py:52
Method
test_instance_creation_fails
Test handling of instance creation failure after successful cluster creation.
src/postgres-mcp-server/tests/test_cp_api_connection.py:570
Method
test_instance_id_fallback
Test InstanceId fallback when EC2InstanceId is missing.
src/aws-for-sap-management-mcp-server/tests/test_health.py:1182
Method
test_instance_lookup_is_case_insensitive
internal_get_instance_properties matches the endpoint case-insensitively. DNS is case-insensitive, so a caller endpoint in a different case m
src/mysql-mcp-server/tests/test_endpoint_validation.py:698
Method
test_instance_not_found_raises
Should raise ValueError when no instance matches the endpoint.
src/mysql-mcp-server/tests/test_cp_api_simple_functions.py:136
Method
test_instance_waiter_timeout
Test handling of instance waiter timeout.
src/postgres-mcp-server/tests/test_cp_api_connection.py:594
Method
test_instant_query
Test basic instant query.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:46
Method
test_instant_query_error
Test instant query propagates errors.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:84
Method
test_instant_query_helper
Return vector data from the instant query helper.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:176
Method
test_instant_query_parses_vector
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:136
Method
test_instant_query_with_time
Test instant query with explicit time.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_promql_tools.py:68
Method
test_instructions_found_and_downloaded
( self, _, mock_fes, mock_download, handler, ctx )
src/aws-transform-mcp-server/tests/test_load_instructions.py:75
Method
test_instructions_set
(self)
src/aws-transform-mcp-server/tests/test_server.py:42
Method
test_insufficient_data_for_period
Test handling of insufficient data for seasonal period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:168
Method
test_integer_credit_id_passes_through
An integer creditId is forwarded unchanged.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:855
Method
test_integration_both_api_paths
Test integration between both API paths (ListEntityEvents and ListServiceStates).
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:1594
Method
test_integration_create_update_delete_usage_profile_lifecycle
Integration test: Complete lifecycle of usage profile management.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:1258
Method
test_integration_cross_tool_data_format
Test that change events data format integrates well with other tools.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:1741
Method
test_integration_error_recovery_workflow
Test integration of error handling and recovery workflows.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:1675
Method
test_integration_security_config_and_encryption_workflow
Integration test: Security configuration with comprehensive encryption workflow.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:1363
Method
test_integration_source_tagging
Client is created with MCP integration source for telemetry.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_browser_client.py:102
Method
test_integration_via_complete_gsi_configuration
Cross-validation fires through the full validate_complete_gsi_configuration path.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:752
Method
test_integration_workflow
Test complete integration workflow with realistic configuration.
src/aws-healthomics-mcp-server/tests/test_search_config.py:544
Function
test_intentional_strictness_is_documented
Rejecting something PostgreSQL would allow read-only requires a stated reason.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:264
Method
test_interface_endpoint
Test processing interface VPC endpoint.
src/aws-network-mcp-server/tests/utils/test_vcp_details.py:324
Method
test_interior_consecutive_breaks_collapse
Consecutive <br /> between two values collapse to a single delimiter.
src/aws-documentation-mcp-server/tests/test_table_utils.py:670
Function
test_interleaved_calls_stay_within_each_tenant_role
Interleaved Tenant_A/Tenant_B calls each run under their own role, never the other's. Authenticates as Tenant_A and Tenant_B with their own beare
src/aws-healthomics-mcp-server/integration/tests/test_cross_tenant_isolation.py:152
Function
test_internal_create_connection_cache_hit_includes_service_name_and_sid
Cache-hit response includes service_name and sid from the existing connection.
src/oracle-mcp-server/tests/test_server.py:1324
Function
test_internal_create_connection_empty_instances_raises
Empty DBInstances list raises ValueError.
src/oracle-mcp-server/tests/test_server.py:1906
Function
test_internal_create_connection_empty_instances_raises
Empty DBInstances list raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:699
Function
test_internal_create_connection_empty_secret_arn_raises
Raises ValueError when no secret_arn can be resolved.
src/oracle-mcp-server/tests/test_server.py:1347
Function
test_internal_create_connection_evicts_on_secret_change
Cached connection is evicted when the resolved ARN differs.
src/mssql-mcp-server/tests/test_server_extended.py:601
Function
test_internal_create_connection_falls_back_to_master_secret
When no --secret_arn is configured, fall back to the RDS master secret.
src/mssql-mcp-server/tests/test_server.py:1273
Function
test_internal_create_connection_missing_connection_method
Empty connection_method raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:251
Function
test_internal_create_connection_missing_endpoint
Empty db_endpoint raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:265
Function
test_internal_create_connection_missing_endpoint_raises
Missing db_endpoint raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:522
Function
test_internal_create_connection_missing_master_secret_raises
If no secret_arn and instance has no MasterUserSecret, raises ValueError.
src/mssql-mcp-server/tests/test_endpoint_validation.py:297
Function
test_internal_create_connection_missing_method_raises
Missing connection_method raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:535
Function
test_internal_create_connection_missing_region
Raises ValueError when region is empty.
src/oracle-mcp-server/tests/test_server.py:1310
Function
test_internal_create_connection_missing_region_raises
Missing region raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:509
Function
test_internal_create_connection_rds_not_found_error
ClientError with DBInstanceNotFound raises ValueError.
src/oracle-mcp-server/tests/test_server.py:1858
Function
test_internal_create_connection_rds_not_found_error
ClientError with DBInstanceNotFound raises clear ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:633
Function
test_internal_create_connection_rds_other_client_error
ClientError with non-DBInstanceNotFound code raises ValueError.
src/oracle-mcp-server/tests/test_server.py:1882
Function
test_internal_create_connection_rds_other_client_error
ClientError with non-DBInstanceNotFound code raises ValueError.
src/mssql-mcp-server/tests/test_server_extended.py:666
Function
test_internal_create_connection_rejects_invalid_endpoint
internal_create_connection raises ValueError for invalid endpoints.
src/mssql-mcp-server/tests/test_endpoint_validation.py:262
Function
test_internal_create_connection_replaces_on_secret_change
Replaces existing connection when configured secret_arn changes.
src/oracle-mcp-server/tests/test_server.py:1266
Function
test_internal_create_connection_returns_existing
Returns existing connection without creating a new one.
src/oracle-mcp-server/tests/test_server.py:1245
Function
test_internal_create_connection_returns_existing
Second call with the same key returns the cached connection.
src/mssql-mcp-server/tests/test_server_extended.py:548
Function
test_internal_create_connection_uses_default_secret_arn
Falls back to configured_default_secret_arn when no per-target ARN is configured.
src/oracle-mcp-server/tests/test_server.py:1290
← previous
next →
21,001–21,100 of 32,024, ranked by callers