What is Amazon CloudWatch Logs MCP Server?
A Model Context Protocol (MCP) server that provides tools for interacting with Amazon CloudWatch Logs services. It enables AI assistants to manage CloudWatch logs through a standardized interface using the AWS SDK.
How to use Amazon CloudWatch Logs MCP Server?
Install globally via npm (npm install -g @hyorimitsu/amazon-cloudwatch-logs-mcp-server) or pull the Docker image (ghcr.io/hyorimitsu/mcp-amazon-cloudwatch-logs:latest). Then add the server to your AI assistant’s configuration, setting the required environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, and optionally AWS_REGION and READONLY.
Key features of Amazon CloudWatch Logs MCP Server
- Tools for log group, stream, and event operations
- Read-only mode for safe log viewing
- CloudWatch Logs Insights query support
- Deployable via npm or Docker
- Integrates with AI assistants through MCP
Use cases of Amazon CloudWatch Logs MCP Server
- AI assistant creates and manages log groups and streams
- Query and filter log events by time range or pattern
- Run CloudWatch Logs Insights queries for log analysis
- Enable read-only access to prevent accidental modifications
コメント