S
serkanh/cloudwatch-logs-mcp
List CloudWatch log groups and read filtered events
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# 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:
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/serkanh-cloudwatch-logs-mcp/)
- 来源
- awesome · https://github.com/serkanh/cloudwatch-logs-mcp
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。