MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions30,950 in github.com/awslabs/mcp

↓ 14 callersFunctionget_ssh_tunnel_command_cc
Generates an SSH tunnel command to connect to an ElastiCache cluster through an EC2 jump host. Args: cache_cluster_id (str): ID of the El
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/connect.py:176
↓ 14 callersMethodget_workflow_status
Get the current status of an active workflow.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:854
↓ 14 callersFunctiongrant_healthomics_repository_access
Grant HealthOmics access to an ECR repository. Updates the repository policy to allow the HealthOmics service principal (omics.amazonaws.com)
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:1575
↓ 14 callersFunctionhandle_general_error
Handle general exceptions. Args: ctx: The MCP context e: The exception operation: The operation that was being performed
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/errors.py:80
↓ 14 callersFunctioninternal_create_serverless_cluster
Create an Aurora PostgreSQL cluster with a single writer instance. Credentials are automatically managed by AWS Secrets Manager. Args:
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:286
↓ 14 callersFunctioninternal_get_cluster_valid_endpoints
Return the list of valid (host, port) connection endpoints for a cluster. A caller-supplied db_endpoint/port is considered legitimate only if it
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:33
↓ 14 callersFunctionlist_services_in_region
List all AWS services being used in a specific region. Args: region: AWS region to list services for session: boto3 Session for A
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/resource_utils.py:25
↓ 14 callersMethodmake_request
Make a request to the Prometheus HTTP API with AWS SigV4 authentication. Args: prometheus_url: The base URL for the Prometheus AP
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:221
↓ 14 callersFunctionmap_aws_error
Map AWS service errors to custom exception types. Args: aws_error: The original AWS service error correlation_id: Optional correl
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/exceptions.py:453
↓ 14 callersMethodmock_aws_clients
Create a mock for boto3.client that returns specified clients.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_logs.py:24
↓ 14 callersFunctionparse_tags
Parse tags from either a JSON string or a dict. MCP clients may send tags as a JSON string or as a native dict object. This function normaliz
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:100
↓ 14 callersFunctionprocess_nodegroup_configuration
Process nodegroup configuration in either shorthand or JSON format. Args: node_group_configuration: Nodegroup configuration in either for
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/processors.py:166
↓ 14 callersFunctionread_sections
Extract specific sections from AWS documentation pages by title. Retrieves a page, converts to markdown, and returns only matching sections.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:199
↓ 14 callersMethodresolve_ref
Resolve a ref to a Playwright Locator. Args: page: Playwright Page to locate elements on. ref: Element ref from snaps
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/snapshot_manager.py:399
↓ 14 callersFunctionrun_query
Run a SQL query against PostgreSQL. Args: sql: The sql statement to run ctx: MCP context for logging and state management
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:354
↓ 14 callersFunctionset_enable_aws_resource_write
Set whether AWS resource creation/modification is enabled. When AWS resource write is disabled, certain operations like creating ECR repositories
src/finch-mcp-server/awslabs/finch_mcp_server/server.py:429
↓ 14 callersMethodstart_query
(self, **kwargs)
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:43
↓ 14 callersFunctionstrip_response_metadata
Return a copy of a boto3 response dict without the ResponseMetadata key. Identity APIs return resource fields alongside ResponseMetadata at the
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/identity/error_handler.py:54
↓ 14 callersFunctionvalidate_bucket_access
Validate that we have access to S3 buckets from the given paths. Args: bucket_paths: List of S3 bucket paths to validate Returns:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/s3_utils.py:125
↓ 14 callersFunctionvalidate_directory_path
Validate a user-supplied directory path for write operations. Checks: - Path must be absolute. - Resolved path must not fall within a sen
src/eks-mcp-server/awslabs/eks_mcp_server/path_validation.py:61
↓ 14 callersFunctionvalidate_file_path
Validate a user-supplied file path for read or write operations. Checks: - Path must be absolute. - Resolved path must not fall within a
src/eks-mcp-server/awslabs/eks_mcp_server/path_validation.py:40
↓ 14 callersFunctionvalidate_readme_input
Validate and process README input. Args: ctx: MCP context for error reporting readme: User-provided README input (markdown, file
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:452
↓ 14 callersFunctionvalidate_urls
Validate URLs based on allowed domains. Args: urls: Single URL string or list of URLs to validate allowed_domains: Optional list
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/url_validator.py:112
↓ 13 callersFunction_check_pull_through_cache_healthomics_usability
Check if a pull-through cache repository is usable by HealthOmics. Evaluates whether the pull-through cache configuration allows HealthOmics
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:251
↓ 13 callersFunction_convert_datetime_to_string
Convert datetime object to ISO format string if it's a datetime object.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/healthimaging_operations.py:93
↓ 13 callersMethod_convert_read_set_to_genomics_file
Convert a HealthOmics read set to a GenomicsFile if it matches search criteria. Args: read_set: Read set dictionary from list_rea
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/healthomics_search_engine.py:1110
↓ 13 callersFunction_create_sample_repository
Create a sample ECR repository response object.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1145
↓ 13 callersMethod_execute_parallel_paginated_searches
Execute paginated searches across all configured storage systems in parallel. Args: request: Search request containing search par
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:553
↓ 13 callersFunction_fetch_instrumented_services_with_pagination
Common pagination logic for fetching instrumented services. Args: unix_start: Start time as unix timestamp unix_end: End time as
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:291
↓ 13 callersFunction_make_conn
Construct an OracledbPoolConnection with test defaults.
src/oracle-mcp-server/tests/test_coverage.py:431
↓ 13 callersFunction_make_discover_clusters
Build a mock discover_clusters returning a single cluster.
src/redshift-mcp-server/tests/test_review_executor.py:56
↓ 13 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_chat.py:33
↓ 13 callersFunction_parse_container_image_reference
Parse a container image reference into its components. Handles various formats: - ubuntu:latest -> registry-1.docker.io/library/ubuntu:latest
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:1974
↓ 13 callersMethod_preprocess_entity_config
Preprocess entity config to extract template parameters and add GSI data.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/jinja2_generator.py:381
↓ 13 callersFunction_reload_cost_anomaly_with_identity_decorator
Reload cost_anomaly_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a callable 'cost
src/billing-cost-management-mcp-server/tests/tools/test_cost_anomaly_tools.py:391
↓ 13 callersFunction_reload_with_identity_decorator
Reload module with FastMCP.tool patched to return the original function.
src/billing-cost-management-mcp-server/tests/tools/test_cost_category_tools.py:40
↓ 13 callersFunction_run_ssm_command
Run a shell command on an instance via SSM and return the output. Sends the command via AWS-RunShellScript and polls for completion. Returns
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:162
↓ 13 callersFunction_translate_client_error
Translate a boto3 ClientError into the {error, error_code, remediation} contract. The MCP server's pattern A (`{'error': '...'}`) returns are kep
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:64
↓ 13 callersFunction_validate_http_config
Validate HTTP configuration for security.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_datasource.py:41
↓ 13 callersFunctionaudit_slos
PRIMARY SLO AUDIT TOOL - The #1 tool for comprehensive SLO compliance monitoring and breach analysis. **PREFERRED TOOL FOR SLO ROOT CAUSE ANALYSI
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/server.py:501
↓ 13 callersMethodcheck_customization
Check if command matches a customization and return the highest priority decision. Returns None if no customization matches.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/security/policy.py:140
↓ 13 callersFunctionconvert_api_response_to_table
Convert a large API response to a SQLite table. This function stores API response data in a SQLite table for easier querying with the session
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:579
↓ 13 callersMethoddescribe_services
Retrieve available AWS services. Args: service_code_list: List of service codes to retrieve (optional) language: The
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:501
↓ 13 callersFunctiondiscover_clusters
Discover all Redshift clusters and serverless workgroups. Discovery is best-effort for each type: if either provisioned or serverless discove
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:457
↓ 13 callersFunctiondownload_s3_content
Download content from a pre-signed S3 URL. If *save_path* is provided the raw bytes are written to disk and the function returns ``{"savedTo"
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tool_utils.py:247
↓ 13 callersMethodexecute_query
Return an empty result set.
src/mssql-mcp-server/tests/test_abstract_db_connection.py:23
↓ 13 callersMethodexecute_query
Execute a test query.
src/mysql-mcp-server/tests/test_abstract_db_connection.py:31
↓ 13 callersFunctionextract_cell
Extracts the scalar or array value from a single cell.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:79
↓ 13 callersMethodformat
r"""Format the prompt template with validation parameters. Args: rubric_items: Formatted rubric criteria (e.g., "1. Criterion 1\n
src/cloudwatch-applicationsignals-mcp-server/evals/core/validation_prompts.py:101
↓ 13 callersFunctionformat_workload_estimate_response
Formats a single workload estimate object from the get_workload_estimate API response. Args: estimate: Single workload estimate object fr
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:818
↓ 13 callersMethodget_auth_headers
Get authentication headers.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:34
↓ 13 callersFunctionget_billing_preferences
Get the billing preferences for one feature. Args: ctx: The MCP context object. features: The feature to retrieve (required). The
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_preferences_operations.py:48
↓ 13 callersFunctionget_broker_hostname_from_id
Retrieve the broker hostname from Amazon MQ DescribeBroker API using the broker ID.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/rabbitmq/connection.py:55
↓ 13 callersMethodget_item
(self, **kwargs)
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:65
↓ 13 callersMethodget_keys_json
Get all connection keys as JSON string. Includes ``effective_is_over_privileged`` per connection for diagnostics: True/False once the
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:145
↓ 13 callersFunctionget_preferences
Check if BCM Pricing Calculator preferences are properly configured. Args: ctx: The MCP context object Returns: dict: Contai
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:255
↓ 13 callersFunctionget_response_data
Helper function to extract data from CallToolResult response.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_data_catalog_handler.py:26
↓ 13 callersMethodget_waiter
(self, _name)
src/aws-healthomics-mcp-server/integration/harness_tests/test_iam_provisioning.py:69
↓ 13 callersFunctioninternal_get_cluster_properties
Retrieve RDS cluster properties from AWS. Args: cluster_identifier: RDS cluster identifier region: AWS region (e.g., 'us-east-1')
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:163
↓ 13 callersFunctioninternal_resolve_cluster_endpoint
Resolve a caller-supplied host to a valid (host, port) cluster endpoint. Compares requested_host against the cluster's AWS-advertised endpoints a
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/cp_api_connection.py:64
↓ 13 callersMethodis_custom_tags_enabled
Check if custom tags are enabled. When CUSTOM_TAGS environment variable is set to 'True', the system will ignore adding new tags or v
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:85
↓ 13 callersMethodlist_translation_jobs
List translation jobs with filtering capabilities. Args: status_filter: Filter jobs by status (SUBMITTED, IN_PROGRESS, COMPLETED,
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:279
↓ 13 callersFunctionlist_workload_estimates
Lists all workload estimates for the account. Args: ctx: The MCP context object created_after: Filter estimates created after thi
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:306
↓ 13 callersFunctionload_persisted_config
Load config from disk.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:420
↓ 13 callersFunctionmain
Parse CLI arguments and run the e2e integration test.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:2786
↓ 13 callersFunctionmake_stream_response
Build a mock invoke_code_interpreter EventStream response. Mirrors the real API shape: { "stream": [ { "result": { "content": [...], "structu
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/conftest.py:38
↓ 13 callersMethodmanage_aws_glue_crawler_management
Manage AWS Glue crawler schedules and monitor performance metrics. This tool provides operations for controlling crawler schedules and retrie
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/crawler_handler.py:789
↓ 13 callersMethodmanage_collaborator
Add, update, or remove a workspace collaborator. Actions: - put: add a user OR change their role (upsert). Requires userId and role.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/collaborator.py:50
↓ 13 callersFunctionparse_auditors
Parse and validate auditors parameter.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:394
↓ 13 callersFunctionpreview_dataset
Show the S3 bucket structure for a public dataset (no AWS account required). Returns up to 10 objects from the dataset's S3 bucket (in S3's defau
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:604
↓ 13 callersFunctionprogress_event
Map a CloudControl API response to a standard output format for the MCP.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/cloud_control_utils.py:106
↓ 13 callersMethodreadonly_mode
Check if the server is running in readonly mode. Returns: True if readonly mode is enabled, False otherwise
src/memcached-mcp-server/awslabs/memcached_mcp_server/context.py:33
↓ 13 callersMethodresource
Decorator to register a function as a resource provider. The decorated function should return the resource content as a string.
src/mcp-lambda-handler/awslabs/mcp_lambda_handler/mcp_lambda_handler.py:293
↓ 13 callersMethodset
Set a database connection in the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:59
↓ 13 callersMethodstart_scan
Package code, upload to S3, and start a security scan. Reuses an existing CodeReview for the same workspace path if one exists. Only
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:140
↓ 13 callersMethodtool
(self, name=None, annotations=None)
src/ecs-mcp-server/tests/unit/test_main.py:33
↓ 13 callersFunctionvalidate_app_name
Validates application name to ensure it complies with AWS ECS/ECR naming requirements. Requirements: - Length: 1-20 characters (to accom
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/security.py:50
↓ 13 callersFunctionvalidate_definition_sources
Validate that exactly one definition source is provided and process it. Accepts a ``definition_source`` parameter that can be a local ZIP file pa
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:167
↓ 13 callersFunctionvalidate_rabbitmq_name
Validate RabbitMQ queue/exchange names.
src/amazon-mq-mcp-server/awslabs/amazon_mq_mcp_server/rabbitmq/connection.py:43
↓ 13 callersFunctionvalidate_schema_file
Convenience function to validate a schema file. Args: schema_path: Path to schema.json file strict_mode: If True, treats warnings
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/schema_validator.py:646
↓ 13 callersFunctionvalidate_sql_query
Validate SQL query for security issues. Args: query: SQL query to validate Returns: bool: True if the query is valid Ra
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/sql_utils.py:305
↓ 13 callersFunctionvalidate_table_name
Validate a SQL Server table name reference.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:683
↓ 13 callersFunctionvalkey_admin
Execute a destructive Valkey command. Admin tier — disabled by default. Requires both: 1. Server config: VALKEY_ADMIN_ENABLED=true 2. con
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/valkey_admin.py:71
↓ 12 callersMethod__init__
Initialize the timeout error. Args: message: Error message timeout_seconds: Timeout duration in seconds e
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/exceptions.py:376
↓ 12 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config.py:160
↓ 12 callersFunction_arg
Build a single ``--flag=value`` argv token (unambiguous for argparse).
src/aws-healthomics-mcp-server/tests/test_config_jwt_role_resolution.py:68
↓ 12 callersFunction_create_mock_ecr_client_with_healthomics_access
Create a mock ECR client configured for HealthOmics access.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:95
↓ 12 callersMethod_get_eks_insights_impl
Internal implementation of get_eks_insights.
src/eks-mcp-server/awslabs/eks_mcp_server/insights_handler.py:125
↓ 12 callersFunction_handle_field_value
Convert FieldInfo objects to None, otherwise return the value as-is.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/server.py:70
↓ 12 callersMethod_mock_rds_client
Create a mock RDS client returning test cluster properties.
src/mysql-mcp-server/tests/test_endpoint_validation.py:246
↓ 12 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_field_defaults.py:35
↓ 12 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_job.py:42
↓ 12 callersFunction_parse_identifier_parts
Parse a possibly-qualified SQL Server table name into its identifier parts. Supports both double-quoted ("name") and bracket-quoted ([name]) iden
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:598
↓ 12 callersFunction_reload_coh_with_identity_decorator
Reload cost_optimization_hub_tools with FastMCP.tool patched to return the original function unchanged (identity decorator). This exposes a calla
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:268
↓ 12 callersMethod_run_in_executor
Run a synchronous function in an executor. Args: func: The function to run *args: Positional arguments to pass to the
src/aws-support-mcp-server/awslabs/aws_support_mcp_server/client.py:117
↓ 12 callersFunction_scope
Build a minimal ASGI HTTP scope carrying the given headers.
src/aws-healthomics-mcp-server/tests/test_inbound_sigv4.py:36
↓ 12 callersMethod_score_runtime_version
Score 1.0 if version matches, 0.5 for wildcard '*', 0.0 otherwise. Supports suffix '+' for version-or-later matching (e.g. 'syn-nodej
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/canary_recommendation_engine.py:206
↓ 12 callersFunction_setup_browser
Configure mock connection manager to return the mock browser.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_management.py:77
↓ 12 callersMethod_validate_search_request
Minimal validation - only catch obvious errors.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:330
↓ 12 callersMethodaclose
Close the open session and underlying transport, if any. Idempotent.
src/aws-healthomics-mcp-server/integration/harness/mcp_client.py:259
← previousnext →501–600 of 30,950, ranked by callers