Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
↓ 17 callers
Function
fetch_task_failures
Task-level diagnostics for ECS task failures. Parameters ---------- cluster_name : str The name of the ECS Cluster time_
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_task_failures.py:181
↓ 17 callers
Function
format_result
Format a result dictionary with status and message. This utility function creates a standardized response format used by all the MCP tools. I
src/finch-mcp-server/awslabs/finch_mcp_server/utils/common.py:161
↓ 17 callers
Function
format_usage_item_response
Formats a single usage item object from the list_workload_estimate_usage API response. Args: usage_item: Single usage item object from AW
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bcm_pricing_calculator_tools.py:775
↓ 17 callers
Method
generate_health_report
Generate a detailed, downloadable health report for SAP systems managed by SSM for SAP. Produces a comprehensive Markdown-formatted report co
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/ssm_sap_health/tools.py:2654
↓ 17 callers
Function
generate_infrastructure_code
Generate infrastructure code for security scanning before resource creation or update.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/infrastructure_generator.py:25
↓ 17 callers
Function
generate_startup_script
Generate a startup script based on runtime and entry point. This script starts up your web server so that beings listening for requests. Args:
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/webapps/utils/startup_script_generator.py:49
↓ 17 callers
Function
get_client
Get or create the GLIDE client singleton (thread-safe via asyncio.Lock).
src/valkey-mcp-server/awslabs/valkey_mcp_server/common/connection.py:93
↓ 17 callers
Function
get_enablement_guide
Get enablement guide for AWS Application Signals. Use this tool when the user wants to: - Enable observability, monitoring, or Application Si
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/enablement_tools.py:28
↓ 17 callers
Method
get_query_results
Get the results of a completed CloudTrail Lake query with pagination support. This tool retrieves the results of a previously executed CloudT
src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/tools.py:480
↓ 17 callers
Function
handle_runtime_error
Convert an exception into a structured ``ErrorResponse``. Args: operation: Friendly name of the API operation that failed. error:
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/runtime/error_handler.py:22
↓ 17 callers
Method
mock_aws_clients
Create a mock for boto3.client that returns specified clients.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:37
↓ 17 callers
Method
open
Open the connection pool asynchronously. Args: wait: Whether to wait for connections to be established timeout: Timeo
src/postgres-mcp-server/tests/conftest.py:314
↓ 17 callers
Function
paginate_all
Auto-paginate a FES list call, collecting all items. Args: operation: FES operation name. body: Request body (not mutated).
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/transform_api_client.py:248
↓ 17 callers
Function
recommend_indexes_loggroup
Recommend field indexes for a specific CloudWatch log group. Analyzes the last 30 days of completed Logs Insights queries (CWLI, SQL, PPL), i
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_logs/index_recommender.py:358
↓ 17 callers
Function
request_consent
Request explicit user consent before executing a mutating operation. Raises ValueError if the user rejects or the client doesn't support elicitat
src/aws-for-sap-management-mcp-server/awslabs/aws_for_sap_management_mcp_server/common.py:49
↓ 17 callers
Function
run_query
Run a SQL query against Oracle Database.
src/oracle-mcp-server/awslabs/oracle_mcp_server/server.py:102
↓ 17 callers
Function
runtime_client
Runtime client stub returning the given stream.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:61
↓ 17 callers
Method
start_browser_session
Start a cloud browser session via Amazon Bedrock AgentCore. Creates an isolated browser session running in a Firecracker microVM. Ret
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/session.py:75
↓ 17 callers
Method
start_diff_scan
Run a diff scan — analyzes only changed code with full repo context. Uploads the committed state at base_ref as the baseline source, and the
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:235
↓ 17 callers
Function
start_run
Start a workflow run. Args: ctx: MCP context for error reporting workflow_id: ID of the workflow to run role_arn: ARN of
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_execution.py:127
↓ 17 callers
Method
strftime
(self, fmt)
src/aws-for-sap-management-mcp-server/tests/test_common.py:64
↓ 16 callers
Method
_calculate_seasonal_strength
Calculate seasonal strength and extract deseasonalized data for trend. Returns: Tuple of (strength, deseasonalized_values) where
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_metrics/metric_data_decomposer.py:135
↓ 16 callers
Function
_filter_instrumented_services
Filter out uninstrumented and aws native services. Args: all_services: List of service summaries from list_services API Returns:
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:239
↓ 16 callers
Function
_find_ref
Extract the element ref for a given role and name from snapshot text. Args: snapshot_text: Accessibility tree text from browser_snapshot.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:169
↓ 16 callers
Function
_get_rum_app_info
Async wrapper: returns (log_group, platform).
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:313
↓ 16 callers
Function
_idx
(name)
src/valkey-mcp-server/tests/integration/test_search_live.py:42
↓ 16 callers
Method
_make_conn
Build a connection object without opening a pool.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1123
↓ 16 callers
Function
_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_job_status.py:42
↓ 16 callers
Method
_process_bundle
Process FHIR Bundle response and extract pagination information. ``pagination.next_token`` is the opaque ``page`` value extracted fro
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/fhir_operations.py:441
↓ 16 callers
Method
analyze_s3_usage_for_data_processing
Analyze S3 bucket usage patterns for data processing services (Glue, EMR, Athena). This tool helps identify which buckets are actively used b
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:917
↓ 16 callers
Function
audit_group_health
HEALTH AUDIT TOOL - Detect anomalies and unhealthy services in a group. Use this tool when users ask: - "Is the Payment application healthy?"
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/group_tools.py:335
↓ 16 callers
Method
build_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/ecommerce/base_repository.py:72
↓ 16 callers
Method
build_sk_for_lookup
Build sort key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/ecommerce/base_repository.py:80
↓ 16 callers
Function
calculate_time_window
Calculate the actual start time and end time for a time window. Parameters ---------- time_window : int, optional Time windo
src/ecs-mcp-server/awslabs/ecs_mcp_server/utils/time_utils.py:70
↓ 16 callers
Function
check_access_analyzer
Check if IAM Access Analyzer is enabled in the specified region. Args: region: AWS region to check session: boto3 Session for AWS
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/security_services.py:48
↓ 16 callers
Function
convert_unix_timestamp
Convert Unix epoch timestamp to human-readable format. This tool provides accurate timestamp conversion to prevent AI agents from making conv
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/timestamp_tools.py:24
↓ 16 callers
Function
create_error_response
Create standardized error response.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:83
↓ 16 callers
Function
create_metadata_transfer_job
Create a new metadata transfer job for bulk import/export operations between S3 and IoT SiteWise. This tool provides a user-friendly way to set u
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/tools/sitewise_metadata_transfer.py:133
↓ 16 callers
Function
dsql_lint
Validate SQL for Aurora DSQL compatibility and optionally auto-fix issues. Args: sql: SQL string to validate ctx: MCP context for
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/server.py:607
↓ 16 callers
Function
enrich_task
Enrich a single HITL task with a concrete response template.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/hitl_schemas.py:888
↓ 16 callers
Function
error_with_snapshot
Log an error and return it with a snapshot of the current page. If page is None (e.g. get_page() itself failed) or the snapshot capture fails
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/tools/browser/error_handler.py:30
↓ 16 callers
Method
esm_optimize_tool
Comprehensive ESM optimization tool combining analysis, validation, and template generation. This consolidated tool provides three main optim
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/tools/esm/esm_recommend.py:92
↓ 16 callers
Method
generate_mapping
Generate mapping for all access patterns in an entity. Args: entity_name: Name of the entity entity_config: Entity co
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/access_pattern_mapper.py:67
↓ 16 callers
Function
get_date_range
Get start and end dates with defaults. Args: start_date: Optional start date in YYYY-MM-DD format end_date: Optional end date in
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/aws_service_base.py:128
↓ 16 callers
Method
get_job_status
Fetch job status — concise assistant summary by default, full snapshot when detailed.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/job_status.py:98
↓ 16 callers
Method
get_terminology
Get detailed information about a terminology. Args: name: Terminology name terminology_data_format: Format for return
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/terminology_manager.py:386
↓ 16 callers
Method
initialize_pool
Initialize the connection pool.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:146
↓ 16 callers
Function
internal_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
↓ 16 callers
Function
is_ecr_image
Determine if an image is from ECR.
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/get_ecs_troubleshooting_guidance.py:69
↓ 16 callers
Function
list_billing_views
List the billing views available for a given time period. Every AWS account has a unique PRIMARY billing view that represents the billing dat
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:157
↓ 16 callers
Method
manage_aws_glue_security
Manage AWS Glue Security Configurations for data encryption. This tool allows you to create, retrieve, and delete AWS Glue Security Configura
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/glue_commons_handler.py:343
↓ 16 callers
Function
mgmt_client
Management client stub returning the given knowledge base type.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:69
↓ 16 callers
Function
middleware
Create an ErrorSignalingMiddleware instance.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:28
↓ 16 callers
Method
normalize_task_name
Remove scatter/iteration suffixes from task name. Normalizes task names by removing workflow-specific scatter/iteration suffixes to g
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/task_aggregator.py:46
↓ 16 callers
Function
parse_s3_path
Parse an S3 path into bucket name and prefix. Args: s3_path: S3 path (e.g., 's3://bucket-name/prefix/') Returns: Tuple of (b
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/s3_utils.py:46
↓ 16 callers
Function
privilege_response
Build an execute_query response matching the privilege query shape.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:40
↓ 16 callers
Function
resolve_bundle_content
Resolve a bundle input to a dictionary of {relative_path: text_content}. Handles dict passthrough (backward compatible), local directories, l
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:388
↓ 16 callers
Function
setup_logging
Set up logging configuration based on server config.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/config.py:148
↓ 16 callers
Method
success
Return True if all *applicable* test steps passed. Skipped steps (a check that could not run -- missing CA bundle/openssl, or a clust
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:148
↓ 16 callers
Function
validate_max_results
Validate max results parameter.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:130
↓ 16 callers
Function
validate_patch
A best effort check that makes sure that the format of a patch document is valid before sending it to CloudControl.
src/ccapi-mcp-server/awslabs/ccapi_mcp_server/cloud_control_utils.py:82
↓ 16 callers
Function
validate_provider_type
Validate that provider_type is a supported value. Args: ctx: MCP context for error reporting provider_type: The provider type to
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/validation_utils.py:561
↓ 16 callers
Function
validate_s3_uri_format
Validate S3 URI format and return parsed bucket and key. Extracted from content_resolver._validate_s3_uri_format to be shared across modules.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/path_utils.py:48
↓ 16 callers
Function
validate_url_for_spec
Validate a URL for safe server-side fetching of OpenAPI specs. Performs DNS resolution and IP validation to prevent SSRF attacks. By default,
src/openapi-mcp-server/awslabs/openapi_mcp_server/utils/url_validator.py:35
↓ 15 callers
Function
_create_sample_repository
Create a sample ECR repository response object.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1145
↓ 15 callers
Function
_k
(name)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:41
↓ 15 callers
Function
_logs_result
Build a mock get_query_results response.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:46
↓ 15 callers
Function
_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_allocation_tags_tools.py:37
↓ 15 callers
Function
_run_subprocess_safely
Run subprocess with consistent error handling. Args: cmd: Command to execute timeout: Timeout in seconds **kwargs: Additi
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/model_validation_utils.py:97
↓ 15 callers
Function
_task
(task_id='t1', name='align', cpus=4, memory=16, gpus=None, status='COMPLETED')
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:38
↓ 15 callers
Method
applies
(self, scope: dict)
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:61
↓ 15 callers
Method
clear_cache
Clear the pricing cache. Useful for testing or when pricing data needs to be refreshed.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/analysis/pricing_cache.py:270
↓ 15 callers
Method
close_all
Close all connections and clear the map. Connection ``close()`` methods are coroutines (see ``AbstractDBConnection.close``). When ``c
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:170
↓ 15 callers
Function
create_timestamps_and_values_by_duration
Create test data by duration with specified pattern.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_utils.py:28
↓ 15 callers
Method
derive
(self, scope: dict)
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:64
↓ 15 callers
Function
derive_transform_api_endpoint
Derive the Transform API endpoint for a given region. If the ``AWS_TRANSFORM_API_ENDPOINT`` environment variable is set, it is used instead.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:49
↓ 15 callers
Method
error
Handle errors during argument parsing.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:246
↓ 15 callers
Method
error
Raise a runtime error with the given message.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:74
↓ 15 callers
Method
execute_query
Execute a SQL query. Args: sql: The SQL query to execute parameters: Optional parameters for the query Retur
src/postgres-mcp-server/tests/conftest.py:197
↓ 15 callers
Function
expand_slo_wildcard_patterns
Expand wildcard patterns for SLO targets with pagination support. Args: targets: List of target dictionaries next_token: Token fo
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/audit_utils.py:609
↓ 15 callers
Method
format
Format validation result as human-readable string. Args: success_message: Message to show on success failure_prefix:
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/core/validation_utils.py:63
↓ 15 callers
Method
get_aws_partition
Get the AWS partition for the current session. The partition is cached after the first call to avoid repeated STS calls. Common parti
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/utils/aws_helper.py:124
↓ 15 callers
Function
get_security_findings
Retrieve security findings from AWS security services. This tool provides a consolidated interface to retrieve findings from various AWS security
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/server.py:324
↓ 15 callers
Function
get_slo
Get detailed information about a specific Service Level Objective (SLO). **RECOMMENDED WORKFLOW AFTER USING THIS TOOL:** After getting SLO co
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/slo_tools.py:25
↓ 15 callers
Method
getvalue
Get the value of the document.
src/aws-api-mcp-server/tests/common/test_help_command.py:17
↓ 15 callers
Function
influxdb_query
Query data from InfluxDB using Flux query language. Returns: Query results in the specified format.
src/timestream-for-influxdb-mcp-server/awslabs/timestream_for_influxdb_mcp_server/server.py:1486
↓ 15 callers
Function
internal_create_connection
Create or retrieve a cached Oracle database connection. Returns a 3-tuple: (db_connection, llm_response, replaced_connection). replaced_conne
src/oracle-mcp-server/awslabs/oracle_mcp_server/server.py:374
↓ 15 callers
Function
is_fes_available
Return True if FES is reachable via any auth method.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:385
↓ 15 callers
Function
list_billing_view_segments
List the segments of a billing view over a given time period. Each segment identifies the billing domain (PRO_FORMA or BILLABLE) and the account
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/bvs_operations.py:330
↓ 15 callers
Function
load_prompt_templates
Load prompt templates from a markdown file. Args: file_path: Path to the markdown file containing prompt templates Returns:
src/well-architected-security-mcp-server/awslabs/well_architected_security_mcp_server/util/prompt_utils.py:28
↓ 15 callers
Method
lookup_events
Look up CloudTrail events based on various criteria. This tool searches CloudTrail events using the LookupEvents API, which provides access t
src/cloudtrail-mcp-server/awslabs/cloudtrail_mcp_server/tools.py:79
↓ 15 callers
Function
main
Parse CLI arguments and run the e2e integration test.
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:4263
↓ 15 callers
Function
main
Run the MCP server with CLI argument support.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/server.py:943
↓ 15 callers
Method
manage_aws_glue_encryption
Manage AWS Glue Data Catalog Encryption Settings for data protection. This tool allows you to retrieve and update AWS Glue Data Catalog Encry
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/glue/glue_commons_handler.py:535
↓ 15 callers
Method
managed_batch_translation_workflow
Execute managed batch translation workflow with comprehensive monitoring. Workflow Steps: 1. Pre-validate language pairs and terminol
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/workflow_orchestrator.py:532
↓ 15 callers
Function
parse_timestamp
Parse timestamp string into datetime object. Args: timestamp_str: Timestamp in unix seconds or 'YYYY-MM-DD HH:MM:SS' format defau
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/utils.py:53
↓ 15 callers
Function
put_user_policy
Create or update an inline policy for an IAM user. This tool creates a new inline policy or updates an existing one for the specified user. I
src/iam-mcp-server/awslabs/iam_mcp_server/server.py:1391
↓ 15 callers
Function
runtime_client
Runtime client stub.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:48
↓ 15 callers
Function
sample_dataset
Read a sample of a specific file from a public dataset's S3 bucket. Downloads up to 100KB of raw bytes using anonymous access (no AWS account
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:982
↓ 15 callers
Function
set_active_resolver
Set the active credential resolver. Args: resolver: The resolver to install as the active credential resolver.
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:332
← previous
next →
401–500 of 32,024, ranked by callers