Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
test_param_default
Optional parameters expose the expected default value.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:135
Method
test_parameter_classes_work_correctly
Test that functions now use standard MCP pattern instead of parameter classes.
src/amazon-translate-mcp-server/tests/test_server.py:721
Method
test_parameter_counts_unchanged
Fail if parameter counts change without updating test.
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:517
Method
test_parameter_validation_edge_cases
Test parameter validation edge cases.
src/amazon-translate-mcp-server/tests/test_server.py:378
Method
test_parameter_validation_success
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:36
Method
test_parameter_validation_with_app_name_required
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:24
Method
test_parameter_validation_with_missing_required_params
(self)
src/ecs-mcp-server/tests/unit/api/test_ecs_troubleshooting.py:32
Method
test_parameter_value_generation
Test parameter value generation for all scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_sample_generators.py:236
Function
test_parameter_with_description_and_enum
Test extracting arguments from a parameter with description, default, and enum.
src/openapi-mcp-server/tests/prompts/standalone/test_prompt_arguments.py:18
Function
test_parameter_without_description
Test extracting arguments from a parameter without description.
src/openapi-mcp-server/tests/prompts/standalone/test_prompt_arguments.py:44
Function
test_parameterized_query
Parameterized query binds values correctly.
src/mssql-mcp-server/tests/e2e/e2e_integration_test.py:133
Function
test_parameterized_reads_not_over_blocked
A read carrying :name placeholders must pass the guard.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:882
Function
test_parameterized_reads_survive_the_executor_rewrite
What the psycopg path actually sends must still be valid SQL. Passing the guard is not enough: the executor rewrites the same statement indep
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:892
Function
test_paramfile_get_file_is_patched
Test that paramfile.get_file is patched and does not leak secrets.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:178
Method
test_params_list_length_mismatch_raises
params_list must be same length as sql_list.
src/aurora-dsql-mcp-server/tests/test_server.py:1085
Method
test_params_list_none_backwards_compatible
Explicit params_list=None is the same as omitting it.
src/aurora-dsql-mcp-server/tests/test_server.py:1095
Method
test_params_list_none_entries
A None entry in params_list means no params for that statement.
src/aurora-dsql-mcp-server/tests/test_server.py:1041
Method
test_params_list_passed_per_statement
(self, mocker)
src/aurora-dsql-mcp-server/tests/test_server.py:1014
Method
test_params_none_backwards_compatible
Explicit params=None is the same as omitting it.
src/aurora-dsql-mcp-server/tests/test_server.py:974
Method
test_params_passed_to_execute_query
When params is provided, it reaches execute_query.
src/aurora-dsql-mcp-server/tests/test_server.py:936
Method
test_params_with_multiple_placeholders
(self, mocker)
src/aurora-dsql-mcp-server/tests/test_server.py:992
Method
test_paren_wrapped_do_is_not_flagged
``(DO GET_LOCK(...))`` — a parenthesised DO is not valid MySQL. Not a bypass: MySQL does not accept a parenthesised DO statement, so
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1357
Method
test_parent_child_edges
Render parent-child edges and mark error frames.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:102
Method
test_parent_hana_component_skipped
Test that parent HANA component type is skipped in summary.
src/aws-for-sap-management-mcp-server/tests/test_health.py:3222
Method
test_parent_traversal_is_rejected
A leading '..' escape is rejected.
src/aws-pricing-mcp-server/tests/test_report_generator.py:422
Method
test_parenthesis
Test that an identifier with parentheses returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1067
Function
test_pareto_cap_hit_skips_cutoff_and_discloses_top_spenders
cap_hit=True skips the 80% cutoff and discloses a top-spenders-only view. Total spend is unknown when the fetch capped, so all fetched top spende
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1549
Function
test_pareto_direction_asc_ranks_worst_first
direction='Asc' ranks the kept groups worst (lowest score) first.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1611
Method
test_pareto_drops_idle_and_no_score_groups
A ~100% idle group ($0 spend) and a no-score group are excluded first.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1743
Function
test_pareto_drops_negative_score_group
A group whose latest score is negative is excluded from the ranking.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1619
Method
test_pareto_keeps_top_80pct_spend_then_ranks_by_score
Keep highest-spend groups up to 80% of total spend, rank them by score.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1699
Function
test_pareto_material_spend_fraction_is_actual_share_not_cutoff
material_spend_fraction is the kept groups' TRUE cumulative share of spend. It can exceed the 0.80 selection cutoff -- a dominant account alone c
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1588
Function
test_pareto_no_cap_hit_applies_cutoff
Without cap_hit the full set is known, so the 80% cutoff IS applied. The partial-view flags stay off (cap_hit False, pareto_applied True).
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1571
Method
test_parse_alarm_recommendation_missing_fields
Test _parse_alarm_recommendation with missing fields - covers lines 724-727, 745, 751, 755, 757, 761.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_error_handling.py:318
Method
test_parse_alarm_rule
Test composite alarm rule parsing.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:357
Method
test_parse_alarm_rule_error_handling
Test _parse_alarm_rule error handling - covers lines 688-690.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:357
Method
test_parse_and_validate_empty_file
Test Parse and validate empty file.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:117
Method
test_parse_and_validate_invalid_json
Test Parse and validate invalid json.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:108
Method
test_parse_and_validate_missing_required_field
Test Parse and validate missing required field.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:126
Method
test_parse_and_validate_valid
Test Parse and validate valid.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:98
Method
test_parse_args_help_message
Test help message contains readonly option.
src/healthlake-mcp-server/tests/test_readonly_mode.py:44
Method
test_parse_args_no_readonly_flag
Test parsing without --readonly flag.
src/healthlake-mcp-server/tests/test_readonly_mode.py:38
Method
test_parse_args_readonly_flag
Test parsing --readonly flag.
src/healthlake-mcp-server/tests/test_readonly_mode.py:32
Method
test_parse_arguments
Test that parse_arguments correctly parses command line arguments.
src/prometheus-mcp-server/tests/test_config_manager.py:30
Method
test_parse_arn_cluster
Test parsing a valid ECS cluster ARN.
src/ecs-mcp-server/tests/unit/utils/test_arn_parser.py:32
Method
test_parse_arn_valid
Test parsing a valid ECS task definition ARN.
src/ecs-mcp-server/tests/unit/utils/test_arn_parser.py:19
Method
test_parse_as_aliases_excluded
Aliases from 'parse ... as var1, var2' should not be treated as fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:144
Method
test_parse_auditors_all_string
Test parsing 'all' string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:223
Method
test_parse_auditors_comma_separated
Test parsing comma-separated auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:228
Method
test_parse_auditors_empty_string
Test parsing empty string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:252
Method
test_parse_auditors_invalid_auditor
Test parsing with invalid auditor.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:238
Method
test_parse_auditors_none_default
Test parsing None with default auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:212
Method
test_parse_auditors_none_root_cause_prompt
Test parsing None with root cause in user prompt.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:217
Method
test_parse_auditors_pydantic_field_object
Test parsing Pydantic Field object.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:243
Method
test_parse_auditors_valid_auditors
Test all valid auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:257
Method
test_parse_auditors_with_spaces
Test parsing auditors with spaces.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:233
Method
test_parse_bare_string_response
A bare string response is treated as listing text.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:322
Method
test_parse_basic_log_delivery
Test parsing basic log delivery configuration.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:80
Method
test_parse_basic_nodegroup
Test parsing basic nodegroup configuration.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:13
Method
test_parse_blank_line_saves_current_query
Test that a blank line mid-stream saves current query data (line 222).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:809
Method
test_parse_comment_start_marker_saves_previous_query
Test that a -- QUERY_NAME_START saves previous query when no END/blank between them (line 237).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:833
Function
test_parse_config_rejects_invalid_host
A network transport with an invalid host is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:152
Function
test_parse_config_rejects_invalid_port
A network transport with an out-of-range port is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:134
Function
test_parse_config_rejects_non_integer_port
A network transport with a non-integer port is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:143
Function
test_parse_config_rejects_unsupported_transport
An unsupported transport value is rejected during parsing. Validates: Requirements Transport selection.
src/aws-healthomics-mcp-server/tests/test_transport.py:125
Method
test_parse_container_port_no_arrow
Test _parse_container_port when no arrow is present.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:337
Method
test_parse_container_port_with_arrow
Test _parse_container_port with arrow present.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:344
Method
test_parse_create_inputs_canonicalizes_language_casing
parse_create_inputs maps language casing to the API enum (javascript -> Javascript).
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3233
Method
test_parse_create_inputs_validation_error
An invalid line_number surfaces a validation error from parse_create_inputs.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3220
Method
test_parse_data_model_invalid_json
Test _parse_data_model with invalid JSON.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:246
Method
test_parse_data_model_read_exception
Test _parse_data_model with file read exception.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:263
Method
test_parse_data_model_valid
Test _parse_data_model with valid JSON.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:254
Method
test_parse_deployment_timestamp_coerces_naive_to_utc
A timestamp without an offset is coerced to tz-aware UTC (no naive datetime).
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1305
Method
test_parse_ecr_image_uri
Test parse_ecr_image_uri function with various formats.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:442
Method
test_parse_ecr_image_uri_error_handling
Test parse_ecr_image_uri function with invalid inputs.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:454
Method
test_parse_ecr_image_uri_with_exception
Test parse_ecr_image_uri with exception-causing input.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:92
Method
test_parse_empty_json
Test parsing empty JSON string.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:132
Method
test_parse_empty_response
Test parsing an empty response.
src/postgres-mcp-server/tests/test_server_helpers.py:72
Method
test_parse_empty_result
Test parsing query with 0 rows.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:267
Method
test_parse_empty_stream
Empty stream returns no files.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:283
Method
test_parse_entity_fields
Test parsing entity fields with various conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:340
Method
test_parse_entity_fields_comprehensive
Test parsing entity fields with various scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:635
Method
test_parse_error_skipped
Queries that fail to parse should be skipped, not crash.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1101
Function
test_parse_execute_response_basic
Basic response is parsed into row dicts keyed by column name.
src/mssql-mcp-server/tests/test_server.py:109
Function
test_parse_execute_response_empty
Empty response returns an empty list.
src/mssql-mcp-server/tests/test_server.py:129
Function
test_parse_execute_response_null
NULL cells are represented as None in the parsed output.
src/mssql-mcp-server/tests/test_server.py:119
Method
test_parse_file_not_found
Test parsing non-existent file raises error.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:317
Method
test_parse_flat_dict_ignores_non_text_blocks
Non-text blocks in a flat dict response are skipped.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:540
Method
test_parse_flat_dict_is_error
An error flag on a flat dict is surfaced.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:312
Method
test_parse_flat_dict_without_stream
Flat dict is parsed if the SDK pre-consumes the stream.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:302
Method
test_parse_full_nodegroup
Test parsing nodegroup with all parameters.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:21
Method
test_parse_gsi_list_empty_missing_and_optional_sort_key
Test GSI list parsing with empty/missing gsi_list and optional sort_key.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:471
Method
test_parse_gsi_list_errors
Test GSI list parsing with various error conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:309
Method
test_parse_gsi_list_exception_in_loop
Test GSI list parsing with exception during GSIDefinition creation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:324
Method
test_parse_gsi_with_four_partition_keys
Parse GSI with 4 HASH keys (max allowed).
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1056
Method
test_parse_gsi_with_four_sort_keys
Parse GSI with 4 RANGE keys (max allowed).
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1159
Method
test_parse_gsi_with_multi_partition_and_sort_keys
Parse GSI with multiple HASH and RANGE keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1196
Method
test_parse_gsi_with_partition_and_sort_key
Parse GSI with partition + sort key.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:707
Method
test_parse_gsi_with_partition_key_only
Parse GSI with only partition key.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:674
Method
test_parse_gsi_with_three_partition_keys
Parse GSI with 3 HASH keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1023
← previous
next →
24,901–25,000 of 32,024, ranked by callers