# Quick Start Guide - Inventory MCP with Claude
## ✅ Setup Complete!
Your inventory MCP server has been successfully configured for Claude Desktop!
## Next Steps
### 1. Restart Claude Desktop
**Important**: You must restart Claude Desktop for the changes to take effect.
1. **Close Claude Desktop completely** (make sure it's not running in the background)
2. **Reopen Claude Desktop**
3. The inventory MCP server will start automatically
### 2. Test the Connection
Once Claude Desktop is running, try these commands:
#### List All Inventory
```
List all inventory items
```
#### Check Stock
```
Check stock for LAP-001 at Bengaluru
What's the quantity of iPhone 14 at Bengaluru?
```
#### Add Inventory
```
Add 5 units of Test Laptop (TEST-001) at Mumbai
```
#### Remove Inventory
```
Remove 2 units of LAP-001 from Bengaluru
```
#### Location-Based Queries
```
Show me all items at Mumbai
What items are available in Delhi?
```
## Available Tools
Claude now has access to these inventory management tools:
| Tool | Description | Example |
|------|-------------|---------|
| `list_inventory` | Get all items | "Show all inventory" |
| `check_stock` | Check specific item | "Stock for LAP-001 at Bengaluru" |
| `add_inventory` | Add/update items | "Add 10 laptops to Mumbai" |
| `remove_inventory` | Remove items | "Remove 5 units from Delhi" |
## Troubleshooting
### MCP Server Not Working?
1. **Check if Claude Desktop restarted**: Fully close and reopen
2. **Verify Python path**: The config uses `C:\Users\aditi\Anaconda3\python.exe`
3. **Check server script path**: `C:\Users\aditi\Downloads\inventory-mcp-server-master\inventory-mcp-server.py`
### Test Server Manually
Run this command to verify the server works:
```bash
python inventory-mcp-server.py
```
### Check Configuration File
Location: `C:\Users\aditi\AppData\Roaming\Claude\claude_desktop_config.json`
Should contain:
```json
{
"mcpServers": {
"inventory-mcp": {
"command": "C:\\Users\\aditi\\Anaconda3\\python.exe",
"args": ["C:\\Users\\aditi\\Downloads\\inventory-mcp-server-master\\inventory-mcp-server.py"],
"env": {
"SUPABASE_DB_PASSWORD": "root"
}
}
}
}
```
### Database Connection Issues
1. Test database connection:
```bash
python test_connection.py
```
2. Verify Supabase credentials in `inventory-mcp-server.py`
## Configuration Details
- **Supabase URL**: `https://sitomhzoqsoqpkaglxzg.supabase.co`
- **Database**: `postgres`
- **Port**: `6543` (Connection Pooler)
- **Current Records**: 24 items in inventory
## Sample Data
Your database includes:
- **Laptops** (LAP-001 to LAP-006) - Dell, HP, Lenovo, Apple, Asus, Acer
- **Mobile Phones** (MOB-001 to MOB-006) - iPhone, Samsung, OnePlus, Google Pixel, Xiaomi, Realme
- **Tablets** (TAB-001 to TAB-006) - iPad, Samsung Tab, Lenovo, Surface, Fire HD, iBall
- **Accessories** (ACC-001 to ACC-006) - Mouse, Keyboard, Dock, Charger, AirPods, Headphones
**Locations**: Bengaluru, Mumbai, Delhi, Pune
## Need Help?
- See `CLAUDE_SETUP.md` for detailed setup instructions
- See `README.md` for general project documentation
- Run `python test_connection.py` to test database connectivity