Ecs
FreeNot checkedMonitor and analyze AWS ECS services, including service status, CloudWatch metrics, and load balancer integration.
About
Monitor and analyze AWS ECS services, including service status, CloudWatch metrics, and load balancer integration.
README
A Model Context Protocol (MCP) server for monitoring and analyzing AWS ECS (Elastic Container Service) metrics and services.
Features
- ECS Service Monitoring: Check service status, health, and deployment information
- CloudWatch Metrics: Get CPU, memory, and custom metrics for ECS services
- Load Balancer Integration: Monitor target group health and response times
- IAM Role Support: Works seamlessly with EC2 instance roles and ECS task roles
- Intelligent Name Matching: Uses AI to find the correct cluster and service names
Installation
Install directly from GitHub using pipx:
# Install
pipx install git+https://github.com/neoai-agent/ecs-mcp.git
# Or run without installation
pipx run git+https://github.com/neoai-agent/ecs-mcp.git
Quick Start
On EC2 with IAM Role (Recommended)
ecs-mcp --openai-api-key "YOUR_OPENAI_API_KEY" --region "YOUR_AWS_REGION"
With Explicit AWS Credentials
ecs-mcp --openai-api-key "YOUR_OPENAI_API_KEY" --access-key "YOUR_AWS_ACCESS_KEY" --secret-access-key "YOUR_AWS_SECRET_KEY" --region "YOUR_AWS_REGION"
Available Tools
The server provides the following tools for AWS ECS analysis:
check_ecs_service_status: Get comprehensive service status including:
- Running vs desired task count
- Deployment status
- Container images
- Target group health
- Unhealthy tasks
get_service_metrics: Get CloudWatch metrics for ECS services:
- CPU utilization
- Memory utilization
- Custom metrics
get_ecs_target_group_response_time: Monitor load balancer response times
get_ecs_target_group_request_metrics: Get request count and error metrics
get_ecs_services: List all services in a cluster
IAM Permissions
For EC2 instance role or ECS task role:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ecs:ListClusters",
"ecs:DescribeClusters",
"ecs:ListServices",
"ecs:DescribeServices",
"ecs:ListTasks",
"ecs:DescribeTasks",
"ecs:DescribeTaskDefinition",
"elasticloadbalancing:DescribeTargetHealth",
"cloudwatch:GetMetricData",
"cloudwatch:GetMetricStatistics"
],
"Resource": "*"
}
]
}
Development
For development setup:
git clone https://github.com/neoai-agent/ecs-mcp.git
cd ecs-mcp
python -m venv ecs-venv
source ecs-venv/bin/activate # On Windows: ecs-venv\Scripts\activate
pip install -e ".[dev]"
License
MIT License - See LICENSE file for details
Install Ecs in Claude Desktop, Claude Code & Cursor
unyly install ecs-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add ecs-mcp -- uvx ecs-mcpFAQ
Is Ecs MCP free?
Yes, Ecs MCP is free — one-click install via Unyly at no cost.
Does Ecs need an API key?
No, Ecs runs without API keys or environment variables.
Is Ecs hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Ecs in Claude Desktop, Claude Code or Cursor?
Open Ecs on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Ecs with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
