trackmcp
Back to directory
icykallen

aws-cli-mcp-server

View on GitHub
2 stars TypeScriptServers & Infrastructure Updated Apr 1, 2025

Documentation

AWS CLI MCP Server

An MCP (Model Context Protocol) server that lets you generate and execute AWS CLI commands directly from Claude.

Features

  • Execute AWS CLI commands through the MCP protocol
  • Get detailed information about AWS services
  • List available AWS services
  • Full access to AWS CLI capabilities

Tools

  • execute-aws-command: Execute AWS CLI commands
    • Parameters:
      • `command`: AWS service (e.g., s3, ec2, lambda)
      • `subcommand` (optional): Command to execute (e.g., ls, describe-instances)
      • `options` (optional): Command options as key-value pairs
  • get-service-details: Get details about a specific AWS service
    • Parameters:
      • `service`: AWS service name (e.g., s3, ec2, lambda)

Resources

  • aws-services://list: List available AWS services

Setup and Installation

Prerequisites

  • Node.js (v20 or later recommended)
  • npm or yarn
  • AWS CLI installed and configured with credentials
  • TypeScript

Local Installation

1. Clone this repository:

bash
git clone https://github.com/IcyKallen/aws-cli-mcp-server
cd aws-cli-mcp-server

2. Install dependencies:

bash
npm install

3. Build the project:

bash
npm run build

4. Ensure AWS CLI is configured:

bash
aws configure

5. Start the MCP server:

bash
npm start

Integration with Claude Desktop

Add this to your `claude_desktop_config.json`:

After building the project, you can use:

json
{
  "mcpServers": {
    "aws-cli": {
      "command": "node",
      "args": [
        "/path/to/aws-cli-mcp-server/dist/index.js"
      ]
    }
  }
}

Example Usage in Claude

List S3 Buckets

code
I need to list my S3 buckets.

Create an S3 Bucket

code
Create a new S3 bucket named "my-test-bucket" in the us-west-2 region.

Get EC2 Service Details

code
What EC2 commands are available?

Security Notes

  • This server executes AWS CLI commands with the same permissions as your configured AWS credentials
  • Be careful about who can access this server
  • Consider implementing additional authentication for production use

License

MIT License

Frequently asked questions

What is aws-cli-mcp-server?

aws-cli-mcp-server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

How do I install aws-cli-mcp-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is aws-cli-mcp-server open source?

Yes — it is hosted on GitHub at https://github.com/icykallen/aws-cli-mcp-server and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP