MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_engagement_requires_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:909
Methodtest_engagement_success
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:892
Methodtest_engagement_users_include_filters
(self, _, mock_paginate, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:1270
Methodtest_engagement_workspaces_include_tenant_filter
( self, _, mock_paginate, handler, ctx )
src/aws-transform-mcp-server/tests/test_list_resources.py:1301
Methodtest_engine_execute_query_raises
Should propagate exceptions from engine.execute_query.
src/s3-tables-mcp-server/tests/test_database.py:235
Functiontest_engine_readonly_transaction_error_is_attributed_to_the_database
The two-layer claim depends on telling the engine's refusal from the guard's. If this were misattributed, ``readonly:backstop-blocks`` would pass
src/postgres-mcp-server/tests/test_e2e_harness_contracts.py:166
Methodtest_enhanced_ddl_object_type_detection
Test that enhanced DDL detection works for specific object types.
src/aws-dataprocessing-mcp-server/tests/utils/test_sql_analyzer.py:469
Methodtest_enhanced_response_handling
Test handling of enhanced response format.
src/aws-healthomics-mcp-server/tests/test_genomics_file_search_integration_working.py:241
Methodtest_enhanced_write_operations_detection
Test detection of enhanced write operations from mutable_sql_detector improvements.
src/aws-dataprocessing-mcp-server/tests/utils/test_sql_analyzer.py:433
Methodtest_enrich_tasks_list
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:152
Methodtest_enrich_tasks_single
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:144
Functiontest_enriched_descriptions_empty_original
Enrichment works even when original description is empty.
src/openapi-mcp-server/tests/test_new_features.py:549
Functiontest_enriched_descriptions_include_parameters
Tool descriptions include a Parameters section listing query params. POC migration: the native formatter lists parameter names under a ``**Qu
src/openapi-mcp-server/tests/test_new_features.py:212
Functiontest_enriched_descriptions_include_request_body
Tool descriptions include the Request Body section for operations that have one. ``enrich_component`` forwards ``route.request_body`` as the four
src/openapi-mcp-server/tests/test_new_features.py:227
Functiontest_enriched_descriptions_include_response_codes
Tool descriptions include a Responses section with status codes. POC migration: enrichment now delegates to FastMCP's shipped ``format_descri
src/openapi-mcp-server/tests/test_new_features.py:197
Functiontest_enriched_descriptions_no_params
Tool descriptions still enriched when operation has no parameters.
src/openapi-mcp-server/tests/test_new_features.py:346
Functiontest_enriched_descriptions_preserve_base_description
The operation's own description is preserved ahead of the enrichment.
src/openapi-mcp-server/tests/test_new_features.py:251
Methodtest_enrollment_check_access_denied
Test list_recommendations when enrollment check returns access denied.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:713
Methodtest_enrollment_check_non_client_error
Test list_recommendations when enrollment check returns non-ClientError.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:749
Methodtest_enrollment_check_other_error
Test list_recommendations when enrollment check returns other ClientError.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:731
Methodtest_enrollment_error_reports_resolved_region
The enrollment error reports the region actually queried.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3653
Methodtest_enrollment_not_enrolled
Test list_recommendations when Cost Optimization Hub is not enrolled.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:704
Methodtest_enrollment_status_access_denied_warning
Test enrollment status check with access denied - covers lines 148-158.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1379
Methodtest_enrollment_status_other_error_warning
Test enrollment status check with other error - covers lines 170, 174.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:1425
Methodtest_ensure_datetime_passthrough_and_none
_ensure_datetime returns None for None and passes datetime through.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:137
Methodtest_ensure_datetime_rejects_unsupported_type
_ensure_datetime raises ValueError for a non-str, non-datetime value.
src/ecs-mcp-server/tests/unit/utils/test_time_utils.py:143
Methodtest_ensure_page_fetches_new_page
Test ensure_page fetches and caches new pages.
src/amazon-bedrock-agentcore-mcp-server/tests/test_cache.py:85
Methodtest_ensure_page_handles_fetch_error
Test ensure_page handles fetch errors gracefully.
src/amazon-bedrock-agentcore-mcp-server/tests/test_cache.py:122
Methodtest_ensure_page_returns_cached
Test ensure_page returns cached page without fetching.
src/amazon-bedrock-agentcore-mcp-server/tests/test_cache.py:104
Methodtest_ensure_ready_calls_load_links_only
Test ensure_ready calls load_links_only when not loaded.
src/amazon-bedrock-agentcore-mcp-server/tests/test_cache.py:59
Methodtest_ensure_ready_skips_when_loaded
Test ensure_ready skips loading when already loaded.
src/amazon-bedrock-agentcore-mcp-server/tests/test_cache.py:71
Methodtest_ensure_region_string_field_info
Test ensure_region_string with FieldInfo object.
src/ccapi-mcp-server/tests/test_validation.py:67
Methodtest_ensure_region_string_none
Test ensure_region_string with None.
src/ccapi-mcp-server/tests/test_validation.py:62
Methodtest_ensure_region_string_valid
Test ensure_region_string with valid string.
src/ccapi-mcp-server/tests/test_validation.py:57
Methodtest_ensure_s3_uri_ends_with_slash_already_has_slash
Test URI that already ends with a slash.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:32
Methodtest_ensure_s3_uri_ends_with_slash_complex_path
Test complex S3 path with multiple levels.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:68
Methodtest_ensure_s3_uri_ends_with_slash_empty_string
Test empty string input.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:62
Methodtest_ensure_s3_uri_ends_with_slash_invalid_scheme
Test URI that doesn't start with s3://.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:56
Methodtest_ensure_s3_uri_ends_with_slash_no_slash
Test URI that doesn't end with a slash.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:38
Methodtest_ensure_s3_uri_ends_with_slash_root_bucket
Test URI for root bucket path.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:44
Methodtest_ensure_s3_uri_ends_with_slash_root_bucket_with_slash
Test URI for root bucket path that already has slash.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:50
Methodtest_ensure_stack_ownership_general_exception
Test _ensure_stack_ownership with general exception.
src/sagemaker-ai-mcp-server/tests/test_hyperpod_stack_handler.py:845
Methodtest_ensure_stack_ownership_not_owned_stack
Test that _ensure_stack_ownership correctly identifies a stack not owned by our tool.
src/eks-mcp-server/tests/test_eks_stack_handler.py:180
Methodtest_ensure_stack_ownership_not_owned_stack
Test that _ensure_stack_ownership correctly identifies a stack not owned by our tool.
src/sagemaker-ai-mcp-server/tests/test_hyperpod_stack_handler.py:195
Methodtest_ensure_stack_ownership_owned_stack
Test that _ensure_stack_ownership correctly identifies a stack owned by our tool.
src/eks-mcp-server/tests/test_eks_stack_handler.py:134
Methodtest_ensure_stack_ownership_owned_stack
Test that _ensure_stack_ownership correctly identifies a stack owned by our tool.
src/sagemaker-ai-mcp-server/tests/test_hyperpod_stack_handler.py:148
Methodtest_ensure_stack_ownership_stack_not_found
Test that _ensure_stack_ownership correctly handles a stack that doesn't exist.
src/eks-mcp-server/tests/test_eks_stack_handler.py:225
Methodtest_ensure_stack_ownership_stack_not_found
Test that _ensure_stack_ownership correctly handles a stack that doesn't exist.
src/sagemaker-ai-mcp-server/tests/test_hyperpod_stack_handler.py:241
Methodtest_ensure_vm_running_already_running
Test ensure_vm_running function on macOS when VM is already running.
src/finch-mcp-server/tests/test_server.py:107
Methodtest_ensure_vm_running_failures
Test ensure_vm_running function on macOS when operations fail.
src/finch-mcp-server/tests/test_server.py:206
Methodtest_ensure_vm_running_nonexistent
Test ensure_vm_running function on macOS when VM is nonexistent.
src/finch-mcp-server/tests/test_server.py:173
Methodtest_ensure_vm_running_on_linux
Test ensure_vm_running function on Linux.
src/finch-mcp-server/tests/test_server.py:252
Methodtest_ensure_vm_running_stopped
Test ensure_vm_running function on macOS when VM is stopped.
src/finch-mcp-server/tests/test_server.py:140
Methodtest_entity_association
Test that patterns are correctly associated with their entities.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:229
Methodtest_entity_not_dict
Test validation when entity data is not a dict.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:326
Methodtest_entity_not_using_gsi_ignored
Entity that doesn't use the GSI is not checked for field existence.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:1169
Methodtest_entity_type_quote_breakout_rejected
An entity_type that breaks out of its string literal is rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:439
Methodtest_entries_preview_reports_count
Entries preview reports the entry count.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1615
Methodtest_entries_without_function_name_skipped
Skip entries lacking a function_name; empty result when none are valid.
src/cloudwatch-applicationsignals-mcp-server/tests/test_formatting.py:32
Methodtest_entry_locals_and_return_arguments_locals
Entry locals and return arguments/locals are previewed.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1702
Functiontest_entry_point
Legacy compatibility test for module entry point.
src/ecs-mcp-server/tests/unit/test_main.py:531
Methodtest_entry_point_command_injection_blocked
Test that entry_point with command injection attempts is rejected.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:415
Methodtest_entry_point_execution_simulation
Test simulated execution of module entry point.
src/ecs-mcp-server/tests/unit/test_main.py:359
Methodtest_entry_point_not_found_error
Test EntryPointNotFoundError initialization.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:31
Methodtest_entry_point_path_traversal_blocked
Test that path traversal in entry_point is rejected.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:426
Methodtest_entrypoint_error_is_handled
A failure resolving the account ID is caught by the tool entrypoint.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1408
Methodtest_entrypoint_error_is_handled
A failure resolving the account ID is caught by the tool entrypoint.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1518
Methodtest_entrypoint_only_imports_allowed_integration_modules
The entrypoint imports nothing from integration beyond ``harness.headers``. A regression here (e.g. importing ``integration.deploy.agentcore`
src/aws-healthomics-mcp-server/integration/harness_tests/test_image_isolation.py:100
Methodtest_enum_members
ConnectionMethod should have exactly three members.
src/mysql-mcp-server/tests/test_db_connection_map.py:219
Methodtest_enum_members_exhaustive
DatabaseType members are exactly the three RDS-managed engines. Self-hosted MySQL/MariaDB intentionally has no enum value; the wire-p
src/mysql-mcp-server/tests/test_db_connection_map.py:52
Methodtest_enum_valued_fields_are_surfaced
Enum-valued fields (not covered by the marker check) are mapped explicitly.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2514
Methodtest_enum_valued_fields_outside_ec2
Enum-valued fields added for ASG, Lambda, RDS, and ECS are surfaced.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2821
Methodtest_enum_values
Test that the enum has the expected values.
src/aws-dataprocessing-mcp-server/tests/models/test_data_catalog_models.py:65
Methodtest_enum_values_are_correct
Test that enum values match expected seconds.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonality_enum.py:23
Methodtest_enum_values_are_valid
The serverProtocol and networkMode values are within the model's enums.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_boto_model_smoke.py:153
Methodtest_enumeration_error_returns_empty
Return an empty list when enumeration raises.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:427
Methodtest_env_aws_profile
Test that ENV_AWS_PROFILE is correctly defined.
src/prometheus-mcp-server/tests/test_consts.py:60
Methodtest_env_aws_region
Test that ENV_AWS_REGION is correctly defined.
src/prometheus-mcp-server/tests/test_consts.py:65
Methodtest_env_is_exactly_the_five_server_keys
No extra keys are injected: the mapping is exactly the five server env vars.
src/aws-healthomics-mcp-server/integration/harness_tests/test_apigateway_config.py:82
Methodtest_env_keys_are_the_server_config_variable_names
The env is keyed exactly by the server's configuration variable names. Binding the assertion to ``consts.*_ENV`` proves the deployment inject
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_config.py:81
Methodtest_env_log_level
Test that ENV_LOG_LEVEL is correctly defined.
src/prometheus-mcp-server/tests/test_consts.py:70
Functiontest_env_override_renders_in_served_description
With the override set before import, the served description shows that value.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination_limit_text.py:87
Methodtest_env_overrides
(self)
src/valkey-mcp-server/tests/test_config.py:72
Methodtest_env_var_enable_values_enable_multi_tenant
The environment variable path also recognizes enable values.
src/aws-healthomics-mcp-server/tests/test_config_multitenant_parsing.py:166
Functiontest_env_var_home_blocked_in_ecs_deploy
Test that $HOME/path is blocked in ecs deploy when it resolves outside workdir.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:505
Functiontest_env_var_home_braces_blocked_in_ecs_deploy
Test that ${HOME}/path is blocked in ecs deploy when it resolves outside workdir.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:521
Functiontest_env_var_home_braces_path_blocked
Test that ${HOME}/path is blocked when it resolves outside working directory.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:213
Functiontest_env_var_home_path_blocked
Test that $HOME/path is blocked when it resolves outside working directory.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:202
Methodtest_env_var_out_of_range_value_raises
An out-of-range value supplied via environment variable is rejected.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:156
Functiontest_env_var_path_inside_workdir_allowed
Test that $MY_DIR/path is allowed when it resolves inside working directory.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:235
Functiontest_env_var_tmpdir_blocked_in_cloudformation_deploy
Test that $TMPDIR/path is blocked in cloudformation deploy.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:537
Functiontest_env_var_tmpdir_path_blocked
Test that $TMPDIR/path is blocked when it resolves outside working directory.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:224
Methodtest_env_var_value_is_accepted
The environment-variable path also parses a valid session duration.
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:150
Methodtest_env_variable_command_substitution_escaped
Test that command substitution in environment variables is properly escaped.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:440
Methodtest_env_variable_invalid_key_rejected
Test that environment variable keys with invalid characters are rejected.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:469
Methodtest_env_variable_null_byte_rejected
Test that environment variable values with null bytes are rejected.
src/aws-serverless-mcp-server/tests/test_startup_script_generator.py:490
Methodtest_environment_affects_tool_default
Test that the environment variable affects the default value of the reranking parameter in the tool.
src/bedrock-kb-retrieval-mcp-server/tests/test_env_config.py:133
Methodtest_environment_disambiguates_same_name
When environment is given, only the service in that environment resolves.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:427
Methodtest_environment_variable_loading
Test loading configuration from environment variables.
src/amazon-translate-mcp-server/tests/test_config.py:479
Methodtest_environment_variable_processing
Test environment variable processing.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:293
← previousnext →17,501–17,600 of 35,417, ranked by callers