MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 23 callersFunctionsearch
Search a Valkey Search index with auto-detected mode. Defaults to hybrid when embeddings are configured, which combines text matching with se
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_query.py:67
↓ 23 callersMethodstart_batch_translation
Start a batch translation job with S3 integration. Args: input_config: Configuration for input documents in S3 output
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/batch_manager.py:77
↓ 23 callersFunctionvalidate_healthomics_ecr_config
Validate ECR configuration for HealthOmics workflows. Performs a comprehensive validation of the ECR configuration to ensure HealthOmics work
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/ecr_tools.py:1296
↓ 23 callersMethodvalidate_translation
Validate the quality of a translation. This method performs basic validation checks on translation quality, including length ratio an
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:255
↓ 22 callersFunction_epoch_ms
Return epoch milliseconds for N days ago.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:49
↓ 22 callersFunction_make_get_workflow_base_response
Helper to create a base get_workflow mock response with optional overrides.
src/aws-healthomics-mcp-server/tests/test_workflow_management.py:4328
↓ 22 callersFunction_validate_inputs
Validate input parameters.
src/aws-appsync-mcp-server/awslabs/aws_appsync_mcp_server/operations/create_graphql_api.py:106
↓ 22 callersMethodbrowser_snapshot
Capture an accessibility tree snapshot of the current page. Returns a structured text view of the page with element refs. Use the ref
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/observation.py:63
↓ 22 callersMethodcomplete_task
Complete a Human-in-the-Loop (HITL) task. ⚠️ REQUIRES EXPLICIT USER CONFIRMATION. Before calling this tool you MUST present the full
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/hitl.py:160
↓ 22 callersMethodcontains_write_operations
Check if SQL contains write operations that modify data or schema. This method analyzes SQL queries to detect operations that would modify
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/sql_analyzer.py:137
↓ 22 callersMethodcreate_boto3_client
Create or retrieve a cached boto3 client with the appropriate profile and region. The client is configured with a custom user agent suffix 'a
src/eks-mcp-server/awslabs/eks_mcp_server/aws_helper.py:52
↓ 22 callersMethoddetect_seasonality_and_trend
Analyze seasonality and extract trend component. Returns: DecompositionResult with seasonality and trend
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_data_decomposer.py:37
↓ 22 callersFunctionextract_response_data
Helper function to extract data from CallToolResult content.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:12
↓ 22 callersFunctionformat_client_error
Format a botocore ClientError into a readable 'Code: Message' string.
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/common.py:44
↓ 22 callersFunctiongenerate
Generate DynamoDB entities and repositories from a schema file. Args: schema_path: Path to the schema JSON file output_dir: Outpu
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/codegen.py:293
↓ 22 callersMethodgenerate
Generate a CDK project from the given JSON file. Args: json_file_path: Path to dynamodb_data_model.json Returns:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cdk_generator/generator.py:61
↓ 22 callersMethodget
Get a database connection from the map.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/db_connection_map.py:41
↓ 22 callersMethodget_aws_account_id
Get the AWS account ID for the current session. The account ID is cached after the first call to avoid repeated STS calls. Returns:
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:102
↓ 22 callersFunctionget_aws_client
AWS Client handler with multi-profile support. Args: service_name: AWS service name (e.g., 'logs', 'cloudwatch') region_name: AWS
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/aws_common.py:23
↓ 22 callersMethodget_config
Get config for the current region.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/state.py:98
↓ 22 callersFunctionget_timestream_influxdb_client
Get the AWS Timestream for InfluxDB client.
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:257
↓ 22 callersMethodmock_aws_clients
Create a mock for boto3.client that returns specified clients.
src/ecs-mcp-server/tests/unit/api/troubleshooting_tools/test_fetch_network_configuration.py:33
↓ 22 callersMethodprepare_resource_tags
Prepare standard tags for a resource. Args: resource_type: The type of resource being created (e.g., 'EMRCluster', 'GlueJob', 'Cr
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:190
↓ 22 callersFunctionread_sections_impl
The implementation of the read_sections tool.
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_utils.py:305
↓ 22 callersFunctionrun_query
Run a SQL query against Microsoft SQL Server.
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:134
↓ 22 callersMethodscrub_text
Scrub sensitive data from a text string. Args: text: The text to scrub Returns: The scrubbed text with sensi
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/data_scrubber.py:92
↓ 22 callersFunctiontransform_pricing_data
Filter and optimize AWS pricing data for reduced response size. Args: pricing_json_list: List of JSON strings from AWS Pricing API
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/pricing_transformer.py:58
↓ 22 callersMethodtranslate_text
()
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:333
↓ 22 callersFunctionvalidate_datastore_id
Validate AWS HealthLake datastore ID format. Requires exactly DATASTORE_ID_LENGTH alphanumeric characters. Used to constrain the value before
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:55
↓ 22 callersFunctionvalidate_file_read_path
Validate a file path before reading. Ensures the path is absolute, resolves symlinks and traversals, and blocks access to sensitive directori
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/path_validation.py:65
↓ 22 callersFunctionvalidate_flux_query
Validate that a Flux query does not contain write-producing operations. When INFLUXDB_WRITE_MODE is disabled (default), this function rejects Flu
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:515
↓ 22 callersFunctionvalidate_string_length
Validate string length constraints. Args: value: The string to validate min_length: Minimum allowed length max_length: Ma
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:101
↓ 21 callersFunction_assert_validation_error
Local validation failures carry the same top-level classification as AWS errors.
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:75
↓ 21 callersFunction_build_config
Build GLIDE client configuration from VALKEY_CFG.
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/connection.py:109
↓ 21 callersFunction_create_server
(config, spec=None, extra_spec=None)
src/openapi-mcp-server/tests/test_new_features.py:123
↓ 21 callersFunction_execute_batch
Execute a batch of statements and wait for it to settle. Returns the terminal response whatever the outcome, including a failure: only the caller
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:117
↓ 21 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_engagement.py:36
↓ 21 callersFunction_parse_list_files_response
Parse the EventStream response from invoke('listFiles'). The API returns a streaming response with content blocks. For listFiles, expect 'tex
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/code_interpreter/files.py:159
↓ 21 callersFunction_reload_bvs_with_identity_decorator
Reload bvs_tools with FastMCP.tool patched to return the original function. This exposes callable tool functions we can invoke directly to cover
src/billing-cost-management-mcp-server/tests/tools/test_bvs_tools.py:45
↓ 21 callersFunction_tags_client
A client whose single page returns UserDefined tags with the given keys.
src/billing-cost-management-mcp-server/tests/tools/test_cost_allocation_tags_tools.py:609
↓ 21 callersFunctionadd_search_intent_to_search_request
Adds the search_intent query parameter to the search_url if search_intent is a string. :param search_url: URL to be used for search_documentation
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:600
↓ 21 callersFunctionbcm_pricing_calc_core
Core business logic for BCM Pricing Calculator. Args: ctx: The MCP context object operation: The operation to perform ide
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:112
↓ 21 callersFunctioncalculate_cost
Calculate cost and performance metrics from input data.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/cost_calculator.py:35
↓ 21 callersMethoddetect_language
Detect the language of the given text. Args: text: Text to analyze for language detection Returns: LanguageD
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/translation_service.py:179
↓ 21 callersFunctiondetect_mutating_keywords
Return a list of mutating keywords found in the SQL (excluding comments).
src/oracle-mcp-server/awslabs/oracle_mcp_server/mutable_sql_detector.py:220
↓ 21 callersFunctionexpand_service_operation_wildcard_patterns
Expand wildcard patterns for service operation targets with pagination support. Args: targets: List of target dictionaries unix_s
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:714
↓ 21 callersFunctionfetch_datasets
Fetch and cache datasets from RODA. Uses the official NDJSON index file which contains all datasets pre-parsed. Thread-safe: uses asyncio.Loc
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:66
↓ 21 callersFunctionget_pricing
Get pricing information from AWS Price List API. Args: service_code: The service code (e.g., 'AmazonES' for OpenSearch, 'AmazonS3' for S3
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/server.py:387
↓ 21 callersMethodinsert_one
Mock insert_one operation. Args: document: Document to insert Returns: MagicMock: A mock InsertOneResult
src/documentdb-mcp-server/tests/conftest.py:189
↓ 21 callersMethodmanage_aws_emr_ec2_steps
Manage AWS EMR EC2 steps for processing data on EMR clusters. This tool provides comprehensive operations for managing EMR steps, which are u
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/emr/emr_ec2_steps_handler.py:62
↓ 21 callersMethodmanage_engagement
( action, engagementId, tenantType, role, confirm,
src/aws-transform-mcp-server/tests/test_audit.py:156
↓ 21 callersFunctionquery_knowledge_base
# Amazon Bedrock Knowledge Base query tool. Args: query (str): The query to search the knowledge base with. knowledge_base_id (st
src/bedrock-kb-retrieval-mcp-server/awslabs/bedrock_kb_retrieval_mcp_server/knowledgebases/retrieval.py:101
↓ 21 callersFunctionresolve_influxdb_config
Resolve InfluxDB configuration from parameters or environment variables. Caller-supplied connection parameters and server environment credentials
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:278
↓ 21 callersMethodrun
()
src/postgres-mcp-server/tests/test_server_error_handling.py:1342
↓ 21 callersMethodvalidate_parameter_count
Validate parameter count matches range condition requirements. Args: pattern: AccessPattern object to validate patter
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/gsi_validator.py:532
↓ 21 callersFunctionvalidate_template
Validate a CloudFormation template using cfn-lint. Args: template_content: CloudFormation template as YAML or JSON string regions
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_validator.py:23
↓ 20 callersFunction_build_timeline_mocks
Build common mocks for HealthOmics client, logs, and MCP context. Args: task_count: Number of task events to include. Use 1 for single-ta
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:113
↓ 20 callersFunction_client_error
Build a ClientError shaped as botocore builds one from a parsed error response. The HTTP status is part of that shape, so it is set to keep the f
src/redshift-mcp-server/tests/helpers.py:59
↓ 20 callersMethod_data_client
Wire a Data API client whose submit and describe responses are scripted.
src/redshift-mcp-server/tests/test_redshift.py:475
↓ 20 callersFunction_ec2_ri_rec
An EC2 RI recommendation in the shape Cost Optimization Hub returns it.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1683
↓ 20 callersFunction_pages
Return small in-memory page images, as convert_from_path would.
src/document-loader-mcp-server/tests/test_slide_output_paths.py:43
↓ 20 callersFunction_strip_sql_comments
Remove SQL comments and string literal contents for security analysis. Parses character-by-character to correctly handle ``--`` and ``/*`` th
src/oracle-mcp-server/awslabs/oracle_mcp_server/mutable_sql_detector.py:119
↓ 20 callersMethodattach
Record the session the Data API minted for this transaction. Args: session_id: The session the transaction runs on.
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:110
↓ 20 callersFunctionaudited_tool
Register an MCP tool with automatic audit logging. Usage: audited_tool(mcp, 'create_job')(self.create_job)
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/audit.py:75
↓ 20 callersFunctionbuild_and_push_image
Builds and pushes a Docker image to ECR. Args: app_path: Path to the application directory containing the Dockerfile reposit
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/docker.py:72
↓ 20 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/base_repository.py:72
↓ 20 callersMethodbuild_sk_for_lookup
Build sort key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/base_repository.py:80
↓ 20 callersMethodconfigure
Authenticate and connect to AWS Transform. Use when the user needs to set up or re-establish a connection. Two modes: - "cookie": imm
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/configure.py:217
↓ 20 callersFunctionexecute_training_action
Execute a training action for anomaly detection models in AWS IoT SiteWise. This specialized function handles training actions on anomaly detecti
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_executions.py:301
↓ 20 callersFunctionexpand_service_wildcard_patterns
Expand wildcard patterns for service targets with pagination support. Args: targets: List of target dictionaries unix_start: Star
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:433
↓ 20 callersFunctionextract_content_from_html
Extract and convert HTML content to Markdown format. Args: html: Raw HTML content to process Returns: Simplified markdown ve
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:77
↓ 20 callersMethodgenerate_chart
Generate SVG Gantt chart for tasks. Args: tasks: List of task dictionaries with timing data. Each task should have:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/visualization/gantt_generator.py:56
↓ 20 callersMethodget_client
Return the operator-configured DocumentDB client, creating it if needed. Returns: A pymongo client connected to the configured Do
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/connection_tools.py:56
↓ 20 callersFunctionget_cost_and_usage
Get cost and usage data, fetching every page unless ``max_items`` stops earlier. Args: ctx: MCP context ce_client: AWS Cost Explo
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_operations.py:138
↓ 20 callersMethodget_language_metrics
Get usage metrics for language operations. Args: language_pair: Specific language pair (e.g., "en-es") or None for all
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/language_operations.py:150
↓ 20 callersMethodmanage_aws_glue_classifiers
r"""Manage AWS Glue classifiers to determine data formats and schemas. This tool provides operations for AWS Glue classifiers, which help det
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/crawler_handler.py:510
↓ 20 callersFunctionmight_write
Report whether the SQL could change anything, erring towards True. Recognized reads answer False. Everything else answers True, including input t
src/redshift-mcp-server/awslabs/redshift_mcp_server/sql_guard.py:432
↓ 20 callersMethodreadonly_mode
Check if the server is running in readonly mode. Returns: True if readonly mode is enabled, False otherwise
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/context.py:33
↓ 20 callersFunctionresolve_single_content
Resolve a single content input to its content. Detects the input type and dispatches to the appropriate reader. For inline content in text mo
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:198
↓ 20 callersFunctionsend_message
Send a chat message to the AWS Transform assistant and poll for a response. Polls up to 60s for the assistant's reply. On timeout the result incl
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/chat/send_message.py:40
↓ 20 callersMethodsmart_translate_workflow
Execute smart translation workflow with automatic language detection and quality validation. Workflow Steps: 1. Detect source languag
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:326
↓ 20 callersFunctionvalidate_asset_id
Validate asset ID format - accepts UUID or external ID format.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:33
↓ 20 callersFunctionvalidate_aws_config
Validate AWS configuration.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/config.py:184
↓ 20 callersFunctionvalkey_write
Execute a mutating Valkey command. Write tier — allowlisted mutations only. Destructive commands (FLUSHALL, SHUTDOWN, etc.) are blocked. Disa
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/valkey_write.py:142
↓ 19 callersFunction_config
Build a ServerConfig for tests.
src/aws-healthomics-mcp-server/tests/test_server_multitenant_wiring.py:36
↓ 19 callersMethod_manager
Build a manager with no transactions in it.
src/redshift-mcp-server/tests/test_transactions.py:103
↓ 19 callersFunction_normalize_run_ids
Normalize run_ids parameter to a list of strings. Handles various input formats: - List of strings: ["run1", "run2"] - JSON string: '["ru
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/run_analysis.py:65
↓ 19 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_hitl.py:39
↓ 19 callersFunction_parse_time
Parse ISO 8601 time string to datetime. Assumes UTC if no timezone.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:424
↓ 19 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:55
↓ 19 callersFunction_run_operation
Invoke get_charge_summary for one billing month against a stubbed client. Every case that reaches AWS shares this shape, so it lives here rather
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:138
↓ 19 callersFunctionconvert_temporal_fields
Convert string temporal fields to appropriate datetime objects based on Arrow schema. Args: rows: List of row dictionaries with string te
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/engines/pyiceberg.py:28
↓ 19 callersMethodcreate
Create one resource and record it in the inventory immediately. Args: resource_type: The category of resource to create.
src/aws-healthomics-mcp-server/integration/deploy/common.py:153
↓ 19 callersFunctioncreate_operation_prompt
Create and register an operation prompt with the server. Args: server: MCP server instance api_name: Name of the API oper
src/openapi-mcp-server/awslabs/openapi_mcp_server/prompts/generators/operation_prompts.py:443
↓ 19 callersMethodcreate_test_file
Helper method to create test GenomicsFile objects.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:34
↓ 19 callersMethoddelete
Delete a value from the cache. Args: key: Cache key Returns: bool: True if the key was found and deleted, Fa
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/auth_cache.py:91
↓ 19 callersMethodfind
Mock find operation that applies actual filtering. Args: query: Query filter projection: Fields to include/exclude
src/documentdb-mcp-server/tests/conftest.py:50
↓ 19 callersFunctionformat_and_validate
Validate LLM-provided content against the component's output schema. Normalize the structure (preprocess) and auto-fill boilerplate.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:969
↓ 19 callersFunctionget_status_guidance
Get guidance message based on connection status. This function returns appropriate guidance messages for users based on the current status of
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/codeconnections.py:57
↓ 19 callersMethodget_translate_client
Get Amazon Translate client. Returns: boto3 Translate client instance Raises: AuthenticationError: If creden
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/aws_client.py:300
← previousnext →301–400 of 35,417, ranked by callers