AWS CLI
Generate and execute AWS CLI commands using natural language.
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
- Parameters:
-
get-service-details: Get details about a specific AWS service
- Parameters:
service: AWS service name (e.g., s3, ec2, lambda)
- Parameters:
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:
git clone https://github.com/IcyKallen/aws-cli-mcp-server
cd aws-cli-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
- Ensure AWS CLI is configured:
aws configure
- 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
Related Servers
Rewards Flights Public MCP
Deploy a remote, authentication-free MCP server on Cloudflare Workers to search for rewards flights.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support for secure access.
Cloudflare MCP Server
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
Alpha Vantage
Access real-time financial data, including stock prices, forex rates, and cryptocurrencies from Alpha Vantage.
GDPR Compliance Toolkit
Generate GDPR-compliant privacy policies, data processing agreements, cookie consent text, and DPIA templates for EU businesses.
Dazzle
Cloud stages for AI agents — isolated browser environments that render and broadcast your content to Twitch, Kick, Restream, and custom RTMP.
Autumn MCP Server
An unofficial MCP server for the Autumn pricing API to manage customers, entitlements, invoices, and billing portal links.
SmartThings
Integrate and control SmartThings devices using a personal access token.
BNBChain MCP
Interact with BNB Chain and other EVM-compatible networks using natural language and AI assistance.
Grafana
Access Grafana resources like dashboards, datasources, Prometheus, Loki, and alerts.