AWS S3 Access Tool logo

AWS S3 Access Tool

by abdullahsayyad

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.

View on GitHub

Last updated: N/A

What is AWS S3 Access Tool?

This is an AWS S3 bucket utility designed for MCP Server clients. It provides functionalities to interact with S3 storage, including listing buckets, retrieving objects, and filtering for CSV files.

How to use AWS S3 Access Tool?

To use this tool, install the required dependencies (aioboto3, mcp[cli], python-dotenv). Configure your AWS credentials and optional bucket list in an .env file. Then, configure the MCP client with the path to the main.py file.

Key features of AWS S3 Access Tool

  • 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 Access Tool

  • Automated data retrieval from S3 buckets

  • Integration with LLMs for data analysis

  • Batch processing of CSV files stored in S3

  • Access control and filtering of S3 data based on environment variables

FAQ from AWS S3 Access Tool

How do I configure my AWS credentials?

Set the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION environment variables in your .env file.

How do I restrict access to specific buckets?

Set the S3_BUCKETS environment variable in your .env file with a comma-separated list of bucket names.

What is aioboto3?

aioboto3 is an asynchronous version of the boto3 AWS SDK for Python, allowing for non-blocking I/O operations.

What is MCP?

MCP refers to the MCP Server, for which this utility is designed to provide S3 access.

What license is this project under?

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