MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions32,024 in github.com/awslabs/mcp

↓ 7 callersFunctionstart_migration
Start migration to an Amazon ElastiCache replication group. This tool starts migration from a Redis instance to an ElastiCache replication group.
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/start_migration.py:121
↓ 7 callersMethodstorage_gb
Calculate storage in GB.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:68
↓ 7 callersMethodtool
Return a decorator that records the registered tool's name and annotations.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:50
↓ 7 callersFunctionupdate
Update documents in a DocumentDB collection. This tool updates existing documents that match a specified filter. Returns: Dict[str,
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/write_tools.py:78
↓ 7 callersMethodupdate
Update an existing entity with optimistic locking (prevents lost updates) Note: Uses PutItem with exclude_none=True to support sparse GSIs. T
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/base_repository.py:168
↓ 7 callersFunctionupload_frontend_assets
Upload frontend assets to S3. Args: configuration: Deployment configuration deploy_result: Result of the deployment Raises:
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/frontend_uploader.py:29
↓ 7 callersFunctionvalidate_aws_region
Validate AWS region against whitelist. Args: region: AWS region to validate Returns: Validated region string Raises:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:147
↓ 7 callersMethodvalidate_credentials
Validate current AWS credentials. Returns: True if credentials are valid, False otherwise
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/aws_client.py:352
↓ 7 callersFunctionvalidate_endpoint
Validate that the requested endpoint matches an RDS instance or allowed list. Returns the AWS-sourced (host, port) on match. Raises ValueError on
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:412
↓ 7 callersFunctionvalidate_fhir_resource_type
Validate a FHIR resource type (PascalCase, letters/digits only).
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:145
↓ 7 callersFunctionvalidate_next_token
Validate next token constraints. Args: token: The next token to validate field_name: Name of the field for error messages Re
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:571
↓ 7 callersFunctionvalidate_prerequisites
Validates prerequisites for ECS Express Mode deployment. Checks: 1. Task Execution Role exists (checks default 'ecsTaskExecutionRole' if
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/express.py:119
↓ 7 callersFunctionvalidate_query_is_readonly_select
Validate that a user-supplied query is a read-only SELECT or WITH...SELECT. Returns None if valid, or an error message string if invalid.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/storage_lens_tools.py:49
↓ 7 callersMethodvalidate_range_condition
Validate range_condition against allowed DynamoDB operators. Args: range_condition: Range condition value to validate
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/range_query_validator.py:41
↓ 7 callersFunctionvalidate_state_machine_name
Validate that the state machine name is valid and can be called.
src/stepfunctions-tool-mcp-server/awslabs/stepfunctions_tool_mcp_server/server.py:68
↓ 7 callersMethodvalidate_template_syntax
Validate template syntax for common issues. Args: template: Template string to validate Returns: List of Val
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/key_template_parser.py:100
↓ 7 callersFunctionvalidate_workflow_token
Validate any workflow token exists and optionally check its type.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/utils/validation.py:20
↓ 7 callersFunctionwrite_svg_to_s3
Parse S3 path, validate bucket, check no-overwrite, and upload SVG. Args: svg_content: The SVG string to upload. s3_path: The S3
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/s3_utils.py:250
↓ 6 callersMethod__init__
(self, table_name: str = 'ELearningPlatform')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/repositories.py:568
↓ 6 callersMethod__init__
Initialize the error. Args: message: Error message error_type: Type of authentication error details: Addi
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_errors.py:38
↓ 6 callersFunction_aggregate_task_metrics
Aggregate task metrics by normalized base name. Groups tasks by their normalized base name (removing scatter/iteration suffixes) and calculat
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:1148
↓ 6 callersFunction_append_filesystem_usage
Append filesystem usage information for SAP-relevant paths. First attempts to run `df -h` via SSM RunShellScript on each instance. Falls back
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:2316
↓ 6 callersFunction_apply_pareto_materiality
Rank grouped efficiency metrics by score, spend-materiality aware. The fetch that feeds this is highest-spend-first (orderBy Spend Desc), so the
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:484
↓ 6 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config_multitenant_parsing.py:63
↓ 6 callersFunction_bearer_scope
Build an ASGI HTTP scope with an Authorization: Bearer header. This models the Calling_Agent forwarding the customer's bearer token unchanged
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:78
↓ 6 callersFunction_bearer_scope
Build an ASGI HTTP scope with an Authorization: Bearer header.
src/aws-healthomics-mcp-server/tests/test_jwt_derive_assume_role_shape.py:71
↓ 6 callersFunction_check_target_group_health
Check target group health and return any unhealthy targets.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_service_events.py:79
↓ 6 callersFunction_check_version_meets_minimum
Check if current version meets minimum requirement. Args: current_version: Current version tuple or None Returns: bool: True
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:252
↓ 6 callersFunction_client_error
Create a ClientError for testing.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:33
↓ 6 callersFunction_connection_double
A connection that records what run_query hands it.
src/postgres-mcp-server/tests/test_run_query_policy_wiring.py:74
↓ 6 callersMethod_convert_named_to_positional
Convert named parameter SQL to positional parameter SQL for asyncmy. Converts %(name)s style placeholders to %s and returns ordered params.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:334
↓ 6 callersFunction_create_healthomics_registry_policy
Create a sample registry policy that grants HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2921
↓ 6 callersMethod_create_mock_insight_item
Helper to create a mock insight item for testing.
src/eks-mcp-server/tests/test_insights_handler.py:94
↓ 6 callersMethod_delete_stack
Delete a CloudFormation stack.
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_stack_handler.py:632
↓ 6 callersMethod_deploy_stack
Deploy a CloudFormation stack from the specified template file.
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:353
↓ 6 callersFunction_derive_pagination_envelope
Extract pagination metadata from a response so it survives SQL offload. Recognizes two shapes produced upstream: - Multi-page wrapper built
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:571
↓ 6 callersFunction_describe_support_cases_logic
Business logic for retrieving information about support cases.
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/server.py:331
↓ 6 callersFunction_discover_profiles
Fan out ListAvailableProfiles across all FES regions. Each region gets a 5-second timeout. Profiles are tagged with ``_region`` (extracted fr
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:61
↓ 6 callersFunction_eff_group
Build a single-point efficiency group for ranking tests.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1533
↓ 6 callersFunction_emoji
Get status emoji, defaulting to ⚪ for unknown statuses.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:69
↓ 6 callersFunction_ensure_scheduler_role
Ensure the EventBridge Scheduler execution role exists. Creates the role with AWSSystemsManagerForSAPFullAccess policy if it doesn't exist.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_scheduling/tools.py:62
↓ 6 callersMethod_ensure_stack_ownership
Ensure that a stack exists and was created by this tool. Args: ctx: The MCP context stack_name: Name of the stack to
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:64
↓ 6 callersFunction_enterprise_support
Route an Enterprise Support ``operation`` to its handler. Kept separate from the FastMCP-decorated wrapper so the routing can be unit tested
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/enterprise_support_tools.py:41
↓ 6 callersFunction_execute_access_patterns
Execute all data model validation access patterns operations. Args: workspace_dir: Absolute path of the workspace directory acces
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/server.py:954
↓ 6 callersMethod_execute_query_batch
Execute a batch of queries and collect results. Args: query_names: List of query names to execute database: Target da
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/mysql.py:324
↓ 6 callersFunction_explain_list
Explain list content comprehensively.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/explanation.py:191
↓ 6 callersFunction_extract_keywords
Extract significant lowercase keywords from text, filtering stop words. Splits on non-alphanumeric boundaries (preserving underscores and hyphens
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:130
↓ 6 callersFunction_extract_log_group_name
Extract log group name from an ARN or return as-is if already a name.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:57
↓ 6 callersFunction_extract_slo_metric_name
Extract the RUM metric name from an SLO config.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:1707
↓ 6 callersMethod_extract_template_fields
Extract field names from template(s), handling both string and list. Args: template: Single template string, list of templates, o
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:312
↓ 6 callersFunction_factory
Return an sts_client_factory yielding the given stub client.
src/aws-healthomics-mcp-server/tests/test_jwt_derive_assume_role_shape.py:103
↓ 6 callersFunction_find_matching_pull_through_cache
Find a pull-through cache rule that matches the given registry. Args: registry: The upstream registry URL ptc_rules: List of pull
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:2056
↓ 6 callersFunction_find_soffice
Find the soffice binary. Checks $PATH first, then known macOS app bundle locations. Returns the full path to soffice, or None if not found.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:458
↓ 6 callersFunction_flatten_request_headers
Flatten multi-value header lists into single comma-separated strings.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/upload_helper.py:45
↓ 6 callersFunction_format_linked_accounts
Format linked account objects from the AWS API response. Args: linked_accounts: List of linked account objects from the AWS API. Ret
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:242
↓ 6 callersFunction_format_pricing_rules
Format pricing rule objects from the AWS API response.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:1136
↓ 6 callersFunction_format_timestamp
None-guard around the shared timestamp_to_utc_iso_string helper. Args: timestamp: A datetime (or None) returned by boto3. Returns:
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_automation_operations.py:40
↓ 6 callersMethod_get_base_url
Get the CloudWatch PromQL base URL for a region. Raises: ValueError: If region is malformed or not a recognized AWS region.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/promql_client.py:116
↓ 6 callersFunction_get_max_file_size
Get max file size from environment or use default. The MAX_FILE_SIZE_MB env var is specified in megabytes for ergonomics.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:46
↓ 6 callersFunction_get_run_analysis_data
Get structured analysis data for the specified runs. Args: run_ids: List of run IDs to analyze headroom: Headroom percentage for
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:856
↓ 6 callersFunction_get_task_definition_by_service
Get task definition for a specific ECS service. Parameters ---------- cluster_name : str Name of the ECS Cluster. servic
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:371
↓ 6 callersFunction_get_task_definition_by_task
Get task definition for a specific ECS task. Parameters ---------- task_id : str ID of the ECS Task. cluster_name : str
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/utils.py:421
↓ 6 callersMethod_get_token_client_credentials
Get a token using the client credentials flow. Returns: str: Access token or None if authentication fails Raises:
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:273
↓ 6 callersFunction_get_validated_hostname
Validate that the provided hostname matches the host stored in the Secrets Manager secret. Ensures the connection target is consistent with the c
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/db_analyzer/mysql.py:470
↓ 6 callersFunction_has_recent_config_checks
Check if there are config check results within the given age threshold.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:214
↓ 6 callersMethod_healthlake_host
Return the expected HealthLake hostname for this client's region.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:1034
↓ 6 callersMethod_is_cache_valid
Check if the language cache is valid and not expired.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:378
↓ 6 callersMethod_list_read_sets
List read sets in a HealthOmics sequence store. Args: sequence_store_id: ID of the sequence store Returns: L
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:576
↓ 6 callersMethod_list_s3_objects_paginated
List objects in an S3 bucket with pagination support. Args: bucket_name: Name of the S3 bucket prefix: Object key pre
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:642
↓ 6 callersFunction_load_next_steps_prompt
Load next steps guidance from markdown file with optional variable substitution. Args: filename: Name of the markdown file in prompts/nex
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/server.py:929
↓ 6 callersMethod_make_conn
Create a test connection with a mocked data_client.
src/mysql-mcp-server/tests/test_rds_api_connection.py:73
↓ 6 callersFunction_make_context
Build a CredentialContext for tests.
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:34
↓ 6 callersFunction_make_fake_client
Build a fake httpx.Client class that records the URL it was asked to dial.
src/openapi-mcp-server/tests/test_ssrf_protection.py:789
↓ 6 callersFunction_make_http_status_error
Build an httpx.HTTPStatusError with a mocked response.
src/healthlake-mcp-server/tests/test_server_dataplane_errors.py:29
↓ 6 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:66
↓ 6 callersFunction_make_jwt
Build an unsigned compact JWT carrying the given claims (no signature).
src/aws-healthomics-mcp-server/tests/test_jwt_derive_assume_role_shape.py:59
↓ 6 callersFunction_make_mock_tool
Create a mock Tool object with name and description attributes.
src/ecs-mcp-server/tests/unit/modules/test_aws_knowledge_proxy.py:71
↓ 6 callersFunction_make_response
Build a mock execute_query response with (count, rec_id[, signal]) rows.
src/redshift-mcp-server/tests/test_review_executor.py:23
↓ 6 callersMethod_make_zip_with_entry
Helper to create a ZIP with a specific filename entry.
src/aws-healthomics-mcp-server/tests/test_path_traversal.py:112
↓ 6 callersFunction_parse_policy_document
Parse a policy document from JSON string. Args: policy_text: JSON string of the policy document Returns: Parsed policy docum
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:126
↓ 6 callersMethod_parse_s3_uri
Parse S3 URI into bucket and prefix components. Args: s3_uri: S3 URI to parse (e.g., 's3://bucket/prefix/') Returns:
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:537
↓ 6 callersFunction_patch_http
Patch the client's HTTP session to return a fixed response and capture the request.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:57
↓ 6 callersFunction_patched_handlers
Patch every operation handler, yielding the mocks keyed by operation name. Entering the patches through a stack keeps each test to a single with
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_tools.py:85
↓ 6 callersMethod_poll_for_query_completion
Poll for query completion within the specified timeout. Args: logs_client: The CloudWatch Logs client to use query_id
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/tools.py:135
↓ 6 callersMethod_poll_query_results
Poll for CloudWatch Logs query results with exponential backoff. Args: ctx: MCP context logs_client: Boto3 CloudWatch
src/eks-mcp-server/awslabs/eks_mcp_server/cloudwatch_handler.py:516
↓ 6 callersFunction_preprocess_auto_form
Wrap raw field values into {data, metadata} AutoForm envelope.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:122
↓ 6 callersMethod_preprocess_sql
Preprocess SQL by removing comments and normalizing whitespace. Args: sql: The raw SQL query string Returns:
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/sql_analyzer.py:116
↓ 6 callersFunction_probe_sigv4_transform_api
Probe credential auth by fanning out ListWorkspaces across all regions. If exactly one region succeeds, auto-selects it (zero-config). If mul
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/server.py:176
↓ 6 callersFunction_provision
Run ``provision_agentcore`` with fully injected fakes and return the seams for assertion.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:205
↓ 6 callersFunction_registry_resolver
Build a RegistryRoleResolver mapping the customer sub to the customer role.
src/aws-healthomics-mcp-server/tests/test_multihop_identity_propagation.py:153
↓ 6 callersFunction_reload_pricing_with_identity_decorator
Reload aws_pricing_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a callable 'aws_p
src/billing-cost-management-mcp-server/tests/tools/test_aws_pricing_tools.py:684
↓ 6 callersMethod_remove_sql_comments
Remove SQL comments from the query string. Args: sql: The SQL query string Returns: SQL string with comments
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/sql_analyzer.py:80
↓ 6 callersMethod_resolve_pagination_state
Unpack an opaque pagination token to ``(page_value, count)``. For v2 tokens (the current format) the returned ``count`` is the one ca
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:572
↓ 6 callersMethod_response
Build an httpx.Response with an optional Location header for hook testing.
src/aws-documentation-mcp-server/tests/test_util.py:76
↓ 6 callersMethod_retry_with_backoff
Retry a function with exponential backoff. Args: func: The function to retry *args: Positional arguments to pass to t
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:816
↓ 6 callersMethod_run_cdk_init
Execute cdk init in the target directory. Args: target_dir: Directory where cdk init should be executed Raises:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:105
↓ 6 callersFunction_sanitize_error_message
Remove sensitive information from error messages.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/helpers.py:41
↓ 6 callersMethod_score_symptoms
Score as ratio of matched symptoms to total symptoms in entry. Uses keyword-based matching: each symptom is split into significant ke
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:180
↓ 6 callersMethod_search_single_bucket_path_optimized
Search a single S3 bucket path for genomics files using optimized strategy. This method implements smart filtering to minimize S3 API calls:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:335
↓ 6 callersFunction_setup_logging
Configure logging for the server.
src/ecs-mcp-server/awslabs/ecs_mcp_server/main.py:43
← previousnext →1,401–1,500 of 32,024, ranked by callers