{"id":26763,"library":"awslabs-ecs-mcp-server","title":"AWS ECS MCP Server","description":"An MCP (Model Context Protocol) server that automates containerization and deployment of web applications to AWS ECS. Version 0.1.28, requires Python >=3.10.","status":"active","version":"0.1.28","language":"python","source_language":"en","source_url":"https://github.com/awslabs/mcp","tags":["aws","ecs","mcp","containerization","deployment"],"install":[{"cmd":"pip install awslabs-ecs-mcp-server","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The package is directly importable as 'ecs_mcp_server'.","wrong":"","symbol":"ecs_mcp_server","correct":"import ecs_mcp_server"}],"quickstart":{"code":"import os\nfrom ecs_mcp_server import app\n\n# Requires AWS credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION)\n# and AWS_PROFILE or environment variables.\nos.environ.setdefault('AWS_REGION', 'us-east-1')\n# Run the MCP server (uses stdio transport by default)\napp.run()","lang":"python","description":"Minimal example to start the ECS MCP server. Ensure AWS credentials are configured."},"warnings":[{"fix":"Set AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION environment variables or use a valid AWS profile.","message":"The server requires AWS credentials and appropriate IAM permissions (ecs:*). Common mistake: missing IAM roles leads to cryptic boto3 errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Configure an MCP client to launch the server via `mcp install awslabs-ecs-mcp-server` or point to the script.","message":"The server uses stdio transport by default and is intended to be used with an MCP client (e.g., Claude Desktop, VS Code extension). Running standalone without a client does nothing visible.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure Docker is installed and running, or use the '--platform' flag if supported.","message":"Some tools (e.g., deploy) may rely on Docker being installed locally. If Docker is not available, the server errors.","severity":"deprecated","affected_versions":"<=0.1.28"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install awslabs-ecs-mcp-server` from the same environment.","cause":"The package is not installed in the current Python environment.","error":"ModuleNotFoundError: No module named 'ecs_mcp_server'"},{"fix":"Export AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION or configure AWS CLI with `aws configure`.","cause":"AWS credentials are not set as environment variables or in a config file.","error":"botocore.exceptions.NoCredentialsError: Unable to locate credentials"},{"fix":"Remove any custom transport arguments and use the default stdio transport.","cause":"The server may have been started with an unsupported transport (e.g., http).","error":"ValueError: Invalid transport: 'stdio' is not supported by this server"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}