MCPInstall
MCP-AWS-S3Upload logo

MCP-AWS-S3Upload

by adhika28 1 stars adhika28/MCP-AWS-S3Upload

This MCP automate MoP document creation and auto upload to centralized S3 bucket.

READMEmain

MCP MoP Uploader

Purpose

This application is built to automate the generation and storage of Method of Procedure (MoP) documents using a Large Language Model (LLM) from OpenAI, integrated with AWS S3 via a custom [Model Context Protocol (MCP)] tool.
The goal is to reduce manual effort in creating MoP documents and streamline their delivery to cloud storage systems.


Setup Instructions

1. Clone the repository

git clone https://github.com/adhika28/MCP-AWS-S3Upload.git
cd MCP-AWS-S3Upload

2. Create a virtual environment

python3 -m venv .venv
source .venv/bin/activate

3. Install dependencies

pip install -r requirements.txt

4. Set environment variables

You can set them via terminal or create a .env file:

export OPENAI_API_KEY="your-openai-api-key"
export AWS_ACCESS_KEY_ID="your-aws-access-key-id"
export AWS_SECRET_ACCESS_KEY="your-aws-secret-key"
export S3_BUCKET="your-s3-bucket-name"

Usage

Run the main script:

python run_mop.py

You will be prompted to enter a scenario:

MoP apa yang ingin kamu buat? provisioning EC2 with Amazon Linux

The app will:

  1. Generate a MoP document using OpenAI's GPT-4.
  2. Save it locally as Generated_MoP.docx.
  3. Upload the file to s3://test-mcp-bucket/MoP/Generated_MoP.docx.

Project Structure

.
├── run_mop.py                # Main application
├── requirements.txt          # Python dependencies
├── mcp/tools/base.py         # Simulated MCP toolbase
└── examples/tools/s3_uploader.py  # Custom S3 uploader tool

imitations and Known Issues

  • No input validation or prompt quality check is implemented.
  • Document approval workflow or versioning is not included.
  • S3 permissions must be correctly configured; otherwise, upload will fail with AccessDenied.

Future Improvements

  • Add web UI for user input
  • Implement version tracking and metadata tagging for MoP files
  • Add approval flow

Made with 💻 by Putu

More Cloud Storage & Infrastructure MCP servers

Similar servers from the same category.

DigitalOcean

digitalocean-labs

Enables AI to manage DigitalOcean cloud infrastructure by providing access to account information, droplets, domains, firewalls, and other services for monitoring and automation tasks.

git

Integrates with Spheron Protocol SDK to deploy and manage compute resources through natural language, enabling users to configure, deploy, and monitor cloud infrastructure without technical expertise.

Cloud Storage & Infrastructure

Bridges AI assistants with Tencent Cloud Object Storage services, enabling file management, metadata retrieval, and storage analytics operations

filesystemstorage

Access to Cloudflare's data on global Internet traffic

Cloud Storage & Infrastructure