flask-mcp-server
Click on "Deploy 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
A small MCP server so an AI assistant can start/stop a Flask app and ask a few AWS questions.
This is a learning project. It is not an enterprise platform.
There is also a Flask dashboard under aws-cost-optimizer/ that lists AWS resources and estimated spend. Those numbers come from the account it is pointed at. Do not treat the screenshot as a product claim.
What it can do
Tool | What it does |
| Start the Flask app |
| Stop it |
| Is it running? |
| List Flask routes |
| Hit one endpoint |
| Show logs |
| List a few AWS resources |
Related MCP server: Cost Management MCP
Setup
Copy .env.example to .env and fill in:
FLASK_APP_PATH=/path/to/your/flask/app
AWS_REGION=us-west-2
FLASK_HOST=127.0.0.1
FLASK_PORT=5000Point Claude Desktop (or any MCP client) at flask_app_mcp.py:
{
"mcpServers": {
"flask-mcp-server": {
"command": "python",
"args": ["/full/path/to/flask_app_mcp.py"],
"env": {
"AWS_REGION": "us-west-2"
}
}
}
}Layout
flask_app_mcp.py MCP server
start_flask.py helper
aws-cost-optimizer/ Flask dashboardMIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for AWS cloud spend: service breakdowns, anomalies, savings and forecasts.
Cloudflare Workers MCP server: ai-cost-optimizer
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceAn MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.2-
- AlicenseBqualityCmaintenanceAn MCP server for unified cost tracking and analysis across AWS, OpenAI, and Anthropic. It enables users to query expenditures, compare costs across providers, and analyze usage trends through natural language.10MIT
- AlicenseAqualityBmaintenanceCloud cost management MCP server for Azure. Ask your AI about your cloud bill.1535 npm1MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for managing AWS ECS clusters, services, tasks, and container logs. Enables AI assistants to perform operations like scaling, deployments, and log retrieval via natural language.-