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
Method
test_traversal_paths_rejected
Any path containing '..' as a component raises ValueError. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:176
Method
test_traversal_rejects_before_existence_check
Path traversal check runs before os.path.exists is consulted. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:259
Method
test_traversal_sequences_rejected
Paths containing '..' traversal sequences are rejected with ValueError. Validates: Requirements Path Traversal Rejection
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:207
Method
test_traversal_with_absolute_prefix
Reject '/tmp/safe/../../etc/passwd' traversal.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:96
Method
test_trigger_batch_translation_missing_terminology
Test trigger_batch_translation with missing terminology.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:694
Method
test_trigger_batch_translation_params_validation
Test TriggerBatchTranslationParams validation.
src/amazon-translate-mcp-server/tests/test_server.py:246
Method
test_trigger_batch_translation_success
Test successful batch translation trigger.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:614
Method
test_trigger_batch_translation_tool_success
Test trigger_batch_translation tool execution.
src/amazon-translate-mcp-server/tests/test_server_tools.py:651
Method
test_trigger_batch_translation_unsupported_language_pair
Test trigger_batch_translation with unsupported language pair.
src/amazon-translate-mcp-server/tests/test_server_async_comprehensive.py:667
Method
test_trigger_config_checks_exception
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2080
Method
test_trigger_config_checks_no_definitions
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2070
Method
test_trigger_config_checks_success
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2055
Function
test_trigger_general_exception
Test general exception handling in triggers.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2791
Function
test_trigger_invalid_operation
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1660
Function
test_trigger_no_write_access_fallback
Test trigger no write access fallback response.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2832
Function
test_trigger_not_found
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1694
Function
test_trigger_parameter_validation_errors
Test trigger parameter validation errors.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2731
Method
test_trigger_type_filter
Return empty when the trigger_type filter excludes the record.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:204
Method
test_trigger_type_normalized_and_echoed
Normalize error_status to exception and echo filter_trigger_type.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1347
Function
test_triggers_general_exception
Test general exception handling in triggers.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2213
Function
test_triggers_no_write_access_fallback
Test triggers no write access fallback response.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2192
Method
test_trim_nonexistent_key
(self)
src/valkey-mcp-server/tests/test_json.py:175
Method
test_trim_readonly
(self)
src/valkey-mcp-server/tests/test_json.py:169
Method
test_trim_success
(self, mock_client)
src/valkey-mcp-server/tests/test_json.py:162
Method
test_triple_duplicate_headers
Three columns with the same name are all deduplicated.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1165
Method
test_troubleshoot_cloudformation_deployment_adds_deeplink
Test that deployment troubleshooting adds console deeplink.
src/aws-iac-mcp-server/tests/test_server.py:146
Method
test_troubleshoot_cloudformation_deployment_non_dict_result
Test troubleshooting when result is not a dict.
src/aws-iac-mcp-server/tests/test_server.py:169
Method
test_troubleshoot_cloudformation_deployment_success
Test successful deployment troubleshooting.
src/aws-iac-mcp-server/tests/test_server.py:105
Method
test_troubleshoot_cloudformation_deployment_without_cloudtrail
Test troubleshooting without CloudTrail.
src/aws-iac-mcp-server/tests/test_server.py:126
Method
test_troubleshooting_docs_constant
Test that the TROUBLESHOOTING_DOCS constant is set.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:366
Method
test_troubleshooting_java_branch_renders_java_rules
The Java troubleshooting branch renders Java-specific rules.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2024
Method
test_troubleshooting_javascript_branch_renders_js_rules_and_slide_note
The JavaScript branch renders JS rules and the line-slide note for line-level.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2037
Method
test_troubleshooting_python_branch_renders_python_rules
The Python troubleshooting branch renders Python-specific rules.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2010
Method
test_troubleshooting_python_line_level_notes_non_executable
The Python branch warns that a non-executable line never fires.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:2052
Method
test_true_is_inert_in_read_only
`true` has no effect when writes are not allowed at all.
src/redshift-mcp-server/tests/test_settings.py:166
Method
test_true_skips_confirmation_in_read_write
`true` skips the prompt in read-write mode.
src/redshift-mcp-server/tests/test_settings.py:161
Method
test_truncate_is_refused_as_an_opening_statement
It commits the transaction it runs in, which a later rollback then cannot undo.
src/redshift-mcp-server/tests/test_redshift.py:3115
Method
test_truncate_is_refused_inside_an_open_transaction
Committed out from under the server, later statements autocommit one by one. And `rollback_transaction` then reports success having undone no
src/redshift-mcp-server/tests/test_redshift.py:3132
Method
test_truncate_is_rejected
`TRUNCATE`, including the no-space `TRUNCATE"tbl"` form, is rejected.
src/redshift-mcp-server/tests/test_sql_guard.py:145
Function
test_truncate_not_flagged_as_injection
TRUNCATE should be caught by mutating keywords, not injection patterns.
src/oracle-mcp-server/tests/test_server.py:860
Function
test_truncate_not_flagged_as_injection
TRUNCATE is not flagged as an injection pattern.
src/mssql-mcp-server/tests/test_server.py:1149
Method
test_truncate_rejection_reason_is_pinned
A denied TRUNCATE surfaces the `Statement type not allowed` reason.
src/redshift-mcp-server/tests/test_sql_guard.py:194
Method
test_truncated_content_exact_fit
Test when content fits exactly in max_length.
src/aws-documentation-mcp-server/tests/test_util.py:192
Method
test_truncated_content_with_more_available
Test when content is truncated with more available.
src/aws-documentation-mcp-server/tests/test_util.py:182
Method
test_truncated_query_adds_note
(self, mock_resolve, mock_client_cls, mock_query)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:617
Method
test_truncation_applied_to_read_documentation
Test that truncate_large_tables is actually invoked by read_documentation_impl.
src/aws-documentation-mcp-server/tests/test_server_utils.py:425
Function
test_truncation_guidance_states_what_was_omitted
Optimization guidance no longer truncates silently to the top 2-3.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:179
Method
test_truncation_note
Results beyond max_rows are truncated with a note.
src/db2-mcp-server/tests/test_server.py:233
Method
test_truncation_with_no_upstream_token_reports_partial_not_complete
Filtered set > max_results but upstream is exhausted (no current_token). Matching runs were discarded by the max_results slice and there is n
src/aws-healthomics-mcp-server/tests/test_pagination_hints_real_shapes.py:216
Function
test_trust_policy_aws_principal_list
Test trust policy validation when AWS principal is a list containing *.
src/iam-mcp-server/tests/test_server.py:2464
Function
test_trust_policy_deny_effect_skipped
Test that Deny statements in trust policies are skipped.
src/iam-mcp-server/tests/test_server.py:2523
Function
test_trust_policy_multiple_allow_statements
Test trust policy with multiple Allow statements including non-dict principal.
src/iam-mcp-server/tests/test_server.py:2589
Function
test_trust_policy_single_statement_dict
Test trust policy validation when Statement is a dict instead of list.
src/iam-mcp-server/tests/test_server.py:2445
Method
test_try_container_setup_runtime_error
Test _try_container_setup with RuntimeError.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:503
Method
test_try_java_setup_runtime_error
Test _try_java_setup with RuntimeError.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:531
Method
test_tsconfig_exists
Test that tsconfig.json exists for TypeScript compilation.
src/dynamodb-mcp-server/tests/cdk_generator/integration/test_cdk_generation.py:178
Method
test_ttl_attribute_included_when_enabled
Test that timeToLiveAttribute is included for tables with TTL enabled.
src/dynamodb-mcp-server/tests/cdk_generator/integration/test_cdk_generation.py:236
Method
test_ttl_attribute_name_not_string
Error: AttributeName not string.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1910
Method
test_ttl_attribute_omitted_when_disabled
Test that timeToLiveAttribute is omitted for tables with TTL disabled.
src/dynamodb-mcp-server/tests/cdk_generator/integration/test_cdk_generation.py:272
Method
test_ttl_attribute_omitted_when_not_specified
Test that timeToLiveAttribute is omitted for tables without TimeToLiveSpecification.
src/dynamodb-mcp-server/tests/cdk_generator/integration/test_cdk_generation.py:308
Method
test_ttl_attribute_too_long_rejected
Error: TTL attribute name longer than 255 characters is rejected.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:2161
Method
test_ttl_attribute_with_quote_accepted
TTL attribute names containing quotes are accepted and escaped downstream.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:2151
Method
test_ttl_cache_expiration
Test that the TTLCache expires entries after the TTL.
src/eks-mcp-server/tests/test_k8s_client_cache.py:261
Method
test_ttl_enabled_not_boolean
Error: Enabled not boolean.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1867
Method
test_ttl_missing_attribute_name_when_enabled
Error: AttributeName missing when Enabled=true.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1890
Method
test_ttl_missing_enabled
Error: Enabled field missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1847
Method
test_ttl_not_object
Error: TimeToLiveSpecification not object.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1828
Method
test_tumbling_window_validation
Test TumblingWindow validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:777
Method
test_tumbling_window_with_offset
Test creating a tumbling window with offset.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:771
Method
test_two_account_ids_get_the_one_per_request_error
Two IDs, as JSON or comma/space separated, are rejected before the call.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_account_ids.py:80
Function
test_two_clients_built_at_once_both_survive_the_scrub
Clients are built on worker threads, so two first uses can scrub at once. The delete is held at a barrier, so both threads have listed the empty
src/redshift-mcp-server/tests/test_clients.py:32
Method
test_two_clusters_of_the_same_name_are_two_namespaces
One identifier can name a provisioned cluster and a serverless workgroup at once. Keyed on the identifier alone, those two clusters shared on
src/redshift-mcp-server/tests/test_redshift.py:2068
Method
test_two_pages_return_every_item
max_pages=2 fetches two pages, both at the same size, and keeps every item.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:443
Method
test_two_parameters_are_refused_and_both_are_named
The caller has to know which two conflicted to fix the call.
src/redshift-mcp-server/tests/test_redshift.py:1745
Method
test_two_parts_both_quoted
Test parsing a two-part name with both parts quoted.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2132
Method
test_two_parts_unquoted
Test parsing a two-part schema.table name.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2117
Method
test_two_points
Test handling of two data points.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:158
Method
test_two_tier_header_flattens
Multi-row thead flattens parent and child into column names.
src/aws-documentation-mcp-server/tests/test_table_utils.py:770
Method
test_type
(self, client)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:87
Method
test_type_annotations_coverage
Test that type annotations don't affect runtime behavior.
src/openapi-mcp-server/tests/test_coverage_boost.py:153
Method
test_type_checking_branch
Test the TYPE_CHECKING branch by mocking the imports.
src/bedrock-kb-retrieval-mcp-server/tests/test_clients.py:40
Method
test_type_definitions
Test that the type definitions are properly defined.
src/bedrock-kb-retrieval-mcp-server/tests/test_clients.py:27
Method
test_type_generic_error
Type generic exception returns error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:794
Method
test_type_mappings_comprehensive
Test all type mapping functionality comprehensively.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_type_mappings.py:30
Method
test_type_ref_not_found
Type with invalid ref returns error and snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:773
Method
test_type_text
Type text into a form field.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:663
Method
test_type_text
Type clears, types text, and returns snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:386
Method
test_type_variable_usage
Test the TypeVar T usage with a function that uses it.
src/openapi-mcp-server/tests/auth/test_auth_protocol_extended.py:109
Method
test_type_with_submit
Type text and press Enter to submit.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:682
Method
test_type_with_submit
Type with submit=True presses Enter after typing.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:427
Method
test_type_without_clear
Type text without clearing existing content first.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:701
Method
test_type_without_clear
Type with clear_first=False skips clearing.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:407
Function
test_types_model_dump
Test model_dump methods for various types.
src/mcp-lambda-handler/tests/test_lambda_handler.py:813
Function
test_types_model_dump_json
Test model_dump_json methods for various types.
src/mcp-lambda-handler/tests/test_lambda_handler.py:786
Method
test_typescript_compilation
Test that generated CDK app compiles without errors.
src/dynamodb-mcp-server/tests/cdk_generator/integration/test_cdk_compilation.py:12
Method
test_typescript_not_implemented
Test TypeScript generator not yet implemented.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_sample_generators.py:552
Method
test_typical_connection_lifecycle
Test a typical connection lifecycle: set, get, use, remove.
src/postgres-mcp-server/tests/test_db_connection_map.py:1014
Function
test_unauthenticable_request_rejected_with_401
A request no enabled mechanism can authenticate is refused with HTTP 401. Presents a garbage bearer token that no enabled mechanism (``sigv4``, `
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:337
Method
test_unauthorized_exception
Test list_recommendation_summaries UnauthorizedException handling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1143
Method
test_unauthorized_operation_error
Test unauthorized operation error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1026
← previous
next →
33,001–33,100 of 35,417, ranked by callers