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_upload_to_s3_unwraps_client_error
A 403 wrapped in S3UploadFailedError is re-raised as the underlying ClientError.
src/security-agent-mcp-server/tests/test_aws_client.py:404
Function
test_upload_to_s3_us_east_1_location_constraint
Test upload_to_s3 with us-east-1 location constraint (None).
src/aws-dataprocessing-mcp-server/tests/handlers/commons/test_common_resource_handler.py:1790
Function
test_upload_to_s3_without_write_permission
Test that uploading to S3 fails when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/commons/test_common_resource_handler.py:1058
Method
test_upload_with_only_required_params
Omit encoding, categoryType, fileType, fileName, planStepId — all should default.
src/aws-transform-mcp-server/tests/test_field_defaults.py:52
Method
test_upload_with_plan_step_id
(self, _, mock_fes, mock_httpx, handler, ctx)
src/aws-transform-mcp-server/tests/test_artifact.py:296
Method
test_uppercase
Test parsing an unquoted name with uppercase letters.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1945
Method
test_uppercase
Test that uppercase identifier is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2318
Method
test_uppercase_0x_prefix
An uppercase 0X prefix is accepted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:53
Method
test_uppercase_bucket
Reject 's3://BUCKET/key' (uppercase bucket name).
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:141
Method
test_uppercase_hex
Uppercase hex is normalized to lowercase.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:48
Method
test_uppercase_hex_rejected
Uppercase hex is rejected (hashes are lowercase by API design).
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3538
Method
test_uppercase_letters_rejected
Test that uppercase letters are rejected.
src/ecs-mcp-server/tests/unit/utils/test_security.py:65
Method
test_uppercase_set_with_multi_var_is_handled
Case-insensitive matching survives the multi-var path.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:770
Method
test_upstream_registry_urls_constant_mapping
Property: UPSTREAM_REGISTRY_URLS constant maps correctly. Feature: ecr-container-tools, Property: Registry Type to URL Mapping For a
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3857
Method
test_upstream_registry_urls_mapping
Test UPSTREAM_REGISTRY_URLS mapping.
src/aws-healthomics-mcp-server/tests/test_ecr_models.py:350
Method
test_upstream_registry_values
Test UpstreamRegistry enum values.
src/aws-healthomics-mcp-server/tests/test_ecr_models.py:344
Method
test_uptime
Test uptime calculation.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3200
Method
test_uri_length_limit
Test rejection of excessively long URIs.
src/amazon-translate-mcp-server/tests/test_security_validators.py:192
Method
test_uri_processing
Test URI validation and processing.
src/healthlake-mcp-server/tests/test_server_core.py:191
Method
test_url_http_error
Test HTTP error handling on the DNS-pinned fetch path.
src/openapi-mcp-server/tests/utils/test_openapi.py:68
Method
test_url_includes_tracking_params
Test that search_table_impl appends tool, query, and section params to URL.
src/aws-documentation-mcp-server/tests/test_server_utils.py:788
Method
test_url_invalid_spec
Test invalid OpenAPI spec validation.
src/openapi-mcp-server/tests/utils/test_openapi.py:97
Method
test_url_mapping_completeness
Property: All UpstreamRegistry enum values have URL mappings. Feature: ecr-container-tools, Property: Registry Type to URL Mapping F
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4134
Method
test_url_mapping_format_validity
Property: URL mappings are valid registry URLs. Feature: ecr-container-tools, Property: Registry Type to URL Mapping For any Upstrea
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4153
Method
test_url_mapping_in_successful_response
Property: Successful response contains correct URL mapping. Feature: ecr-container-tools, Property: Registry Type to URL Mapping For
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4010
Method
test_url_mapping_when_rule_already_exists
Property: URL mapping is correct even when rule already exists. Feature: ecr-container-tools, Property: Registry Type to URL Mapping
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:4065
Method
test_url_timeout
Test timeout exception handling on the DNS-pinned fetch path.
src/openapi-mcp-server/tests/utils/test_openapi.py:83
Method
test_url_with_existing_parameters
Test that the function appends to existing URL structure.
src/aws-documentation-mcp-server/tests/test_util.py:673
Method
test_url_with_paths_and_parameters
Test URLs with additional paths and query parameters.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_is_ecr_image_security.py:107
Method
test_url_without_section_title
Test that section param is omitted when section_title is empty.
src/aws-documentation-mcp-server/tests/test_server_utils.py:817
Method
test_us_east_1
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:54
Method
test_us_east_1
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:73
Method
test_us_west_2
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:58
Method
test_us_west_2
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:77
Method
test_usability_iff_all_permissions_present
Property: healthomics_usable is True IFF all permissions are present. Feature: ecr-container-tools, Property: HealthOmics Usability Evaluatio
src/aws-healthomics-mcp-server/tests/test_ecr_utils.py:960
Method
test_usability_logical_conjunction
Property: healthomics_usable equals logical AND of all conditions. Feature: ecr-container-tools, Property: HealthOmics Usability Evaluation
src/aws-healthomics-mcp-server/tests/test_ecr_utils.py:1096
Method
test_usable_when_fully_configured
Test that PTC is usable when fully configured for HealthOmics.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:322
Method
test_usage_data_auto_detection_robustness
Test that usage_data auto-detection works reliably across all schemas.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_code_generation_pipeline.py:536
Function
test_usage_data_path_none_handled
Test that None usage_data_path is handled correctly in both validator and generator.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2055
Function
test_usage_data_path_resolved
Test that usage_data_path is resolved to absolute path in both validator and generator.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2005
Function
test_usage_data_path_traversal_blocked
Test that path traversal in usage_data_path is blocked with security error.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2109
Method
test_usage_data_validation_error_reporting
Test that usage_data validation provides helpful error messages.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_code_generation_pipeline.py:481
Method
test_usage_data_validation_with_different_schemas
Test usage_data validation works correctly with different schema types.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_code_generation_pipeline.py:442
Method
test_usage_error_raises_runtime_error
Exit code 2 (usage error) raises RuntimeError and surfaces stderr.
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:235
Method
test_usage_examples_include_transactions
Test usage_examples.py includes transaction pattern examples.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_transaction_service_generation.py:213
Method
test_usage_examples_without_template
Test usage examples when template is missing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:157
Function
test_usage_forecast
Test the get_usage_forecast function.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:279
Method
test_usage_hint_included
Test that usage hint is included in response.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:481
Method
test_usage_metrics_rejected_for_drivers_without_aws_call
CE's drivers API accepts cost metrics only (INVALID_COST_METRIC, live-verified).
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1279
Method
test_usage_profiles_create_with_complex_configuration
Test usage profile creation with complex real-world configuration.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:94
Method
test_usage_types_give_both_formats
Offering and rate usage types are shown, region prefix and empty match included.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1517
Method
test_usage_types_say_some_us_east_1_rates_are_prefixed
Some us-east-1 rate usage types carry USE1-, so a bare value is not always right.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1532
Method
test_use_after_semicolon_is_detected
``SELECT 1; USE mydb`` — USE leads the chained statement.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1644
Method
test_use_cache_prefixed_identifiers_are_not_flagged
Columns like ``use_flag``, ``cache_size``, ``usage`` are not verbs.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1664
Method
test_use_database_is_detected
``USE <db>`` switches the session default database (session state).
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1632
Method
test_use_index_optimizer_hint_is_not_flagged
``SELECT ... USE INDEX (idx)`` — the USE here is an index hint, not USE <db>. The statement-start anchor is what distinguishes the two: the h
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1650
Method
test_user_agent_config
Test get_aws_client sets proper user agent configuration.
src/aws-for-sap-management-mcp-server/tests/test_client_factory.py:119
Method
test_user_agent_config
Test user agent configuration in the Config object.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:615
Function
test_user_agent_config_is_properly_configured
Test that USER_AGENT_CONFIG is properly configured with the correct user agent string.
src/well-architected-security-mcp-server/tests/test_user_agent_config.py:21
Method
test_user_agent_contains_agent_suffix_and_server_id
Property: User-agent string contains both server ID and agent/<value>. For any non-empty visible ASCII agent string, get_aws_session() should
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:985
Method
test_user_agent_extra_still_has_server_id_when_agent_configured
Test user_agent_extra still contains the server identifier when AGENT is configured.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:322
Method
test_user_agent_has_no_control_suffix
Single-client primitive uses plain 'policy' (no '-control' qualifier).
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_policy_client.py:125
Method
test_user_agent_tracking
Policy client has the policy user-agent suffix.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_policy_client.py:111
Method
test_user_agent_tracking
Control plane client has the identity user-agent.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_identity_client.py:111
Method
test_user_agent_tracking
Client is configured with the gateway user-agent.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_gateway_client.py:111
Function
test_user_agent_with_context
Test user agent when context is present.
src/aws-api-mcp-server/tests/common/test_config.py:147
Function
test_user_agent_with_context_no_client_params
Test user agent when context is present but client_params is None.
src/aws-api-mcp-server/tests/common/test_config.py:167
Function
test_user_agent_without_telemetry
Test user agent when telemetry is disabled.
src/aws-api-mcp-server/tests/common/test_config.py:137
Method
test_user_analytics_gsi_generation
Test complete GSI generation pipeline for user analytics schema.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_gsi_pipeline_integration.py:15
Method
test_user_analytics_snapshot
Test that user_analytics generation matches expected snapshot.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:144
Method
test_user_attach_generic_exception_reraises
Any other attach exception (e.g. throttling) re-raises with traceback logged.
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:496
Method
test_user_attach_limit_exceeded_reraises
LimitExceeded (10-policies-per-principal) must re-raise after a clear log.
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:481
Method
test_user_attach_no_such_entity_reraises
If the user is not found during list_attached_user_policies, re-raise.
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:465
Method
test_user_context_omitted_when_no_user_id
No userContext key is sent when no user id is supplied.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:260
Method
test_user_context_omitted_when_no_user_id
No userContext key is sent when no user id is supplied.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:344
Method
test_user_context_preserved_across_fallback_retry
The user id survives the retry when the search configuration is corrected.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:272
Method
test_user_creates_then_updates_patient_scenario
Test realistic scenario: user creates then updates a patient.
src/healthlake-mcp-server/tests/test_integration_mock_based.py:63
Method
test_user_id_not_allowed
(self, _mock_cfg, handler, ctx)
src/aws-transform-mcp-server/tests/test_collaborator.py:142
Method
test_user_id_sent_as_user_context
A user id is sent as userContext, which ACL-aware data sources require.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:247
Method
test_user_id_sent_as_user_context
A user id is sent as userContext so ACL-aware data sources are reachable.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:330
Method
test_user_not_confirmed_exception
Test handling of UserNotConfirmedException - covers lines 304-313.
src/openapi-mcp-server/tests/auth/test_cognito_auth_exceptions.py:17
Method
test_user_prefixed_key_also_sends_stripped_key
user:application is sent as given and without the prefix; the note names the match.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:624
Method
test_user_registration_snapshot
Test that user_registration generation matches expected snapshot (cross-table transactions).
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:194
Method
test_user_scope
(self)
src/aws-transform-mcp-server/tests/test_download_artifact.py:67
Method
test_users_missing_search_term
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:1176
Method
test_users_success
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:1166
Method
test_uses_aws_region_env_var
Test AWS_REGION env var is used when no region specified.
src/aws-pricing-mcp-server/tests/test_pricing_client.py:68
Method
test_uses_certifi_when_available
When certifi is importable, the context loads its CA bundle.
src/mysql-mcp-server/tests/test_hatch_build.py:155
Method
test_uses_cluster_endpoint_when_not_provided
Should use cluster endpoint when db_endpoint is empty.
src/mysql-mcp-server/tests/test_server_internal_functions.py:386
Method
test_uses_cluster_endpoint_when_not_provided
Test that cluster endpoint is used when db_endpoint is not provided.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1280
Method
test_uses_configured_partition_key_name
A custom partition-key attribute name is honored on the query.
src/aws-healthomics-mcp-server/tests/test_dynamodb_registry_source.py:114
Method
test_uses_custom_endpoint_when_set
Test that custom endpoint_url is used when PRICING_ENDPOINT is set.
src/aws-pricing-mcp-server/tests/test_pricing_client.py:150
Method
test_uses_default_endpoint_when_not_set
Test that endpoint_url is None when PRICING_ENDPOINT is not set.
src/aws-pricing-mcp-server/tests/test_pricing_client.py:130
Method
test_uses_default_name
(self, tmp_path)
src/aws-transform-mcp-server/tests/test_tool_utils.py:282
Method
test_uses_env_profile_when_none_specified
Test that AWS_PROFILE environment variable is used when no profile specified.
src/aws-pricing-mcp-server/tests/test_pricing_client.py:117
Method
test_uses_env_region
Uses AWS_REGION environment variable when set.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_policy_client.py:61
Method
test_uses_env_region
Uses AWS_REGION environment variable when set.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_memory_client.py:65
Method
test_uses_env_region
Uses AWS_REGION environment variable when set.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_identity_client.py:61
Method
test_uses_env_region
Uses AWS_REGION environment variable when set.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_gateway_client.py:61
Method
test_uses_existing_space_and_role
Uses existing space and role when provided.
src/security-agent-mcp-server/tests/test_server.py:142
← previous
next →
33,501–33,600 of 35,417, ranked by callers