Allows execution of AWS CLI commands through Node.js, enabling management of AWS resources like S3 buckets and EC2 instances directly from Claude.
Uses TypeScript to implement an MCP server that exposes AWS CLI functionality, providing tools to execute commands and retrieve service information for AWS services.
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
Clone this repository:
Install dependencies:
Build the project:
Ensure AWS CLI is configured:
Start the MCP server:
Integration with Claude Desktop
Add this to your claude_desktop_config.json
:
After building the project, you can use:
Example Usage in Claude
List S3 Buckets
Create an S3 Bucket
Get EC2 Service Details
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
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
An MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.
Related MCP Servers
- AsecurityFlicenseAqualityA 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 -3286
Tembo MCP Serverofficial
AsecurityAlicenseAqualityAn MCP server that enables Claude to interact with Tembo Cloud platform API, allowing users to manage Tembo Cloud resources through natural language.Last updated -107MIT License- -securityAlicense-qualityA 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 -164MIT License
- AsecurityFlicenseAqualityA 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 -34