MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

↓ 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 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 callersMethoderror
Mock error method.
src/aws-documentation-mcp-server/tests/test_server_aws.py:41
↓ 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 callersMethodfind
Look up a transaction without insisting it exists. Args: cluster: The cluster the transaction runs on. database_name:
src/redshift-mcp-server/awslabs/redshift_mcp_server/transactions.py:208
↓ 14 callersFunctionfind_proxy_for_instance
Find an available RDS Proxy with a healthy target for a standalone DB instance. See ``_find_proxy`` for the shared semantics. Aurora clusters use
src/postgres-mcp-server/awslabs/postgres_mcp_server/connection/cp_api_connection.py:251
↓ 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 callersFunctionget_compute_optimizer_data
Get additional data from Compute Optimizer for compute resource recommendations.
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/recommendation_details_tools.py:576
↓ 14 callersFunctionget_cost_categories
Get cost categories. Args: ctx: MCP context ce_client: AWS Cost Explorer client start_date: Start date in YYYY-MM-DD form
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_explorer_operations.py:741
↓ 14 callersFunctionget_deployment_status_file_path
Return the validated path to a project's deployment-status JSON file. Validates ``project_name`` against ``PROJECT_NAME_PATTERN`` and enforces
src/aws-serverless-mcp-server/awslabs/aws_serverless_mcp_server/utils/const.py:74
↓ 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 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:151
↓ 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
↓ 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_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:35
↓ 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 callersFunctionmgmt_client
Management client stub returning the given knowledge base type.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:39
↓ 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 callersFunctionnormalize_datetimes_to_iso
Recursively convert ``datetime`` values in a structure to ISO 8601 UTC strings. boto3 returns Python ``datetime`` objects for AWS timestamp field
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/utilities/time_utils.py:137
↓ 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:104
↓ 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 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 callersFunctionresult_event
Build a terminal result event with `count` results.
src/bedrock-kb-retrieval-mcp-server/tests/test_agentic.py:30
↓ 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:518
↓ 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_call
(mock_context, client, **kwargs)
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:79
↓ 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 callersMethod_configure
Pin the resolved access mode and confirmation opt-out.
src/redshift-mcp-server/tests/test_server.py:93
↓ 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_ctx
()
src/aws-documentation-mcp-server/tests/test_tool_errors.py:47
↓ 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:610
↓ 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_no_batch_active
Report whether the no_batch fallback is in force for one cluster, consuming a due re-probe. Args: cluster: The cluster. Returns:
src/redshift-mcp-server/awslabs/redshift_mcp_server/redshift.py:1311
↓ 13 callersMethod_normalize
Coerce Db2/Python values into JSON-friendly primitives. Two deliberate type choices, both trading convenience for correctness: * ``D
src/db2-mcp-server/awslabs/db2_mcp_server/connection/ibm_db_connection.py:366
↓ 13 callersFunction_parse
(result: dict)
src/aws-transform-mcp-server/tests/test_download_artifact.py:40
↓ 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 callersFunction_pem_with
Return bytes containing ``n`` PEM certificate blocks.
src/postgres-mcp-server/tests/test_hatch_build.py:28
↓ 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_ri_row
(account_id, instance_type, region, savings='10.0')
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:1655
↓ 13 callersFunction_run
(tasks, status='COMPLETED', storage_type='STATIC', scratch_mode='LOCAL')
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:51
↓ 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_served
The served instructions, tools and prompts.
src/billing-cost-management-mcp-server/tests/test_server_instructions.py:92
↓ 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 callersMethodclose
(self)
src/billing-cost-management-mcp-server/tests/utilities/test_ce_time_period_format.py:48
↓ 13 callersMethodcreate_data_processing_role
Create a new IAM role for data processing services. This tool creates a new IAM role with the appropriate trust relationship for the specifie
src/aws-dataprocessing-mcp-server/awslabs/aws_dataprocessing_mcp_server/handlers/commons/common_resource_handler.py:361
↓ 13 callersFunctiondescribe_savings_plans
Describes the specified Savings Plans. Args: ctx: The MCP context sp_client: Savings Plans client savings_plan_arns: The
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/sp_explorer_tools.py:275
↓ 13 callersMethoddownload_artifact
Download an artifact or connector asset and write its bytes to disk. Selects the download scope from the IDs provided: connectorId+as
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/tools/download_artifact.py:85
↓ 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 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
↓ 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 callersMethodfetchall
Return mock rows.
src/oracle-mcp-server/tests/conftest.py:64
↓ 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:980
↓ 13 callersMethodget_auth_headers
Get authentication headers.
src/openapi-mcp-server/tests/auth/test_auth_factory.py:34
↓ 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 callersFunctionget_ecs_troubleshooting_guidance
Initial entry point that analyzes ECS deployment state and collects troubleshooting information. Parameters ---------- cluster_name
src/ecs-mcp-server/awslabs/ecs_mcp_server/api/troubleshooting_tools/get_ecs_troubleshooting_guidance.py:433
↓ 13 callersMethodget_item
(self, **kwargs)
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:65
↓ 13 callersFunctionget_recommendation
Get detailed information about a specific recommendation. Args: ctx: MCP context coh_client: Cost Optimization Hub client
src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/tools/cost_optimization_hub_helpers.py:211
↓ 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 callersFunctionget_run
Get details about a specific run. Args: ctx: MCP context for error reporting run_id: ID of the run to retrieve aws_profil
src/aws-healthomics-mcp-server/awslabs/aws_healthomics_mcp_server/tools/workflow_execution.py:666
↓ 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:606
↓ 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 callersFunctionload_persisted_config
Load config from disk.
src/aws-transform-mcp-server/awslabs/aws_transform_mcp_server/config_store.py:422
↓ 13 callersFunctionlog_step
Log a test step with a status marker (PASS, FAIL, SKIP, N/A, INFO).
src/postgres-mcp-server/tests/e2e/e2e_integration_test.py:160
↓ 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:705
↓ 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 callersFunctionsearch_datasets
Search RODA datasets by keyword with optional filters. Combines free-text search with structured filtering. Use the query parameter for gener
src/roda-mcp-server/awslabs/roda_mcp_server/server.py:319
← previousnext →601–700 of 35,417, ranked by callers