Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_job_requires_job_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:142
Method
test_job_requires_workspace_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:133
Method
test_job_retry_mechanism
Test job retry mechanism for failed operations.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:911
Method
test_job_scope
(self)
src/aws-transform-mcp-server/tests/test_download_artifact.py:56
Method
test_job_status_enum
Test JobStatus enum values.
src/amazon-translate-mcp-server/tests/test_models.py:864
Method
test_job_status_monitoring_edge_cases
Test job status monitoring with edge cases.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:763
Method
test_job_success
(self, _, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_get_resource.py:155
Method
test_job_value_not_dict
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:329
Method
test_jobs_requires_workspace_id
(self, _, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:181
Method
test_jobs_success
(self, _, mock_paginate, handler, ctx)
src/aws-transform-mcp-server/tests/test_list_resources.py:194
Function
test_join_on_time_period_start_matches_every_day
Joining the two cost tables by day matches all 7 days.
src/billing-cost-management-mcp-server/tests/utilities/test_ce_time_period_format.py:161
Method
test_journey_recommendations
Test parsing journey recommendations.
src/aws-documentation-mcp-server/tests/test_util.py:403
Method
test_json
(self)
src/aws-transform-mcp-server/tests/test_upload_helper.py:156
Method
test_json_array_string_feature_is_decoded
A list sent as a JSON array string is sent as that list, not as one feature name.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:103
Method
test_json_array_string_is_read_as_a_list
A list sent as a JSON array string is handled like the list itself.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2799
Method
test_json_decode_error
Test with invalid JSON payload.
src/lambda-tool-mcp-server/tests/test_server.py:89
Method
test_json_encoding_with_datetime
Test JSON encoding with DateTimeEncoder.
src/healthlake-mcp-server/tests/test_server_core.py:207
Method
test_json_get_multiword
Multi-word command: JSON.GET.
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:115
Method
test_json_output_format
Test that JSON output is valid and properly formatted.
src/aws-healthomics-mcp-server/tests/test_create_container_registry_map.py:313
Method
test_json_payload
Test with valid JSON payload.
src/lambda-tool-mcp-server/tests/test_server.py:76
Function
test_json_serial_datetime
_json_serial returns ISO string for datetime.
src/security-agent-mcp-server/tests/test_server.py:345
Function
test_json_serial_unsupported_type
_json_serial raises TypeError for non-datetime objects (default branch).
src/security-agent-mcp-server/tests/test_server.py:332
Method
test_json_serialization_of_fixtures
Test that all fixtures can be JSON serialized (important for mock responses).
src/aws-healthomics-mcp-server/tests/test_integration_framework.py:121
Method
test_json_serializer_datetime
Test JSON serialization of datetime objects.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:195
Method
test_json_serializer_non_datetime_raises_error
Test JSON serialization raises error for non-datetime objects.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:206
Method
test_json_set_allowed
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:161
Method
test_json_snapshots_are_valid
Test that all JSON snapshots are valid JSON.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:407
Method
test_json_string_is_minified
A pretty-printed JSON string is re-serialized compactly.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1766
Method
test_json_string_round_trip
Property: Tag parsing round-trip - JSON string serialization. Serialize a tag dict to JSON, pass through parse_tags, verify equals original.
src/aws-healthomics-mcp-server/tests/test_workflow_management.py:3535
Function
test_jsonrpcerror_model_dump_json
Test JSONRPCError model_dump_json method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:249
Function
test_jsonrpcrequest_model_validate
Test JSONRPCRequest model_validate method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:288
Function
test_jsonrpcresponse_model_dump_json
Test JSONRPCResponse model_dump_json method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:257
Method
test_jwt_registry_resolver_uses_configured_session_duration
The validated session duration is injected into the registry-backed exchange. Complements the static-resolver session-duration coverage so th
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:254
Method
test_jwt_static_resolver_uses_configured_session_duration
The validated session duration is injected into the JWT exchange.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:206
Method
test_jwt_with_invalid_registry_source_raises_config_error
An unsupported registry source value fails closed at startup.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:288
Method
test_jwt_without_role_source_raises_config_error
jwt' enabled with neither role source configured raises a config error.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:281
Function
test_k8s_handler_initialization_both_flags_enabled
()
src/eks-mcp-server/tests/test_server.py:317
Function
test_k8s_handler_initialization_default
()
src/eks-mcp-server/tests/test_server.py:212
Function
test_k8s_handler_initialization_sensitive_data_access_enabled
()
src/eks-mcp-server/tests/test_server.py:291
Function
test_k8s_handler_initialization_write_access_disabled
()
src/eks-mcp-server/tests/test_server.py:238
Function
test_k8s_handler_initialization_write_access_enabled
()
src/eks-mcp-server/tests/test_server.py:265
Method
test_kebab_case_to_camel_case
Test converting kebab-case to camelCase.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:404
Method
test_kebab_case_to_pascal_case
Test converting kebab-case to PascalCase.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:437
Method
test_keeps_names_and_non_sensitive_values
Names, images, commands, log options, tags and resource requirements are untouched.
src/ecs-mcp-server/tests/unit/utils/test_security.py:379
Function
test_kendra_list_indexes_tool
Test the kendra_list_indexes_tool function returns the expected response with mocked Kendra response.
src/amazon-kendra-index-mcp-server/tests/test_server.py:132
Function
test_kendra_list_indexes_tool_pagination
Test the kendra_list_indexes_tool function handles pagination correctly.
src/amazon-kendra-index-mcp-server/tests/test_server.py:198
Function
test_kendra_query_tool
Test the kendra_query_tool function returns the expected response with mocked Kendra response.
src/amazon-kendra-index-mcp-server/tests/test_server.py:25
Function
test_kendra_query_tool_error_handling
Test the kendra_query_tool function handles errors from Kendra client.
src/amazon-kendra-index-mcp-server/tests/test_server.py:103
Method
test_key_as_dict_key
Test using key as dictionary key.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:191
Method
test_key_attribute_in_included_attributes_errors
Key attributes in included_attributes produce error (redundant).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:1142
Method
test_key_attribute_name_not_string
Error: key AttributeName not string.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:420
Method
test_key_attribute_partition_key
Test filter on partition key attribute in Query operation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:326
Method
test_key_attribute_sort_key
Test filter on sort key attribute in Query operation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:341
Method
test_key_attributes
Test key_attributes property.
src/cloudwatch-applicationsignals-mcp-server/tests/test_sli_report_client.py:44
Method
test_key_attributes_direct_call
Test key_attributes to ensure line 63 coverage.
src/cloudwatch-applicationsignals-mcp-server/tests/test_sli_report_client.py:50
Method
test_key_creation
Test creating a metric metadata index key.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:157
Method
test_key_element_not_object
Error: key element not object.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:383
Method
test_key_equality
Test key equality comparison.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:176
Method
test_key_hashing
Test that keys can be hashed for dictionary use.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:164
Method
test_key_repr
Test string representation of key.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:208
Method
test_key_schema_not_array
Error: KeySchema not array.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:255
Method
test_key_schema_not_array
Error: KeySchema is not an array.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:559
Method
test_key_that_really_starts_with_user_has_no_note
A stored key that literally starts with user: matches as given, with no note.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:646
Method
test_keyboard_interrupt_handling
Test graceful handling of keyboard interrupt.
src/ecs-mcp-server/tests/unit/test_main.py:409
Method
test_keys_only_with_attributes
Test KEYS_ONLY rejects included_attributes.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_projections.py:216
Method
test_keyword_as_identifier_prefix_is_not_flagged
r"""A column/identifier that starts with the keyword is NOT flagged. The trailing ``\b`` in the pattern prevents ``start_date``, ``do
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1204
Method
test_keyword_detected_after_bare_leading_semicolon
A leading ``;`` before the verb must not hide it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1188
Method
test_keyword_detected_after_semicolon
A chained statement after ``;`` is reported by keyword. Stacked queries are also rejected by SUSPICIOUS_PATTERNS, but the readonly ga
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1178
Method
test_keyword_detected_at_statement_start
The keyword leading a real statement is reported (no false negative).
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1162
Method
test_keyword_detected_lowercase
Detection is case-insensitive.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1170
Method
test_keyword_in_comment_is_ignored
A keyword inside a comment must not trigger detection.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:138
Method
test_keyword_in_string_literal_is_ignored
A keyword inside a string literal must not trigger detection.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:134
Method
test_keyword_in_string_literal_is_not_flagged
The keyword inside a string literal in a read query is NOT flagged. String literals are not comment-stripped, so this is the primary
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1193
Function
test_keyword_inside_block_comment_not_detected
Mutating keywords inside block comments are ignored.
src/oracle-mcp-server/tests/test_server.py:556
Function
test_keyword_inside_block_comment_not_detected
Keywords inside block comments are not detected.
src/mssql-mcp-server/tests/test_server.py:953
Function
test_keyword_inside_line_comment_not_detected
Mutating keywords inside line comments are ignored.
src/oracle-mcp-server/tests/test_server.py:550
Function
test_keyword_inside_line_comment_not_detected
Keywords inside line comments are not detected.
src/mssql-mcp-server/tests/test_server.py:947
Function
test_keyword_inside_multiline_block_comment_not_detected
Keywords inside multiline block comments are not detected.
src/mssql-mcp-server/tests/test_server.py:959
Function
test_keyword_inside_string_literal_not_flagged
Keywords inside string literals should not trigger injection detection.
src/mssql-mcp-server/tests/test_injection_false_positives.py:68
Method
test_keyword_names_rejected
A field named like a Python keyword is rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:227
Method
test_keyword_only_in_comment_text_is_not_blocked
A read whose comment merely mentions ``LOAD DATA`` must pass.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1841
Function
test_keyword_outside_comment_detected
Mutating keywords outside comments are detected.
src/oracle-mcp-server/tests/test_server.py:562
Function
test_keyword_outside_comment_detected
Keywords outside comments are detected.
src/mssql-mcp-server/tests/test_server.py:965
Method
test_keyword_patterns_no_redos_on_repeated_keywords
union/copy/transaction-control checks must be linear (no O(n^2) ReDoS). The old ``\\bunion\\b.*\\bselect\\b`` / ``\\bcopy\\s+.*\\s+from`` /
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:358
Method
test_keyword_prefixed_identifiers_are_not_flagged
Identifiers that merely start with a keyword are benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1464
Method
test_keyword_substring_in_like_is_allowed
``LIKE '%shutdown%'`` — keyword as a search substring is benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1472
Method
test_keyword_text_as_identifier_alias_or_literal_is_allowed
A single read is allowed even when it embeds deny-listed keyword text.
src/redshift-mcp-server/tests/test_sql_guard.py:483
Method
test_keyword_text_is_still_allowed_in_read_write_mode
The transaction-control check runs in read-write mode, so it must not overreach. Read-write mode previously ran no statement-type check at al
src/redshift-mcp-server/tests/test_sql_guard.py:498
Method
test_keywords
Mutating keywords are detected; SELECT is clean.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:41
Method
test_keywords_as_aliases_are_not_flagged
Keywords as string-literal column aliases are benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1453
Method
test_keywords_in_in_list_are_not_flagged
Keywords as string literals in an ``IN (...)`` list are benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1447
Method
test_keywords_inside_string_literals_not_flagged
A mutating keyword that is only string DATA must not be rejected. Keywords inside single-quoted literals are data, not statements, so
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:529
Method
test_kill_is_detected
``KILL <id>`` — terminates other sessions.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:552
Method
test_kilobytes
Test formatting of kilobyte values.
src/aws-for-sap-management-mcp-server/tests/test_health.py:1792
Method
test_kms_key_id_propagated
``kms_key_id`` (snake_case) becomes ``KmsKeyId`` in the boto3 payload.
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:436
Method
test_knowledge_base_creation
Test creating a KnowledgeBase.
src/bedrock-kb-retrieval-mcp-server/tests/test_models.py:38
Method
test_knowledge_base_mapping
Test creating a KnowledgeBaseMapping.
src/bedrock-kb-retrieval-mcp-server/tests/test_models.py:65
Method
test_known_node_type_is_inlined_in_sql
A provisioned cluster's reported node type is inlined into NodeDetails.
src/redshift-mcp-server/tests/test_review_executor.py:582
Method
test_known_timestamp
Test conversion of a known epoch timestamp.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:88
Method
test_known_tool_and_non_error_result_returns_result
The driver invokes a known tool and returns a result naming it.
src/aws-healthomics-mcp-server/integration/harness_tests/test_transport_driver.py:181
← previous
next →
23,601–23,700 of 35,417, ranked by callers