Give Claude access to all 200+ AWS services through the AWS CLI. This MCP server lets Claude run AWS CLI commands on your behalf. Instead of wrapping each AWS API individually, it wraps the CLI itself—giving Claude complete AWS access through just two tools: Claude learns commands on-demand using --help, then executes them. Your IAM policy controls what it can actually do. - Streamable HTTP transp
Add this skill
npx mdskills install alexei-led/aws-mcp-serverProvides comprehensive AWS CLI access with excellent docs, clear security model, and multiple transport options
1# AWS MCP Server23[](https://github.com/alexei-led/aws-mcp-server/actions/workflows/ci.yml)4[](https://pypi.org/project/aws-mcp/)5[](https://codecov.io/gh/alexei-led/aws-mcp-server)6[](https://github.com/alexei-led/aws-mcp-server)7[](https://github.com/alexei-led/aws-mcp-server/pkgs/container/aws-mcp-server)89Give Claude access to all 200+ AWS services through the AWS CLI.1011## Demo1213[Demo](https://private-user-images.githubusercontent.com/1898375/424996801-b51ddc8e-5df5-40c4-8509-84c1a7800d62.mp4?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDI0NzY5OTUsIm5iZiI6MTc0MjQ3NjY5NSwicGF0aCI6Ii8xODk4Mzc1LzQyNDk5NjgwMS1iNTFkZGM4ZS01ZGY1LTQwYzQtODUwOS04NGMxYTc4MDBkNjIubXA0P1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDMyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAzMjBUMTMxODE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjgwNTM4MDVjN2U4YjQzN2Y2N2Y5MGVkMThiZTgxYWEyNzBhZTlhMTRjZDY3ZDJmMzJkNmViM2U4M2U4MTEzNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.tIb7uSkDpSaspIluzCliHS8ATmlzkvEnF3CiClD-UGQ)1415## What It Does1617This MCP server lets Claude run AWS CLI commands on your behalf. Instead of wrapping each AWS API individually, it wraps the CLI itself—giving Claude complete AWS access through just two tools:1819| Tool | Purpose |20| ------------------ | ----------------------------------------------------------------- |21| `aws_cli_help` | Get documentation for any AWS command |22| `aws_cli_pipeline` | Execute AWS CLI commands with optional pipes (`jq`, `grep`, etc.) |2324Claude learns commands on-demand using `--help`, then executes them. Your IAM policy controls what it can actually do.2526```mermaid27flowchart LR28 Claude[Claude] -->|MCP| Server[AWS MCP Server]29 Server --> CLI[AWS CLI]30 CLI --> AWS[AWS Cloud]31 IAM[Your IAM Policy] -.->|controls| AWS32```3334## What's New3536- **Streamable HTTP transport** — New `streamable-http` transport for web-based MCP clients, replacing the deprecated `sse` transport ([#33](https://github.com/alexei-led/aws-mcp-server/issues/33))37- **Input validation error handling** — Validation errors now return proper MCP tool errors (`isError: true`) instead of regular results ([#34](https://github.com/alexei-led/aws-mcp-server/issues/34))38- **Server description** — Server advertises its purpose to MCP clients via the `instructions` field ([#35](https://github.com/alexei-led/aws-mcp-server/issues/35))39- **Server icons** — Server provides icon metadata for MCP client display ([#36](https://github.com/alexei-led/aws-mcp-server/issues/36))40- **Graceful shutdown** — Server disconnects cleanly when the MCP client disconnects ([#16](https://github.com/alexei-led/aws-mcp-server/issues/16))4142## Quick Start4344### Prerequisites4546- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) installed47- AWS credentials configured (see [AWS Credentials](#aws-credentials))48- [uv](https://docs.astral.sh/uv/getting-started/installation/) installed (for `uvx`)4950### Claude Code5152Add to your MCP settings (Cmd+Shift+P → "Claude: Open MCP Config"):5354```json55{56 "mcpServers": {57 "aws": {58 "command": "uvx",59 "args": ["aws-mcp"]60 }61 }62}63```6465### Claude Desktop6667Add to your Claude Desktop config file:6869**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`70**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`7172```json73{74 "mcpServers": {75 "aws": {76 "command": "uvx",77 "args": ["aws-mcp"]78 }79 }80}81```8283### Docker (More Secure)8485Docker provides stronger isolation by running commands in a container:8687```json88{89 "mcpServers": {90 "aws": {91 "command": "docker",92 "args": [93 "run",94 "-i",95 "--rm",96 "-v",97 "~/.aws:/home/appuser/.aws:ro",98 "ghcr.io/alexei-led/aws-mcp-server:latest"99 ]100 }101 }102}103```104105> **Note**: Replace `~/.aws` with the full path on Windows (e.g., `C:\Users\YOU\.aws`).106107### Docker with Streamable HTTP Transport108109For web-based MCP clients, use the `streamable-http` transport:110111```bash112docker run --rm -p 8000:8000 \113 -e AWS_MCP_TRANSPORT=streamable-http \114 -v ~/.aws:/home/appuser/.aws:ro \115 ghcr.io/alexei-led/aws-mcp-server:latest116```117118The server will be available at `http://localhost:8000/mcp`.119120> **Note**: The `sse` transport is deprecated. Use `streamable-http` instead.121122## AWS Credentials123124The server uses the standard AWS credential chain. Your credentials are discovered automatically from:1251261. **Environment variables**: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`1272. **Credentials file**: `~/.aws/credentials`1283. **Config file**: `~/.aws/config` (for profiles and region)1294. **IAM role**: When running on EC2, ECS, or Lambda130131To use a specific profile:132133```json134{135 "mcpServers": {136 "aws": {137 "command": "uvx",138 "args": ["aws-mcp"],139 "env": {140 "AWS_PROFILE": "my-profile"141 }142 }143 }144}145```146147## Configuration148149### AWS Settings150151| Environment Variable | Description | Default |152| ----------------------------- | ---------------------------------------------- | -------------------- |153| `AWS_PROFILE` | AWS profile to use | `default` |154| `AWS_REGION` | AWS region (also accepts `AWS_DEFAULT_REGION`) | `us-east-1` |155| `AWS_CONFIG_FILE` | Custom path to AWS config file | `~/.aws/config` |156| `AWS_SHARED_CREDENTIALS_FILE` | Custom path to credentials file | `~/.aws/credentials` |157158### Server Settings159160| Environment Variable | Description | Default |161| ----------------------------- | ------------------------------------------------ | -------- |162| `AWS_MCP_TIMEOUT` | Command execution timeout in seconds | `300` |163| `AWS_MCP_MAX_OUTPUT` | Maximum output size in characters | `100000` |164| `AWS_MCP_TRANSPORT` | Transport protocol (`stdio`, `sse`, or `streamable-http`) | `stdio` |165| `AWS_MCP_SANDBOX` | Sandbox mode (`auto`, `disabled`, `required`) | `auto` |166| `AWS_MCP_SANDBOX_CREDENTIALS` | Credential passing (`env`, `aws_config`, `both`) | `both` |167168## Security169170**Your IAM policy is your security boundary.** This server executes whatever AWS commands Claude requests—IAM controls what actually succeeds.171172Best practices:173174- Use a **least-privilege IAM role** (only permissions Claude needs)175- **Never use root credentials**176- Consider **Docker** for additional host isolation177178For detailed security architecture, see [Security Documentation](docs/SECURITY.md).179180## Documentation181182- [Usage Guide](docs/USAGE.md) — Tools, resources, and prompt templates183- [Security Architecture](docs/SECURITY.md) — IAM + Sandbox + Docker model184- [Development Guide](docs/DEVELOPMENT.md) — Contributing and testing185186## License187188MIT License — see [LICENSE](LICENSE) for details.189
Full transparency — inspect the skill content before installing.