MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 8 callersFunctionformat_error_message
Format an error message from status code, reason, and details. Args: status_code: HTTP status code reason: HTTP reason phrase
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/error_handler.py:150
↓ 8 callersFunctionformat_savings_opportunity
Format the savings opportunity for better readability.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/compute_optimizer_tools.py:1803
↓ 8 callersFunctionformat_state_machine_response
Format the Step Functions state machine response payload.
src/stepfunctions-tool-mcp-server/awslabs/stepfunctions_tool_mcp_server/server.py:96
↓ 8 callersMethodfrom_env
Create an AWSConfig instance from environment variables.
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/utils/config.py:38
↓ 8 callersFunctiongenerate_console_url
Generate the AWS Console URL for CodeConnections. This function creates a URL that directs users to the AWS Console CodeConnections page wher
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/codeconnections.py:35
↓ 8 callersMethodgenerate_metric_alarm_template
Generate CFN template for a single CloudWatch Alarm.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/cloudformation_template_generator.py:27
↓ 8 callersFunctiongenerate_troubleshooting_docs
Generate documentation for the troubleshooting tools based on the ACTIONS dictionary.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/ecs_troubleshooting.py:249
↓ 8 callersMethodget
Generic get operation with optional consistent read
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/deals/base_repository.py:149
↓ 8 callersMethodget
Generic get operation with optional consistent read
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/package_delivery/base_repository.py:149
↓ 8 callersFunctionget_active_regions
Return a list of active regions for the given profile.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/aws/regions.py:36
↓ 8 callersFunctionget_agent_value
Get the agent identifier from the AGENT environment variable. Reads the value, strips whitespace, sanitizes by removing characters not permit
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:98
↓ 8 callersFunctionget_aws_client
Get an AWS service client. Args: service_name (str): Name of the AWS service region_name (str): AWS region profile_name (
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/utils/aws.py:28
↓ 8 callersFunctionget_config
Gets the configuration for the ECS MCP Server. Returns: Dict containing configuration values
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/config.py:26
↓ 8 callersFunctionget_cost_and_usage
Get cost and usage data for ElastiCache resources. This tool retrieves cost and usage data for ElastiCache resources with customizable time p
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/ce/get_cost_and_usage.py:40
↓ 8 callersFunctionget_field_type
Helper function to determine the data type of a field across documents.
src/documentdb-mcp-server/awslabs/documentdb_mcp_server/analytic_tools.py:119
↓ 8 callersFunctionget_image_set_metadata_operation
Get metadata for a specific image set.
src/healthimaging-mcp-server/awslabs/healthimaging_mcp_server/healthimaging_operations.py:338
↓ 8 callersFunctionget_incidents
Get a lightweight summary of recent incidents (errors, timeouts, slow requests). **Data sources:** Queries the ServiceEvents incident_snapshot re
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_events/tools.py:762
↓ 8 callersMethodget_paginator
(self, name)
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:58
↓ 8 callersFunctionget_pricing_region
Determine the appropriate AWS Pricing API region. The AWS Pricing API is only available in specific regions: - Classic partition: us-east-1,
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/aws_pricing_operations.py:47
↓ 8 callersMethodget_ranking_statistics
Get statistics about the ranking distribution. Args: results: List of GenomicsFileResult objects Returns: Di
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/result_ranker.py:114
↓ 8 callersMethodget_record
Query the table for the record mapped to ``identity``. Builds a fresh DynamoDB client from the server's own credentials (never the in
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:352
↓ 8 callersFunctionget_s3_bucket_paths
Get and validate S3 bucket paths from environment variables. Returns: List of validated S3 bucket paths (may be empty if env var is unset
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/search_config.py:96
↓ 8 callersMethodget_script
Get a script from file.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/agent_scripts/manager.py:71
↓ 8 callersMethodget_status
Get the current status of a scan.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:488
↓ 8 callersMethodhas
Check if the operation is in the read only operations list.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/metadata/read_only_operations_list.py:79
↓ 8 callersFunctionimport_file_to_table
Import data from a file (CSV, Parquet, etc.) into an S3 table using a provided PyArrow table creation function.
src/s3-tables-mcp-server/awslabs/s3_tables_mcp_server/file_processor/utils.py:106
↓ 8 callersMethodinitialize
Create the singleton instance of the type.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/context.py:35
↓ 8 callersMethodinitialize_pool
Initialize the connection pool.
src/mssql-mcp-server/awslabs/mssql_mcp_server/connection/pymssql_pool_connection.py:62
↓ 8 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/mysql-mcp-server/awslabs/mysql_mcp_server/connection/cp_api_connection.py:202
↓ 8 callersFunctioninternal_get_instance_properties
Retrieve RDS instance properties from AWS.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/cp_api_connection.py:167
↓ 8 callersFunctioninternal_get_instance_valid_endpoints
Return the list of valid (host, port) endpoints for an RDS instance. Validates that the supplied endpoint matches an actual RDS SQL Server in
src/mssql-mcp-server/awslabs/mssql_mcp_server/server.py:354
↓ 8 callersFunctionis_semantically_equivalent_to_crud
Check if an access pattern is functionally identical to a CRUD method. This detects patterns like 'get_user_by_id' that are semantically the same
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/utils.py:146
↓ 8 callersMethodis_url_allowed
Check if a URL is allowed based on structural matching against allowed origins.
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/url_validator.py:53
↓ 8 callersFunctionlist_billing_group_cost_reports
List billing group cost report summaries from AWS Billing Conductor. Args: ctx: The MCP context object. billing_period: Optional
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/billing_conductor_operations.py:349
↓ 8 callersMethodlist_findings
List all findings for a completed scan job, handling pagination.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/aws_client.py:198
↓ 8 callersFunctionlist_metadata_transfer_jobs
List metadata transfer jobs. Args: source_type: Filter by source type (s3, iotsitewise) - REQUIRED destination_type: Filter by de
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_metadata_transfer.py:485
↓ 8 callersFunctionmain
Entry point for eval script.
src/cloudwatch-applicationsignals-mcp-server/evals/__main__.py:124
↓ 8 callersFunctionmake_client_error_response
Build a standard ClientError response dict for tests.
src/billing-cost-management-mcp-server/tests/tools/test_bvs_operations.py:73
↓ 8 callersMethodmanage_eks_stacks
Manage EKS CloudFormation stacks with both read and write operations. This tool provides operations for managing EKS CloudFormation stacks, i
src/eks-mcp-server/awslabs/eks_mcp_server/eks_stack_handler.py:113
↓ 8 callersMethodmanage_hyperpod_cluster_nodes
Manage SageMaker HyperPod clusters and nodes with both read and write operations. This tool provides operations for managing SageMaker HyperP
src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_cluster_node_handler.py:109
↓ 8 callersFunctionmark_job_checked
Record that load_instructions has been called for this job.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/guidance_nudge.py:39
↓ 8 callersMethodmatch_tags
Match patterns against file tags. Args: tags: Dictionary of tag key-value pairs patterns: List of search patterns
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/pattern_matcher.py:113
↓ 8 callersFunctionmatches_instruction_label
True if a stored artifact path names an instruction document. Customer uploads carry the store folder in their path (e.g. 'User Uploads/JOB_I
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/guidance_nudge.py:30
↓ 8 callersFunctionmodify_replication_group
Modify an existing Amazon ElastiCache replication group. This tool modifies the settings of an existing replication group including: - Node c
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/rg/modify.py:204
↓ 8 callersFunctionnormalize_instrumentation_type
Normalize the type to upper-case; return ``(normalized, error)``. The normalized value is always a ``str`` (the upper-cased received value ev
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/validation.py:37
↓ 8 callersFunctionnormalize_service_targets
Normalize and validate service targets.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/service_audit_utils.py:108
↓ 8 callersFunctionparse_execute_response
Convert RDS Data API execute_statement response to list of rows.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:96
↓ 8 callersMethodparse_pricing_data
Extract and structure the most relevant pricing information. This handles both web-scraped text and API responses, focusing on extrac
src/aws-pricing-mcp-server/awslabs/aws_pricing_mcp_server/helpers.py:29
↓ 8 callersFunctionparse_shorthand_scale_config
Parse a scale configuration from shorthand syntax. Args: config: Shorthand syntax string for scale configuration Format: Repl
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/parsers.py:20
↓ 8 callersFunctionparse_time_input
Parse time input which can be ISO format or relative time. Args: time_input: Time string in ISO format or relative format Returns:
src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/common.py:82
↓ 8 callersFunctionprepare_template_files
Prepares CloudFormation template files for ECR and ECS infrastructure. Creates the cloudformation-templates directory if it doesn't exist and
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/infrastructure.py:41
↓ 8 callersFunctionprocess_scale_config
Process scale configuration in either shorthand or JSON format. Args: scale_config: Scale configuration in either format Shor
src/elasticache-mcp-server/awslabs/elasticache_mcp_server/tools/cc/processors.py:21
↓ 8 callersFunctionquery_metric_series
Query one vended metric, splitting by direction to dodge the series cap. The PromQL API silently truncates responses at MAX_SERIES_PER_QUERY seri
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/client.py:301
↓ 8 callersMethodquery_window
The buffered [start, end] window for metrics queries on this run. Starts at the run start (minus buffer; falls back to the earliest task
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/metrics/run_context.py:103
↓ 8 callersFunctionrecommend
Get content recommendations for an AWS documentation page. ## Usage This tool provides recommendations for related AWS documentation pages b
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws.py:646
↓ 8 callersMethodregister_api_resource_handler
Register a handler for API resources. Args: server: MCP server instance api_name: Name of the API client:
src/openapi-mcp-server/awslabs/openapi_mcp_server/prompts/prompt_manager.py:104
↓ 8 callersMethodresolve
Resolve the :class:`RoleTarget` mapped to the request's caller identity. Extracts the caller identity from the configured caller claim, looks
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/mechanisms/role_resolver.py:507
↓ 8 callersMethodresolve_region
Resolve AWS region: AWS_REGION env → session profile region → us-east-1.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/aws_helper.py:42
↓ 8 callersMethodresolver_with_record
( self, record: dict, caller_claim: str = 'sub' )
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:93
↓ 8 callersFunctionrun_linter
Run language-specific linter on generated code. Args: output_dir: Directory containing generated code language: Programming langu
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/codegen.py:224
↓ 8 callersMethodsearch_buckets_paginated
Search for genomics files across multiple S3 bucket paths with storage-level pagination. This method implements efficient pagination by:
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:209
↓ 8 callersFunctionsearch_places
Search for places using Amazon Location Service geo-places search_text API. Geocode the query using the geocode API to get BiasPosition. If no results
src/aws-location-mcp-server/awslabs/aws_location_server/server.py:150
↓ 8 callersMethodsearch_resources
Search for FHIR resources.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:658
↓ 8 callersMethodsend
(request, **kwargs)
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1003
↓ 8 callersMethodset_dialog_handler
Set a persistent dialog handler for a session. Registers a page event listener that automatically handles JavaScript dialogs (alert,
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/connection_manager.py:174
↓ 8 callersFunctionsetup_check
Check if AWS Security Agent prerequisites are configured. Verifies agent space and service role are available. If not ready, lists existing a
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:236
↓ 8 callersFunctionsetup_logging
Set up logging configuration for the MCP server. Args: log_level: Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) log_forma
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/logging_config.py:140
↓ 8 callersFunctionsetup_signal_handlers
Set up signal handlers for graceful shutdown.
src/openapi-mcp-server/awslabs/openapi_mcp_server/server.py:580
↓ 8 callersFunctionstart_security_scan
Start a security code review scan. Zips code, uploads to S3, starts scan, returns immediately. Returns scan_id for polling with get_scan_status.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:386
↓ 8 callersMethodtest_connection
Test the connection to Prometheus. Args: prometheus_url: The Prometheus URL to test region: AWS region to use
src/prometheus-mcp-server/awslabs/prometheus_mcp_server/server.py:335
↓ 8 callersMethodto_api_payload
Render the CodeCapture create-request payload.
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/dynamic_instrumentation/capture.py:128
↓ 8 callersMethodto_dict
Convert metrics to dictionary for JSON serialization.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/models/search.py:415
↓ 8 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/ecommerce/base_repository.py:168
↓ 8 callersMethodvalidate
Validate the parameters against the given shape.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/custom_validators/botocore_param_validator.py:55
↓ 8 callersMethodvalidate_complete_range_query
Perform comprehensive validation for a range query access pattern. Validates: - Range condition syntax - Parameter count
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/range_query_validator.py:252
↓ 8 callersFunctionvalidate_image
Validate if a container image exists and is accessible. A unified function that handles both ECR and external images. Parameters --
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/get_ecs_troubleshooting_guidance.py:123
↓ 8 callersFunctionvalidate_language_code
Validate language code against supported languages. Args: language_code: Language code to validate field_name: Name of the field
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/security_validators.py:175
↓ 8 callersFunctionvalidate_read_path
Validate a file path before reading for upload. Returns the resolved absolute path. Raises ValueError on any policy violation.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/file_validation.py:100
↓ 8 callersFunctionvalidate_regex_pattern
Validate string against a regex pattern. Args: value: The string to validate pattern: Compiled regex pattern field_name:
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation_utils.py:146
↓ 8 callersFunctionvalidate_repository_definition
Validate and transform repository definition for API call. Args: ctx: MCP context for error reporting definition_repository: User
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:347
↓ 8 callersMethodverify_athena_data_catalog_managed_by_mcp
Verify if an Athena data catalog is managed by the MCP server. This method checks if the Athena data catalog exists and has the MCP managed t
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:396
↓ 8 callersMethodverify_emr_serverless_application_managed_by_mcp
Verify if an EMR Serverless application is managed by the MCP server and has the expected resource type. This method checks if the EMR Server
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:459
↓ 8 callersMethodwrite_generated_files
Write all generated files in one coordinated operation.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/output/output_manager.py:52
↓ 7 callersMethod__init__
(self, table_name: str = 'UserTable')
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/ecommerce/repositories.py:20
↓ 7 callersFunction_analysis_config
Pull the nested analysis configuration out of the recorded call.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:107
↓ 7 callersFunction_build_artifact_scope
Resolve the download scope from the IDs supplied. Raises ValueError if the combination does not map to a single scope.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/download_artifact.py:43
↓ 7 callersMethod_call
Run a list handler against a client mock with preferences configured.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:1731
↓ 7 callersMethod_capture_single
Stand in for the compatibility path.
src/redshift-mcp-server/tests/test_redshift.py:3921
↓ 7 callersFunction_check_checkov_installed
Check if Checkov is available. Since checkov is now a declared dependency, it should always be available. This function mainly serves as a va
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/impl/tools/security_scanning.py:27
↓ 7 callersFunction_clean_datetime_objects
Convert datetime objects in a nested dictionary to ISO format strings. Args: obj: Object that may contain datetime objects Returns:
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:972
↓ 7 callersMethod_cleanup_cache_by_size
Clean up cache when it exceeds max size, prioritizing expired entries first. Strategy: 1. First: Remove all expired entries (regardle
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/s3_search_engine.py:1037
↓ 7 callersMethod_cleanup_pagination_cache_by_size
Clean up pagination cache when it exceeds max size, prioritizing expired entries first. Strategy: 1. First: Remove all expired entrie
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/search/genomics_search_orchestrator.py:1345
↓ 7 callersMethod_client
(self)
src/healthlake-mcp-server/tests/test_pagination_hardening.py:216
↓ 7 callersFunction_client_prefix
Extract a kebab-case prefix from the MCP client name, or 'ide' as fallback.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/server.py:130
↓ 7 callersMethod_compute_density_ratio
Calculate density ratio based on perfect timeline.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:145
↓ 7 callersMethod_compute_publishing_period
Compute the publishing period in seconds from timestamp gaps.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:115
↓ 7 callersMethod_compute_statistics
Compute essential statistical measures for LLM consumption.
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_analyzer.py:166
↓ 7 callersFunction_convert_with_markitdown
Helper function to convert documents to markdown using MarkItDown.
src/document-loader-mcp-server/awslabs/document_loader_mcp_server/server.py:360
↓ 7 callersFunction_customize_error_message
Convert Pydantic error to custom message format.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/cost_performance_calculator/data_model.py:451
↓ 7 callersMethod_data_client
Wire a Data API client scripted to answer describe_statement in order.
src/redshift-mcp-server/tests/test_redshift.py:3513
← previousnext →1,301–1,400 of 35,417, ranked by callers