MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Functiontest_stop_session_not_found
Test stop session when session is not found.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1539
Functiontest_stop_session_not_mcp_managed
Test stop session when session is not MCP managed.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1504
Methodtest_stop_session_raises_on_sdk_failure
Test stopping a session raises on SDK error but still removes client.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_session.py:199
Methodtest_stop_session_stop_returns_false
Test stop returning False still reports TERMINATED and removes client.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_session.py:181
Functiontest_stop_session_success
( mock_is_mcp_managed, mock_get_account_id, mock_get_region, mock_create_client )
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:419
Functiontest_stop_session_with_request_origin
Test stop session with request_origin.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1241
Functiontest_stop_session_without_request_origin
Test stop session without request_origin.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:1789
Methodtest_stop_translation_job_invalid_state
Test stopping translation job in invalid state.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:411
Methodtest_stop_translation_job_not_found
Test stopping translation job that doesn't exist.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:394
Methodtest_stop_translation_job_not_found
Test stopping non-existent job.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:463
Methodtest_stop_translation_job_success
Test successful translation job stop.
src/amazon-translate-mcp-server/tests/test_batch_manager_extended.py:370
Methodtest_stop_translation_job_success
Test successful job stopping.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:432
Functiontest_stop_trigger_client_error
Test stop trigger with non-EntityNotFoundException ClientError.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2167
Functiontest_stop_trigger_entity_not_found
Test stop trigger when trigger is not found.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:2603
Functiontest_stop_trigger_success
( mock_is_mcp_managed, mock_get_account_id, mock_get_region, mock_create_client )
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_workflows_handler.py:1610
Methodtest_stop_unregistered_session_raises
Test stopping a session that was never started raises KeyError.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_session.py:217
Methodtest_stop_vm_force
Test stop_vm function with force=True.
src/finch-mcp-server/tests/test_utils_vm.py:199
Methodtest_stop_vm_linux
Test stop_vm function on Linux.
src/finch-mcp-server/tests/test_utils_vm.py:213
Methodtest_stop_vm_success
Test stop_vm function success case.
src/finch-mcp-server/tests/test_utils_vm.py:184
Methodtest_stop_with_connected_entity_dbms
Test stop_application with stop_connected_entity='DBMS' (line 767).
src/aws-for-sap-management-mcp-server/tests/test_applications.py:1040
Methodtest_stop_words_removed
Test Stop words removed.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:82
Methodtest_stops_all_session_clients
Test stops all per-session clients.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:225
Methodtest_stops_and_closes_stream_at_end_event
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client_streaming.py:87
Methodtest_stops_at_next_h2
Table search stops at the next h2 heading.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1031
Methodtest_stops_validation_on_syntax_error
Test validation stops further checks if syntax is invalid.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:483
Methodtest_storage_accessibility_scoring
Test storage accessibility scoring.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:186
Methodtest_storage_exceeds_raw_data_size
Storage must exceed raw data size due to overhead.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_gsi.py:163
Methodtest_storage_is_always_positive
Storage must always be positive for valid inputs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_gsi.py:138
Functiontest_storage_lens_query_request
Test StorageLensQueryRequest model.
src/billing-cost-management-mcp-server/tests/test_models.py:107
Functiontest_storage_lens_query_tool_query_storage_lens
Test the query_storage_lens method.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1022
Functiontest_storage_lens_query_tool_query_storage_lens_with_default_params
Test the query_storage_lens method with default parameters.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1098
Functiontest_storage_lens_query_tool_table_placeholder_replacement
Test the query_storage_lens table name replacement logic.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1165
Functiontest_storage_lens_real_missing_manifest_reload_identity_decorator
Test storage_lens_run_query missing manifest with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:405
Functiontest_storage_lens_real_placeholder_replacement_reload_identity_decorator
Test storage_lens_run_query placeholder replacement with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:419
Functiontest_storage_lens_real_query_missing_table_reference_error_reload_identity_decorator
Test storage_lens_run_query missing table reference error with identity decorator.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:461
Functiontest_storage_lens_real_unreferenced_table_rejected_reload_identity_decorator
Test storage_lens_run_query rejects a FROM clause naming another table.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:439
Functiontest_storage_lens_run_query
Test the storage_lens_run_query function with valid parameters.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:202
Functiontest_storage_lens_run_query_missing_manifest
Test storage_lens_run_query when manifest location is missing.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:237
Functiontest_storage_lens_run_query_rejects_unsafe_table_name
Through the MCP tool function, an unsafe table_name is a validation_error before any AWS call.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1925
Functiontest_storage_lens_run_query_table_replacement
Test the storage_lens_run_query function's table name replacement logic.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:261
Methodtest_storage_multipliers
Test storage class multiplier definitions.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:410
Functiontest_storage_pagination_request
Test StoragePaginationRequest dataclass.
src/aws-healthomics-mcp-server/tests/test_models.py:927
Functiontest_storage_request
Test StorageRequest model.
src/aws-healthomics-mcp-server/tests/test_models.py:326
Functiontest_storage_request_edge_cases
Test StorageRequest edge cases.
src/aws-healthomics-mcp-server/tests/test_models.py:499
Methodtest_storage_scales_linearly_with_item_count
Doubling item_count must double storage.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_gsi.py:148
Functiontest_storage_security_uses_user_agent_config
Test that storage security functions use the USER_AGENT_CONFIG.
src/well-architected-security-mcp-server/tests/test_user_agent_config.py:67
Methodtest_storage_table_contains_table_name
Storage table contains table name.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_report_generator.py:185
Methodtest_storage_table_contains_type_column
Storage table contains Type column with Table value.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_report_generator.py:191
Methodtest_storage_table_has_correct_columns
Storage table has Resource, Type, Storage (GB), Monthly Cost columns.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_report_generator.py:178
Methodtest_storage_type_constants
Test storage type constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:104
Functiontest_storage_type_enum
Test StorageType enum values.
src/aws-healthomics-mcp-server/tests/test_models.py:56
Methodtest_storage_type_rejects_invalid_values
Property: Enum validation rejects invalid values - StorageType. Validates: Requirements CreateWorkflow Storage Parameters
src/aws-healthomics-mcp-server/tests/test_workflow_management.py:3448
Methodtest_storage_types_list
Test STORAGE_TYPES list contains expected values.
src/aws-healthomics-mcp-server/tests/test_consts.py:109
Methodtest_storage_types_match_individual_constants
Test that STORAGE_TYPES list matches individual storage type constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:290
Methodtest_store_deployment_error_basic
Test storing deployment error information.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:378
Methodtest_store_deployment_error_with_exception
Test storing deployment error with exception object.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:394
Methodtest_store_deployment_metadata_does_not_write_outside_status_dir
A traversal name must not create or overwrite a file outside the status dir.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:245
Methodtest_store_deployment_metadata_existing_file
Test storing metadata when file already exists.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:334
Methodtest_store_deployment_metadata_keeps_corrupt_file
A corrupt status file is left alone instead of overwritten with partial data.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:255
Methodtest_store_deployment_metadata_new_file
Test storing metadata when file doesn't exist.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:313
Methodtest_store_deployment_metadata_write_error
Test handling write errors when storing metadata.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:355
Methodtest_store_entity_info
Test storing extracted entity information.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_validation_utils.py:76
Methodtest_stored_bytes_optional
Test that storedBytes is optional since AWS API may omit it.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_models.py:43
Methodtest_stored_bytes_present
Test that storedBytes is correctly set when provided.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_models.py:57
Methodtest_str
Test string representation.
src/openapi-mcp-server/tests/utils/test_error_handler_extended.py:50
Methodtest_str_redacts_secret_material
str()/f-string interpolation must never expose credential material.
src/aws-healthomics-mcp-server/tests/test_aws_utils.py:1287
Methodtest_stream_error_event
(self, mock_stream, _cfg, handler, ctx, tmp_path)
src/aws-transform-mcp-server/tests/test_download_artifact.py:167
Methodtest_stream_error_event_breaks_and_is_returned
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client_streaming.py:55
Methodtest_stream_response_extracts_structured_content
Test parsing a standard EventStream response.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:300
Methodtest_stream_response_nonzero_exit_sets_is_error
Test that nonzero exit code forces isError=True even without explicit flag.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:328
Methodtest_stream_response_skips_non_result_events
Test that non-result events in the stream are ignored.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:345
Methodtest_stream_response_with_error
Test parsing an error EventStream response.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:309
Methodtest_stream_response_with_text_content_blocks
Test that text content blocks are extracted.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:321
Methodtest_stream_without_end_event_is_not_finished
(self)
src/aws-transform-mcp-server/tests/test_transform_api_client_streaming.py:74
Methodtest_streamable_http_app_is_wrapped_with_identity_middleware
The streamable-http base app is wrapped with IdentityMiddleware before serving.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:119
Methodtest_streaming_body
StreamingBody with .read() is decoded.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:50
Methodtest_streaming_infrastructure_setup_resource
Test the streaming_infrastructure_setup resource function.
src/aws-serverless-mcp-server/tests/test_server.py:255
Methodtest_strftime_object_encoding
Test DateTimeEncoder with object having strftime.
src/healthlake-mcp-server/tests/test_server_core.py:40
Methodtest_strict_tuple_match_still_wins
A 5-tuple-exact match must take precedence over the relaxed scan. Regression guard: dedupe inside ``internal_connect_to_database`` re
src/mysql-mcp-server/tests/test_db_connection_map.py:459
Methodtest_string_chunks
Non-bytes iterable items are converted via str().
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:60
Methodtest_string_credit_id_becomes_integer
The string creditId returned by GetCredits is converted to an integer.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:1155
Methodtest_string_dates_are_normalized
Readable string dates are formatted like every other date form.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:431
Methodtest_string_empty
Should return empty string for empty stringValue.
src/mysql-mcp-server/tests/test_server_helpers.py:61
Methodtest_string_end_time_only
A string end_time alone is parsed; start_time derives from time_window.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:116
Methodtest_string_fallback
Test backward-compat: plain string result.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:370
Methodtest_string_input
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:653
Methodtest_string_input
(self)
src/aws-for-sap-management-mcp-server/tests/test_common.py:54
Methodtest_string_input_returns_data_wrapper
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:518
Methodtest_string_input_wrapped_in_list
A single string URL input should be treated as a one-element list.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:170
Methodtest_string_literal_emptied
String-literal contents are emptied.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:421
Functiontest_string_literal_keywords_not_flagged
Keywords inside string literals do not trigger false positives.
src/oracle-mcp-server/tests/test_server.py:522
Methodtest_string_literal_non_string_message
A non-string string-literal value reports a must-be-a-string message.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:379
Methodtest_string_messages_are_acceptable
Strings are also valid returns (wrapped to Message by convert_result).
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:330
Methodtest_string_start_and_end_time_iso8601_z_suffix
Strings with a 'Z' UTC suffix (as MCP serializes them) are accepted. MCP serializes all tool arguments as JSON, so start_time/end_time always
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:62
Methodtest_string_start_time_only
A string start_time alone is parsed; end_time defaults to ~now.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:108
Methodtest_string_subpath_no_double_quoting
Setting a string at a sub-path should not double-quote.
src/valkey-mcp-server/tests/integration/test_aggregate_json_live.py:193
Methodtest_string_tautology_is_detected
OR '1'='1' must remain blocked.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:235
Methodtest_string_time_explicit_utc_offset
Strings with an explicit +00:00 offset are accepted.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:79
Methodtest_string_time_naive_coerced_to_utc
Naive strings (no tz) are coerced to UTC, matching datetime handling.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:92
Methodtest_string_too_short
Test customizing string_too_short error.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:437
← previousnext →31,901–32,000 of 35,417, ranked by callers