MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_resolve_accepts_operator_approved_private_url
Test that operators can explicitly approve a private InfluxDB endpoint.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2417
Methodtest_resolve_after_recapture
Refs from old snapshot are cleared on recapture.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:299
Methodtest_resolve_bundle_content_local_dir
resolve_bundle_content still reads local directories after refactor.
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:549
Methodtest_resolve_bundle_inline_content_raises
resolve_bundle_content raises ValueError for inline strings.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1283
Methodtest_resolve_bundle_s3_no_trailing_slash
S3 URI without trailing slash or .zip treated as prefix.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1290
Functiontest_resolve_case
Test that resolve_case calls the AWS Support API correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2081
Methodtest_resolve_case
Test that resolve_case calls the AWS Support API correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1274
Methodtest_resolve_case_case_not_found
Test that resolve_case handles case not found errors correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1296
Functiontest_resolve_case_client_error
Test resolve_case_logic handles ClientError correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2357
Functiontest_resolve_case_general_error
Test resolve_case_logic handles general Exception correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2375
Methodtest_resolve_case_other_client_error
Test resolve_case re-raises unexpected AWS client errors.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2865
Methodtest_resolve_case_request
Test ResolveCaseRequest model.
src/aws-support-mcp-server/tests/test_models.py:434
Methodtest_resolve_case_response
Test ResolveCaseResponse model.
src/aws-support-mcp-server/tests/test_models.py:518
Methodtest_resolve_case_unexpected_error
Test resolve_case propagates unexpected exceptions.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2855
Functiontest_resolve_case_validation_error
Test resolve_case_logic handles ValidationError correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2332
Methodtest_resolve_context_by_cluster_name
Test that cluster name is resolved to matching context.
src/eks-mcp-server/tests/test_k8s_client_cache.py:500
Methodtest_resolve_context_exact_match
Test that exact context name match works.
src/eks-mcp-server/tests/test_k8s_client_cache.py:486
Methodtest_resolve_context_multiple_matches
Test that ValueError is raised when multiple contexts match.
src/eks-mcp-server/tests/test_k8s_client_cache.py:533
Methodtest_resolve_context_no_match
Test that ValueError is raised when no context matches.
src/eks-mcp-server/tests/test_k8s_client_cache.py:519
Methodtest_resolve_does_not_leak_env_token_to_custom_url
Test that env token is never sent to a caller-supplied URL (SSRF prevention).
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2508
Methodtest_resolve_duplicate_names_uses_nth
Duplicate role+name elements resolve to distinct nth locators.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:327
Methodtest_resolve_falls_back_for_legacy_bare_token
A bare (non-v2) token treats the whole string as the page value. This preserves compatibility with any previously emitted bare tokens
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:138
Functiontest_resolve_given_outfile_path_is_patched
Test that resolve_given_outfile_path is patched and does not leak secrets.
src/aws-api-mcp-server/tests/common/test_file_system_controls.py:169
Methodtest_resolve_ignores_role_arn_claim
Property: Backward compatibility (claim never selects the role). Even when the claims carry their own ``role_arn`` value, the static
src/aws-healthomics-mcp-server/tests/test_static_role_resolver.py:102
Methodtest_resolve_influxdb_config_missing_org_when_required
Test resolve_influxdb_config when org is missing and required.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2302
Methodtest_resolve_influxdb_config_missing_token
Test resolve_influxdb_config when token is missing.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2293
Methodtest_resolve_influxdb_config_missing_url
Test resolve_influxdb_config when URL is missing.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2284
Methodtest_resolve_influxdb_config_org_not_required
Test resolve_influxdb_config when org is not required.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2317
Methodtest_resolve_invalid_ref
Raises RefNotFoundError for unknown ref.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:291
Methodtest_resolve_metric_names_defaults_to_run_presence
(self)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:522
Methodtest_resolve_named_service_skips_enumeration
Resolve a named service without enumerating log groups.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:97
Functiontest_resolve_odb_private_endpoint_client_error
get_autonomous_database ClientError surfaces a clear ValueError.
src/oracle-mcp-server/tests/test_server.py:2813
Functiontest_resolve_odb_private_endpoint_missing_dns_name_raises
When privateEndpoint (the DNS name) is absent, resolution raises — no IP fallback.
src/oracle-mcp-server/tests/test_server.py:2799
Functiontest_resolve_odb_private_endpoint_uses_dns_name
The private endpoint DNS name (privateEndpoint) is used, not the IP.
src/oracle-mcp-server/tests/test_server.py:2781
Methodtest_resolve_ref_nameless_element
Nameless element resolves with role only, no name kwarg.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:361
Methodtest_resolve_ref_no_snapshot
Raises RefNotFoundError when no snapshot has been taken.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:322
Methodtest_resolve_rejects_ambiguous_urls
Test that URL forms unsuitable for strict allowlist comparison are rejected.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2438
Methodtest_resolve_rejects_complete_config_for_unapproved_url
Test that complete caller credentials do not bypass URL approval.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2380
Methodtest_resolve_rejects_custom_org_without_url_and_token
Test that providing only a custom org is rejected (mixed trust prevention).
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2349
Methodtest_resolve_rejects_custom_token_without_url
Test that providing a custom token without a URL is rejected (mixed trust prevention).
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2339
Methodtest_resolve_rejects_custom_url_without_token
Test that providing a custom URL without a token is rejected (SSRF prevention).
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2329
Methodtest_resolve_rejects_incomplete_environment_configuration
Test that every environment connection field is required.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2468
Methodtest_resolve_returns_configured_arn_and_no_external_id
Property: Backward compatibility. For any configured role ARN and any decoded token claims, ``StaticRoleResolver.resolve`` returns a
src/aws-healthomics-mcp-server/tests/test_static_role_resolver.py:78
Methodtest_resolve_returns_the_identitys_own_mapped_record
Property: Authoritative role mapping. For a registry populated with distinct identity->record pairs, ``resolve(claims)`` returns exac
src/aws-healthomics-mcp-server/tests/test_registry_authoritative_mapping_property.py:140
Methodtest_resolve_selector_dom_disable_failure
DOM.disable failure in _resolve_selector is caught silently.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:704
Methodtest_resolve_service_code_alias
Test that common aliases are resolved to correct service codes.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2758
Methodtest_resolve_service_code_case_insensitive
Test that resolution is case-insensitive.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2783
Methodtest_resolve_service_code_passthrough
Test that already-correct codes pass through unchanged.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:2772
Methodtest_resolve_single_content_binary_inline
resolve_single_content base64-decodes inline binary content.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1336
Methodtest_resolve_single_content_local_file
resolve_single_content still reads local files after refactor.
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:535
Methodtest_resolve_single_content_s3_text_mode
resolve_single_content dispatches S3 URI to _read_s3_object.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1318
Functiontest_resolve_summaries_group_by
Fixed dimensions and TagKey:<tag key> are accepted.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1996
Functiontest_resolve_summaries_group_by_rejects
A TagKey without a key, or an unknown dimension, is rejected locally.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:2018
Methodtest_resolve_support_case_wrapper_calls_logic
Test resolve_support_case wrapper forwards args to logic function.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:3378
Methodtest_resolve_time_range_custom_minutes
Test resolve_time_range with custom minutes.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:83
Methodtest_resolve_time_range_datetime_objects
Test resolve_time_range with datetime objects.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:117
Methodtest_resolve_time_range_defaults
Test resolve_time_range with default values.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:64
Methodtest_resolve_time_range_mixed_types
Test resolve_time_range with mixed types.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:132
Methodtest_resolve_time_range_string_times
Test resolve_time_range with string times.
src/eks-mcp-server/tests/test_cloudwatch_handler.py:102
Methodtest_resolve_to_validation
Test ResolveTo model validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:114
Methodtest_resolve_unique_name_no_nth
Unique role+name elements do not use nth disambiguation.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:348
Methodtest_resolve_uses_captured_count_over_caller
v2 token ignores the caller's ``count``.
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:128
Methodtest_resolve_uses_env_vars_when_no_caller_params
Test that env vars are used when no caller params are provided.
src/timestream-for-influxdb-mcp-server/tests/test_server.py:2450
Methodtest_resolve_valid_ref
Resolves a valid ref to a Playwright locator.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:278
Methodtest_resolve_wildcard_enumerates_prefix
Enumerate all prefixed log groups when no service is given.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:104
Methodtest_resolve_wildcard_no_groups
Return an empty list when no matching log groups exist.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:111
Methodtest_resolve_without_context_raises_auth_error_no_fallback
Property: Missing context yields auth error without fallback (resolve). With no credential context present, ``RequestScopedCredentialResolver
src/aws-healthomics-mcp-server/tests/test_resolver_missing_context.py:95
Functiontest_resolved_confirmation_is_not_a_tool_argument
The confirmation is resolved server-side, so the model cannot supply it.
src/redshift-mcp-server/tests/test_server.py:414
Methodtest_resolved_identity_is_identical_for_all_profiles
Property: Profile is non-authoritative in multi-tenant mode. The resolved identity for any profile input is identical to the identity
src/aws-healthomics-mcp-server/tests/test_resolver_profile_nonauthoritative.py:144
Methodtest_resolved_mode_is_always_supported
Whatever is configured, the resolved mode is one the server knows.
src/redshift-mcp-server/tests/test_settings.py:147
Methodtest_resolved_path_has_no_traversal
The resolved path returned by sanitize_local_path never contains '..' components. Validates: Requirements Path Resolution, Path Traversal Rej
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:240
Methodtest_resolver_never_falls_back_to_process_credentials
With no jwt context installed, the seam refuses a process-level fallback. When a tool runs without a resolved inbound identity, the request-s
src/aws-healthomics-mcp-server/tests/test_jwt_context_session_build.py:175
Methodtest_resolver_returns_target_from_dynamodb_record
A valid enabled record resolves to the mapped ``RoleTarget``.
src/aws-healthomics-mcp-server/tests/test_dynamodb_registry_source.py:186
Methodtest_resolver_seam_builds_jwt_session_from_context_and_ignores_profile
The request-scoped seam builds the jwt session from the context only. Routing through ``RequestScopedCredentialResolver.resolve`` (the seam e
src/aws-healthomics-mcp-server/tests/test_jwt_context_session_build.py:136
Methodtest_resolver_uses_only_its_own_context
Property: Request-scoped resolver uses only its own context. Concurrent execution contexts, each carrying a distinct ``CredentialCont
src/aws-healthomics-mcp-server/tests/test_request_scoped_resolver.py:74
Functiontest_resolver_without_context_raises_and_makes_no_aws_call
A tool path resolving with no context raises without any AWS call. Validates: Requirement Request-scoped credential resolution (no Credential
src/aws-healthomics-mcp-server/tests/test_middleware_context_lifecycle.py:289
Methodtest_resolves_code_location
Resolves code location.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:439
Methodtest_resolves_custom_endpoint
A custom endpoint host resolves.
src/mysql-mcp-server/tests/test_endpoint_validation.py:102
Methodtest_resolves_hash
Resolves hash.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:428
Methodtest_resolves_member_instance_endpoint
A member instance host resolves via describe_db_instances.
src/mysql-mcp-server/tests/test_endpoint_validation.py:113
Methodtest_resolves_rds_master_secret
With no secret, the RDS managed master secret is resolved.
src/db2-mcp-server/tests/test_server.py:476
Methodtest_resolves_region_when_none
(self, mock_helper, mock_create, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:413
Methodtest_resolves_run_and_paginates_tasks
(self, mock_client_factory)
src/aws-healthomics-mcp-server/tests/test_metrics_run_context.py:118
Methodtest_resolves_symlink_to_safe_directory
A symlink to a safe directory resolves to its target.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:204
Methodtest_resolves_valid_path
Property: Valid paths are resolved to absolute form.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:103
Methodtest_resolves_writer_and_reader
Writer and reader hosts resolve to their AWS (host, port).
src/mysql-mcp-server/tests/test_endpoint_validation.py:87
Functiontest_resource_content_model_dump
Test ResourceContent model_dump method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:987
Functiontest_resource_decorator
Test resource decorator functionality.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1180
Functiontest_resource_decorator_default_mime_type
Test resource decorator with default MIME type.
src/mcp-lambda-handler/tests/test_lambda_handler.py:1236
Methodtest_resource_id_filter_rejected
CE fails a RESOURCE_ID filter with InternalFailure, which retrying never fixes.
src/billing-cost-management-mcp-server/tests/tools/test_cost_comparison_tools.py:1489
Methodtest_resource_level_notes_cover_every_opted_in_service
Resource-level data is not EC2-only and needs no SERVICE filter.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2216
Functiontest_resource_model_dump
Test Resource model_dump method.
src/mcp-lambda-handler/tests/test_lambda_handler.py:964
Methodtest_resource_not_found_classified_as_not_found
ResourceNotFoundException reads as not_found, not a permission failure.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1318
Methodtest_resource_not_found_exception
Test list_recommendations ResourceNotFoundException handling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:854
Methodtest_resource_not_found_exception
ResourceNotFoundException is reported as a warning naming the recommendation ID.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:942
Methodtest_resource_not_found_exception
Test list_recommendation_summaries ResourceNotFoundException handling.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1159
Methodtest_resource_not_found_exception
ResourceNotFoundException surfaces the service's own message verbatim.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1681
Methodtest_resource_not_found_exception
Test handling of ResourceNotFoundException - covers lines 374-380.
src/openapi-mcp-server/tests/auth/test_cognito_auth_exceptions.py:64
Methodtest_resource_not_found_for_subscription_history
ResourceNotFoundException is classified for subscription_history too.
src/billing-cost-management-mcp-server/tests/tools/test_business_support_operations.py:1332
Methodtest_resource_operation
Test resource operation type.
src/openapi-mcp-server/tests/prompts/standalone/test_secure_operation_prompt.py:189
← previousnext →29,601–29,700 of 35,417, ranked by callers