High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
MCP server for AWS CLI commands
This server connects MCP-aware assistants to the AWS CLI instead of wrapping each AWS API one by one. The assistant can ask for `--help` on a command, then execute AWS CLI pipelines with optional shell filters like `jq` or `grep`. It works with your existing AWS credentials and IAM policy, and it can run either directly or inside Docker for more isolation.
Builders who want their assistant to manage AWS services through the AWS CLI.
You can let an assistant inspect AWS command help and run cloud operations without building custom AWS wrappers.
What it does
AWS CLI help tool
`aws_cli_help` returns documentation for any AWS CLI command on demand.
AWS CLI pipeline tool
`aws_cli_pipeline` runs AWS CLI commands and supports pipes such as `jq` and `grep`.
Containerized execution
Docker mode runs the AWS CLI in a container to give the assistant more isolation from the host.
MCP transport options
Supports `stdio` and `streamable-http` transport for desktop and web MCP clients.
Credential and profile support
Uses the standard AWS credential chain, including environment variables, shared files, and IAM roles.
Security boundaries through IAM
Your IAM permissions decide what the assistant can actually do, even if it can form the command.
How to get it
- 1For web-based MCP clients, use the streamable-http transport
docker run --rm -p 8000:8000 \ -e AWS_MCP_TRANSPORT=streamable-http \ -v ~/.aws:/home/appuser/.aws:ro \ ghcr.io/alexei-led/aws-mcp-server:latest
README
AWS MCP Server
Give Claude access to all 200+ AWS services through the AWS CLI.
Demo
What It Does
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:
| Tool | Purpose |
|---|---|
aws_cli_help | Get documentation for any AWS command |
aws_cli_pipeline | Execute AWS CLI commands with optional pipes (jq, grep, etc.) |
Claude learns commands on-demand using --help, then executes them. Your IAM policy controls what it can actually do.
flowchart LR
Claude[Claude] -->|MCP| Server[AWS MCP Server]
Server --> CLI[AWS CLI]
CLI --> AWS[AWS Cloud]
IAM[Your IAM Policy] -.->|controls| AWS
What's New
- Streamable HTTP transport — New
streamable-httptransport for web-based MCP clients, replacing the deprecatedssetransport (#33) - Input validation error handling — Validation errors now return proper MCP tool errors (
isError: true) instead of regular results (#34) - Server description — Server advertises its purpose to MCP clients via the
instructionsfield (#35) - Server icons — Server provides icon metadata for MCP client display (#36)
- Graceful shutdown — Server disconnects cleanly when the MCP client disconnects (#16)
Quick Start
Prerequisites
- AWS CLI installed
- AWS credentials configured (see AWS Credentials)
- uv installed (for
uvx)
Claude Code
Add to your MCP settings (Cmd+Shift+P → "Claude: Open MCP Config"):
{
"mcpServers": {
"aws": {
"command": "uvx",
"args": ["aws-mcp"]
}
}
}
Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"aws": {
"command": "uvx",
"args": ["aws-mcp"]
}
}
}
Docker (More Secure)
Docker provides stronger isolation by running commands in a container:
{
"mcpServers": {
"aws": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"~/.aws:/home/appuser/.aws:ro",
"ghcr.io/alexei-led/aws-mcp-server:latest"
]
}
}
}
Note: Replace
~/.awswith the full path on Windows (e.g.,C:\Users\YOU\.aws).
Docker with Streamable HTTP Transport
For web-based MCP clients, use the streamable-http transport:
docker run --rm -p 8000:8000 \
-e AWS_MCP_TRANSPORT=streamable-http \
-v ~/.aws:/home/appuser/.aws:ro \
ghcr.io/alexei-led/aws-mcp-server:latest
The server will be available at http://localhost:8000/mcp.
Note: The
ssetransport is deprecated. Usestreamable-httpinstead.
AWS Credentials
The server uses the standard AWS credential chain. Your credentials are discovered automatically from:
- Environment variables:
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY - Credentials file:
~/.aws/credentials - Config file:
~/.aws/config(for profiles and region) - IAM role: When running on EC2, ECS, or Lambda
To use a specific profile:
{
"mcpServers": {
"aws": {
"command": "uvx",
"args": ["aws-mcp"],
"env": {
"AWS_PROFILE": "my-profile"
}
}
}
}
Configuration
AWS Settings
| Environment Variable | Description | Default |
|---|---|---|
AWS_PROFILE | AWS profile to use | default |
AWS_REGION | AWS region (also accepts AWS_DEFAULT_REGION) | us-east-1 |
AWS_CONFIG_FILE | Custom path to AWS config file | ~/.aws/config |
AWS_SHARED_CREDENTIALS_FILE | Custom path to credentials file | ~/.aws/credentials |
Server Settings
| Environment Variable | Description | Default |
|---|---|---|
AWS_MCP_TIMEOUT | Command execution timeout in seconds | 300 |
AWS_MCP_MAX_OUTPUT | Maximum output size in characters | 100000 |
AWS_MCP_TRANSPORT | Transport protocol (stdio, sse, or streamable-http) | stdio |
AWS_MCP_SANDBOX | Sandbox mode (auto, disabled, required) | auto |
AWS_MCP_SANDBOX_CREDENTIALS | Credential passing (env, aws_config, both) | both |
Security
Your IAM policy is your security boundary. This server executes whatever AWS commands Claude requests—IAM controls what actually succeeds.
Best practices:
- Use a least-privilege IAM role (only permissions Claude needs)
- Never use root credentials
- Consider Docker for additional host isolation
For detailed security architecture, see Security Documentation.
Documentation
- Usage Guide — Tools, resources, and prompt templates
- Security Architecture — IAM + Sandbox + Docker model
- Development Guide — Contributing and testing
License
MIT License — see LICENSE for details.
Files in the repo
- .github
- deploy
- docs
- media
- src
- tests
- .dockerignore
- .gitignore
- CLAUDE.md
- codecov.yml
- CONTRIBUTING.md
- LICENSE
- llms.txt
- Makefile
- pyproject.toml
- README.md
- SECURITY.md
- smithery.yaml
- spec.md
- uv.lock
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More connectors

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.
20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。