← Back to AWS MCP Server

Install AWS MCP Server

Pick your client, copy the command, done.

Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

git clone https://github.com/lokeswaran-aj/aws-mcp
cd aws-mcp

Then follow the repository README for any remaining dependency or build steps.

2

Register it in Claude Code

claude mcp add --transport http -H "AWS_ACCESS_KEY_ID: YOUR_AWS_ACCESS_KEY_ID" -H "AWS_SECRET_ACCESS_KEY: YOUR_AWS_SECRET_ACCESS_KEY" -H "AWS_SESSION_TOKEN: YOUR_AWS_SESSION_TOKEN" aws-mcp http://localhost:8080/mcp

Replace any placeholder paths in the command with the real path on your machine.

Required:AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY+ 1 optional

Environment Variables

Set these before running AWS MCP Server.

VariableDescriptionRequired
AWS_ACCESS_KEY_IDAWS Access Key ID for authenticationYes
AWS_SECRET_ACCESS_KEYAWS Secret Access Key for authenticationYes
AWS_SESSION_TOKENOptional AWS Session Token for temporary credentialsNo

Available Tools (1)

Once configured, AWS MCP Server gives your AI agent access to:

aws_operationsProvides management and provisioning capabilities for AWS services including RDS, S3, EC2, VPC, Subnet, Internet Gateway, Route Table, Security Group, Key Pair, Instance Tag, and AMI.

Try It Out

After setup, try these prompts with your AI agent:

Create a new VPC with a public subnet and an internet gateway.
Launch an EC2 instance using the latest Amazon Linux 2 AMI.
Create an S3 bucket named my-app-assets-2024.
List all running RDS instances in my account.
Create a security group that allows inbound traffic on port 80 and 443.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Docker installed and running
  • AWS_ACCESS_KEY_ID — AWS Access Key ID for authentication
  • AWS_SECRET_ACCESS_KEY — AWS Secret Access Key for authentication
Alternative installation methods

Docker

docker build -t aws-mcp . && docker run -d --name aws-mcp-server -p 8080:8080 aws-mcp

Keep this setup from going cold

Save the docs, env vars, and workflow around AWS MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup