README Documentation
AWS MCP Infrastructure
This project provides a complete solution for deploying AWS infrastructure using:
- Chat interface with natural language processing (NLP)
- Integration with Model Context Protocol (MCP)
- RESTful API with Express
- Modern and responsive GUI
🚀 Quick Installation
-
Install dependencies:
npm install
-
Configure AWS:
- Edit the
.env
file - Add your
AWS_ACCESS_KEY_ID
- Add your
AWS_SECRET_ACCESS_KEY
- Edit the
-
Start the server:
npm run dev
-
Access the application:
- Chat GUI: http://localhost:3000
- API Docs: http://localhost:3000/api-docs
📝 Example Commands
In the chat interface you can use commands like:
- "Create an S3 bucket named photos-2024"
- "Deploy a small EC2 instance"
- "Create a DynamoDB table for users"
- "Deploy a Lambda function in Python"
- "Show all resources"
- "Delete the bucket s3-1234567890"
🛡️ Security Considerations
- Never upload the
.env
file to a repository - Created resources may incur AWS costs
- Use IAM roles with the minimum necessary permissions
- For production, add authentication to the endpoints
📁 Project Structure
aws-mcp-infrastructure/
├── src/
│ ├── config/ # Configurations (AWS, Swagger)
│ ├── middleware/ # Express middlewares
│ ├── routes/ # API routes
│ ├── services/ # Business logic
│ │ ├── aws/ # AWS services
│ │ └── mcp/ # MCP server
│ ├── types/ # TypeScript types
│ └── utils/ # Utilities (logger, validators)
├── public/ # Static files (Chat GUI)
├── package.json # Dependencies
├── tsconfig.json # TypeScript configuration
└── .env # Environment variables
Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a branch for your feature
- Commit your changes
- Push to the branch
- Create a Pull Request
📄 License
MIT License
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source