awslabs.elasticache-mcp-server
v0.2.4An AWS Labs Model Context Protocol (MCP) server for Amazon ElastiCache
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create-replication-group
Create an Amazon ElastiCache replication group. This tool creates a new replication group with specified configuration including: - Basic replication group settings - Cache node configuration - Network and security settings - Encryption settings - Backup and maintenance settings - Monitoring and logging settings Args: request: The CreateReplicationGroupRequest object containing all parameters Returns: Dict containing information about the created replication group.
connect-jump-host-replication-group
Configures an existing EC2 instance as a jump host to access an ElastiCache replication group. Args: replication_group_id (str): ID of the ElastiCache replication group to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Any]: Dictionary containing connection details and configuration status Raises: ValueError: If VPC compatibility check fails or required resources not found
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
replication_group_id * | string |
get-ssh-tunnel-command-replication-group
Generates an SSH tunnel command to connect to an ElastiCache replication group through an EC2 jump host. Args: replication_group_id (str): ID of the ElastiCache replication group to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Union[str, int]]: Dictionary containing the SSH tunnel command and related details Raises: ValueError: If required resources not found or information cannot be retrieved
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
replication_group_id * | string |
create-jump-host-replication-group
Creates an EC2 jump host instance to access an ElastiCache replication group via SSH tunnel. Args: replication_group_id (str): ID of the ElastiCache replication group to connect to key_name (str): Name of the EC2 key pair to use for SSH access subnet_id (str, optional): ID of the subnet to launch the EC2 instance in (must be public). If not provided and replication group uses default VPC, will auto-select a default subnet. security_group_id (str, optional): ID of the security group to assign to the EC2 instance. If not provided and r…
| Parameter | Type | Description |
|---|---|---|
key_name * | string | |
replication_group_id * | string | |
instance_type | string | |
security_group_id | ||
subnet_id |
delete-replication-group
Delete an Amazon ElastiCache replication group. This tool deletes an existing replication group. You can optionally retain the primary cluster as a standalone cache cluster or create a final snapshot before deletion. Parameters: replication_group_id (str): The identifier of the replication group to delete. retain_primary_cluster (Optional[bool]): If True, retains the primary cluster as a standalone cache cluster. If False, deletes all clusters in the replication group. final_snapshot_name (Optional[str]): The name of a final cache cluster snaps…
| Parameter | Type | Description |
|---|---|---|
replication_group_id * | string | |
final_snapshot_name | ||
retain_primary_cluster |
describe-replication-groups
Describe one or more ElastiCache replication groups. This tool returns information about provisioned replication groups. If a replication group ID is specified, information about only that replication group is returned. Otherwise, information about up to MaxRecords replication groups is returned. Parameters: replication_group_id (Optional[str]): The identifier for the replication group to describe. If not provided, information about all replication groups is returned. max_records (Optional[int]): The maximum number of records to include in the resp…
| Parameter | Type | Description |
|---|---|---|
marker | ||
max_records | ||
replication_group_id |
modify-replication-group-shard-configuration
Modify the shard configuration of an existing Amazon ElastiCache replication group. This tool modifies the shard configuration of an existing replication group by: - Modifying the number of replicas in a shard - Specifying preferred availability zones for replicas Parameters: replication_group_id (str): The identifier of the replication group to modify. node_group_count (int): The number of node groups (shards) in the replication group. apply_immediately (Optional[bool]): Whether to apply changes immediately or during maintenance window. reshar…
| Parameter | Type | Description |
|---|---|---|
node_group_count * | integer | |
replication_group_id * | string | |
apply_immediately | ||
resharding_configuration |
modify-replication-group
Modify an existing Amazon ElastiCache replication group. This tool modifies the settings of an existing replication group including: - Node configuration - Security settings - Maintenance settings - Backup settings - Engine settings - Monitoring settings - User group settings Args: request: The ModifyReplicationGroupRequest object containing all parameters Returns: Dict containing information about the modified replication group.
| Parameter | Type | Description |
|---|---|---|
request * |
test-migration
Test migration to an Amazon ElastiCache replication group. This tool tests migration from a Redis instance to an ElastiCache replication group. It validates that data can be successfully migrated from the specified endpoint to the target replication group. Args: request: The TestMigrationRequest object containing: - replication_group_id: The ID of the replication group to which data is to be migrated - customer_node_endpoint_list: List of endpoints from which data should be migrated. List should have only one element with Address…
| Parameter | Type | Description |
|---|---|---|
request * |
start-migration
Start migration to an Amazon ElastiCache replication group. This tool starts migration from a Redis instance to an ElastiCache replication group. It initiates the data migration process from the specified endpoint(s) to the target replication group. Args: request: The StartMigrationRequest object containing: - replication_group_id: The ID of the replication group to which data should be migrated - customer_node_endpoint_list: List of endpoints from which data should be migrated. For Valkey or Redis OSS (cluster mode disabled), the…
| Parameter | Type | Description |
|---|---|---|
request * |
complete-migration
Complete migration to an Amazon ElastiCache replication group. This tool completes the migration of data from a Redis instance to an ElastiCache replication group. It finalizes the data migration process and transitions the replication group to normal operation. Args: request: The CompleteMigrationRequest object containing: - replication_group_id: The ID of the replication group to which data is being migrated - force: (Optional) Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option o…
| Parameter | Type | Description |
|---|---|---|
request * |
create-cache-cluster
Create an Amazon ElastiCache cache cluster.
| Parameter | Type | Description |
|---|---|---|
request * |
delete-cache-cluster
Delete an Amazon ElastiCache cache cluster. This tool deletes an existing cache cluster. Optionally, it can create a final snapshot of the cluster before deletion. Parameters: cache_cluster_id (str): The ID of the cache cluster to delete. final_snapshot_identifier (Optional[str]): The user-supplied name of a final cache cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cache cluster immediately afterward. Returns: Dict containing informatio…
| Parameter | Type | Description |
|---|---|---|
cache_cluster_id * | string | |
final_snapshot_identifier |
describe-cache-clusters
Describe one or more ElastiCache cache clusters. This tool returns information about provisioned cache clusters. If a cache cluster ID is specified, information about only that cache cluster is returned. Otherwise, information about up to MaxRecords cache clusters is returned. Parameters: cache_cluster_id (Optional[str]): The identifier for the cache cluster to describe. If not provided, information about all cache clusters is returned. max_records (Optional[int]): The maximum number of records to include in the response. If more record…
| Parameter | Type | Description |
|---|---|---|
cache_cluster_id | ||
marker | ||
max_records | ||
show_cache_clusters_not_in_replication_groups | ||
show_cache_node_info |
modify-cache-cluster
Modify an existing Amazon ElastiCache cache cluster.
| Parameter | Type | Description |
|---|---|---|
request * |
connect-jump-host-cache-cluster
Configures an existing EC2 instance as a jump host to access an ElastiCache cluster. Args: cache_cluster_id (str): ID of the ElastiCache cluster to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Any]: Dictionary containing connection details and configuration status Raises: ValueError: If VPC compatibility check fails or required resources not found
| Parameter | Type | Description |
|---|---|---|
cache_cluster_id * | string | |
instance_id * | string |
get-ssh-tunnel-command-cache-cluster
Generates an SSH tunnel command to connect to an ElastiCache cluster through an EC2 jump host. Args: cache_cluster_id (str): ID of the ElastiCache cluster to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Union[str, int]]: Dictionary containing the SSH tunnel command and related details Raises: ValueError: If required resources not found or information cannot be retrieved
| Parameter | Type | Description |
|---|---|---|
cache_cluster_id * | string | |
instance_id * | string |
create-jump-host-cache-cluster
Creates an EC2 jump host instance to access an ElastiCache cluster via SSH tunnel. Args: cache_cluster_id (str): ID of the ElastiCache cluster to connect to key_name (str): Name of the EC2 key pair to use for SSH access subnet_id (str, optional): ID of the subnet to launch the EC2 instance in (must be public). If not provided and cache uses default VPC, will auto-select a default subnet. security_group_id (str, optional): ID of the security group to assign to the EC2 instance. If not provided and cache uses default VPC, will use the…
| Parameter | Type | Description |
|---|---|---|
cache_cluster_id * | string | |
key_name * | string | |
instance_type | string | |
security_group_id | ||
subnet_id |
get-cost-and-usage
Get cost and usage data for ElastiCache resources. This tool retrieves cost and usage data for ElastiCache resources with customizable time periods and granularity. It uses default configurations for: - Metrics: BlendedCost, UnblendedCost, UsageQuantity - Group By: SERVICE dimension and Environment tag - Filter: Filtered to Amazon ElastiCache service Args: request: The GetCostAndUsageRequest object containing: - time_period: Time period in YYYY-MM-DD/YYYY-MM-DD format - granularity: Data granularity (DAILY, MONTHLY, or HOURLY) Retu…
| Parameter | Type | Description |
|---|---|---|
request * |
get-metric-statistics
Get CloudWatch metric statistics. Args: metric_name: The name of the metric start_time: The start time in ISO 8601 format end_time: The end time in ISO 8601 format period: The granularity, in seconds, of the returned data points dimensions: The dimensions to filter by statistics: The metric statistics to return extended_statistics: The percentile statistics to return unit: The unit for the metric Returns: Dict containing metric statistics
| Parameter | Type | Description |
|---|---|---|
end_time * | string | |
metric_name * | string | |
period * | integer | |
start_time * | string | |
dimensions | ||
extended_statistics | ||
statistics | ||
unit |
get-log-events
Get log events from CloudWatch Logs. Args: log_group_name: The name of the log group log_group_identifier: The unique identifier of the log group log_stream_name: The name of the log stream start_time: The start of the time range, inclusive end_time: The end of the time range, inclusive next_token: The token for the next set of items to return limit: The maximum number of log events to return start_from_head: If true, read from oldest to newest unmask: If true, unmask sensitive log data Returns: Dict cont…
| Parameter | Type | Description |
|---|---|---|
log_stream_name * | string | |
end_time | ||
limit | ||
log_group_identifier | ||
log_group_name | ||
next_token | ||
start_from_head | ||
start_time | ||
unmask |
create-log-group
Create a new CloudWatch Logs log group. Args: log_group_name: The name of the log group to create kms_key_id: The Amazon Resource Name (ARN) of the KMS key to use for encryption tags: The key-value pairs to use for the tags log_group_class: Specify one of the following classes: STANDARD - Standard log events (default) INFREQUENT_ACCESS - Infrequent Access log events Returns: Dict containing success message or error details
| Parameter | Type | Description |
|---|---|---|
log_group_name * | string | |
kms_key_id | ||
log_group_class | ||
tags |
describe-log-groups
Describe CloudWatch Logs log groups. Args: account_identifiers: List of account IDs to filter log groups log_group_name_prefix: Prefix to filter log groups by name log_group_name_pattern: Pattern to match log group names include_linked_accounts: Whether to include log groups from linked accounts log_group_class: Filter by log group class (STANDARD or INFREQUENT_ACCESS) log_group_identifiers: List of log group identifiers to describe starting_token: Token for starting the list from a specific page page_size: Number of records…
| Parameter | Type | Description |
|---|---|---|
account_identifiers | ||
include_linked_accounts | ||
log_group_class | ||
log_group_identifiers | ||
log_group_name_pattern | ||
log_group_name_prefix | ||
max_items | ||
page_size | ||
starting_token |
describe-log-streams
Describe CloudWatch Logs log streams. Args: log_group_name: The name of the log group containing the log streams to describe. log_group_identifier: The unique identifier of the log group. log_stream_name_prefix: The prefix to match when describing log streams. order_by: The parameter to sort by (LogStreamName or LastEventTime). descending: If true, results are returned in descending order. starting_token: Token for starting the list from a specific page. page_size: Number of records to include in each page. max_items: Maximum…
| Parameter | Type | Description |
|---|---|---|
descending | ||
log_group_identifier | ||
log_group_name | ||
log_stream_name_prefix | ||
max_items | ||
order_by | ||
page_size | ||
starting_token |
filter-log-events
Filter log events from CloudWatch Logs. Args: log_group_name: The name of the log group log_group_identifier: The unique identifier of the log group log_stream_names: Optional list of log stream names to search log_stream_name_prefix: Optional prefix to match log stream names start_time: The start of the time range, inclusive end_time: The end of the time range, inclusive filter_pattern: The filter pattern to use interleaved: If true, multiple log streams are interleaved unmask: If true, unmask sensitive log data…
| Parameter | Type | Description |
|---|---|---|
end_time | ||
filter_pattern | ||
interleaved | ||
log_group_identifier | ||
log_group_name | ||
log_stream_name_prefix | ||
log_stream_names | ||
max_items | ||
page_size | ||
start_time | ||
starting_token | ||
unmask |
list-delivery-streams
List your delivery streams. Args: limit: The maximum number of delivery streams to list delivery_stream_type: The delivery stream type. This can be one of the following values: DirectPut - Provider data is sent directly to the Firehose stream KinesisStreamAsSource - Data is sourced from an existing Kinesis stream exclusive_start_delivery_stream_name: The name of the delivery stream to start the list after Returns: Dict containing the list of delivery streams and whether there are more streams available
| Parameter | Type | Description |
|---|---|---|
delivery_stream_type | ||
exclusive_start_delivery_stream_name | ||
limit |
batch-apply-update-action
Apply service update to multiple ElastiCache resources. Parameters: service_update_name (str): The unique ID of the service update to apply. replication_group_ids (Optional[List[str]]): List of replication group IDs to update. Either this or cache_cluster_ids must be provided. cache_cluster_ids (Optional[List[str]]): List of cache cluster IDs to update. Either this or replication_group_ids must be provided. Returns: Dict containing information about the batch update operation.
| Parameter | Type | Description |
|---|---|---|
service_update_name * | string | |
cache_cluster_ids | ||
replication_group_ids |
batch-stop-update-action
Stop service update for multiple ElastiCache resources. Parameters: service_update_name (str): The unique ID of the service update to stop. replication_group_ids (Optional[List[str]]): List of replication group IDs to stop update. Either this or cache_cluster_ids must be provided. cache_cluster_ids (Optional[List[str]]): List of cache cluster IDs to stop update. Either this or replication_group_ids must be provided. Returns: Dict containing information about the batch stop operation.
| Parameter | Type | Description |
|---|---|---|
service_update_name * | string | |
cache_cluster_ids | ||
replication_group_ids |
describe-cache-engine-versions
Returns a list of the available cache engines and their versions. Parameters: engine (Optional[str]): The cache engine to return. Valid values: memcached | redis | valkey engine_version (Optional[str]): The cache engine version to return. Example: memcached 1.4.14, redis 6.x, valkey 8.0 cache_parameter_group_family (Optional[str]): The name of a specific cache parameter group family. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7.x | valkey7.…
| Parameter | Type | Description |
|---|---|---|
cache_parameter_group_family | ||
default_only | ||
engine | ||
engine_version | ||
marker | ||
max_records |
describe-engine-default-parameters
Returns the default engine and system parameter information for the specified cache engine family. Parameters: cache_parameter_group_family (str): The name of the cache parameter group family. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7.x | valkey7.x | valkey8.x max_records (Optional[int]): The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the re…
| Parameter | Type | Description |
|---|---|---|
cache_parameter_group_family * | string | |
marker | ||
max_records |
describe-events
Returns events related to clusters, cache security groups, and parameter groups. Parameters: source_type (Optional[str]): The event source to retrieve events for. If not specified, all events are returned. Valid values: cache-cluster | cache-parameter-group | cache-security-group | cache-subnet-group | replication-group | user | user-group source_identifier (Optional[str]): The identifier of the event source for which events are returned. For example, if source_type is cache-cluster, you can specify a cluster identifier to se…
| Parameter | Type | Description |
|---|---|---|
duration | ||
end_time | ||
marker | ||
max_records | ||
source_identifier | ||
source_type | ||
start_time |
describe-service-updates
Returns details of the service updates. Parameters: service_update_name (Optional[str]): The unique ID of the service update to describe. service_update_status (Optional[List[str]]): List of status values to filter by. Valid values: available | cancelled | expired | complete starting_token (Optional[str]): An optional token returned from a previous request. Use this token for pagination of results from this operation. page_size (Optional[int]): The maximum number of records to include in each page of results. max_…
| Parameter | Type | Description |
|---|---|---|
max_items | ||
page_size | ||
service_update_name | ||
service_update_status | ||
starting_token |
create-serverless-cache
Create a new Amazon ElastiCache serverless cache. This tool creates a new serverless cache with specified configuration including: - Serverless cache name and capacity - Optional VPC and security settings - Optional encryption settings - Optional snapshot restoration and backup settings - Optional usage limits and user groups - Optional tags Parameters: serverless_cache_name (str): Name of the serverless cache. engine (str): Cache engine type. description (Optional[str]): Description for the cache. kms_key_id (Optional[str]): KM…
| Parameter | Type | Description |
|---|---|---|
request * |
delete-serverless-cache
Delete an Amazon ElastiCache serverless cache. This tool deletes a specified serverless cache from your AWS account. The cache must exist and be in a deletable state. Parameters: serverless_cache_name (str): Name of the serverless cache to delete. final_snapshot_name (Optional[str]): Name of the final snapshot to create before deletion. Returns: Dict containing the deletion response or error information.
| Parameter | Type | Description |
|---|---|---|
serverless_cache_name * | string | |
final_snapshot_name |
describe-serverless-caches
Describe Amazon ElastiCache serverless caches in your AWS account. This tool retrieves detailed information about serverless caches including: - Cache configuration - Cache endpoints - Cache status - Cache size - Cache connections Parameters: serverless_cache_name (Optional[str]): Name of the serverless cache to describe. If not provided, describes all caches. max_items (Optional[int]): Maximum number of results to return. starting_token (Optional[str]): Token to start the list from a specific page. page_size (Optional[int]): Number…
| Parameter | Type | Description |
|---|---|---|
max_items | ||
page_size | ||
serverless_cache_name | ||
starting_token |
modify-serverless-cache
Modify an Amazon ElastiCache serverless cache. This tool modifies the configuration of an existing serverless cache including: - Cache description - Engine version - Snapshot settings - Usage limits - Security groups - User groups Parameters: serverless_cache_name (str): Name of the serverless cache to modify. apply_immediately (Optional[bool]): Whether to apply changes immediately or during maintenance window. description (Optional[str]): New description for the cache. major_engine_version (Optional[str]): New major engine vers…
| Parameter | Type | Description |
|---|---|---|
request * |
connect-jump-host-serverless-cache
Configures an existing EC2 instance as a jump host to access an ElastiCache serverless cache. Not applicable to serverless caches with a public endpoint; returns an error for them. Args: serverless_cache_name (str): Name of the ElastiCache serverless cache to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Any]: Dictionary containing connection details and configuration status Raises: ValueError: If VPC compatibility check fails or required resources not found
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
serverless_cache_name * | string |
get-ssh-tunnel-command-serverless-cache
Generates an SSH tunnel command to connect to an ElastiCache serverless cache through an EC2 jump host. Not applicable to serverless caches with a public endpoint; returns an error for them. Args: serverless_cache_name (str): Name of the ElastiCache serverless cache to connect to instance_id (str): ID of the EC2 instance to use as jump host Returns: Dict[str, Union[str, int]]: Dictionary containing the SSH tunnel command and related details Raises: ValueError: If required resources not found or information cannot be retrieved
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
serverless_cache_name * | string |
create-jump-host-serverless-cache
Creates an EC2 jump host instance to access an ElastiCache serverless cache via SSH tunnel. Not applicable to serverless caches with a public endpoint; returns an error for them. Args: serverless_cache_name (str): Name of the ElastiCache serverless cache to connect to key_name (str): Name of the EC2 key pair to use for SSH access subnet_id (str, optional): ID of the subnet to launch the EC2 instance in (must be public). If not provided and serverless cache uses default VPC, will auto-select a default subnet. security_group_id (str, optional…
| Parameter | Type | Description |
|---|---|---|
key_name * | string | |
serverless_cache_name * | string | |
instance_type | string | |
security_group_id | ||
subnet_id |