aws-ecs-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aws-ecs-mcpscale my-web-service in cluster production to 5 tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AWS ECS MCP Server
An MCP (Model Context Protocol) server that exposes AWS ECS operations as tools, allowing AI assistants to manage ECS clusters, services, tasks, and view container logs.
Features
Read Operations
list_clusters / describe_cluster — View clusters and their capacity
list_services / describe_service — View services, deployments, and load balancer config
list_tasks / describe_task — View tasks, container status, and networking
list_task_definitions / describe_task_definition — View task definitions with full container config
get_service_events — View recent deployment events and errors
get_container_logs — Fetch CloudWatch logs for a container (auto-discovers log group from task definition)
Write Operations
update_service_desired_count — Scale a service up or down
force_new_deployment — Trigger a rolling deployment
run_task — Run one-off tasks (migrations, batch jobs)
stop_task — Stop a running task
register_task_definition — Register a new task definition revision
Related MCP server: CloudWatch Logs MCP Server
Installation
pip install -e .Configuration
AWS Credentials
Uses the standard boto3 credential chain:
Environment variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY)AWS config files (
~/.aws/credentials,~/.aws/config)IAM instance roles / ECS task roles
Set your default region:
export AWS_DEFAULT_REGION=us-east-1All tools accept an optional region parameter to override the default.
MCP Client Configuration
Add to your MCP client config (e.g., Claude Desktop):
{
"mcpServers": {
"aws-ecs": {
"command": "aws-ecs-mcp"
}
}
}Or run directly:
aws-ecs-mcpDevelopment
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -vAvailable Tools
Tool | Type | Description |
| Read | List all ECS clusters |
| Read | Get cluster details |
| Read | List services in a cluster |
| Read | Get service details with deployments |
| Read | Recent service events |
| Read | List tasks (filterable by service/status) |
| Read | Full task details with containers |
| Read | List task definition families |
| Read | Full task definition spec |
| Read | CloudWatch logs for a container |
| Write | Scale a service |
| Write | Force rolling deployment |
| Write | Run a one-off task |
| Write | Stop a running task |
| Write | Register new task def revision |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityFmaintenanceAn MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.Last updated2
- Flicense-qualityDmaintenanceAn MCP server that allows AI assistants to access AWS CloudWatch logs by listing log groups and reading log entries.Last updated27
- AlicenseCquality-maintenanceAn MCP server for Infrastructure as Code that enables AI assistants to manage cloud resources through Ansible and Terraform operations. It supports executing playbooks, managing AWS services, and running Terraform commands with optional LocalStack integration.Last updated18
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to interact with Kubernetes clusters by translating natural language into kubectl and Helm operations. It allows users to query, manage, and diagnose Kubernetes resources and cluster states through a seamless integration.Last updated19Apache 2.0
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/riteshsonawala/aws-ecs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server