AWS Resources MCP Server
@MCP-Mirror
About AWS Resources MCP Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"baryhuang_mcp-server-aws-resources-python": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"mcp-server-aws-resources-python",
"--client",
"claude"
]
}
}
}Tools
1Execute a boto3 code snippet to query AWS resources
Overview
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
FAQ from AWS Resources MCP Server
What AWS credentials are required?
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, optionally AWS_SESSION_TOKEN, and AWS_DEFAULT_REGION. Alternatively, you can use a profile stored in ~/.aws/credentials by setting the AWS_PROFILE environment variable.
Is the server limited to read-only operations?
No. The author did not restrict operations to ReadOnly, so your IAM user role dictates what operations you can perform.
How do I run the server?
You can either pull and run the Docker image (docker pull buryhuang/mcp-server-aws-resources:latest) or clone the repository and run it locally with uv. For Claude Desktop, configure the MCP server with a Docker command and pass in the required environment variables.
What imports are allowed in the code snippet?
Only these imports are permitted: boto3, operator, json, datetime, and pytz. A set of built-in functions (e.g., len, max, sorted, dict) is also available.
Where does the executed code run?
The code runs inside a Docker container, which provides sandboxing and keeps execution environment clean and isolated.
More Cloud & Infrastructure MCP servers
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
GCP MCP
eniayomiA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your Google Cloud Platform environment. This allows for natural language querying and management of your GCP resources during conversations.
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
Comments