Sponsored by Deepsite.site

AWS Storage MCP Server

Created By
aquavis127 months ago
A Model Context Protocol (MCP) server that enables natural language interactions with AWS storage services through Amazon Q CLI.
Content

AWS Storage MCP Server

AWS Storage MCP License

A Model Context Protocol (MCP) server that enables natural language interactions with AWS storage services through Amazon Q CLI.

Disclaimer

This project is provided "as is" without warranty of any kind, express or implied. The authors and contributors are not responsible for any damages or liabilities that may arise from using this software.

  • Not an Official AWS Product: This is a community project and is not officially supported by Amazon Web Services.
  • Use at Your Own Risk: Review all operations before executing them, especially those that modify or delete resources.
  • Cost Implications: Using AWS services may incur costs to your AWS account. You are responsible for monitoring and managing these costs.
  • Security Considerations: This tool requires AWS credentials to function. Always follow security best practices when handling credentials.
  • No Liability: The authors and contributors cannot be held liable for any data loss, unexpected charges, or other damages resulting from the use of this software.

What is MCP?

The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). MCP enables communication between LLMs like Amazon Q and locally running MCP servers that provide additional tools and capabilities.

Why Use MCP?

  • Natural Language Interface: Interact with AWS services using plain English instead of complex CLI commands
  • Simplified Workflows: Perform complex operations with simple queries like "list my S3 buckets"
  • Contextual Understanding: MCP servers provide domain-specific knowledge to LLMs
  • Extended Capabilities: Add new functionalities to your LLM without retraining the model
  • Local Execution: Operations execute on your local machine with your credentials

What This Project Does

This AWS Storage MCP server connects Amazon Q to your AWS storage services, allowing you to:

  1. Query AWS storage resources using natural language
  2. Perform operations on AWS storage services without remembering complex commands
  3. Get information about your storage resources in a conversational manner
  4. Manage multiple storage services from a single interface

Architecture Diagram

Supported AWS Storage Services

  • Amazon S3: Object storage for any type of data
  • Amazon EBS: Block storage for EC2 instances
  • Amazon EFS: Scalable file storage for EC2 instances
  • Amazon FSx: Fully managed file storage built on Windows Server
  • AWS Storage Gateway: Hybrid cloud storage that connects on-premises environments with cloud storage
  • Amazon S3 Glacier: Low-cost archive storage
  • AWS Snow Family: Physical devices for data migration and edge computing
  • AWS Backup: Centralized backup service
  • Amazon S3 Object Lambda: Process S3 data during retrieval
  • Amazon S3 Glacier Deep Archive: Lowest-cost archive storage class

Prerequisites

  • Docker and Docker Compose
  • AWS CLI configured with valid credentials
  • Amazon Q CLI installed

Quick Start

Troubleshooting

If you encounter issues:

  1. Check Docker Container Status

    docker ps | grep aws-storage
    
  2. View Container Logs

    docker logs aws-storage-mcp-aws-storage-mcp-1
    
  3. Test the API Directly

    curl -s -X POST -H "Content-Type: application/json" -d '{"tool_name": "list_aws_profiles", "parameters": {}}' http://localhost:8080/invoke
    
  4. Verify AWS Credentials Make sure your AWS credentials are valid and have the necessary permissions.

  5. Restart the Container

    docker compose restart
    

Project Structure

aws-storage-mcp/
├── README.md               # This documentation
├── requirements.txt        # Python dependencies
├── mcp-manifest.json       # MCP server manifest
├── docker-compose.yml      # Docker configuration
├── docker-compose.override.yml # Volume mapping for AWS credentials
├── Dockerfile              # Docker build instructions
├── setup.sh                # Environment setup script
├── start-docker.sh         # Server startup script
└── src/                    # Source code
    ├── server.py           # MCP server implementation
    └── services/           # AWS service modules
        ├── __init__.py
        ├── base.py         # Base service class
        ├── s3.py           # S3 operations
        ├── ebs.py          # EBS operations
        ├── efs.py          # EFS operations
        └── ...             # Other service modules

Documentation

Contributing

Contributions are welcome! Please read our Contributing Guide for details on how to submit pull requests, report issues, and suggest enhancements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Security Notes

  • This MCP server runs with your AWS credentials
  • All operations are executed with your permissions
  • Review the code before running in production environments
  • Consider using IAM roles with least privilege principles
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor