AWS S3 AccessTool

AWS S3 AccessTool

By abdullahsayyad GitHub

-

aws-s3 s3-access-tool
Overview

what is AWS S3 AccessTool?

AWS S3 AccessTool is a utility designed for MCP clients to facilitate seamless interaction with AWS S3 storage, allowing users to list buckets, retrieve objects, and filter for CSV files.

how to use AWS S3 AccessTool?

To use the AWS S3 AccessTool, set up your environment with the required AWS credentials and dependencies, then run the main Python script to execute commands for accessing S3 buckets.

key features of AWS S3 AccessTool?

  • ✅ List available S3 buckets
  • ✅ Fetch objects from specific or all buckets
  • ✅ Filter and retrieve only CSV files
  • ✅ Read the content of a CSV file from S3

use cases of AWS S3 AccessTool?

  1. Automating data retrieval from S3 for data analysis.
  2. Integrating S3 access into applications for dynamic data handling.
  3. Managing and organizing CSV files stored in S3 buckets.

FAQ from AWS S3 AccessTool?

  • Can I restrict access to specific S3 buckets?

Yes! You can specify which buckets to access using an .env file.

  • Is the AWS S3 AccessTool open-source?

Yes! The project is available under the MIT License.

Content

AWS S3 access tool for MCP Clients 🪣⚙️ Python License

This tool is an AWS S3 bucket utility built for MCP Server, allowing seamless interaction with S3 storage. It lets LLMs list available buckets, retrieve stored objects, and filter for CSV files, with built-in async support using aioboto3. Developers can integrate either locally or via Docker. The tool is optimized for automation, making S3 access smoother and more scalable.

https://github.com/user-attachments/assets/976dce46-6ee3-4c1a-b5eb-8ca1575df099

The tool supports environment-based bucket selection, meaning you can restrict access to specific buckets using an .env file.

Key Features

  • List available S3 buckets
  • Fetch objects from specific or all buckets
  • Filter and retrieve only CSV files
  • Read the content of a CSV file from S3

Requirements

Ensure you have the following dependencies installed:

pip install aioboto3 mcp[cli] python-dotenv

Environment Setup

AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_REGION=your_region
S3_BUCKETS=bucket1,bucket2  # (Optional) List of buckets to access

MCP Client Configuration

  • Configuration for Cursor.ai

     {
     "mcpServers": {
         "AWS-S3-AccessTool": {
             "command": "python",
             "args": ["C:your-absolute-path-to-the-file\\main.py"]
     		
     		}
     	}
     }
    

License ⚖️

This project is open-source and available under the MIT License.

No tools information available.
No content found.