mcp-cloudwatch-logs

v3.4.2
@teolin/mcp-cloudwatch-logs Checked 14 hours ago Published 26 days ago

MCP server for querying AWS CloudWatch Logs with Log Insights

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query_logs

Execute a CloudWatch Logs Insights query

ParameterTypeDescription
logGroups *arrayArray of log group names to query
query *stringCloudWatch Logs Insights query string
endTimestringEnd time for the query (ISO 8601 format or relative like "now")
limitnumberMaximum number of log entries to return (default: 100)
startTimestringStart time for the query (ISO 8601 format or relative like "1h", "1d")

list_log_groups

List available CloudWatch log groups

ParameterTypeDescription
limitnumberMaximum number of log groups to return (default: 50)
namePrefixstringFilter log groups by name prefix

get_recent_logs

Get recent log entries from a specific log group

ParameterTypeDescription
logGroup *stringName of the log group
filterPatternstringOptional filter pattern for log entries
hoursnumberNumber of hours to look back (default: 1)
limitnumberMaximum number of log entries to return (default: 100)