What is AWS Resources MCP Server?
A Model Context Protocol server that runs generated Python code to query any AWS resources through boto3. It is intended for users who want to interact with AWS services via natural language through an MCP client like Claude Desktop.
How to use AWS Resources MCP Server?
Install via Smithery (npx -y @smithery/cli install ...) or pull the Docker image from Docker Hub. Configure AWS credentials using environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, optional AWS_SESSION_TOKEN) or by mounting a local ~/.aws credentials file and setting AWS_PROFILE. Invoke the query_aws_resources tool with a code_snippet string containing boto3 code that sets a result variable.
Key features of AWS Resources MCP Server
- Runs from a Docker image – no git clone required
- Uses Python and boto3 for all AWS resource queries
- Supports Linux/amd64, Linux/arm64, and Linux/arm/v7 platforms
- Sandboxes code execution with a restricted set of allowed imports and built-ins
- Accepts both access key and profile-based AWS authentication
Use cases of AWS Resources MCP Server
- Query AWS resources (e.g., S3 buckets, CodePipeline deployments) through natural language
- Debug and fix AWS configuration issues, such as DynamoDB permission errors
- Retrieve operational data from AWS using generated boto3 code
Comments