Script for integrating OpenAPI specifications with S3 storage and Cognito authentication.
## 🔍 Usage
### Quick Reference
1. Configure your settings in `config.yaml`
2. Create the gateway: `./create_gateway.sh`
3. Test the gateway: `./mcp_cmds.sh`
4. For debugging, capture output: `./mcp_cmds.sh 2>&1 | tee mcp_cmds.log`
5. Verify gateway is running and accessible
6. Generate tokens as needed for client authentication
### Development Mode
For development and testing, you can also run components individually:
```bash
# Generate tokens
python generate_token.py
# Create gateway with specific config
python main.py --config config.yaml
# Add OpenAPI targets
./openapi_s3_target_cognito.sh
```
## ⚠️ Important Notes
- Always run `mcp_cmds.sh` from the gateway directory
- Ensure `config.yaml` is properly configured before setup
- The gateway must be running before starting SRE Agent investigations
- Keep authentication tokens secure and rotate them regularly
- Log files (*.log) are automatically ignored by git - safe to create for debugging
## 🔗 Integration
Once the gateway is set up and running, it provides the MCP endpoint that the SRE Agent core system connects to for accessing infrastructure APIs and tools.