Skip to main content
Glama

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:

git clone https://github.com/IcyKallen/aws-cli-mcp-server cd aws-cli-mcp-server
  1. Install dependencies:

npm install
  1. Build the project:

npm run build
  1. Ensure AWS CLI is configured:

aws configure
  1. Start the MCP server:

npm start

Integration with Claude Desktop

Add this to your claude_desktop_config.json:

After building the project, you can use:

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

Example Usage in Claude

List S3 Buckets

I need to list my S3 buckets.

Create an S3 Bucket

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

Get EC2 Service Details

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

-
security - not tested
F
license - not found
-
quality - not tested

Related MCP Servers

  • Amazon Web Services
    aws-mcp

    A
    security
    F
    license
    A
    quality
    A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.
    Last updated -
    3
    287
    • Apple
  • A
    security
    A
    license
    A
    quality
    An MCP server that enables Claude to interact with Tembo Cloud platform API, allowing users to manage Tembo Cloud resources through natural language.
    Last updated -
    10
    7
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    A lightweight service that enables AI assistants to execute AWS CLI commands through the Model Context Protocol (MCP), allowing AI tools to retrieve AWS documentation and interact with AWS services.
    Last updated -
    166
    MIT License
    • Apple
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.
    Last updated -
    3
    5
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IcyKallen/aws-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server