MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_run_checkov_impl_not_installed
Test run_checkov_impl when checkov is not installed.
src/ccapi-mcp-server/tests/test_security_scanning.py:39
Methodtest_run_checkov_impl_subprocess_error
Test run_checkov_impl with subprocess error.
src/ccapi-mcp-server/tests/test_security_scanning.py:180
Methodtest_run_checkov_impl_success
Test run_checkov_impl success path.
src/ccapi-mcp-server/tests/test_security_scanning.py:66
Methodtest_run_checkov_impl_with_framework
Test run_checkov_impl with specific framework.
src/ccapi-mcp-server/tests/test_security_scanning.py:236
Methodtest_run_checkov_request_valid
Test RunCheckovRequest with valid data.
src/ccapi-mcp-server/tests/test_models.py:161
Methodtest_run_checkov_request_with_framework
Test RunCheckovRequest with custom framework.
src/ccapi-mcp-server/tests/test_models.py:167
Methodtest_run_command_complex_command
Test run_command with a more complex command.
src/aws-serverless-mcp-server/tests/test_process.py:96
Methodtest_run_command_failure
Test run_command when the command fails.
src/aws-serverless-mcp-server/tests/test_process.py:78
Methodtest_run_command_success
Test run_command with a successful command execution.
src/aws-serverless-mcp-server/tests/test_process.py:26
Methodtest_run_command_with_cwd
Test run_command with a specified working directory.
src/aws-serverless-mcp-server/tests/test_process.py:52
Methodtest_run_config_carries_assumed_creds_and_arns
The run config exposes each tenant's assumed creds and the assumed-role ARN.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:346
Methodtest_run_config_env_and_expected_arns
The env mapping exposes the endpoint, tokens, and distinct expected ARNs.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:282
Functiontest_run_cost_calculator_produces_expected_report
run_cost_calculator appends the correct report for a comprehensive scenario. Covers: - 3 tables: Users (with GSI), Orders (with 2 GSIs), Sess
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_integration.py:35
Methodtest_run_cost_calculator_returns_report_property
Property 8: run_cost_calculator Returns Report. For any valid DataModel input, run_cost_calculator SHALL return a non-empty string st
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_calculator_runner.py:220
Methodtest_run_cost_summary_creation
Test RunCostSummary model creation with all fields.
src/aws-healthomics-mcp-server/tests/test_analysis_models.py:106
Methodtest_run_cost_summary_json_serialization
Test RunCostSummary JSON serialization.
src/aws-healthomics-mcp-server/tests/test_analysis_models.py:535
Methodtest_run_cost_summary_missing_required_fields
Test RunCostSummary validation with missing required fields.
src/aws-healthomics-mcp-server/tests/test_analysis_models.py:132
Methodtest_run_gremlin_query
Test that run_gremlin_query correctly executes a Gremlin query. This test verifies that: 1. The get_graph function is called to obtain
src/amazon-neptune-mcp-server/tests/test_server.py:121
Methodtest_run_group_detail_round_trip
RunGroupDetail round-trip: construct -> model_dump -> model_validate -> equal. Validates: RunGroupDetail model with tags field
src/aws-healthomics-mcp-server/tests/test_run_group_models.py:118
Methodtest_run_group_list_response_round_trip
RunGroupListResponse round-trip: construct -> model_dump -> model_validate -> equal. Validates: RunGroupListResponse model with list and pagi
src/aws-healthomics-mcp-server/tests/test_run_group_models.py:158
Methodtest_run_group_summary_round_trip
RunGroupSummary round-trip: construct -> model_dump -> model_validate -> equal. Validates: RunGroupSummary model definition
src/aws-healthomics-mcp-server/tests/test_run_group_models.py:67
Methodtest_run_in_executor
Test that _run_in_executor runs a function in an executor.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:553
Methodtest_run_linter_command_not_found
Test run_linter when linter command is not available.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:286
Methodtest_run_linter_error_handling
Test run_linter error handling scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:346
Methodtest_run_linter_format_command_scenarios
Test run_linter with and without format command.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:484
Methodtest_run_linter_no_config
Test run_linter when no linter is configured.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:248
Methodtest_run_linter_no_config_file
Test run_linter when config file doesn't exist.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:264
Methodtest_run_linter_success_with_formatter
Test run_linter success with formatter.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:315
Methodtest_run_linter_validates_commands
Test that run_linter validates commands before execution.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:646
Functiontest_run_list_response
Test RunListResponse model.
src/aws-healthomics-mcp-server/tests/test_models.py:198
Methodtest_run_log_level_constants
Test individual run log level constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:263
Methodtest_run_log_levels_list
Test RUN_LOG_LEVELS contains exactly the four levels in order.
src/aws-healthomics-mcp-server/tests/test_consts.py:270
Functiontest_run_logs_insights_query_sync_polls_until_complete
Runs the poll loop past at least one Running status before returning Complete.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1339
Functiontest_run_logs_insights_query_sync_timeout_stop_query_failure_is_swallowed
stop_query failure during timeout cleanup must not propagate — return Timeout anyway.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1385
Functiontest_run_logs_insights_query_sync_times_out_and_calls_stop_query
Deadline expires without a terminal status -> Timeout result + stop_query cleanup.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1362
Methodtest_run_multi_tenant_installs_request_scoped_resolver
_run_multi_tenant installs a RequestScopedCredentialResolver as active.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:107
Methodtest_run_multi_tenant_without_mechanisms_raises
_run_multi_tenant raises a config error when no mechanisms are enabled.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:302
Methodtest_run_on_or_after_launch_does_not_predate
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:211
Methodtest_run_opencypher_query
Test that run_opencypher_query correctly executes a query without parameters. This test verifies that: 1. The get_graph function is ca
src/amazon-neptune-mcp-server/tests/test_server.py:76
Methodtest_run_opencypher_query_with_parameters
Test that run_opencypher_query correctly executes a query with parameters. This test verifies that: 1. The get_graph function is calle
src/amazon-neptune-mcp-server/tests/test_server.py:97
Functiontest_run_query_blocks_audit
AUDIT is blocked in read-only mode.
src/oracle-mcp-server/tests/test_server.py:252
Functiontest_run_query_blocks_begin_dialog
BEGIN DIALOG (Service Broker) is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:481
Functiontest_run_query_blocks_checkpoint
CHECKPOINT is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:460
Functiontest_run_query_blocks_commit
COMMIT is blocked in readonly mode to prevent bypassing rollback.
src/mssql-mcp-server/tests/test_server.py:397
Functiontest_run_query_blocks_commit_in_readonly
COMMIT is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:921
Functiontest_run_query_blocks_drop
DROP is blocked in read-only mode.
src/oracle-mcp-server/tests/test_server.py:232
Functiontest_run_query_blocks_drop
DROP TABLE is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:250
Functiontest_run_query_blocks_end_conversation
END CONVERSATION (Service Broker) is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:502
Functiontest_run_query_blocks_exec
EXEC is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:271
Functiontest_run_query_blocks_exec_case_insensitive
EXEC/EXECUTE detection should be case-insensitive.
src/mssql-mcp-server/tests/test_server.py:355
Functiontest_run_query_blocks_exec_dynamic_sql
EXEC('...') dynamic SQL should be blocked.
src/mssql-mcp-server/tests/test_server.py:376
Functiontest_run_query_blocks_exec_schema_qualified
Schema-qualified stored procedure call should be blocked.
src/mssql-mcp-server/tests/test_server.py:334
Functiontest_run_query_blocks_exec_with_params
Stored procedure call with parameters should be blocked.
src/mssql-mcp-server/tests/test_server.py:313
Functiontest_run_query_blocks_execute_keyword
EXECUTE (full keyword) should be blocked, not just EXEC.
src/mssql-mcp-server/tests/test_server.py:292
Functiontest_run_query_blocks_explain_plan_in_readonly
EXPLAIN PLAN is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:1001
Functiontest_run_query_blocks_implicit_proc_call
Implicit stored procedure call without EXEC is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:439
Functiontest_run_query_blocks_plsql_begin_in_readonly
PL/SQL BEGIN block is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:941
Functiontest_run_query_blocks_plsql_declare_in_readonly
PL/SQL DECLARE block is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:961
Functiontest_run_query_blocks_raiserror_with_log
RAISERROR WITH LOG is blocked as injection risk.
src/mssql-mcp-server/tests/test_server.py:544
Functiontest_run_query_blocks_select_into
SELECT INTO is blocked in readonly mode.
src/mssql-mcp-server/tests/test_server.py:565
Functiontest_run_query_blocks_set_noexec
SET NOEXEC ON is blocked as injection risk (session poisoning).
src/mssql-mcp-server/tests/test_server.py:523
Functiontest_run_query_blocks_set_role_in_readonly
SET ROLE is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:981
Functiontest_run_query_blocks_set_transaction_in_readonly
SET TRANSACTION is blocked via run_query in read-only mode.
src/oracle-mcp-server/tests/test_server.py:1021
Functiontest_run_query_blocks_use
USE is blocked in readonly mode to prevent connection pool poisoning.
src/mssql-mcp-server/tests/test_server.py:418
Functiontest_run_query_client_error
ClientError from execute_query returns a structured error JSON.
src/mssql-mcp-server/tests/test_server_extended.py:196
Functiontest_run_query_client_error_returns_structured_error
A boto3 ClientError from execute_query surfaces code and message.
src/oracle-mcp-server/tests/test_coverage.py:103
Functiontest_run_query_exact_boundary_no_truncation
Exactly max_rows rows returns without a truncation note (boundary case).
src/db2-mcp-server/tests/test_server.py:1088
Functiontest_run_query_generic_exception
Generic exception from execute_query returns a typed error JSON.
src/mssql-mcp-server/tests/test_server_extended.py:218
Functiontest_run_query_generic_exception_returns_error
A non-ClientError exception is wrapped into a generic error dict.
src/oracle-mcp-server/tests/test_coverage.py:133
Functiontest_run_query_injection_risk_blocked
Injection risk in write mode is rejected even with readonly=False.
src/mssql-mcp-server/tests/test_server_extended.py:238
Functiontest_run_query_injection_risk_returns_error
Injection-risk pattern is rejected before the query reaches the DB.
src/oracle-mcp-server/tests/test_coverage.py:80
Methodtest_run_query_is_registered
run_query should be a registered tool.
src/mysql-mcp-server/tests/test_server.py:42
Functiontest_run_query_max_rows_zero_no_truncation
max_rows=0 means no limit and no truncation note.
src/db2-mcp-server/tests/test_server.py:1075
Functiontest_run_query_no_connection
Returns error when no database connection is available.
src/oracle-mcp-server/tests/test_server.py:272
Functiontest_run_query_no_connection
run_query raises MCPError when no connection is found.
src/mssql-mcp-server/tests/test_server.py:647
Methodtest_run_query_no_connection_available
Test run_query when no database connection is available.
src/postgres-mcp-server/tests/test_server_error_handling.py:53
Functiontest_run_query_no_truncation_within_limit
Results within max_rows are not truncated.
src/oracle-mcp-server/tests/test_server.py:1093
Functiontest_run_query_readonly_appends_message
Successful SELECT in read-only mode appends a note about uncommitted changes.
src/oracle-mcp-server/tests/test_server.py:1044
Functiontest_run_query_readonly_message
Successful query in readonly mode includes a readonly warning message.
src/mssql-mcp-server/tests/test_server.py:586
Functiontest_run_query_readonly_rejects_v_dollar_view
SELECT from v$sql is rejected in readonly mode (injection risk).
src/oracle-mcp-server/tests/test_server.py:2341
Functiontest_run_query_rejection_does_not_echo_sql_at_info
A rejected query's literals are not logged at INFO; full SQL is DEBUG-only. The guard keeps literals out of its message (see test_rejection_m
src/postgres-mcp-server/tests/test_server.py:588
Functiontest_run_query_throw_unexpected_error
Test that run_query properly handles unexpected exception by mokcing the exception.
src/postgres-mcp-server/tests/test_server.py:646
Functiontest_run_query_truncates_large_results
Results exceeding max_rows are truncated with a note.
src/oracle-mcp-server/tests/test_server.py:1069
Functiontest_run_query_with_psycopg_connection
Test that run_query works correctly with a psycopg connection.
src/postgres-mcp-server/tests/test_server.py:926
Methodtest_run_query_with_query_parameters
Test run_query with query parameters.
src/postgres-mcp-server/tests/test_server_error_handling.py:75
Functiontest_run_query_write_mode_no_readonly_message
Successful query in write mode does not include a readonly warning message.
src/mssql-mcp-server/tests/test_server.py:617
Functiontest_run_query_write_queries_on_write_allowed_setting
Test that run_query accepts safe write queries when read-only setting is false.
src/postgres-mcp-server/tests/test_server.py:690
Methodtest_run_security_analysis_success
Test run_security_analysis success path.
src/ccapi-mcp-server/tests/test_security_scanning.py:21
Methodtest_run_security_analysis_with_properties
Test run_security_analysis with various properties.
src/ccapi-mcp-server/tests/test_security_scanning.py:28
Methodtest_run_server_error_handling
Test server handles errors gracefully.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:186
Methodtest_run_server_prompts
Test that prompts are properly added.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:124
Methodtest_run_server_setup
Test server setup with all tools and prompts.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:40
Methodtest_run_server_tool_categories
Test that all tool categories are properly included.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:89
Methodtest_run_server_version_setting
Test that server version is properly set.
src/aws-iot-sitewise-mcp-server/tests/test_server.py:160
Functiontest_run_statement_no_write_access
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:600
Functiontest_run_statement_success
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:552
Functiontest_run_statement_with_request_origin
Test run statement with request_origin.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1321
Functiontest_run_statement_without_request_origin
Test run statement without request_origin.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1818
Methodtest_run_status_constants
Test run status constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:136
Functiontest_run_status_enum
Test RunStatus enum values.
src/aws-healthomics-mcp-server/tests/test_models.py:72
← previousnext →30,001–30,100 of 35,417, ranked by callers