MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions30,950 in github.com/awslabs/mcp

↓ 16 callersFunction_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 callersFunction_idx
(name)
src/valkey-mcp-server/tests/integration/test_search_live.py:42
↓ 16 callersFunction_parse
Extract the parsed JSON payload from an MCP result envelope.
src/aws-transform-mcp-server/tests/test_job_status.py:42
↓ 16 callersMethod_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 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:44
↓ 16 callersMethodanalyze_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 callersFunctionaudit_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 callersMethodbuild_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 callersMethodbuild_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 callersFunctioncalculate_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 callersFunctioncheck_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 callersFunctionconnect_to_database
Connect to a specific database save the connection internally. Args: region: region of the database. Required parametere. databas
src/postgres-mcp-server/awslabs/postgres_mcp_server/server.py:517
↓ 16 callersFunctionconvert_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 callersFunctioncreate_error_response
Create standardized error response.
src/healthlake-mcp-server/awslabs/healthlake_mcp_server/server.py:83
↓ 16 callersFunctioncreate_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 callersFunctiondsql_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:580
↓ 16 callersFunctionenrich_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 callersMethoderror
Mock MCP ctx.error with the given message. Args: data: The error message logger_name: Accepted for signature compatib
src/postgres-mcp-server/tests/conftest.py:257
↓ 16 callersFunctionerror_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 callersMethodesm_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 callersMethodgenerate_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 callersMethodget_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 callersMethodget_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 callersMethodinitialize_pool
Initialize the connection pool.
src/mysql-mcp-server/awslabs/mysql_mcp_server/connection/asyncmy_pool_connection.py:146
↓ 16 callersFunctionis_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 callersFunctionlist_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:155
↓ 16 callersMethodmanage_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 callersFunctionmiddleware
Create an ErrorSignalingMiddleware instance.
src/billing-cost-management-mcp-server/tests/test_error_signaling_middleware.py:28
↓ 16 callersMethodnormalize_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 callersFunctionparse_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 callersFunctionprivilege_response
Build an execute_query response matching the privilege query shape.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:40
↓ 16 callersFunctionresolve_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 callersFunctionrun_query
Run a SQL query against MySQL. Args: sql: The sql statement to run ctx: MCP context for logging and state management conn
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:117
↓ 16 callersFunctionsetup_logging
Set up logging configuration based on server config.
src/amazon-translate-mcp-server/awslabs/amazon_translate_mcp_server/config.py:148
↓ 16 callersFunctionvalidate_max_results
Validate max results parameter.
src/aws-iot-sitewise-mcp-server/awslabs/aws_iot_sitewise_mcp_server/validation.py:130
↓ 16 callersFunctionvalidate_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 callersFunctionvalidate_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 callersFunctionvalidate_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 callersFunctionvalidate_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 callersFunction_create_policy_not_found_exception
Create a mock RepositoryPolicyNotFoundException for testing.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:1070
↓ 15 callersFunction_k
(name)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:41
↓ 15 callersFunction_logs_result
Build a mock get_query_results response.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:46
↓ 15 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_allocation_tags_tools.py:37
↓ 15 callersFunction_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 callersMethodapplies
(self, scope: dict)
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:61
↓ 15 callersMethodclear_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 callersMethodclose_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 callersFunctioncreate_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 callersMethodderive
(self, scope: dict)
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:64
↓ 15 callersFunctionderive_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 callersMethoderror
Handle errors during argument parsing.
src/aws-api-mcp-server/awslabs/aws_api_mcp_server/core/parser/parser.py:246
↓ 15 callersMethoderror
Raise a runtime error with the given message.
src/mysql-mcp-server/awslabs/mysql_mcp_server/server.py:74
↓ 15 callersFunctionexpand_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 callersFunctionextract_sections_from_html
Extract requested sections from HTML. Args: html: Raw HTML content section_titles: List of section titles to extract Returns
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/util.py:226
↓ 15 callersMethodformat
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 callersMethodget_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 callersFunctionget_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
↓ 15 callersFunctionget_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 callersFunctionget_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 callersMethodgetvalue
Get the value of the document.
src/aws-api-mcp-server/tests/common/test_help_command.py:17
↓ 15 callersFunctioninfluxdb_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:1485
↓ 15 callersFunctioninternal_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 callersFunctionis_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 callersFunctionlist_recommendations
List recommendations from Cost Optimization Hub. Args: ctx: MCP context coh_client: Cost Optimization Hub client max_resu
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:58
↓ 15 callersFunctionload_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 callersMethodlookup_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 callersFunctionmain
Run the MCP server with CLI argument support.
src/aurora-dsql-mcp-server/awslabs/aurora_dsql_mcp_server/server.py:916
↓ 15 callersMethodmanage_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 callersMethodmanaged_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 callersFunctionparse_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 callersFunctionput_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 callersMethodremove
Remove a database connection from the map.
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/db_connection_map.py:86
↓ 15 callersFunctionsample_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:881
↓ 15 callersFunctionset_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
↓ 15 callersMethodsuccess
Return True if all test steps passed. Skipped steps count as not-pass so that 'cluster creation failed' cascades into a non-zero exit
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:111
↓ 14 callersFunction_check_principal_match
Check if a principal in an IAM policy matches the target principal. Args: principal: Principal from IAM policy statement (can be string,
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/ecr_utils.py:46
↓ 14 callersFunction_create_template_not_found_exception
Create a mock TemplateNotFoundException for testing.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2910
↓ 14 callersFunction_extract_zip_contents
Extract ZIP bytes into a dictionary of {filename: text_content}. Args: data: The raw ZIP file bytes. Returns: Dictionary of
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/content_resolver.py:345
↓ 14 callersMethod_get_cognito_token
Get a new token from Cognito using username/password or client credentials. Returns: str: Cognito token or None if authentication
src/openapi-mcp-server/awslabs/openapi_mcp_server/auth/cognito_auth.py:258
↓ 14 callersFunction_make_cluster_properties
Build a minimal cluster_properties dict for testing.
src/mysql-mcp-server/tests/test_endpoint_validation.py:52
↓ 14 callersFunction_mock_consent
Return a patch for request_consent in scheduling tools.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:47
↓ 14 callersFunction_node
Helper to build CDP AX tree nodes.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:25
↓ 14 callersFunction_scope
Build a minimal ASGI HTTP scope with the given headers.
src/aws-healthomics-mcp-server/tests/test_inbound_explicit.py:41
↓ 14 callersFunction_unknown_platform_response
Standard response for tools that must bail when monitor platform is unknown. Web-schema queries against a mobile/OTel log group return zero rows,
src/cloudwatch-applicationsignals-mcp-server/awslabs/cloudwatch_applicationsignals_mcp_server/rum_tools.py:326
↓ 14 callersFunctionaggregate
Run an FT.AGGREGATE pipeline on a Valkey Search index. Translates structured JSON pipeline stages into FT.AGGREGATE syntax, eliminating the n
src/valkey-mcp-server/awslabs/valkey_mcp_server/tools/search_aggregate.py:141
↓ 14 callersFunctionapproximate_match
Find best matches using approximate resource matching. Uses a combination of fuzzy matching algorithms to find the best matches for a target reso
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/utils/matching.py:45
↓ 14 callersMethodbuild_pk_for_lookup
Build partition key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/base_repository.py:72
↓ 14 callersMethodbuild_sk_for_lookup
Build sort key for lookups
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/elearning/base_repository.py:80
↓ 14 callersFunctionbuild_user_agent
Build a user-agent suffix for boto3 Config. Args: primitive: The AgentCore primitive name (e.g. 'memory', 'runtime', 'browser
src/amazon-bedrock-agentcore-mcp-server/awslabs/amazon_bedrock_agentcore_mcp_server/utils/user_agent.py:44
↓ 14 callersFunctioncheck_compliance
Validate CloudFormation template against cfn-guard rules using guardpycfn.
src/aws-iac-mcp-server/awslabs/aws_iac_mcp_server/tools/cloudformation_compliance_checker.py:147
↓ 14 callersMethodcreate
Create a new entity with optimistic locking (prevents overwrites) Note: Uses exclude_none=True to support sparse GSIs. Fields with None
src/dynamodb-mcp-server/tests/repo_generation_tool/fixtures/expected_outputs/python/saas/base_repository.py:111
↓ 14 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/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/aws_helper.py:63
↓ 14 callersFunctioncreate_mcp_server_async
Create and configure the FastMCP server. Args: config: Server configuration Returns: FastMCP: The configured FastMCP server
src/openapi-mcp-server/awslabs/openapi_mcp_server/server.py:66
↓ 14 callersFunctionfetch_task_logs
Application-level diagnostics through CloudWatch logs. Parameters ---------- cluster_name : str The name of the ECS Cluster
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/fetch_task_logs.py:33
↓ 14 callersMethodgenerate_entity
Generate entity code.
src/dynamodb-mcp-server/awslabs/dynamodb_mcp_server/repo_generation_tool/generators/base_generator.py:47
↓ 14 callersMethodget_active_alarms
Gets all CloudWatch Alarms currently in ALARM state. This tool retrieves all CloudWatch Alarms that are currently in the ALARM state,
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:51
↓ 14 callersMethodget_alarm_history
Gets the history for a CloudWatch alarm with time range suggestions for investigation. This tool retrieves the history for a specified CloudW
src/cloudwatch-mcp-server/awslabs/cloudwatch_mcp_server/cloudwatch_alarms/tools.py:179
↓ 14 callersMethodget_findings
Get findings from a scan. Works during IN_PROGRESS (partial) or after COMPLETED.
src/security-agent-mcp-server/awslabs/security_agent_mcp_server/scanner.py:529
↓ 14 callersFunctionget_logs_client
Get an AWS CloudWatch Logs client. Args: region_name: Optional region override profile_name: Optional AWS profile override R
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/utils/aws_utils.py:599
↓ 14 callersMethodget_model_import_job
User wants to get a model import job in Amazon Bedrock. This prompt handles requests to view details of a specific model import job.
src/aws-bedrock-custom-model-import-mcp-server/awslabs/aws_bedrock_custom_model_import_mcp_server/prompts.py:73
← previousnext →401–500 of 30,950, ranked by callers