AWS Resources

by baryhuang

6 stars
406 downloads
Not rated
GitHub

About

Provides a Python-based interface for executing AWS queries across services like S3 and CodePipeline, enabling DevOps tasks and cloud resource management.

Details

Author
baryhuang
Repository
baryhuang/mcp-server-aws-resources-python
GitHub stars
6
Downloads
406
License
MIT License
Categories
Productivity, Developer Tools, Design, AI, Community, Search, Infrastructure, Frontend, Cloud Service

- Executes boto3 code to query or modify AWS resources.
- Runs via Docker – no git clone needed.
- Python-based for stability and easy contributions.
- AST-based code analysis for execution safety.
- Restricted environment with limited imports and built‑ins.
- JSON serialization with proper AWS object handling.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name AWS Resources
    Command (node, npx, python, etc.) /Users/gmr/.local/bin/uv
    Arguments
    • Argument 1 --directory
    • Argument 2 /<your-path>/mcp-server-aws-resources-python
    • Argument 3 run
    • Argument 4 src/mcp_server_aws_resources/server.py
    • Argument 5 --profile
    • Argument 6 testing

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the server via Docker (pull the image or build locally) or through Smithery. Configure AWS credentials using environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION) or an AWS profile mounted from ~/.aws. In Claude Desktop, add the server to your MCP configuration with the Docker run command. Invoke the tool aws_resources_query_or_modify by providing a Python code snippet that uses boto3 and sets a result variable.

aws_resources_query_or_modify

Execute a boto3 code snippet to query or modify AWS resources. Input: code_snippet (string): Python code using boto3 to query AWS resources. The code must set a result variable with the query output.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "aws resources": {
            "cwd": "/<your-path>/mcp-server-aws-resources-python",
            "env": {},
            "args": [
                "--directory",
                "/<your-path>/mcp-server-aws-resources-python",
                "run",
                "src/mcp_server_aws_resources/server.py",
                "--profile",
                "testing"
            ],
            "command": "/Users/gmr/.local/bin/uv"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_ACCESS_KEY_ID=your_access_key_id_here",
        "-e",
        "AWS_SECRET_ACCESS_KEY=your_secret_access_key_here",
        "-e",
        "AWS_DEFAULT_REGION=us-east-1",
        "buryhuang/mcp-server-aws-resources:latest"
    ],
    "command": "docker"
}

Macos

{
    "cwd": "/<your-path>/mcp-server-aws-resources-python",
    "env": [],
    "args": [
        "--directory",
        "/<your-path>/mcp-server-aws-resources-python",
        "run",
        "src/mcp_server_aws_resources/server.py",
        "--profile",
        "testing"
    ],
    "command": "/Users/gmr/.local/bin/uv"
}

Windows

{
    "env": [],
    "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_PROFILE=default",
        "-v",
        "~/.aws:/root/.aws",
        "buryhuang/mcp-server-aws-resources:latest"
    ],
    "command": "docker"
}

AWS Resources MCP Server

Docker Hub
Docker Hub

<a href="https://glama.ai/mcp/servers/@baryhuang/mcp-server-aws-resources-python">
AWS Resources Server MCP server
</a>

Overview

A Model Context Protocol (MCP) server implementation that provides running generated python code to query any AWS resources through boto3.

At your own risk:
I didn't limit the operations to ReadyOnly, so that cautious Ops people can be helped using this tool doing management operations. Your AWS user role will dictate the permissions for what you can do.

image

Demo: Fix Dynamodb Permission Error

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.