Amazon CloudWatch integration
AWS CloudWatch monitoring and observability API for collecting metrics, setting alarms, and monitoring AWS resources. Query metrics, manage alarms, retrieve logs, and create dashboards for infrastructure monitoring.
Say what should happen.
The workflow builds itself.
Common Amazon CloudWatch use cases
- automate dashboard management
- automate alarm management
- describe alarm programmatically
- automate resource management
- automate metric data management
- automate alarm action management
- automate anomaly detector management
- remove metric stream
- list tag programmatically
- embed metric chart in report
What you can do with Amazon CloudWatch
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Metric stream, 6 operations
delete_metric_streamDelete metric streamPOSTDelete a CloudWatch metric stream.get_metric_streamGet metric streamPOSTRetrieve detailed information about a specific CloudWatch metric stream.list_metric_streamsList metric streamsPOSTList all CloudWatch metric streams in the account.put_metric_streamPut metric streamPOSTCreate or update a metric stream that sends CloudWatch metrics to Kinesis Data Firehose for real-time export.start_metric_streamsStart metric streamsPOSTStart one or more CloudWatch metric streams that are in the stopped state.stop_metric_streamsStop metric streamsPOSTStop one or more CloudWatch metric streams. Metrics are no longer exported until streams are started again.
Dashboard, 4 operations
delete_dashboardsDelete dashboardsPOSTDelete one or more CloudWatch dashboards. This action is irreversible.get_dashboardGet dashboardPOSTRetrieve the details of a CloudWatch dashboard including its body definition in JSON format.list_dashboardsList dashboardsPOSTList CloudWatch dashboards in your account. Optionally filter by a name prefix to find specific dashboards.put_dashboardPut dashboardPOSTCreate or update a CloudWatch dashboard. The dashboard body is a JSON string defining the widgets and their layout.
Alarm, 3 operations
delete_alarmsDelete alarmsPOSTDelete one or more CloudWatch alarms. Deleted alarms stop evaluating metrics and executing actions.describe_alarmsDescribe alarmsPOSTRetrieve information about CloudWatch alarms. Filter by alarm names, state, or action prefix to monitor the status of your configured alarms.describe_alarms_for_metricDescribe alarms for metricPOSTRetrieve all alarms configured for a specific metric. Useful for checking what monitoring is in place for a given metric and namespace.
Anomaly detector, 3 operations
delete_anomaly_detectorDelete anomaly detectorPOSTDelete a CloudWatch anomaly detection model. Specify either a single metric or metric math anomaly detector.describe_anomaly_detectorsDescribe anomaly detectorsPOSTList CloudWatch anomaly detection models associated with your account. Anomaly detectors use machine learning to determine normal ranges for metric values.put_anomaly_detectorPut anomaly detectorPOSTCreate or update an anomaly detection model for a CloudWatch metric. The model uses machine learning to determine the expected range of metric values based on historical patterns.
Alarm action, 2 operations
disable_alarm_actionsDisable alarm actionsPOSTDisable actions for one or more CloudWatch alarms. When disabled, alarm actions do not execute even when the alarm changes state.enable_alarm_actionsEnable alarm actionsPOSTEnable actions for one or more CloudWatch alarms. When enabled, alarm actions execute when the alarm changes state.
Metric data, 2 operations
get_metric_dataGet metric dataPOSTRetrieve CloudWatch metric values using Metrics Insights queries or metric math expressions. Supports retrieving data for multiple metrics in a single request.put_metric_dataPut metric dataPOSTPublish metric data points to CloudWatch. You can publish data for new or existing metrics. Data is aggregated by CloudWatch based on the specified namespace and dimensions.
Resource, 2 operations
tag_resourceTag resourcePOSTAssign one or more tags to a CloudWatch resource (alarm or Contributor Insights rule). Tags are key-value pairs for organizing and managing resources.untag_resourceUntag resourcePOSTRemove one or more tags from a CloudWatch resource (alarm or Contributor Insights rule). Specify the tag keys to remove from the resource.
Alarm history, 1 operation
describe_alarm_historyDescribe alarm historyPOSTRetrieve the history of a specific alarm or all alarms. Returns state transitions, configuration updates, and actions taken. Useful for auditing alarm behavior over time.
Alarm state, 1 operation
set_alarm_stateSet alarm statePOSTTemporarily set the state of a CloudWatch alarm. Useful for testing alarm actions or temporarily suppressing alarms during maintenance.
Composite alarm, 1 operation
put_composite_alarmPut composite alarmPOSTCreate or update a composite CloudWatch alarm whose state is determined by a rule expression evaluating the states of other alarms.
Metric, 1 operation
list_metricsList metricsPOSTList available CloudWatch metrics. Filter by namespace, metric name, or dimensions to discover what metrics are being collected for your AWS resources.
Metric alarm, 1 operation
put_metric_alarmPut metric alarmPOSTCreate or update a CloudWatch alarm. When the metric breaches the configured threshold, CloudWatch triggers the specified alarm actions such as SNS notifications or Auto Scaling policies.
Metric statistic, 1 operation
get_metric_statisticsGet metric statisticsPOSTGet statistics for a specific CloudWatch metric. Returns aggregated data points based on the specified period, statistics, and time range.
Metric widget image, 1 operation
get_metric_widget_imageGet metric widget imagePOSTRetrieve a snapshot of a CloudWatch metric graph as a base64-encoded PNG image.
Tag, 1 operation
list_tags_for_resourceList tags for resourcePOSTList the tags associated with a CloudWatch resource. Returns all key-value tag pairs for the specified resource ARN.
Use Amazon CloudWatch from Claude Code, Cursor or Codex
Connect Amazon CloudWatch in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Amazon CloudWatch operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Amazon CloudWatch
- Create your workspace
Sign up free. Nothing to install.
- Connect Amazon CloudWatch once
Add your Amazon CloudWatch connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Amazon CloudWatch integration FAQ
What can you do with the Amazon CloudWatch integration?
LiveContext exposes 30 operations on Amazon CloudWatch, covering metric stream, dashboard, alarm and anomaly detector. Common uses include automate dashboard management, automate alarm management and describe alarm programmatically.
