Claude-powered warehouse management system that coordinates inventory, AGVs, and order processing through specialized agents using Model Context Protocol patterns.
This project simulates a smart warehouse system powered by Claude using Model Context Protocol (MCP) patterns. The system manages inventory, automated guided vehicles (AGVs), and order processing through a set of specialized agents coordinated by Claude.
claude-mcp-agent-for-supply-chain/
├── agents/ # MCP agent modules
├── simulation/ # Warehouse simulation logic
├── api/ # FastAPI endpoints
├── logs/ # Action and decision logs
├── claude_interface.py # Interface to Claude API
├── main.py # Main application entry point
Create a virtual environment:
python -m venv venv
Activate the virtual environment:
venv\Scripts\activate
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Set up environment variables:
cp claude.env.template claude.env
Then edit claude.env
to add your Anthropic API key.
Run the application:
python main.py
GET /inventory
: Get current inventory statusGET /agvs
: Get status of all AGVsPOST /orders
: Create a new orderPOST /ask-agent
: Send a query to Claude agentGET /logs
: Get recent action logsExample prompt to Claude:
The inventory for Product X is at 5 units, below the threshold of 10. Two AGVs are available. Suggest an optimal action.
Claude will analyze the situation and return structured actions that the system can execute.
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!