MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_passes_all_params
Test that all parameters are passed through to the operation function.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:241
Methodtest_passes_all_params
Test that all parameters are passed through to the operation function.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:434
Methodtest_passes_all_params
Test that all parameters are passed through to the operation function.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:585
Methodtest_passes_all_params
Test that all parameters are passed through.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:370
Methodtest_passes_all_params
Test that all parameters are passed through.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:440
Methodtest_passes_all_params
Test that all parameters are passed through.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:508
Methodtest_passes_all_params
Test that all parameters are passed through.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:563
Methodtest_passes_all_params
Test that all parameters are passed through.
src/billing-cost-management-mcp-server/tests/tools/test_billing_conductor_tools.py:700
Methodtest_passes_arn_param
Test that the ARN parameter is passed through to the operation function.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:145
Methodtest_passes_both_together
Both network parameters should be forwarded when supplied together.
src/mysql-mcp-server/tests/test_cp_api_connection.py:392
Methodtest_passes_qualifier
Custom qualifier is forwarded to the API.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:345
Methodtest_passes_region_to_client_factory
The configured region is forwarded to the client factory.
src/aws-healthomics-mcp-server/tests/test_dynamodb_registry_source.py:127
Methodtest_passes_subnet_group_name
A supplied subnet group name should be forwarded to RDS.
src/mysql-mcp-server/tests/test_cp_api_connection.py:360
Methodtest_passes_through_success
(self)
src/valkey-mcp-server/tests/test_command_runners.py:308
Methodtest_passes_through_when_metadata_present
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:730
Methodtest_passes_vpc_security_group_ids
A supplied security group list should be forwarded to RDS.
src/mysql-mcp-server/tests/test_cp_api_connection.py:376
Methodtest_passthrough
Primitives pass through unchanged.
src/db2-mcp-server/tests/test_ibm_db_connection.py:183
Methodtest_password_auth_accepted_when_secret_is_registered
The ordinary case: our secret is in the proxy's Auth list.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2105
Methodtest_password_auth_rejected_when_a_different_secret_is_registered
The proxy-for-someone-else case that motivated making this opt-in. A proxy created for another consumer registers that consumer's secret. It
src/postgres-mcp-server/tests/test_cp_api_connection.py:2115
Methodtest_password_auth_rejected_when_no_secret_is_configured
Without a resolved secret there is nothing to match against.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2139
Methodtest_password_auth_rejected_when_proxy_requires_iam
IAMAuth=REQUIRED accepts only IAM tokens, so a password is refused.
src/postgres-mcp-server/tests/test_cp_api_connection.py:2129
Methodtest_password_ignored_when_iam_auth_enabled
(self)
src/valkey-mcp-server/tests/test_connection.py:201
Methodtest_password_with_special_chars_is_escaped
make_conninfo safely quotes passwords containing spaces/quotes.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1206
Methodtest_patch_resource_direct
Test _patch_resource method directly.
src/eks-mcp-server/tests/test_k8s_apis.py:458
Methodtest_patch_resource_with_other_error
Test _patch_resource method with an error other than 415.
src/eks-mcp-server/tests/test_k8s_apis.py:479
Methodtest_patch_with_dynamic_client_fallback
Test patch operation with dynamic client falling back to merge patch.
src/eks-mcp-server/tests/test_k8s_apis.py:418
Methodtest_path_boundary_enforcement
Allowed path prefix must match on / boundaries, not arbitrary substrings.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:143
Methodtest_path_helper_allows_max_length_name
A 128-character name is accepted.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:109
Methodtest_path_helper_allows_missing_status_dir
A status directory that does not exist yet is not an error.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:184
Methodtest_path_helper_allows_valid_name
A valid name resolves to a file contained in the status directory.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:80
Methodtest_path_helper_blocks_existing_symlink_escape
An existing symlink in the status directory pointing outside it is rejected.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:92
Methodtest_path_helper_rejects_invalid_names
The path helper rejects names outside the allowlist.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:71
Methodtest_path_helper_rejects_status_dir_owned_by_other_user
A status directory owned by another user is rejected.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:173
Methodtest_path_helper_rejects_status_dir_that_is_a_file
A status directory path that is a regular file is rejected.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:135
Methodtest_path_helper_rejects_symlinked_status_dir
A status directory that is itself a symlink is rejected.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:118
Methodtest_path_helper_removes_group_and_other_write
Group and other write access on our own status directory is removed.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:162
Methodtest_path_helper_treats_different_drives_as_escape
Paths that commonpath cannot compare (different Windows drives) are rejected.
src/aws-serverless-mcp-server/tests/test_deployment_manager.py:151
Methodtest_path_invalid_validation
Test invalid OpenAPI spec from file.
src/openapi-mcp-server/tests/utils/test_openapi.py:142
Functiontest_path_modification
Test that path modification logic exists.
src/billing-cost-management-mcp-server/tests/test_server.py:37
Methodtest_path_not_found
Test file not found error.
src/openapi-mcp-server/tests/utils/test_openapi.py:111
Methodtest_path_outside_workspace_raises
Path outside WORKSPACE_ROOT raises ValueError.
src/security-agent-mcp-server/tests/test_server.py:1176
Methodtest_path_resolution_scenarios
Test various path resolution and validation scenarios.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:188
Functiontest_path_traversal_blocked
Test that path traversal attempts are blocked by base directory enforcement.
src/document-loader-mcp-server/tests/test_server.py:397
Methodtest_path_traversal_checked_before_file_read
Path traversal is rejected before attempting to read the file. We create a file at a traversal path to prove the check fires first.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:241
Methodtest_path_traversal_in_middle_of_path
Test that path traversal in middle of path is detected.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:512
Methodtest_path_traversal_rejected_via_shared_import
Path traversal is still rejected — now via path_utils.validate_local_path.
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:494
Methodtest_path_traversal_with_double_dots
Test that path traversal with .. is detected.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:505
Methodtest_path_validation_scenarios
Test various path validation scenarios including valid and invalid paths.
src/dynamodb-mcp-server/tests/test_common.py:64
Methodtest_path_with_dot_dot_in_absolute_resolves_and_validates
Test that /tmp/../etc/passwd is resolved and blocked.
src/sagemaker-ai-mcp-server/tests/test_path_validation.py:131
Methodtest_path_yaml_import_error
Test YAML import error.
src/openapi-mcp-server/tests/utils/test_openapi.py:120
Methodtest_path_yaml_invalid_spec
Test invalid YAML error.
src/openapi-mcp-server/tests/utils/test_openapi.py:128
Methodtest_patient_everything_404_maps_to_not_found
A 404 on $patient-everything must map to ``not_found``.
src/healthlake-mcp-server/tests/test_server_dataplane_errors.py:73
Methodtest_patient_everything_connection_error
Test patient everything with connection error.
src/healthlake-mcp-server/tests/test_fhir_client_comprehensive.py:884
Methodtest_patient_everything_count_validation_high
Test patient everything with count too high.
src/healthlake-mcp-server/tests/test_server_validation.py:84
Methodtest_patient_everything_count_validation_low
Test patient everything with count too low.
src/healthlake-mcp-server/tests/test_server_validation.py:70
Methodtest_patient_everything_count_validation_valid
Test patient everything with valid count.
src/healthlake-mcp-server/tests/test_server_validation.py:98
Methodtest_patient_everything_default_count
Test patient everything with default count.
src/healthlake-mcp-server/tests/test_server_validation.py:146
Methodtest_patient_everything_error_handling
Test patient everything error handling - covers lines 396-401.
src/healthlake-mcp-server/tests/test_fhir_error_scenarios.py:32
Methodtest_patient_everything_pagination_sends_captured_count
$patient-everything follow-up URL also uses the captured count.
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:266
Methodtest_patient_everything_rejects_url_shaped_token
Security regression test.
src/healthlake-mcp-server/tests/test_pagination_hardening.py:565
Methodtest_pattern1_properties_fields
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:402
Methodtest_pattern1_properties_keys_fallback
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:415
Methodtest_pattern2_schema_properties
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:423
Methodtest_pattern3_top_level_fields
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:430
Methodtest_pattern4_form_data
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:436
Methodtest_pattern_id_preservation
Test that original pattern IDs are preserved.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_access_pattern_mapper.py:237
Methodtest_pattern_match_scoring
Test pattern matching component of scoring.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:66
Methodtest_pattern_match_with_metadata
Test pattern matching against HealthOmics metadata.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:99
Methodtest_pattern_match_with_tags
Test pattern matching against file tags.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:82
Methodtest_pattern_matching_multiple_failures
Test pattern matching with multiple failures.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:481
Methodtest_pattern_matching_no_match
Test when error doesn't match any known pattern.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:448
Methodtest_pattern_matching_s3_bucket_not_empty
Test pattern matching for S3 bucket not empty error.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:374
Methodtest_pattern_matching_security_group_dependency
Test pattern matching for security group dependency error.
src/aws-iac-mcp-server/tests/tools/test_cloudformation_deployment_troubleshooter.py:412
Methodtest_pattern_matching_with_optimization
Test that pattern matching works correctly with optimization enabled.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:881
Methodtest_pattern_name_identifier_injection_rejected
An access-pattern name carrying code (emitted as a method name) is rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_identifier_validator.py:469
Methodtest_pattern_optimization_reduces_checks
Test that pattern optimization reduces the number of regex checks.
src/aws-healthomics-mcp-server/tests/test_file_association_engine.py:834
Methodtest_payer_account_flag_passthrough
payer_account_flag is forwarded to the API when supplied.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:243
Methodtest_payer_ri_rows_filtered_to_instance_type_and_region
A Payer EC2 RI keeps only its instance type and Region from the payer-wide answer.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1834
Methodtest_payload_encoding
Payload string is encoded to bytes.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_invocation.py:252
Methodtest_pct_change_and_status
Percent change and status classification across the change cases.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1077
Methodtest_pdf
(self)
src/aws-transform-mcp-server/tests/test_upload_helper.py:161
Functiontest_pdf_parsing
Test PDF parsing functionality.
src/document-loader-mcp-server/tests/test_document_parsing.py:433
Functiontest_pdf_text_extraction_stops_between_pages
PDF text extraction stops at the next page once cancelled.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:303
Methodtest_peering_not_found
Test when peering is not found.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_peering_details.py:159
Methodtest_pending_guidance_full_content
Test the full content of PENDING status guidance.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:149
Methodtest_pending_phase_color
Test that pending phase uses correct color.
src/aws-healthomics-mcp-server/tests/test_gantt_generator.py:184
Methodtest_pending_status_mentions_authorization
Test that PENDING status guidance mentions authorization process.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:87
Methodtest_pending_status_mentions_console
Test that PENDING status guidance mentions the AWS Console.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:82
Methodtest_pending_status_mentions_oauth
Test that PENDING status guidance mentions OAuth authorization.
src/aws-healthomics-mcp-server/tests/test_codeconnections.py:77
Methodtest_pending_tasks_flagged
( self, _mock_cfg, _mock_nudge, mock_fes, mock_paginate, handler, ctx )
src/aws-transform-mcp-server/tests/test_job_status.py:187
Methodtest_pending_when_all_three_checks_empty
Pending when all three checks empty.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_status_assessment.py:99
Methodtest_per_account_keys_say_they_may_be_unavailable
A per-account key is documented with its fallback, so a rejection is expected.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2075
Methodtest_per_budget_notifications_contract
DescribeNotificationsForBudget pages at 100 and resends the budget name.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1713
Methodtest_per_cluster_arn_overrides_default_and_metadata
Per-target ARN keyed by cluster_identifier wins over default and metadata.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1679
Functiontest_per_deployment_commands_with_marked_placeholders
Both deployments document provision + teardown commands with marked placeholders. Asserts that ``--deployment agentcore`` and ``--deployment apig
src/aws-healthomics-mcp-server/integration/harness_tests/test_readme_docs.py:53
Methodtest_per_instance_arn_overrides_for_rpg_path
Per-target ARN keyed by AWS-resolved instance endpoint hostname wins.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1719
Methodtest_per_request_credential_freshness
Property: Per-request credential freshness. For any sequence of two requests with different inbound identities, the credentials used
src/aws-healthomics-mcp-server/tests/test_per_request_freshness.py:84
Methodtest_per_target_keyed_by_wrong_id_falls_through_to_default
Map miss → fall through to the default ARN (set by setup_method).
src/postgres-mcp-server/tests/test_server_internal_functions.py:1763
Functiontest_per_target_miss_falls_to_default
When instance_identifier doesn't match any per-target key, use default.
src/mssql-mcp-server/tests/test_server.py:1237
Methodtest_per_target_secret_arn_keys_off_instance_not_proxy_endpoint
Proxy routing must not change the per-target Secrets Manager lookup key. The per-target ``--secret_arn`` override map is keyed on the AWS-res
src/postgres-mcp-server/tests/test_server_internal_functions.py:1225
← previousnext →27,801–27,900 of 35,417, ranked by callers