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_config_defaults
Test that default configuration values are set correctly.
src/ecs-mcp-server/tests/unit/utils/test_config.py:15
Method
test_get_config_empty
Returns empty dict when no config exists.
src/security-agent-mcp-server/tests/test_state.py:25
Method
test_get_config_first_time
Test getting config for the first time.
src/amazon-translate-mcp-server/tests/test_config.py:318
Method
test_get_config_with_alternative_true_values
Test that alternative true values are properly parsed.
src/ecs-mcp-server/tests/unit/utils/test_config.py:72
Method
test_get_config_with_security_flags_disabled
Test that security flags are properly parsed when explicitly disabled.
src/ecs-mcp-server/tests/unit/utils/test_config.py:54
Method
test_get_config_with_security_flags_enabled
Test that security flags are properly parsed when enabled.
src/ecs-mcp-server/tests/unit/utils/test_config.py:36
Method
test_get_configuration_api_error_returns_error_dict
Get configuration returns error dict when API raises an exception.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:247
Method
test_get_configuration_returns_all_fields
For any valid config name, get returns arn, uuid, name, runConfigurations, status, creationTime, tags.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:310
Function
test_get_connection
(mocker, reset_persistent_connection)
src/aurora-dsql-mcp-server/tests/test_server.py:168
Function
test_get_connection_after_close
Test getting a new connection after closing the previous one.
src/elasticache-mcp-server/tests/test_connection.py:112
Function
test_get_connection_closes_conn_when_pool_becomes_none
When pool becomes None between checkout and return, connection is closed.
src/mssql-mcp-server/tests/test_pool_exhaustion_and_expiry.py:132
Function
test_get_connection_custom_settings
Test connection creation with custom environment settings.
src/elasticache-mcp-server/tests/test_connection.py:43
Method
test_get_connection_custom_values
Test get_connection with custom environment values.
src/memcached-mcp-server/tests/test_connection.py:53
Method
test_get_connection_data
Test creating a GetConnectionData.
src/aws-dataprocessing-mcp-server/tests/models/test_data_catalog_models.py:525
Function
test_get_connection_default_settings
Test connection creation with default settings.
src/elasticache-mcp-server/tests/test_connection.py:18
Method
test_get_connection_default_values
Test get_connection with default environment values.
src/memcached-mcp-server/tests/test_connection.py:24
Method
test_get_connection_enforces_hide_password_when_flag_disabled
Test that get_connection enforces hide_password=True when allow_sensitive_data_access=False.
src/aws-dataprocessing-mcp-server/tests/test_sensitive_data_access.py:135
Method
test_get_connection_error
Test that get_connection returns an error response when the Glue API call fails.
src/aws-dataprocessing-mcp-server/tests/core/glue_data_catalog/test_data_catalog_handler.py:1447
Function
test_get_connection_failure
(mocker, reset_persistent_connection)
src/aurora-dsql-mcp-server/tests/test_server.py:195
Method
test_get_connection_info
get_database_connection_info delegates to the map.
src/db2-mcp-server/tests/test_server.py:400
Function
test_get_connection_pool_none_raises
If pool was never initialized, _get_connection raises ValueError.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:93
Function
test_get_connection_replacement_also_fails
If replacement connection can't be created, the original error still propagates.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:105
Function
test_get_connection_replaces_broken
When the yielded connection raises, a fresh connection is put back in the pool.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:62
Method
test_get_connection_respects_hide_password_when_flag_enabled
Test that get_connection respects user's hide_password choice when allow_sensitive_data_access=True.
src/aws-dataprocessing-mcp-server/tests/test_sensitive_data_access.py:167
Method
test_get_connection_singleton
Test get_connection returns same instance on multiple calls.
src/memcached-mcp-server/tests/test_connection.py:86
Method
test_get_connection_success
Test that get_connection returns a successful response when the Glue API call succeeds.
src/aws-dataprocessing-mcp-server/tests/core/glue_data_catalog/test_data_catalog_handler.py:234
Method
test_get_connection_with_all_parameters
Test that get_connection handles all optional parameters correctly.
src/aws-dataprocessing-mcp-server/tests/core/glue_data_catalog/test_data_catalog_handler.py:1473
Method
test_get_connection_with_tls_custom_certs
Test get_connection with TLS enabled using custom certificates.
src/memcached-mcp-server/tests/test_connection.py:155
Method
test_get_connection_with_tls_default
Test get_connection with TLS enabled using default settings.
src/memcached-mcp-server/tests/test_connection.py:127
Method
test_get_connection_with_tls_no_verify
Test get_connection with TLS enabled but verification disabled.
src/memcached-mcp-server/tests/test_connection.py:188
Method
test_get_container_path_all_tools_fail
Test when all container tools are found but none work.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1134
Method
test_get_container_path_docker_available
Test when Docker is available and working.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1082
Method
test_get_container_path_finch_available
Test when Docker fails but Finch is available.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1098
Method
test_get_container_path_no_tools_found
Test when no container tools are found in PATH.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1126
Method
test_get_container_port_no_output
Test _get_container_port when no port output.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:387
Function
test_get_context_logger_import
Test that get_context_logger is properly imported and used.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:2466
Method
test_get_context_no_connection
get_context raises ValueError for unknown session.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:209
Method
test_get_context_no_contexts
get_context raises ValueError when browser has no contexts.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:214
Method
test_get_context_returns_first_context
get_context returns the first browser context.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:182
Method
test_get_correlation_id_generates_new
Test get_correlation_id generates new ID when none exists.
src/amazon-translate-mcp-server/tests/test_logging_config.py:288
Method
test_get_correlation_id_returns_existing
Test get_correlation_id returns existing ID from context.
src/amazon-translate-mcp-server/tests/test_logging_config.py:298
Method
test_get_cost_and_usage_calls_client
Test get_cost_and_usage calls client.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:554
Method
test_get_cost_and_usage_comparisons_basic
Test get_cost_and_usage_comparisons with basic parameters.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:175
Method
test_get_cost_and_usage_comparisons_error_handling
Test get_cost_and_usage_comparisons error handling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:487
Method
test_get_cost_and_usage_comparisons_invalid_next_token
A rejected caller token maps to invalid_next_token.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:455
Method
test_get_cost_and_usage_comparisons_max_items_stop_and_continue
max_items stops with the service token; the continuation resends the request.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:413
Method
test_get_cost_and_usage_comparisons_with_billing_view_arn
Test get_cost_and_usage_comparisons with billing_view_arn parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:319
Method
test_get_cost_and_usage_comparisons_with_filter
Test get_cost_and_usage_comparisons with filter parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:255
Method
test_get_cost_and_usage_comparisons_with_group_by
Test get_cost_and_usage_comparisons with group_by parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:220
Method
test_get_cost_and_usage_comparisons_with_max_items
Test get_cost_and_usage_comparisons with max_items below the page maximum.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:287
Method
test_get_cost_and_usage_comparisons_with_pagination
Test get_cost_and_usage_comparisons handles pagination correctly.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:352
Method
test_get_cost_and_usage_daily
Test getting daily cost and usage data.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:37
Method
test_get_cost_and_usage_future_date
Test getting cost and usage data for future dates.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:200
Method
test_get_cost_and_usage_hourly
Test getting hourly cost and usage data.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:125
Method
test_get_cost_and_usage_invalid_granularity
Test getting cost and usage data with invalid granularity.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:168
Method
test_get_cost_and_usage_invalid_time_period
Test getting cost and usage data with invalid time period.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:185
Method
test_get_cost_and_usage_monthly
Test getting monthly cost and usage data.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:80
Method
test_get_cost_and_usage_with_billing_view_arn
Test get_cost_and_usage includes BillingViewArn in request.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:151
Method
test_get_cost_and_usage_with_resources_with_billing_view_arn
Test get_cost_and_usage_with_resources includes BillingViewArn.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:172
Method
test_get_cost_and_usage_without_billing_view_arn
Test get_cost_and_usage omits BillingViewArn when not provided.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:166
Function
test_get_cost_and_usage_works_in_readonly_mode
Test that get_cost_and_usage works in readonly mode.
src/elasticache-mcp-server/tests/tools/ce/test_get_cost_and_usage.py:216
Function
test_get_cost_categories
Test the get_cost_categories function.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:408
Method
test_get_cost_categories_basic
Test basic call to get_cost_categories.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1638
Method
test_get_cost_categories_calls_client
Test get_cost_categories calls client.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:600
Method
test_get_cost_categories_with_billing_view_arn
Test get_cost_categories includes BillingViewArn.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:307
Method
test_get_cost_category_values
Test get_cost_categories with cost_category_name to get values. AWS GetCostCategories is a single API: passing CostCategoryName makes
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:1701
Method
test_get_cost_comparison_drivers_basic
Test get_cost_comparison_drivers with basic parameters.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:530
Method
test_get_cost_comparison_drivers_continuation_sends_caller_token
A continuation sends the caller's token and otherwise identical params.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:784
Method
test_get_cost_comparison_drivers_error_handling
Test get_cost_comparison_drivers error handling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:814
Method
test_get_cost_comparison_drivers_max_items_stops
max_items sizes the last page to the remainder and stops with the token.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:754
Method
test_get_cost_comparison_drivers_with_billing_view_arn
Test get_cost_comparison_drivers with billing_view_arn parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:671
Method
test_get_cost_comparison_drivers_with_filter
Test get_cost_comparison_drivers with filter parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:609
Method
test_get_cost_comparison_drivers_with_group_by
Test get_cost_comparison_drivers with group_by parameter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:576
Method
test_get_cost_comparison_drivers_with_max_items
Test get_cost_comparison_drivers with max_items below the page maximum.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:641
Method
test_get_cost_comparison_drivers_with_pagination
Test get_cost_comparison_drivers handles pagination correctly.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:704
Method
test_get_cost_explorer_data_reserved_instances
Test get_cost_explorer_data with reserved instances recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:921
Method
test_get_cost_explorer_data_savings_plans
Test get_cost_explorer_data with savings plans recommendation.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:901
Method
test_get_cost_explorer_data_unsupported_type
Test get_cost_explorer_data with unsupported action type.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:938
Method
test_get_cost_forecast_calls_client
Test get_cost_forecast calls client.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:578
Method
test_get_cost_forecast_with_billing_view_arn
Test get_cost_forecast includes BillingViewArn.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:258
Method
test_get_cost_report_aws_error
Test handling of AWS service errors.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1618
Method
test_get_cost_report_empty_result_has_no_margin_note
No rows means no margin to read, so the note is left out.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1534
Method
test_get_cost_report_pagination
Test getting cost report with pagination.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1595
Method
test_get_cost_report_success
Test successful retrieval of a billing group cost report.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1516
Method
test_get_cost_report_with_billing_period_range
Test getting cost report with billing period range.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1570
Method
test_get_cost_report_with_group_by
Test getting cost report with group_by parameter.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_operations.py:1550
Function
test_get_credentials_alt_keys
Capitalised/alternate keys are also accepted.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:419
Function
test_get_credentials_client_error_raises
A Secrets Manager client error is wrapped as ValueError.
src/mssql-mcp-server/tests/test_pymssql_pool_extended.py:482
Function
test_get_credentials_from_secret_alternate_casings
Secrets with `user`/`Username`/`Password` keys are still parsed.
src/oracle-mcp-server/tests/test_coverage.py:595
Method
test_get_credentials_from_secret_client_error
Test error handling when Secrets Manager client fails.
src/postgres-mcp-server/tests/test_psycopg_connector.py:699
Function
test_get_credentials_from_secret_client_error_wrapped
A botocore ClientError is wrapped as ValueError.
src/oracle-mcp-server/tests/test_coverage.py:656
Function
test_get_credentials_from_secret_happy_path
Standard secret with username + password keys is parsed successfully.
src/oracle-mcp-server/tests/test_coverage.py:570
Method
test_get_credentials_from_secret_manager
Should retrieve credentials from Secrets Manager.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:685
Function
test_get_credentials_from_secret_missing_password
A secret without a password field raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:628
Method
test_get_credentials_from_secret_missing_password
Test error when password is missing from secret.
src/postgres-mcp-server/tests/test_psycopg_connector.py:655
Function
test_get_credentials_from_secret_missing_username
A secret without a username field raises ValueError.
src/oracle-mcp-server/tests/test_coverage.py:612
Method
test_get_credentials_from_secret_missing_username
Test error when username is missing from secret.
src/postgres-mcp-server/tests/test_psycopg_connector.py:633
Function
test_get_credentials_from_secret_no_secret_string
When the response has no SecretString, a ValueError is raised.
src/oracle-mcp-server/tests/test_coverage.py:642
Method
test_get_credentials_from_secret_no_secret_string
Test error when secret doesn't contain SecretString.
src/postgres-mcp-server/tests/test_psycopg_connector.py:677
Method
test_get_credentials_from_secret_test_mode
Test getting credentials in test mode.
src/postgres-mcp-server/tests/test_psycopg_connector.py:485
← previous
next →
20,201–20,300 of 35,417, ranked by callers