Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Function
test_injection_set_fmtonly
SET FMTONLY is flagged as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:1092
Function
test_injection_set_implicit_transactions
SET IMPLICIT_TRANSACTIONS is flagged as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:1104
Function
test_injection_set_noexec
SET NOEXEC is flagged as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:1080
Function
test_injection_set_parseonly
SET PARSEONLY is flagged as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:1086
Function
test_injection_set_rowcount
SET ROWCOUNT is flagged as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:1098
Function
test_injection_sp_oacreate
sp_OACreate is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:998
Function
test_injection_sp_system_proc
sp_configure is flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:992
Function
test_injection_stacked_queries
Stacked queries are flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1050
Function
test_injection_stacked_queries_comment_evasion
Stacked query hidden behind a line comment is still detected.
src/oracle-mcp-server/tests/test_server.py:836
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:758
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:794
Function
test_injection_utl_package
UTL_* package usage is flagged as injection risk.
src/oracle-mcp-server/tests/test_server.py:732
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:764
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:770
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:744
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
Function
test_inline_policy_allows_scoped_not_action_not_resource
NotAction/NotResource are allowed when the other half is scoped, or in Deny statements.
src/iam-mcp-server/tests/test_server.py:1790
Function
test_inline_policy_allows_scoped_privilege_escalation_actions
Escalation actions on specific principals, and read-only IAM access, are allowed.
src/iam-mcp-server/tests/test_server.py:1913
Function
test_inline_policy_rejects_not_action_not_resource
NotAction/NotResource are inverse matches and must be treated as broad. Inspecting only Action/Resource let statements such as NotAction 'iam:*'
src/iam-mcp-server/tests/test_server.py:1753
Function
test_inline_policy_rejects_privilege_escalation_actions
Named IAM privesc actions on a broad Resource are equivalent to 'iam:*'. Recognizing only '*' and 'service:*' let canonical escalation actions su
src/iam-mcp-server/tests/test_server.py:1854
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:1222
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_data
Test inserting standard data rows.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:215
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:2323
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:2336
Method
test_insert_empty_data
Test inserting empty data.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:236
Method
test_insert_handles_generic_exception
Test handling of generic exceptions during insert.
src/documentdb-mcp-server/tests/test_write_tools.py:116
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:43
Method
test_insert_multiple_documents_success
Test successful insertion of multiple documents.
src/documentdb-mcp-server/tests/test_write_tools.py:82
Method
test_insert_none_data
Test inserting None data (edge case).
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:250
Method
test_insert_not_configured
Test insert when no connection string is configured.
src/documentdb-mcp-server/tests/test_write_tools.py:103
Method
test_insert_rejected
INSERT via query should be rejected.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1399
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:24
Method
test_insert_single_document_success
Test successful insertion of a single document.
src/documentdb-mcp-server/tests/test_write_tools.py:62
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_boto3_version_meets_minimum
The installed boto3 version is >= 1.43.123.
src/aws-healthomics-mcp-server/tests/test_sdk_output_uri_prefix_mode.py:44
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
Function
test_installed_botocore_version_meets_minimum
The installed botocore version is >= 1.43.123.
src/aws-healthomics-mcp-server/tests/test_sdk_output_uri_prefix_mode.py:51
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:575
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
A DBInstanceNotFound error becomes a clear ValueError.
src/db2-mcp-server/tests/test_server.py:492
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:599
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
Function
test_instructions_are_short_enough_to_be_shown_whole
Some hosts cut long instructions (Claude Code at about 4 KB); keep the guidance in.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:148
Method
test_instructions_found_and_downloaded
( self, _, mock_fes, mock_download, handler, ctx )
src/aws-transform-mcp-server/tests/test_load_instructions.py:75
Function
test_instructions_list_no_tools_or_prompts
Hosts get tools and prompts from tools/list and prompts/list; a copy here drifts.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:140
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:1168
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:753
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:1449
Function
test_internal_create_connection_empty_instances_raises
Empty DBInstances list raises ValueError.
src/oracle-mcp-server/tests/test_server.py:2728
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:1472
← previous
next →
23,001–23,100 of 35,417, ranked by callers