AWS CLI MCP Server

AWS CLI MCP Server

By IcyKallen GitHub

-

aws-cli mcp-server
Overview

what is AWS CLI MCP Server?

AWS CLI MCP Server is a Model Context Protocol server that allows users to generate and execute AWS CLI commands directly from Claude.

how to use AWS CLI MCP Server?

To use the AWS CLI MCP Server, clone the repository, install the dependencies, configure your AWS CLI, and start the server. You can then integrate it with Claude for command execution.

key features of AWS CLI MCP Server?

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

use cases of AWS CLI MCP Server?

  1. Listing S3 buckets and managing them
  2. Creating and configuring EC2 instances
  3. Retrieving details about various AWS services

FAQ from AWS CLI MCP Server?

  • What are the prerequisites for using the server?

You need Node.js, npm or yarn, AWS CLI configured with credentials, and TypeScript.

  • How do I start the server?

After installation, run npm start to start the MCP server.

  • Is there any security concern?

Yes, the server executes commands with the same permissions as your AWS credentials, so ensure proper access control.

Content

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

No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details