# alexei-led/aws-mcp-server

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/alexei-led/aws-mcp-server  
**GitHub Stars:** 186  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/alexei-led-aws-mcp-server

## Description
A lightweight but powerful server that enables AI assistants to execute AWS CLI commands, use Unix pipes, and apply prompt templates for common AWS tasks in a safe Docker environment with multi-architecture support

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "aws-mcp-server": {
    "command": "uvx",
    "args": ["aws-mcp"],
    "env": {
      "AWS_PROFILE": "",
      "AWS_REGION": "",
      "AWS_DEFAULT_REGION": "",
      "AWS_CONFIG_FILE": "",
      "AWS_SHARED_CREDENTIALS_FILE": "",
      "AWS_MCP_TIMEOUT": "",
      "AWS_MCP_MAX_OUTPUT": "",
      "AWS_MCP_TRANSPORT": ""
    }
  }
}
```

**Requires environment variables:** `AWS_PROFILE`, `AWS_REGION`, `AWS_DEFAULT_REGION`, `AWS_CONFIG_FILE`, `AWS_SHARED_CREDENTIALS_FILE`, `AWS_MCP_TIMEOUT`, `AWS_MCP_MAX_OUTPUT`, `AWS_MCP_TRANSPORT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What alexei-led/aws-mcp-server does

alexei-led/aws-mcp-server MCP server connects an MCP client to the AWS CLI and, through it, AWS services. Instead of defining a separate MCP tool for every AWS API, it lets the assistant discover command syntax with AWS help and then run the selected CLI command. This approach can cover AWS services supported by the installed CLI.

The server provides two primary tools:

- `aws_cli_help` retrieves help for AWS CLI commands.
- `aws_cli_pipeline` runs AWS CLI commands and can pass output through Unix utilities such as `jq` and `grep`.

Prompt templates for common AWS tasks are also documented as part of the project. The server is listed in the Cloud Platforms category and is relevant for assistants that need to inspect or change AWS resources through existing CLI permissions.

## How it works

An MCP client sends a tool request to the server. The server invokes the local AWS CLI, which communicates with AWS using the standard credential chain. The assistant can first request command documentation, then construct an operation based on the returned help text. IAM remains the authorization boundary: commands requested by the assistant only succeed when the configured identity has the required permissions.

The default transport is stdio. A streamable HTTP transport is available for web-based MCP clients and exposes the endpoint at `/mcp` when the documented Docker command is used. The older SSE transport is deprecated. Input validation failures are returned as MCP tool errors, and the server supports clean shutdown when the client disconnects.

## Setup and configuration

Install the AWS CLI and `uv` for the `uvx` launch method, then configure AWS credentials. Credentials may come from `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`, the shared files under `~/.aws`, or an IAM role on supported AWS compute environments. `AWS_PROFILE` selects a profile, while `AWS_REGION` or `AWS_DEFAULT_REGION` controls the region.

A standard local configuration runs `uvx aws-mcp`. Docker is also supported and mounts the AWS configuration directory read-only into the container. The project describes Docker as providing additional isolation for command execution. For HTTP use, publish port 8000 and set `AWS_MCP_TRANSPORT=streamable-http`.

Relevant server settings include `AWS_MCP_TIMEOUT` for command duration, `AWS_MCP_MAX_OUTPUT` for output size, `AWS_MCP_SANDBOX` for sandbox behavior, and `AWS_MCP_SANDBOX_CREDENTIALS` for how credentials are passed into the sandbox. The transport can be selected with `AWS_MCP_TRANSPORT`.

## Tools and capabilities

The alexei-led/aws-mcp-server MCP server is suited to AWS tasks that can be expressed through the CLI, including commands spanning multiple AWS services. Its pipeline tool supports filtering or transforming command output before returning it to the assistant. The help tool allows command syntax to be learned at request time rather than maintained in a fixed service-specific schema.

It supports stdio and streamable HTTP operation, AWS profiles and regions, configurable execution and output limits, and Docker-based deployment. Multi-architecture Docker images are provided according to the project description.

## Limitations and notes

The server executes the AWS commands requested by the assistant, so its effective access depends on the IAM identity and policy in use. Use least-privilege permissions and do not use root credentials. Docker adds host isolation but does not replace AWS authorization controls.

The server requires the AWS CLI and valid AWS credentials or an available IAM role. The default region is `us-east-1` unless configuration changes it. Streamable HTTP should be used instead of the deprecated SSE transport. Review command output limits and timeouts when running operations that produce large results or take longer than the default 300 seconds.

_Full upstream README: https://allmcps.com/mcp/alexei-led-aws-mcp-server/readme_

