MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

Methodtest_lowercase_set_is_rejected
Case-insensitive: lowercase ``set`` still fires.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:657
Methodtest_lpush_and_lrange
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:156
Functiontest_main
Test the main function.
src/well-architected-security-mcp-server/tests/test_server.py:527
Functiontest_main
Test the main function.
src/well-architected-security-mcp-server/tests/test_server_coverage.py:69
Methodtest_main
Test the main function.
src/aws-documentation-mcp-server/tests/test_server_aws.py:1360
Methodtest_main
Test the main function.
src/aws-documentation-mcp-server/tests/test_server_aws_cn.py:437
Methodtest_main
Test main function.
src/amazon-qindex-mcp-server/tests/test_server.py:372
Functiontest_main_allow_write_query_flag_sets_write_mode
--allow_write_query disables readonly mode.
src/mssql-mcp-server/tests/test_server_extended.py:757
Methodtest_main_as_script
Test the __main__ block.
src/aws-serverless-mcp-server/tests/test_server.py:235
Methodtest_main_as_script_entry_point
Test main function works as script entry point.
src/aws-network-mcp-server/tests/test_server.py:197
Functiontest_main_both_service_name_and_sid_exits
Passing both --service_name and --sid exits with code 1.
src/oracle-mcp-server/tests/test_coverage.py:314
Functiontest_main_calls_mcp_run
Verify main() calls mcp.run().
src/security-agent-mcp-server/tests/test_main.py:20
Methodtest_main_calls_mcp_run
Test that main() calls mcp.run().
src/aws-iac-mcp-server/tests/test_server.py:309
Methodtest_main_calls_run
Test main function calls mcp.run().
src/aws-for-sap-management-mcp-server/tests/test_main.py:24
Methodtest_main_credentials_failure
Test that main exits when credentials validation fails.
src/prometheus-mcp-server/tests/test_main.py:180
Methodtest_main_debug_enables_diagnostics
Test main function with debug flag enables diagnostics.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3289
Methodtest_main_debug_settings_path_with_debug_attr
Test main sets debug directly on mcp when settings are unavailable.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3521
Methodtest_main_debug_settings_path_with_settings_attr
Test main sets debug on mcp.settings when available.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3507
Methodtest_main_default
Test main function with default arguments.
src/eks-mcp-server/tests/test_main.py:26
Methodtest_main_default
Test main function with default arguments. This test verifies that: 1. The main function runs without errors 2. The mcp.run m
src/amazon-neptune-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test that main correctly runs the server with default settings.
src/amazon-neptune-mcp-server/tests/test_server.py:274
Methodtest_main_default
Test main function with default arguments. This test verifies that: 1. The main function runs without errors 2. The mcp.run m
src/amazon-keyspaces-mcp-server/tests/test_main.py:22
Methodtest_main_default
Test main function with default arguments.
src/timestream-for-influxdb-mcp-server/tests/test_main.py:26
Methodtest_main_default
Test main function with default arguments.
src/cloudwatch-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test main function with default arguments.
src/documentdb-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test main function with default arguments.
src/lambda-tool-mcp-server/tests/test_server.py:445
Methodtest_main_default
Test the main function with default arguments.
src/bedrock-kb-retrieval-mcp-server/tests/test_server.py:147
Methodtest_main_default
Test main function with default arguments.
src/s3-tables-mcp-server/tests/test_main.py:24
Methodtest_main_default
Test main function with default arguments.
src/amazon-qbusiness-anonymous-mcp-server/tests/test_main.py:26
Methodtest_main_default
Test main function with default arguments.
src/amazon-kendra-index-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test main function with default arguments.
src/redshift-mcp-server/tests/test_main.py:26
Methodtest_main_default
Test main function with default arguments.
src/amazon-qindex-mcp-server/tests/test_main.py:22
Methodtest_main_default
Test main function with default arguments.
src/memcached-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test main function with default arguments.
src/sagemaker-ai-mcp-server/tests/test_main.py:36
Methodtest_main_default
Test main function with default arguments.
src/elasticache-mcp-server/tests/test_main.py:22
Methodtest_main_default
Test main function with default arguments.
src/cloudtrail-mcp-server/tests/test_main.py:26
Methodtest_main_default
Test main function with default arguments.
src/aws-iot-sitewise-mcp-server/tests/test_main.py:25
Methodtest_main_default
Test main function with default arguments.
src/aws-healthomics-mcp-server/tests/test_main.py:22
Functiontest_main_entry
Test main entrypoint logic is callable and triggers app.run.
src/s3-tables-mcp-server/tests/test_server.py:907
Functiontest_main_entry_point
Test the __name__ == '__main__' entry point.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_audit_functions.py:163
Functiontest_main_entry_point
Test the if __name__ == '__main__' entry point.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:1962
Functiontest_main_exception
Test main function with general exception.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:1951
Methodtest_main_exception_handling
Test main function exception handling.
src/healthlake-mcp-server/tests/test_main.py:46
Methodtest_main_execution
Test main function is callable.
src/prometheus-mcp-server/tests/test_coverage_gaps.py:112
Methodtest_main_exits_on_privilege_violation
A ConnectionValidationError (over-privileged role) aborts startup with exit 1.
src/postgres-mcp-server/tests/test_server_error_handling.py:909
Methodtest_main_exits_on_unexpected_validation_error
A non-ConnectionValidationError during validation also aborts startup with exit 1.
src/postgres-mcp-server/tests/test_server_error_handling.py:931
Methodtest_main_exits_when_both_role_sources_configured
main() exits with code 1 and never serves when both role sources are set. parse_config performs the single-resolver-source selection and reje
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:334
Methodtest_main_exits_when_jwt_role_arn_missing
main() exits with code 1 and never serves when JWT role ARN is missing.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:371
Methodtest_main_exits_when_no_mechanisms_enabled
main() exits with code 1 and never serves when no mechanism is enabled.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:315
Functiontest_main_exits_when_secret_arn_unreadable
Server fails to start with a clear error when --secret_arn can't be read. Simulates an operator who gives the correct CLI shape but whose AWS
src/postgres-mcp-server/tests/test_server.py:1117
Methodtest_main_failure
Test the main function with a failure during execution.
src/aws-serverless-mcp-server/tests/test_server.py:176
Functiontest_main_function
Test main function argument parsing.
src/iam-mcp-server/tests/test_server.py:1022
Functiontest_main_function
Test main() entry point.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2214
Functiontest_main_function
Test main function execution.
src/billing-cost-management-mcp-server/tests/test_server.py:128
Functiontest_main_function
Test the main function.
src/openapi-mcp-server/tests/test_main.py:24
Methodtest_main_function
Test the main function initializes cache and runs the server.
src/amazon-bedrock-agentcore-mcp-server/tests/test_main.py:25
Methodtest_main_function
Test that main() calls mcp.run() (line 177).
src/aws-for-sap-management-mcp-server/tests/test_server.py:78
Methodtest_main_function
Test main function calls run with run_server.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:151
Methodtest_main_function_calls_mcp_run
Test the main function calls mcp.run().
src/aws-network-mcp-server/tests/test_server.py:66
Functiontest_main_function_coverage
Test main function for coverage.
src/healthimaging-mcp-server/tests/test_server.py:1514
Functiontest_main_function_exists
Test that main function exists and is callable.
src/billing-cost-management-mcp-server/tests/test_server.py:68
Methodtest_main_function_exists
Test that main function exists and is callable.
src/healthimaging-mcp-server/tests/test_main.py:34
Methodtest_main_function_exists
Test that main function exists and can be imported.
src/healthimaging-mcp-server/tests/test_server.py:407
Methodtest_main_function_exists_and_callable
Test that main function exists and is callable.
src/aws-network-mcp-server/tests/test_server.py:190
Methodtest_main_function_logs_startup
Test the main function logs startup message.
src/aws-network-mcp-server/tests/test_server.py:73
Methodtest_main_function_scenarios
Test main function success and error scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:400
Functiontest_main_general_exception
Test general exception handling in main function.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:647
Methodtest_main_guard_not_executed_when_imported
Test that sync_main is not called when imported as module.
src/healthlake-mcp-server/tests/test_main.py:78
Methodtest_main_guarded_by_dunder_main
``main()`` runs only under ``__main__``, so import does not serve. The import performed at module load did not start a server (this test modu
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint.py:171
Methodtest_main_handles_proxy_exception
Test that main() handles proxy initialization failure gracefully.
src/aws-iac-mcp-server/tests/test_server.py:352
Methodtest_main_handles_url_parsing_exception
Test that main handles exceptions during URL parsing.
src/aurora-dsql-mcp-server/tests/test_main.py:158
Functiontest_main_http_transport_allowed_hosts_reach_fastmcp_guard
Test AWS_API_MCP_ALLOWED_HOSTS is honoured by FastMCP's own Host header guard (#4507). FastMCP 3.x only accepts loopback Host headers unless ``al
src/aws-api-mcp-server/tests/test_server.py:914
Methodtest_main_imports_server_main
Test that main module imports main from server.
src/healthimaging-mcp-server/tests/test_main.py:27
Functiontest_main_invalid_connection_method_exits
Invalid --connection_method at startup exits with code 1.
src/oracle-mcp-server/tests/test_server.py:1833
Functiontest_main_invalid_connection_method_exits
Invalid --connection_method at startup exits with code 1.
src/mssql-mcp-server/tests/test_server_extended.py:1067
Functiontest_main_keyboard_interrupt
Test KeyboardInterrupt handling in main function.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:639
Functiontest_main_logs_and_exits_without_starting_transport
main() logs the config error, exits non-zero, and never starts a transport. Validates: Requirements Transport selection, Network bind configurati
src/aws-healthomics-mcp-server/tests/test_transport.py:176
Methodtest_main_logs_custom_file_path
Test main function logs custom file path correctly.
src/finch-mcp-server/tests/test_server.py:872
Methodtest_main_logs_default_logging
Test main function logs default logging mode correctly.
src/finch-mcp-server/tests/test_server.py:891
Methodtest_main_logs_stderr_only
Test main function logs stderr-only mode correctly.
src/finch-mcp-server/tests/test_server.py:882
Functiontest_main_missing_aws_region
Test main function raises ValueError when AWS_REGION environment variable is not set.
src/aws-api-mcp-server/tests/test_server.py:837
Functiontest_main_missing_connection_method_with_endpoint_exits
--db_endpoint without --connection_method exits with code 1.
src/oracle-mcp-server/tests/test_server.py:1791
Functiontest_main_missing_region_with_endpoint_exits
--db_endpoint without --region exits with code 1.
src/oracle-mcp-server/tests/test_server.py:1812
Methodtest_main_module_execution
Test that main module can be executed.
src/healthimaging-mcp-server/tests/test_server.py:413
Methodtest_main_module_execution_logic
Test entry point logic for different execution contexts.
src/ecs-mcp-server/tests/unit/test_main.py:339
Methodtest_main_module_exists
Test that main module can be imported.
src/healthimaging-mcp-server/tests/test_main.py:21
Methodtest_main_module_import
Test that main module imports correctly.
src/healthimaging-mcp-server/tests/test_server.py:422
Methodtest_main_module_name_check
Test __name__ == '__main__' check coverage.
src/healthlake-mcp-server/tests/test_main_edge_cases.py:19
Methodtest_main_mq_client_getter
Test that main wires a working MQ client getter into RabbitMQModule.
src/amazon-mq-mcp-server/tests/test_server.py:345
Functiontest_main_no_confirmation_flag
Test main function with --no-confirmation flag.
src/iam-mcp-server/tests/test_server.py:2296
Functiontest_main_no_reduced_tls_warning_on_default
The verify-full default must NOT emit the reduced-posture warning.
src/postgres-mcp-server/tests/test_server.py:888
Functiontest_main_normal_execution
Test normal execution of main function.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:633
Functiontest_main_parses_per_target_and_default_secret_arn
Multiple --secret_arn flags populate the per-target map plus the default.
src/postgres-mcp-server/tests/test_server.py:1240
Functiontest_main_read_operations_index_load_failure
Test main refuses to start when the read operations index fails to load. The read operations index is required to enforce the security policy, so
src/aws-api-mcp-server/tests/test_server.py:51
Functiontest_main_readonly_appends_notice_to_tool_descriptions
In readonly mode, main() appends a notice to run_query/get_table_schema.
src/oracle-mcp-server/tests/test_coverage.py:333
Functiontest_main_readonly_default_no_startup_connection
main() with minimal args enters readonly mode and runs mcp.run() without connecting.
src/mssql-mcp-server/tests/test_server_extended.py:741
Functiontest_main_registers_all_tools
Test that main function registers all expected tools.
src/aws-appsync-mcp-server/tests/test_server.py:59
Functiontest_main_rejects_duplicate_per_target_key
Two --secret_arn entries with the same key → exit 2.
src/postgres-mcp-server/tests/test_server.py:1308
Methodtest_main_rejects_malformed_knowledge_server_url
Test that main rejects malformed knowledge server URLs.
src/aurora-dsql-mcp-server/tests/test_main.py:134
Methodtest_main_rejects_negative_timeout
Test that main rejects negative timeout.
src/aurora-dsql-mcp-server/tests/test_main.py:206
← previousnext →22,801–22,900 of 32,024, ranked by callers