MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_tls_enabled
(self)
src/valkey-mcp-server/tests/test_connection.py:112
Methodtest_tmx_file_validation_edge_cases
Test TMX file validation with edge cases.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:779
Methodtest_to_api_payload_with_class_and_line
to_api_payload includes ClassName and LineNumber when set.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3208
Methodtest_to_cdk_type_binary
B maps to BINARY.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:57
Methodtest_to_cdk_type_invalid
Invalid type raises ValueError with message.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:62
Methodtest_to_cdk_type_number
N maps to NUMBER.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:52
Methodtest_to_cdk_type_string
S maps to STRING.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:47
Methodtest_to_dict
Test converting IaCToolInfo to dictionary.
src/aws-serverless-mcp-server/tests/test_get_iac_guidance.py:29
Methodtest_to_dict
Test converting ComparisonTable to dictionary.
src/aws-serverless-mcp-server/tests/test_get_iac_guidance.py:55
Methodtest_to_dict
Test converting ToolSpecificGuidance to dictionary.
src/aws-serverless-mcp-server/tests/test_get_iac_guidance.py:73
Methodtest_to_error_response
Test conversion to ErrorResponse.
src/amazon-translate-mcp-server/tests/test_exceptions.py:106
Methodtest_to_pascal_case
Test to_pascal_case function.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_utils.py:103
Functiontest_to_positional_double_boolean_blob
Double, boolean, and blob value types bind positionally.
src/db2-mcp-server/tests/test_ibm_db_connection.py:537
Methodtest_to_snake_case
Test snake_case conversion.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_utils.py:28
Methodtest_to_snake_case_with_hyphens
Test snake_case conversion handles hyphens correctly. GSI names often contain hyphens (e.g., 'Events-ByDate') which need to be conver
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_utils.py:44
Methodtest_to_str_converts_datetime
Non-string values (like datetime) are converted via str().
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:535
Methodtest_to_str_with_none
None returns empty string.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:529
Methodtest_to_str_with_string
String values pass through unchanged.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_session.py:523
Methodtest_today_is_utc_not_local
Today is the UTC date the service uses, not the host's local date. At 01:00 UTC on 2026-10-29 a host at UTC-7 still reads 2026-10-28; the ser
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:986
Methodtest_token_creation
Test continuation token creation.
src/aws-healthomics-mcp-server/tests/test_pagination.py:129
Methodtest_token_creation
Test cursor token creation.
src/aws-healthomics-mcp-server/tests/test_pagination.py:260
Methodtest_token_cycle_stops
Tokens alternating A, B, A would never end without a seen-token check.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:136
Methodtest_token_error_without_caller_token_is_raised_unchanged
Without a caller token the same code is a plain service error.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:543
Methodtest_token_expired
(self, mock_get_config, handler, mock_context)
src/aws-transform-mcp-server/tests/test_configure.py:1185
Methodtest_token_failure_after_first_page_says_restart
A mid-run token rejection drops the token and says to restart.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:578
Functiontest_token_from_expected_client_is_accepted
Test a token carrying the expected client_id claim is accepted.
src/aws-api-mcp-server/tests/common/test_auth.py:32
Functiontest_token_from_other_client_in_same_tenant_is_rejected
Test a token minted for another application in the same tenant is rejected.
src/aws-api-mcp-server/tests/common/test_auth.py:46
Methodtest_token_order_match
Test token order independent matching.
src/aws-bedrock-custom-model-import-mcp-server/tests/utils/test_matching.py:57
Methodtest_token_preserved_regardless_of_filter
Property: Token preservation is independent of filtering. Feature: ecr-container-tools, Property: Pagination Token Preservation The
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1015
Methodtest_token_preserved_regardless_of_repository_count
Property: Token preservation is independent of repository count. Feature: ecr-container-tools, Property: Pagination Token Preservation
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:955
Methodtest_token_remap
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_list_resources.py:88
Methodtest_token_roundtrip_consistency
Test that tokens maintain consistency through encode/decode cycles.
src/aws-healthomics-mcp-server/tests/test_pagination.py:481
Functiontest_token_without_client_id_claim_is_rejected
Test a token that does not identify the requesting application is rejected.
src/aws-api-mcp-server/tests/common/test_auth.py:57
Methodtest_tokens_absent_from_persisted_inventory
Neither tenant's token appears in the persisted inventory JSON.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:299
Methodtest_too_many_languages
Test rejection of too many target languages.
src/amazon-translate-mcp-server/tests/test_security_validators.py:350
Methodtest_too_many_parameters_without_gsi
Test validation rejects extra parameters for main table range queries. Without GSI context, main table queries use single-attribute keys,
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:235
Methodtest_too_many_requests_exception_handling
Test TooManyRequestsException handling.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1089
Methodtest_too_many_target_languages_raises_error
Test that too many target languages raises ValueError.
src/amazon-translate-mcp-server/tests/test_models.py:331
Methodtest_too_many_trace_ids
More than 5 trace IDs is rejected.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:380
Methodtest_too_short_bucket
Reject 's3://ab/key' (bucket name too short).
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:151
Functiontest_tool
()
src/openapi-mcp-server/tests/utils/test_metrics_provider_decorators.py:90
Methodtest_tool_accepts_bare_arn
A single unwrapped ARN is treated as a one-element list.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2088
Functiontest_tool_annotations
Test that every tool advertises its read-only behavior to MCP clients. The server under test is registered with the default (read-only) mode, sin
src/redshift-mcp-server/tests/test_server.py:382
Methodtest_tool_approval_category_rejected
SEND_FOR_APPROVAL with TOOL_APPROVAL category should fail.
src/aws-transform-mcp-server/tests/test_hitl.py:594
Methodtest_tool_call_access_denied_is_not_retried_under_other_credentials
The denied operation runs once, solely under the jwt context credentials. The tool must not retry the denied ``ListRuns`` call under any othe
src/aws-healthomics-mcp-server/tests/test_access_denied_passthrough.py:180
Methodtest_tool_call_access_denied_surfaces_as_tool_failure_result
AccessDenied from a real tool call becomes a tool-call failure result. Exercising the real ``list_runs`` tool end to end under a ``source='jw
src/aws-healthomics-mcp-server/tests/test_access_denied_passthrough.py:122
Methodtest_tool_configuration_validation
Test validation of tool configuration.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:279
Methodtest_tool_configuration_validation
Test validation of tool configuration.
src/amazon-sns-sqs-mcp-server/tests/test_generator.py:215
Functiontest_tool_decorator_dictionary_type_hints
Test tool decorator with dictionary type hints.
src/mcp-lambda-handler/tests/test_lambda_handler.py:649
Functiontest_tool_decorator_enum_type
Test tool decorator with Enum type hint.
src/mcp-lambda-handler/tests/test_lambda_handler.py:518
Functiontest_tool_decorator_list_type_hints
Test tool decorator with list type hints.
src/mcp-lambda-handler/tests/test_lambda_handler.py:673
Functiontest_tool_decorator_no_docstring
Test tool decorator when function has no docstring.
src/mcp-lambda-handler/tests/test_lambda_handler.py:506
Functiontest_tool_decorator_optional_type_hints
Test tool decorator correctly resolves Optional[T] to the underlying type T.
src/mcp-lambda-handler/tests/test_lambda_handler.py:599
Functiontest_tool_decorator_recursive_dictionary_type_hints
Test tool decorator with recursive dictionary type hints.
src/mcp-lambda-handler/tests/test_lambda_handler.py:694
Functiontest_tool_decorator_registers_tool
Test that the tool decorator registers a tool.
src/mcp-lambda-handler/tests/test_lambda_handler.py:29
Functiontest_tool_decorator_type_hints
Test tool decorator with type hints.
src/mcp-lambda-handler/tests/test_lambda_handler.py:559
Functiontest_tool_decorator_union_type_hints
Test tool decorator correctly resolves Union[T1, T2] to the first non-None type.
src/mcp-lambda-handler/tests/test_lambda_handler.py:632
Functiontest_tool_decorator_with_no_origin_type_hints
Test tool decorator with no origin or unsupported type hints. No origin or unsupported type hints default to String type.
src/mcp-lambda-handler/tests/test_lambda_handler.py:582
Functiontest_tool_description_documents_filters_and_metrics
The description documents the ID filters, the DATABASE_SP pointer and savings_percentage.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2103
Functiontest_tool_description_filter_values_match_api_enum
Each enum filter listed in the tool description matches the API's accepted values.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2218
Functiontest_tool_discover_by_license
Tool should return datasets matching the specified license type.
src/roda-mcp-server/tests/test_knowledge_base.py:244
Functiontest_tool_discover_by_organization
Tool should return JSON with matching datasets for a given org.
src/roda-mcp-server/tests/test_knowledge_base.py:223
Functiontest_tool_discover_by_organization_with_limit
The limit parameter should cap the number of returned datasets.
src/roda-mcp-server/tests/test_knowledge_base.py:235
Methodtest_tool_entry_point_rejects_unknown_match_option
The validation also applies through bcm_pricing_calc_core, the tool's entry point.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2449
Methodtest_tool_error_keeps_its_message_and_bare_exception_does_not
Pin the SDK contract this server's exception choice depends on. The SDK classifies a tool failure by its exception type: `ToolError` is
src/redshift-mcp-server/tests/test_server.py:1392
Functiontest_tool_error_leaves_no_slides_when_middle_slide_fails
End to end: an error response with no slides matches an output folder with no slides.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:366
Functiontest_tool_eval
Run a single predetermined eval case against the actual tool function.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:249
Methodtest_tool_execution
Test tool execution calls operation with correct parameters.
src/aws-appsync-mcp-server/tests/test_create_datasource_tool.py:27
Methodtest_tool_execution
Test that the registered tool calls the operation correctly.
src/aws-appsync-mcp-server/tests/test_create_schema_tool.py:27
Functiontest_tool_find_related_datasets
Tool should find datasets that share tags with the given dataset.
src/roda-mcp-server/tests/test_knowledge_base.py:254
Functiontest_tool_find_related_datasets_not_found
Tool should return empty results for a nonexistent dataset slug.
src/roda-mcp-server/tests/test_knowledge_base.py:265
Functiontest_tool_get_knowledge_base_stats
Tool should return comprehensive statistics about the knowledge base.
src/roda-mcp-server/tests/test_knowledge_base.py:275
Methodtest_tool_handler_aws_errors
Test ToolHandler AWS errors - covers lines 591-600.
src/healthlake-mcp-server/tests/test_server_error_handling.py:39
Methodtest_tool_handler_credential_errors
Test ToolHandler credential errors - covers lines 601-605.
src/healthlake-mcp-server/tests/test_server_error_handling.py:82
Methodtest_tool_handler_validation_errors
Test ToolHandler validation errors - covers lines 583-590.
src/healthlake-mcp-server/tests/test_server_error_handling.py:28
Methodtest_tool_has_description
Each tool carries a non-trivial description for the LLM to read.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_eval.py:97
Methodtest_tool_has_description
Each tool carries a non-trivial description for the LLM to read.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:104
Methodtest_tool_has_valid_schema
Each tool exposes a JSON Schema object for its parameters.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_eval.py:105
Methodtest_tool_has_valid_schema
Each tool exposes a JSON Schema object for its parameters.
src/cloudwatch-applicationsignals-mcp-server/tests/test_tool_eval.py:112
Methodtest_tool_invocation
Test invoking a Lambda function through the MCP tool.
src/lambda-tool-mcp-server/tests/test_integration.py:59
Methodtest_tool_is_registered
The enterprise-support tool exists on the server.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:106
Methodtest_tool_is_registered
The business-support tool exists on the server.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1424
Methodtest_tool_is_registered
A tool named credits is registered on the sub-server.
src/billing-cost-management-mcp-server/tests/tools/test_credits_tools.py:226
Methodtest_tool_is_registered
The get-billing-preferences tool is exposed on the server, named after the API.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:67
Methodtest_tool_keeps_matching_explicit_region
An explicit region that matches the ARNs is used as-is.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2094
Methodtest_tool_metadata_readonly
Test that all functions have readonly metadata.
src/aws-iot-sitewise-mcp-server/tests/tools/test_timestamp_tools.py:439
Methodtest_tool_metrics_creation
Test creating a ToolMetrics instance.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:73
Functiontest_tool_metrics_dataclass
Test the ToolMetrics dataclass.
src/openapi-mcp-server/tests/utils/test_metrics_provider.py:44
Methodtest_tool_metrics_with_error
Test creating a ToolMetrics instance with an error.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:90
Functiontest_tool_names_preserve_snake_case
Test that tool names preserve snake_case format and don't get converted to camelCase.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1430
Methodtest_tool_parses_arns_and_infers_region
The ARN list is passed through and the region is taken from the ARNs.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2078
Functiontest_tool_registered_with_name
The single dispatch tool is registered on the server under the expected MCP name.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:100
Methodtest_tool_registration
Test that Lambda functions are registered as tools.
src/lambda-tool-mcp-server/tests/test_integration.py:34
Methodtest_tool_registration
Test MCP tool registration.
src/amazon-qindex-mcp-server/tests/test_server.py:49
Methodtest_tool_registration_process
Test that tools are registered with the MCP instance.
src/aws-network-mcp-server/tests/test_server.py:165
Methodtest_tool_rejects_invalid_arns
Non-list or non-ARN values are rejected.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2123
Methodtest_tool_rejects_multiple_regions
ARNs from more than one region are rejected.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2112
Methodtest_tool_rejects_region_mismatch
An explicit region that differs from the ARNs' region is rejected.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:2102
Methodtest_tool_resolves_account_and_audits
With no budget_name the tool resolves the account ID and audits account-wide.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1344
Functiontest_tool_returns_error_for_slide_symlink
End to end: the tool returns an error response and writes nothing outside.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:134
← previousnext →32,701–32,800 of 35,417, ranked by callers