🏗️ AWS Well-Architected MCP Server
A powerful Model Context Protocol (MCP) server that provides seamless integration with AWS Well-Architected Framework for AI assistants like GitHub Copilot, AWS Q, Cursor, and other modern IDEs.
🚀 Features
- Complete AWS Well-Architected Integration: Access all major Well-Architected Framework capabilities
- AI Assistant Ready: Works with GitHub Copilot, AWS Q, Cursor, and other MCP-compatible tools
- Easy Configuration: Simple setup for any IDE or AI assistant
- Secure AWS Access: Uses your existing AWS credentials and profiles
- Rich Functionality:
- List and explore Well-Architected lenses
- Manage workloads and reviews
- Access improvement recommendations
- Generate reports
- Track milestones
📋 Prerequisites
- Python 3.11+
- AWS CLI configured (
aws configure) - Active AWS credentials with Well-Architected permissions
- An IDE or AI assistant that supports MCP (VS Code, Cursor, etc.)
🛠️ Installation
Option 1: Install from PyPI (Recommended)
pip install wellarchitected-mcp-server
Option 2: Install with uvx (Preferred for AI assistants)
uvx wellarchitected-mcp-server@latest
Option 3: Development Installation
git clone <repository-url>
cd wellarchitected-mcp-server
pip install -e .
⚙️ Configuration
AWS Credentials Setup
Ensure your AWS credentials are configured:
aws configure
# or
export AWS_PROFILE=your-profile
export AWS_REGION=us-east-1
Required AWS Permissions
Your AWS credentials need the following permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"wellarchitected:List*",
"wellarchitected:Get*",
"wellarchitected:Create*",
"wellarchitected:Update*"
],
"Resource": "*"
}
]
}
🔧 IDE and AI Assistant Configuration
GitHub Copilot (VS Code)
Add to your .vscode/settings.json:
{
"github.copilot.chat.experimental.modelContextProtocol.servers": {
"aws-wellarchitected": {
"command": "uvx",
"args": ["wellarchitected-mcp-server@latest"],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-east-1"
}
}
}
}
AWS Q (if supporting MCP)
{
"mcp_servers": {
"aws-wellarchitected": {
"command": "wellarch-mcp",
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-east-1"
}
}
}
}
Cursor IDE
Add to your Cursor configuration:
{
"mcp": {
"servers": {
"aws-wellarchitected": {
"command": "uvx",
"args": ["wellarchitected-mcp-server@latest"],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "us-east-1"
}
}
}
}
}
Other IDEs
For any MCP-compatible tool, use:
{
"command": "wellarch-mcp",
"args": ["start-server"],
"env": {
"AWS_PROFILE": "your-profile",
"AWS_REGION": "your-region"
}
}
🚦 Quick Start
1. Test Your Connection
wellarch-mcp test-connection
2. Start the Server Manually
wellarch-mcp start-server --host 0.0.0.0 --port 8000
3. Use with Your AI Assistant
Once configured, you can ask your AI assistant questions like:
- "List my AWS Well-Architected workloads"
- "Show me the lenses available in Well-Architected"
- "Create a new workload for my production environment"
- "What are the improvement recommendations for workload xyz?"
- "Generate a lens review report for my workload"
🛠️ Available Tools
The MCP server provides these tools to AI assistants:
| Tool | Description |
|---|---|
list_lenses |
List available Well-Architected lenses |
get_lens_details |
Get detailed information about a specific lens |
list_workloads |
List your Well-Architected workloads |
get_workload_details |
Get detailed workload information |
create_workload |
Create a new workload |
list_answers |
List answers for a workload review |
get_answer_details |
Get detailed answer information |
list_milestones |
List workload milestones |
get_lens_review_report |
Generate a lens review report |
list_improvement_summaries |
Get improvement recommendations |
🧪 Development and Testing
Local Development
# Clone the repository
git clone <repository-url>
cd wellarchitected-mcp-server
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
# Format code
black .
isort .
# Type checking
mypy .
Environment Variables
| Variable | Description | Default |
|---|---|---|
AWS_PROFILE |
AWS profile to use | default |
AWS_REGION |
AWS region | us-east-1 |
FASTMCP_LOG_LEVEL |
Logging level | INFO |
📝 Example Usage
Here are some example interactions you can have with your AI assistant:
List Workloads
"Show me all my Well-Architected workloads"
Create a Workload
"Create a new Well-Architected workload called 'MyApp Production' for a production environment in us-east-1 and us-west-2"
Get Improvement Recommendations
"What improvements are recommended for workload abc123?"
Generate Report
"Generate a lens review report for my workload xyz789"
🔒 Security Considerations
- Always use IAM roles with least-privilege access
- Never hardcode AWS credentials
- Use AWS profiles for different environments
- Monitor MCP server logs for security events
- Keep the server updated to the latest version
🤝 Contributing
We welcome contributions! Please see our contributing guidelines for details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
- 📚 Check the AWS Well-Architected documentation
- 🐛 Report issues on GitHub
- 💬 Join our community discussions
🚀 What's Next?
- Integration with more AI assistants
- Enhanced reporting capabilities
- Multi-account support
- Custom lens support
- Automated workload analysis
Made with ❤️ for the AWS and AI community
Metadata
Release files for wellarchitected-mcp-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wellarchitected_mcp_server-0.1.3.tar.gz | 11.6 kB | Without provenance | Details for wellarchitected_mcp_server-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wellarchitected_mcp_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for wellarchitected_mcp_server-0.1.3-py3-none-any.whl |
Total release size: 22.7 kB
Release files / wellarchitected_mcp_server-0.1.3.tar.gz
| Download URL | wellarchitected_mcp_server-0.1.3.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6075a89df4509a2dbd820dcd9a1fa1f26f41f12614726ee809d8dafd79093db8
|
|
BLAKE2b-256 checksum How to use checksums |
ddbe91872e063550c0f933354d0f6e9c9484ccc3ba896f4605a63405c744ca7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / wellarchitected_mcp_server-0.1.3-py3-none-any.whl
| Download URL | wellarchitected_mcp_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99836542032bfa06f03b248b219b47449bfc8f8d9bd9cf2f5f088af45f6e0191
|
|
BLAKE2b-256 checksum How to use checksums |
e535f2bbad07187eacb59aa18ae3279a25b77a7833447f9fc019add54112184a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for wellarchitected-mcp-server 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.