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
Alibaba Cloud OPS
A server for managing Alibaba Cloud services, requiring an Access Key ID and Secret for authentication.
CML MCP Server
An MCP server for interacting with Cloudera Machine Learning (CML).
CloudWatch Logs
Access AWS CloudWatch logs to list log groups and read log entries.
PayPal by CData
A read-only MCP server for querying live PayPal data, powered by the CData JDBC Driver.
Google Ads
MCP server acting as an interface to the Google Ads, enabling programmatic access to Google Ads data and management features.
CData Zuora MCP Server
An MCP server for Zuora, powered by the CData JDBC Driver. Requires a separate driver and configuration file for connection.
Geo Location Demo
Retrieves user geolocation information using EdgeOne Pages Functions and exposes it via an MCP server.
AlibabaCloud DevOps MCP
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform.
AWS Cost Explorer & Bedrock Logs
Retrieve AWS spend data from Cost Explorer and Amazon Bedrock usage data from CloudWatch logs.
Crypto MCP
Query cryptocurrency prices, market trends, details, and K-line data.