MCP/AWS Cloud MCP Server
AWS Cloud MCP Server logo

AWS Cloud MCP Server

Bridges AI assistants directly to the AWS CLI with pipeline execution, jq/grep filtering, and automatic --help documentation discovery.

developer-tools•Cloud & Infrastructure
GitHub186
License:MIT
VERIFIED

About this Server

AWS Cloud MCP Server (`aws-mcp` / `cloud-mcp-server`) empowers AI assistants like Claude Code, Cursor, and VS Code to interact with all Amazon Web Services through the AWS CLI. Rather than wrapping separate APIs, it provides two high-leverage primitives: on-demand command documentation lookup via `aws_cli_help` and chained command execution with shell pipelines (`jq`, `grep`) via `aws_cli_pipeline`, bound to IAM policies.

Real-time Interaction

Direct low-latency RPC protocol communication with structured JSON schemas.

Scoped Sandboxing

Restricted capability bounds to prevent accidental modifications or leakage.

Security & Best Practices

IAM Policy Bound: The MCP server executes strictly with the privileges granted to the active AWS credentials/role.
Container Isolation: Supports running via Docker with read-only ~/.aws credential mounting.
Input Validation: Returns structured isError results for invalid or malformed CLI parameters.

When to Use (and When Not To)

Best For
  • •Querying EC2, S3, RDS, ECS, Lambda, or CloudWatch metrics directly from AI coding assistants
  • •Running complex AWS command pipelines with jq parsing to inspect cloud infrastructure state
  • •Learning unknown AWS CLI commands on-demand without manual browser documentation searches
Not For / Limitations
  • •Kubernetes kubectl cluster and Helm deployments (use Kubernetes MCP Server instead)
  • •Ephemeral disposable cloud browsers and verification inboxes (use Ausca MCP instead)
  • •External SaaS status page health verification (use API Status Check MCP instead)

Install & Setup

terminal command
$claude mcp add aws -- uvx aws-mcp

Exposed Tools & Endpoints

2 tools

Functions your AI agent can invoke via this Model Context Protocol server

aws_cli_pipeline

Executes AWS CLI commands with optional shell pipeline filters (jq, grep, awk) to query and manage AWS infrastructure.

aws_cli_help

Retrieves comprehensive documentation, parameters, and syntax examples for any AWS CLI command.