{"type":"mcp_server","name":"mcp-server-aws-resources-python","description":"This repository provides an MCP server that executes Python code to query and manage AWS resources using boto3. It offers a Docker-based, Python-centric alternative to existing solutions, prioritizing stability, ease","category":"System Tools","language":"Python","stars":24,"forks":3,"owner":"baryhuang","github_url":"https://github.com/baryhuang/mcp-server-aws-resources-python","homepage":null,"setup":"## Setup\n\n### Prerequisites\n\nYou'll need AWS credentials with appropriate permissions to query AWS resources. You can obtain these by:\n1. Creating an IAM user in your AWS account\n2. Generating access keys for programmatic access\n3. Ensuring the IAM user has necessary permissions for the AWS services you want to query\n\nThe following environment variables are required:\n- `AWS_ACCESS_KEY_ID`: Your AWS access key\n- `AWS_SECRET_ACCESS_KEY`: Your AWS secret key\n- `AWS_SESSION_TOKEN`: (Optional) AWS session token if using temporary credentials\n- `AWS_DEFAULT_REGION`: AWS region (defaults to 'us-east-1' if not set)\n\nYou can also use a profile stored in the `~/.aws/credentials` file. To do this, set the `AWS_PROFILE` environment variable to the profile name.\n\nNote: Keep your AWS credentials secure and never commit them to version control.\n\n### Installing via Smithery\n\nTo install AWS Resources MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-server-aws-resources-python):\n\n```bash\nnpx -y @smithery/cli install mcp-server-aws-resources-python --client claude\n```\n\n### Docker Installation\n\nYou can either build the image locally or pull it from Docker Hub. The image is built for the Linux platform.\n\n#### Supported Platforms\n- Linux/amd64\n- Linux/arm64\n- Linux/arm/v7\n\n#### Option 1: Pull from Docker Hub\n```bash\ndocker pull buryhuang/mcp-server-aws-resources:latest\n```\n\n#### Option 2: Build Locally\n```bash\ndocker build -t mcp-server-aws-resources .\n```\n\nRun the container:\n```bash\ndocker run \\\n  -e AWS_ACCESS_KEY_ID=your_access_key_id_here \\\n  -e AWS_SECRET_ACCESS_KEY=your_secret_access_key_here \\\n  -e AWS_DEFAULT_REGION=your_AWS_DEFAULT_REGION \\\n  buryhuang/mcp-server-aws-resources:latest\n```\n\nOr using stored credentials and a profile:\n```bash\ndocker run \\\n  -e AWS_PROFILE=[AWS_PROFILE_NAME] \\\n  -v ~/.aws:/root/.aws \\\n  buryhuang/mcp-server-aws-resources:latest\n```\n\n## Cross-Platform Publishing\n\nTo publish the Docker image for multiple platforms, you can use the `docker buildx` command. Follow these steps:\n\n1. **Create a new builder instance** (if you haven't already):\n   ```bash\n   docker buildx create --use\n   ```\n\n2. **Build and push the image for multiple platforms**:\n   ```bash\n   docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t buryhuang/mcp-server-aws-resources:latest --push .\n   ```\n\n3. **Verify the image is available for the specified platforms**:\n   ```bash\n   docker buildx imagetools inspect buryhuang/mcp-server-aws-resources:latest\n   ```","tools":"## Available Tools\n\n1.  `aws://query_resources` (A dynamic resource that provides access to AWS resources through boto3 queries)\n2.  `query_aws_resources` (Execute a boto3 code snippet to query AWS resources)\n","faq":null,"created_at":"2025-01-14T08:41:10+00:00","updated_at":"2025-03-22T13:08:21+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-aws-resource-management-python","related_articles":[]}