Add ECS Instance Log MCP Server - #44
Closed
LearningNewbie wants to merge 1 commit into
Closed
Conversation
MCP Server for AWS DevOps Agent to collect and analyze diagnostic logs from ECS container instances using SSM Automation. Covers ECS agent, Docker/containerd, container logs, system logs, dmesg, networking, cgroups, instance metadata, and GPU diagnostics. Features: - 19 MCP tools across 5 tiers (Core, Analysis, Cluster, Capture, SOPs) - Hub-and-spoke cross-region design (one deployment, all regions) - 36 structured runbooks for ECS-specific failure categories - KMS encryption, Cognito OAuth2, region allow-list, ECS instance validation - BucketDeployment for auto-deploying SOPs - Interactive deploy script with cluster/role auto-detection - Property-based tests with hypothesis Architecturally analogous to mcp/aws-eks-node-diagnostics-mcp but tailored for ECS EC2 container instances.
Author
|
Closing in favor of #45 by @shyamkulkarni which includes all changes from this PR plus the human-in-the-loop SSM approval workflow required for the appsec baseline. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a new MCP Server for AWS DevOps Agent that collects and analyzes diagnostic logs from ECS container instances using SSM Automation. This complements the existing
mcp/aws-eks-node-diagnostics-mcpby providing equivalent capabilities for ECS EC2 instances.Covers ECS agent, Docker/containerd, container logs, system logs, dmesg, networking, cgroups, instance metadata, and GPU diagnostics - artifacts that live on the instance OS and aren't accessible through the ECS API or CloudWatch.
Key Features
Architecture
Single CDK stack deploys: S3 (KMS-encrypted logs + SOPs), Lambda (19 tools), SSM Automation role, Cognito User Pool, and BedrockAgentCore MCP Gateway.
Type of change
Testing
License confirmation