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_get_appsync_client_success
Test successful client creation.
src/aws-appsync-mcp-server/tests/test_helpers.py:114
Method
test_get_asset_property_aggregates_success
Test successful property aggregates retrieval.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:155
Method
test_get_asset_property_aggregates_with_all_params
Test get asset property aggregates with all optional parameters.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:462
Method
test_get_asset_property_value_history_success
Test successful property value history retrieval.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:118
Method
test_get_asset_property_value_history_with_all_params
Test get asset property value history with all optional parameters.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:417
Method
test_get_asset_property_value_success
Test successful property value retrieval.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:89
Method
test_get_asset_property_value_with_all_params
Test get asset property value with all optional parameters.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_data.py:358
Method
test_get_associated_target_groups
Test target group retrieval and health checking.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:452
Method
test_get_associated_target_groups_empty_response
Test get_associated_target_groups with an empty response.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:596
Method
test_get_associated_target_groups_error_in_health
Test get_associated_target_groups with an error when getting target health.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:620
Method
test_get_associated_target_groups_null_target_group
Test get_associated_target_groups with a None/null target group in the list.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:653
Method
test_get_association_types
Test association type detection.
src/aws-healthomics-mcp-server/tests/test_json_response_builder.py:224
Function
test_get_athena_client_default
Test get_athena_client returns a boto3 Athena client with default region if not specified.
src/s3-tables-mcp-server/tests/test_utils.py:81
Function
test_get_attribute_values_api_error
Test API error handling in get_attribute_values.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:600
Method
test_get_attribute_values_calls_api
Test get_attribute_values calls API.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:454
Method
test_get_attribute_values_continuation
A continuation sends the caller's token and otherwise the same request.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1123
Function
test_get_attribute_values_error_carries_classifier_fields
get_attribute_values exception path: top-level error_type + operation, legacy data kept.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:800
Method
test_get_attribute_values_fetches_every_page
Without max_items every page is fetched at the largest page size.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1072
Method
test_get_attribute_values_max_items_stops
max_items sizes the page, stops when reached and keeps the service order.
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:1099
Method
test_get_auth_headers
Test getting auth headers.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:604
Method
test_get_auth_headers
Test get_auth_headers method.
src/openapi-mcp-server/tests/auth/test_cognito_auth_boost_coverage.py:144
Method
test_get_auth_headers_direct
Test getting auth headers directly.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:187
Method
test_get_auth_headers_no_token
Test getting auth headers when no token is available.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:617
Method
test_get_auth_headers_no_token
Test get_auth_headers method with no token.
src/openapi-mcp-server/tests/auth/test_cognito_auth_boost_coverage.py:176
Method
test_get_auth_headers_with_refresh_direct
Test getting auth headers with refresh.
src/openapi-mcp-server/tests/auth/test_cognito_auth.py:200
Method
test_get_auth_provider_mock
Test getting a registered auth provider.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:125
Method
test_get_auth_provider_none
Test getting null auth provider.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:117
Method
test_get_auth_provider_none_type
Test get_auth_provider with None auth type.
src/openapi-mcp-server/tests/auth/test_auth_factory_coverage.py:39
Method
test_get_auth_provider_unknown
Test getting an unknown auth provider.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:134
Method
test_get_auth_provider_unsupported_type
Test get_auth_provider with unsupported auth type - it falls back to 'none'.
src/openapi-mcp-server/tests/auth/test_auth_factory_coverage.py:30
Method
test_get_auth_provider_with_valid_none_type
Test get_auth_provider with 'none' auth type.
src/openapi-mcp-server/tests/auth/test_auth_factory_coverage.py:81
Method
test_get_automation_event
get_automation_event formats the API response.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:373
Method
test_get_automation_rule_includes_criteria_and_tags
get_automation_rule includes criteria and tags when present.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:394
Method
test_get_automation_rule_without_criteria_reports_empty_criteria
A rule with no conditions reports criteria as {}, so it is not read as unread.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:430
Method
test_get_available_languages
Test getting available languages.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_config.py:82
Method
test_get_available_services
Test getting available services in AWS China.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:118
Function
test_get_available_services_content_structure
Test that get_available_services returns properly structured content.
src/aws-documentation-mcp-server/tests/test_aws_cn_get_available_services_live.py:96
Method
test_get_available_services_error
Test getting available services with an error.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:210
Method
test_get_available_services_keeps_catalogue_when_page_is_unreadable
A page that will not simplify must not discard the service list already fetched.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:172
Method
test_get_available_services_key_error
Test getting available services in AWS China.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:286
Function
test_get_available_services_live
Test that get_available_services can fetch real AWS China available services.
src/aws-documentation-mcp-server/tests/test_aws_cn_get_available_services_live.py:36
Method
test_get_available_services_non_html
Test getting available services with non-HTML content.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:241
Method
test_get_available_services_offsite_redirect_blocked
get_available_services (its own inline client) refuses an IMDS redirect.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:397
Method
test_get_available_services_status_error
Test getting available services with status code error.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:224
Method
test_get_available_workspaces
Test that get_available_workspaces correctly lists available workspaces.
src/prometheus-mcp-server/tests/test_tools.py:273
Method
test_get_available_workspaces_exception
Test get_available_workspaces exception handling.
src/prometheus-mcp-server/tests/test_coverage_gaps.py:93
Method
test_get_available_workspaces_use_default_region
Test get_available_workspaces using default region.
src/prometheus-mcp-server/tests/test_server_coverage.py:168
Method
test_get_available_workspaces_with_configured_workspace_id
Test that get_available_workspaces correctly handles a configured workspace ID from URL.
src/prometheus-mcp-server/tests/test_tools.py:454
Method
test_get_available_workspaces_with_configured_workspace_id_not_in_list
Test that get_available_workspaces correctly handles a configured workspace ID that's not in the list.
src/prometheus-mcp-server/tests/test_tools.py:530
Method
test_get_available_workspaces_with_error
Test that get_available_workspaces handles errors when getting workspace details.
src/prometheus-mcp-server/tests/test_tools.py:397
Method
test_get_available_workspaces_with_inactive
Test that get_available_workspaces correctly handles inactive workspaces.
src/prometheus-mcp-server/tests/test_tools.py:336
Function
test_get_aws_account_id
Test get_aws_account_id.
src/ecs-mcp-server/tests/unit/test_docker_utils.py:221
Method
test_get_aws_account_id
Test get_aws_account_id function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:301
Method
test_get_aws_account_id_cached
Test that get_aws_account_id returns the cached account ID if available.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:106
Function
test_get_aws_account_id_error
Test get_aws_account_id with error.
src/ecs-mcp-server/tests/unit/test_docker_utils.py:243
Method
test_get_aws_account_id_error
STS errors propagate unwrapped so handle_aws_error keeps the AWS error code.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:158
Method
test_get_aws_account_id_error_handling
Test error handling in get_aws_account_id.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:326
Method
test_get_aws_account_id_exception
Test that get_aws_account_id returns a placeholder when STS call fails.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:133
Method
test_get_aws_account_id_success
Test get_aws_account_id successfully retrieves account ID.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:141
Method
test_get_aws_account_id_uncached
Test that get_aws_account_id calls STS when the account ID is not cached.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:117
Method
test_get_aws_auth_no_credentials
Test AWS auth with no credentials.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:818
Method
test_get_aws_auth_no_credentials_error
Test auth setup with no credentials (coverage: lines 330-332).
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:1220
Method
test_get_aws_auth_success
Test successful AWS auth creation.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:807
Method
test_get_aws_auth_success
Test successful AWS auth setup.
src/healthlake-mcp-server/tests/test_fhir_operations.py:24
Function
test_get_aws_client
Test generic AWS client creation.
src/iam-mcp-server/tests/test_server.py:204
Method
test_get_aws_client_all_services
Test get_aws_client works with different AWS service names.
src/cloudwatch-mcp-server/tests/test_aws_common.py:168
Method
test_get_aws_client_basic
Test basic get_aws_client function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:40
Method
test_get_aws_client_both_env_vars_set
Test get_aws_client with both AWS_REGION and AWS_PROFILE from environment.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:101
Method
test_get_aws_client_default_region_fallback
Test get_aws_client with default region fallback.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:70
Method
test_get_aws_client_default_region_from_env
Test get_aws_client with default region from environment.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:55
Function
test_get_aws_client_error
Test generic AWS client creation error handling.
src/iam-mcp-server/tests/test_server.py:236
Function
test_get_aws_client_expired_token
Test ExpiredToken error handling.
src/aws-iac-mcp-server/tests/client/test_aws_client.py:37
Method
test_get_aws_client_expired_token
Test error handling when credentials are expired.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_aws.py:64
Function
test_get_aws_client_generic_error
Test generic error handling.
src/aws-iac-mcp-server/tests/client/test_aws_client.py:59
Function
test_get_aws_client_no_credentials
Test NoCredentialProviders error handling.
src/aws-iac-mcp-server/tests/client/test_aws_client.py:48
Method
test_get_aws_client_no_credentials
Test error handling when no credentials are found.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_aws.py:79
Method
test_get_aws_client_other_error
Test error handling for other errors.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_aws.py:94
Method
test_get_aws_client_profile_from_env
Test get_aws_client with profile from environment.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:83
Method
test_get_aws_client_profile_takes_precedence_over_env
Test explicit profile_name takes precedence over AWS_PROFILE env var.
src/cloudwatch-mcp-server/tests/test_aws_common.py:149
Method
test_get_aws_client_region_fallback_to_session
Test get_aws_client uses session region when region_name is None.
src/cloudwatch-mcp-server/tests/test_aws_common.py:87
Method
test_get_aws_client_region_fallback_to_us_east_1
Test get_aws_client falls back to us-east-1 when no region is available.
src/cloudwatch-mcp-server/tests/test_aws_common.py:107
Function
test_get_aws_client_success
Test successful client creation.
src/aws-iac-mcp-server/tests/client/test_aws_client.py:23
Method
test_get_aws_client_user_agent_config
Test get_aws_client sets proper user agent configuration.
src/cloudwatch-mcp-server/tests/test_aws_common.py:127
Method
test_get_aws_client_with_aws_profile_env
Test get_aws_client falls back to AWS_PROFILE env var.
src/cloudwatch-mcp-server/tests/test_aws_common.py:47
Method
test_get_aws_client_with_default_region
Test getting an AWS client with default region.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_aws.py:47
Method
test_get_aws_client_with_environment_variables
Test get_aws_client function with environment variables.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:55
Method
test_get_aws_client_with_profile
Test get_aws_client with profile name.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:26
Method
test_get_aws_client_with_profile_name
Test get_aws_client with explicit profile_name parameter.
src/cloudwatch-mcp-server/tests/test_aws_common.py:24
Function
test_get_aws_client_with_region
Test generic AWS client creation with region.
src/iam-mcp-server/tests/test_server.py:220
Method
test_get_aws_client_with_region
Test getting an AWS client with region.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_aws.py:30
Method
test_get_aws_client_with_role
Test get_aws_client_with_role function.
src/ecs-mcp-server/tests/unit/test_aws_role_utils.py:56
Method
test_get_aws_client_with_role
Test get_aws_client_with_role function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:412
Method
test_get_aws_client_with_role_default_region
Test get_aws_client_with_role with default region when AWS_REGION is not set.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:467
Method
test_get_aws_client_with_role_error
Test get_aws_client_with_role when assume_ecr_role raises an exception.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:957
Method
test_get_aws_client_without_profile
Test get_aws_client without profile uses default credential chain.
src/cloudwatch-mcp-server/tests/test_aws_common.py:68
Method
test_get_aws_client_without_profile
Test get_aws_client without profile name.
src/aws-network-mcp-server/tests/utils/test_aws_common.py:42
Method
test_get_aws_config
Test get_aws_config function.
src/ecs-mcp-server/tests/unit/test_aws_utils.py:30
Method
test_get_aws_partition_cached
Test that get_aws_partition returns the cached partition if available.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:149
Method
test_get_aws_partition_different_partitions
Test that get_aws_partition correctly extracts different partition types from ARNs.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:891
Method
test_get_aws_partition_exception
Test that get_aws_partition returns the default partition when STS call fails.
src/aws-dataprocessing-mcp-server/tests/utils/test_aws_helper.py:178
← previous
next →
19,901–20,000 of 35,417, ranked by callers