S
serkanh/cloudwatch-logs-mcp
List CloudWatch log groups and read filtered events
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# CloudWatch Logs MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP (Model Context Protocol) server that provides tools for accessing AWS CloudWatch logs. This server allows AI assistants to list log groups and read log entries from AWS CloudWatch.
## Available Tools
### listgroups
Lists available CloudWatch log groups.
Parameters:
prefix (optional): Log group name prefix
region (optional): AWS region
accessKeyId (optional): AWS access key ID
secretAccessKey (optional): AWS secret access key
sessionToken (optional): AWS session token
Returns: JSON string with the list of log groups, including logGroupName, creationTime, and storedBytes.
### getlogs
Gets CloudWatch logs from a specific log group.
Parameters:
logGroupName (required): The name of the log group
logStreamName (optional): The name of the log stream
startTime (optional): Start time in ISO format or relative time (e.g., "5m", "1h", "1d")
endTime (optional): End time in ISO format
filterPattern (optional): Filter pattern for the logs
region (optional): AWS region
accessKeyId (optional): AWS access key ID
secretAccessKey (optional): AWS secret access key
sessionToken (optional): AWS session token
Returns: JSON string with the log events, including timestamp, message, and logStreamName.
## Setup
### AWS Credentials
Ensure you have AWS credentials configured. You can set them up using the AWS CLI or by setting environment variables:
AWSACCESSKEYID
AWSSECRETACCESSKEY
### Usage with Claude Desktop
Add the following to your claudedesktopconfig.json:
json
"mcpServers": {
"cloudwatch-logs": {
"command": "python3",
"args": ["/path/to/cloudwatch-logs-mcp/main.py"],
"env": {
"AWSACCESSKEYID": " ",
"AWSSECRETACCESSKEY": " ",
},
"disabled": false,
"autoApprove": []
### Docker
If you prefer to run the server in a Docker container, you can set up a Dockerfile and use the following configuration:
json
"mcpServers": {
"cloudwatch-logs": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AWSACCESSKEYID",
"-e",
"AWSSECRETACCESSKEY",
"mcp/cloudwatch-logs"
],
"env": {
"AWSACCESSKEYID": " ",
"AWSSECRETACCESSKEY": " ",
## Implementation Details
This server is built using the FastMCP class from the MCP SDK, which provides a simple way to create MCP servers. The server exposes two main tools:
## Available Tools
### listgroups
Lists available CloudWatch log groups.
Parameters:
prefix (optional): Log group name prefix
region (optional): AWS region
accessKeyId (optional): AWS access key ID
secretAccessKey (optional): AWS secret access key
sessionToken (optional): AWS session token
Returns: JSON string with the list of log groups, including logGroupName, creationTime, and storedBytes.
### getlogs
Gets CloudWatch logs from a specific log group.
Parameters:
logGroupName (required): The name of the log group
logStreamName (optional): The name of the log stream
startTime (optional): Start time in ISO format or relative time (e.g., "5m", "1h", "1d")
endTime (optional): End time in ISO format
filterPattern (optional): Filter pattern for the logs
region (optional): AWS region
accessKeyId (optional): AWS access key ID
secretAccessKey (optional): AWS secret access key
sessionToken (optional): AWS session token
Returns: JSON string with the log events, including timestamp, message, and logStreamName.
## Setup
### AWS Credentials
Ensure you have AWS credentials configured. You can set them up using the AWS CLI or by setting environment variables:
AWSACCESSKEYID
AWSSECRETACCESSKEY
### Usage with Claude Desktop
Add the following to your claudedesktopconfig.json:
json
"mcpServers": {
"cloudwatch-logs": {
"command": "python3",
"args": ["/path/to/cloudwatch-logs-mcp/main.py"],
"env": {
"AWSACCESSKEYID": " ",
"AWSSECRETACCESSKEY": " ",
},
"disabled": false,
"autoApprove": []
### Docker
If you prefer to run the server in a Docker container, you can set up a Dockerfile and use the following configuration:
json
"mcpServers": {
"cloudwatch-logs": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"AWSACCESSKEYID",
"-e",
"AWSSECRETACCESSKEY",
"mcp/cloudwatch-logs"
],
"env": {
"AWSACCESSKEYID": " ",
"AWSSECRETACCESSKEY": " ",
## Implementation Details
This server is built using the FastMCP class from the MCP SDK, which provides a simple way to create MCP servers. The server exposes two main tools:
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/serkanh-cloudwatch-logs-mcp/)
- Source
- awesome · https://github.com/serkanh/cloudwatch-logs-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.