flask-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flask-mcp-servercheck my AWS resources"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Flask MCP Server with AWS Cost Optimizer
Executive Summary
Enterprise Flask application suite featuring Model Context Protocol (MCP) server integration and a comprehensive AWS cost optimization platform. Designed for production environments with scalable architecture and business-grade reporting capabilities.
Dashboard Features: Professional web interface displaying real-time cost analysis with $147/month tracking and $45 potential savings identification. The dashboard includes interactive charts, cost breakdown visualizations, and AI-powered optimization recommendations with priority rankings.
Repository Structure
flask-mcp-server/
├── aws-cost-optimizer/ # Primary AWS cost optimization platform
│ ├── app.py # Flask web application
│ ├── templates/ # Web dashboard UI
│ ├── static/ # CSS, JavaScript assets
│ ├── services/ # AWS integration services
│ ├── routes/ # REST API endpoints
│ └── mcp/ # Claude Desktop integration
│
├── flask_app_mcp.py # Original MCP server implementation
├── start_flask.py # MCP server utilities
├── test_mcp_server.py # Testing framework
└── requirements.txt # Python dependenciesPrimary Project: AWS Cost Optimizer
Business Impact
Cost Reduction Achieved: $45/month savings identified (30.6% reduction)
Resources Monitored: 6 AWS resources across EC2, S3, EBS services
Account Integration: Live connection to AWS account 611377760416
Monthly Cost Tracking: $147.00 with real-time analysis
Enterprise Features
Health Monitoring: Check app status and endpoints
Route Discovery: Automatically find Flask routes
AWS Integration: Connect to AWS services
Claude AI Integration: Natural language Flask app control
📋 Available Tools
Tool | Description |
| Start your Flask application |
| Stop the Flask application |
| Check if Flask is running |
| Show all Flask routes |
| Test specific endpoints |
| View application logs |
| Deploy to AWS |
| Check AWS resources |
⚙️ Configuration
Edit the .env file:
FLASK_APP_PATH=/path/to/your/flask/app
AWS_REGION=us-west-2
FLASK_HOST=127.0.0.1
FLASK_PORT=5000🔧 Claude Desktop Setup
Add to your Claude Desktop config:
{
"mcpServers": {
"flask-mcp-server": {
"command": "python",
"args": ["/full/path/to/flask_app_mcp.py"],
"env": {
"AWS_REGION": "us-west-2"
}
}
}
}📝 License
MIT License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arthurperch/flask-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server