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_server_name_validation
Test server name validation.
src/amazon-translate-mcp-server/tests/test_server.py:369
Method
test_server_parameter_models_comprehensive
Test all server parameter models.
src/amazon-translate-mcp-server/tests/test_server.py:445
Method
test_server_properties
Test server has correct basic properties.
src/ecs-mcp-server/tests/unit/test_main.py:146
Method
test_server_read_resource_success
Test server read_resource handler success.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:253
Function
test_server_registration_logic
Test server registration logic without actually running it.
src/billing-cost-management-mcp-server/tests/test_server.py:76
Method
test_server_service_initialization
Test service initialization.
src/amazon-translate-mcp-server/tests/test_server.py:571
Method
test_server_sized_stops_before_a_page_that_could_overflow
No call is made when one more full page could exceed max_items.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:228
Method
test_server_still_alive_after_errors
Verify the server didn't crash — this test runs last.
src/valkey-mcp-server/tests/integration/test_error_cases_live.py:83
Method
test_server_terminology_parameter_models
Test terminology parameter models.
src/amazon-translate-mcp-server/tests/test_server.py:486
Method
test_server_to_client_integration
Test server → client integration with realistic mocks.
src/healthlake-mcp-server/tests/test_integration_mock_based.py:11
Function
test_server_tool_count
Verify correct number of tools.
src/security-agent-mcp-server/tests/test_server.py:52
Function
test_server_tool_imports
Test that all tool servers are imported.
src/billing-cost-management-mcp-server/tests/test_server.py:47
Method
test_server_tool_registration
Test that all server tools are properly registered.
src/amazon-translate-mcp-server/tests/test_server.py:410
Method
test_server_tools_exist
Test that all expected MCP tools are defined.
src/amazon-translate-mcp-server/tests/test_server.py:141
Function
test_server_version
@@VERSION contains 'Microsoft SQL Server'.
src/mssql-mcp-server/tests/e2e/e2e_integration_test.py:69
Method
test_server_works_without_browser_import
If browser import fails, server still serves base tools.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_mcp_protocol.py:875
Function
test_serverinfo_model_dump
Test ServerInfo model_dump method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:265
Method
test_serverless_only_queries_excluded_for_provisioned
For provisioned clusters, serverless-only queries are excluded.
src/redshift-mcp-server/tests/test_review_executor.py:184
Method
test_serverless_review_executes_no_placeholder_query
Serverless workgroups have no node type and run no query needing one.
src/redshift-mcp-server/tests/test_review_executor.py:610
Method
test_serverless_v2_scaling
Should configure ServerlessV2 scaling.
src/mysql-mcp-server/tests/test_cp_api_connection.py:204
Method
test_serverless_with_provisioned_class_raises
Serverless v2 + non-serverless instance class is rejected.
src/mysql-mcp-server/tests/test_cp_api_connection.py:498
Method
test_service
Test Service model.
src/aws-support-mcp-server/tests/test_models.py:175
Function
test_service_client_error
Test handling ClientError in service call.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:920
Method
test_service_codes_give_offering_codes_apart_from_rate_codes
Offering codes come before the rate operation, rate codes after it.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1489
Method
test_service_codes_say_other_offering_codes_return_empty
On offerings an EC2-containing code fails the call; any other code returns empty.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:1502
Method
test_service_error_is_reported
A service error comes back as an error with the AWS code.
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_monitors.py:225
Method
test_service_events_transformer
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:70
Method
test_service_events_transformer_with_time_parameters
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:234
Method
test_service_exception_propagation
Test that service exceptions are properly handled.
src/amazon-translate-mcp-server/tests/test_server.py:788
Function
test_service_exists
Test when ECS service exists.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:356
Method
test_service_info_creation
Test creating ServiceInfo objects.
src/aws-pricing-mcp-server/tests/test_report_generator.py:369
Method
test_service_initialization
Test service initialization with different parameters.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:253
Method
test_service_initialization_error_handling
Test error handling when services fail to initialize.
src/amazon-translate-mcp-server/tests/test_server.py:776
Method
test_service_key_attributes_filtering
Test service key attributes filtering and entity building.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:743
Method
test_service_key_attributes_required_for_comprehensive_history
Test that service_key_attributes is required when comprehensive_history=True.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:172
Method
test_service_key_attributes_with_extra_fields_filtered
Test that extra fields in service_key_attributes are filtered out.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:312
Method
test_service_key_terms_matching
Test service-specific key terms matching.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:200
Method
test_service_managed_key
Sets back to a service-managed key on a specific vault.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_token_vault.py:107
Function
test_service_name_dsn_format
Verify DSN uses connect descriptor with SERVICE_NAME.
src/oracle-mcp-server/tests/test_oracledb_pool_connection.py:39
Method
test_service_name_patterns
Test realistic service name patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3266
Method
test_service_next_token_codes_share_invalid_next_token_guidance
A token the service rejects gets the restart-without-next_token hint.
src/billing-cost-management-mcp-server/tests/utilities/test_error_contract.py:98
Function
test_service_not_allowed
Test that not allowed services raises the right exception.
src/aws-api-mcp-server/tests/parser/test_parser.py:58
Function
test_service_not_expecting_parameters
Test that parsing of commands that do not expect any parameters succeeds.
src/aws-api-mcp-server/tests/parser/test_parser.py:32
Function
test_service_not_found
Test when ECS service does not exist.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:703
Method
test_service_not_found
Test when service is not found.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:572
Method
test_service_not_found_returns_not_found
When the service KeyAttributes are not found, a not-found diagnostic is returned.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:250
Method
test_service_quota_exceeded_error
Test service quota exceeded error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:980
Function
test_service_reference_urls_by_service_error
Test ServiceReferenceUrlsByService initialization when the service reference API call throws an error.
src/aws-api-mcp-server/tests/metadata/test_read_only_operations_list.py:183
Method
test_service_states_api_error
Test graceful handling of service states API error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:1241
Method
test_service_unavailable_error
Test ServiceUnavailableError.
src/amazon-translate-mcp-server/tests/test_models.py:846
Method
test_service_unavailable_error
Test service unavailable error handling.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:647
Method
test_service_unavailable_error
Test service unavailable error handling.
src/amazon-translate-mcp-server/tests/test_language_operations_coverage.py:86
Method
test_service_unavailable_error_handling
Test service unavailable error handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:428
Method
test_service_unavailable_error_handling
Test handling of service unavailable errors.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:901
Method
test_service_unavailable_error_with_service
Test ServiceUnavailableError with service name.
src/amazon-translate-mcp-server/tests/test_exceptions.py:184
Method
test_service_unavailable_handling
Test handling of service unavailable errors.
src/amazon-translate-mcp-server/tests/test_aws_client.py:992
Method
test_service_validation_error_is_not_pre_empted
Input constraints are left to the service, whose error names the limit. Revalidating them here would duplicate the service and risk diverging
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:380
Method
test_service_wildcard_allowed
Test that service-level wildcard allows all actions.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:160
Method
test_service_with_alternatives
Test service with alternatives returns correct structure.
src/aws-pricing-mcp-server/tests/test_alternative_pricing.py:7
Function
test_service_with_failed_deployment
Test when service has a failed deployment.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:584
Function
test_service_with_load_balancer_issues
Test when ECS service has load balancer issues.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:465
Function
test_service_with_stalled_deployment
Test when service has a stalled deployment.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:643
Method
test_service_with_task_definition
Test service with task definition.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:621
Method
test_service_with_task_definition_error
Test service with task definition error.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:763
Method
test_service_without_alternatives
Test service without alternatives returns None.
src/aws-pricing-mcp-server/tests/test_alternative_pricing.py:22
Method
test_serving_loop_startup_is_opt_in_on_the_connection_class
Only a class that sets requires_serving_loop defers startup validation. A MagicMock auto-creates attributes, so the check has to read the cla
src/postgres-mcp-server/tests/test_server_error_handling.py:969
Function
test_session_detail
Session detail.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:580
Function
test_session_detail_limit_capped
Session detail limit capped.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:852
Function
test_session_detail_limit_invalid
Session detail limit invalid.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:870
Function
test_session_detail_unknown_platform_bails
session_detail on unknown-platform monitor must return the guard, not run a query.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1626
Method
test_session_failure
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:87
Method
test_session_id_is_not_none_check
Empty string session_id IS sent (is not None, not truthiness).
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:282
Method
test_session_id_omitted
Omitting session_id does not include it in kwargs.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:267
Function
test_session_invalid_operation
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:514
Method
test_session_management_edge_cases
Test session management with edge cases.
src/amazon-translate-mcp-server/tests/test_aws_client.py:848
Method
test_session_mutation_no_false_positives
Legitimate SELECTs must not be flagged as session mutation. Guards against over-broad matching on columns/identifiers whose names mer
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:206
Function
test_session_no_write_access_fallback
Test sessions no write access fallback response.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:2002
Function
test_session_not_found
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:473
Function
test_session_parameter_validation_errors
Test session parameter validation errors.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1902
Method
test_session_policy_dict_is_serialized
A dict policy is serialized to a JSON string in defaultRunSetting.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:538
Method
test_session_policy_omitted_by_default
No session_policy => no sessionPolicy key in defaultRunSetting.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:558
Method
test_session_policy_string_in_default_run_setting
A JSON string policy is placed (minified) in defaultRunSetting.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:518
Method
test_session_region_handling
Test session region handling.
src/amazon-translate-mcp-server/tests/test_aws_client.py:577
Method
test_session_settings_are_allowed_when_writes_are
A caller permitted to write gains nothing from clearing a property it does not have.
src/redshift-mcp-server/tests/test_sql_guard.py:460
Method
test_session_sql_error_handling
Test session_sql error handling.
src/billing-cost-management-mcp-server/tests/tools/test_unified_sql_tools.py:64
Method
test_session_sql_with_data_and_schema
Test session_sql with data and schema generates table name.
src/billing-cost-management-mcp-server/tests/tools/test_unified_sql_tools.py:49
Method
test_session_success
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:71
Method
test_session_timeout_fails_at_session_stage_without_list_or_invoke
A session that times out fails at SESSION and never lists/invokes (Req 4.2).
src/aws-healthomics-mcp-server/integration/harness_tests/test_transport_driver.py:120
Function
test_session_user_agent_in_boto_request
Test that boto requests include the MCP user agent.
src/aws-api-mcp-server/tests/aws/test_services.py:37
Function
test_sessiondata_methods
Test SessionData methods.
src/mcp-lambda-handler/tests/test_lambda_handler.py:942
Function
test_sessions
Sessions.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:405
Function
test_sessions_general_exception
Test general exception handling in sessions.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1946
Function
test_sessions_unknown_platform_bails
Sessions on unknown-platform monitor must return the guard, not run a query.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1610
Function
test_set1_read_is_allowed_in_read_only_mode
Cell (1, read-only): a read must pass.
src/postgres-mcp-server/tests/test_policy_matrix.py:138
Function
test_set1_read_is_allowed_in_write_mode
Cell (1, write): enabling writes must never restrict a read. True by construction today -- write mode skips the write-set pass and runs nothi
src/postgres-mcp-server/tests/test_policy_matrix.py:144
Function
test_set2_write_is_allowed_in_write_mode
Cell (2, write): a write-enabled operator legitimately runs these. This is the cell that keeps the write set honest. If a statement here were
src/postgres-mcp-server/tests/test_policy_matrix.py:162
Function
test_set2_write_is_rejected_in_read_only_mode
Cell (2, read-only): a write must be refused.
src/postgres-mcp-server/tests/test_policy_matrix.py:155
Function
test_set3_dangerous_is_rejected_in_read_only_mode
Cell (3, read-only): dangerous constructs are refused.
src/postgres-mcp-server/tests/test_policy_matrix.py:173
Function
test_set3_dangerous_is_rejected_in_write_mode
Cell (3, write): enabling writes must not unlock a dangerous construct. The whole point of D being mode-independent. ``--allow_write_query`` is a
src/postgres-mcp-server/tests/test_policy_matrix.py:180
Function
test_set4_unclassifiable_input_is_rejected_in_read_only_mode
Cell (4, read-only): input the guard cannot classify is refused.
src/postgres-mcp-server/tests/test_policy_matrix.py:192
← previous
next →
31,001–31,100 of 35,417, ranked by callers