AWS Resources MCP Server
by MCP-Mirror/baryhuang
This is a Model Context Protocol (MCP) server implementation that provides running generated python code to query any AWS resources through boto3. It offers a more flexible and cost-effective alternative to AWS Chatbot for querying AWS resources.
Last updated: N/A
What is AWS Resources MCP Server?
The AWS Resources MCP Server is a server that allows you to query and potentially manage AWS resources using Python code snippets executed through the Model Context Protocol (MCP). It leverages boto3, the AWS SDK for Python, to interact with AWS services.
How to use AWS Resources MCP Server?
To use the server, you can install it via Smithery or Docker. You'll need to provide AWS credentials (access key ID, secret access key, and optionally a session token or profile). Once installed, you can send Python code snippets to the server to query AWS resources. The code must set a result
variable with the query output.
Key features of AWS Resources MCP Server
Query AWS resources with Python and boto3
Runs in a Docker container for easy deployment
Sandboxed code execution for security
Supports multiple platforms (Linux/amd64, Linux/arm64, Linux/arm/v7)
Integration with Claude Desktop via MCP
Use cases of AWS Resources MCP Server
Troubleshooting AWS resource configurations
Automating AWS resource inventory and reporting
Performing AWS management operations (with caution)
Integrating AWS resource data into other applications
Creating custom AWS monitoring dashboards
FAQ from AWS Resources MCP Server
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
The Model Context Protocol (MCP) is a protocol that allows language models to interact with external tools and services.
How do I get AWS credentials?
How do I get AWS credentials?
You can create an IAM user in your AWS account and generate access keys for programmatic access. Ensure the IAM user has the necessary permissions for the AWS services you want to query.
What are the allowed imports in the code snippets?
What are the allowed imports in the code snippets?
The allowed imports are boto3, operator, json, datetime, and pytz.
How do I install the server?
How do I install the server?
You can install the server via Smithery or Docker. Follow the instructions in the README for detailed steps.
Is it safe to use this server for management operations?
Is it safe to use this server for management operations?
Use with caution. The server doesn't limit operations to ReadOnly, so your AWS user role will dictate the permissions for what you can do. Ensure you understand the potential impact of your code snippets before executing them.