# Leftover Inventory Manager MCP for AI Agents MCP

> Leftover Inventory Manager tracks every scrap piece and offcut generated during your material cutting process. It helps you implement a 'reuse first' system by letting your AI agent efficiently match needed dimensions to available waste inventory, drastically minimizing costly material waste.

## Overview
- **Category:** inventory-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_07FhTL8ywERBDcxnH3w5q6SF9zlNkHIkOjYEA0kY/mcp
- **Tags:** offcuts, waste-reduction, material-tracking, optimization, inventory

## Description

You can stop throwing away usable scraps. This MCP connects your AI agent directly into your material cutting workflow, enforcing the 'Reuse First' principle across your facility. Instead of managing piles of unsorted scrap, your system tracks every offcut piece as it's generated by processes like first-fit-decreasing cutting. You use this connection to log new waste pieces, ensuring everything is counted immediately. Then, when a job comes in needing specific dimensions, the agent finds the best available match from your inventory. This process isn't just about tracking; it’s about maximizing every board foot and keeping cash in the business by making sure nothing gets wasted. You connect this entire system through Vinkius, getting one central place to manage all your operational data.

## Tools

### filter_incoming_waste
Logs new scrap pieces and adds them directly into the inventory count for tracking.

### get_inventory_composition
Retrieves a summary report detailing how many offcuts you have available across different size categories.

### match_requirement_to_offcut
Searches the entire inventory to find the single best-fitting waste piece for specified dimensions and requirements.

## Prompt Examples

**Prompt:** 
```
I need a new component that is 150mm long and 75mm wide. What's the best offcut I have right now?
```

**Response:** 
```
**Analysis Complete:** 

The optimal match for your required dimensions (150mm x 75mm) is available in **Inventory Lot B**. 

*   **Source Piece Dimensions:** 200mm L x 90mm W 
*   **Usable Area:** 150mm x 75mm 
*   **Remaining Scrap:** A scrap piece of 50mm x 90mm remains from this cut. 

This option uses the least valuable source material while fulfilling your exact need.
```

**Prompt:** 
```
How does my current offcut inventory look right now? I want a size breakdown.
```

**Response:** 
```
Here is an audit of your current scrap stock, grouped by usable size tier:

*   **Small Pieces (under 10cm):** 12 units available.
*   **Medium Pieces (10-30cm):** 8 units available. 
*   **Large Pieces (over 30cm):** 5 units available, including one piece measuring 120mm x 60mm.

Overall stock health is good for mid-sized components.
```

**Prompt:** 
```
Add these new scraps to the inventory: [{'length': 180, 'width': 45}, {'length': 90, 'width': 30}]
```

**Response:** 
```
**Waste Logging Successful.**

The following pieces were logged and added to your active inventory:

*   Piece 1: 180mm x 45mm (Added successfully)
*   Piece 2: 90mm x 30mm (Added successfully)

Your current total scrap count increased by two units. The system is now updated for planning.
```

## Capabilities

### Log incoming waste material
The agent accepts new pieces of scrap and adds them immediately to your digital inventory.

### Audit current stock levels
It provides a summarized breakdown of all stored offcuts, grouped by size tier (e.g., Small, Medium, Large).

### Match material to requirements
The agent analyzes a specific job need and identifies the largest and most suitable piece of waste inventory available.

## Use Cases

### Project kickoff needs immediate confirmation on available scrap
A client sends a job requiring multiple pieces of specific dimensions. The user asks their agent to run `match_requirement_to_offcut`. The system immediately confirms availability and even shows which existing waste pieces will be consumed, allowing the project manager to give an accurate quote right away.

### End-of-shift cleanup requires logging all scraps
The shop floor supervisor runs into a pile of usable offcuts. Instead of having workers physically catalogue them, they use `filter_incoming_waste` to quickly log the new material batch, ensuring it's ready for tomorrow's planning.

### Inventory audit before purchasing new stock
The procurement team needs to know if they really need to order more lumber. They ask their agent to run `get_inventory_composition` to see the current breakdown of scrap by size tier, proving that existing waste can cover several upcoming jobs.

### Rush job requires unexpected material dimensions
A last-minute order comes in for a non-standard cut. The user prompts their agent to find the best match using `match_requirement_to_offcut`, and it pinpoints an ideal, previously forgotten offcut piece that saves the day.

## Benefits

- Stop manually sorting scraps. Use `filter_incoming_waste` to log pieces instantly, guaranteeing that every usable offcut is immediately available for reuse.
- Cut down on material waste by using the `match_requirement_to_offcut` tool, which finds the perfect scrap piece for a new job in seconds.
- Know your exact stock levels anytime. The agent runs an audit via `get_inventory_composition`, giving you a clear picture of what materials are available without physical counting.
- Boost profit margins by turning waste into revenue. By tracking every size tier, you ensure material savings that traditional methods miss.
- Speed up quoting and planning. Instead of assuming availability, your agent confirms the best match instantly, streamlining project timelines.

## How It Works

The bottom line is that this MCP turns unpredictable scrap piles into predictable, valuable resources for your next job.

1. Start by directing your AI client to log incoming scrap pieces immediately after they are cut, using the designated tool.
2. Next, ask the agent what material is needed for a specific job; it cross-references that requirement against your full inventory.
3. Finally, review the results. The system tells you which waste piece works best and how much usable material remains after the match.

## Frequently Asked Questions

**How does the Leftover Inventory Manager help me reduce material waste in my shop?**
It prevents usable scraps from being forgotten or thrown away. By logging every offcut piece and matching them to future jobs, you ensure that your most valuable resource—your own waste—gets used first.

**Do I have to manually count my scrap inventory with the Leftover Inventory Manager MCP?**
No. You simply use the 'Log incoming waste' function whenever scraps are generated, and the system automatically tracks and records them for you.

**Can this tool find a replacement piece if my job needs non-standard dimensions?**
Yes. The Leftover Inventory Manager is designed to search your entire stock and pinpoint the most dimensionally suitable offcut available for any specific requirement.

**What kind of waste material can I track with this MCP?**
It handles dimensional scrap from cutting processes, tracking pieces based on length and width. It's ideal for wood, metal, or any sheet material where size matters.

**Is the inventory count accurate if my crew forgets to log some scraps?**
The tool provides a precise record of what *was* logged. You still need to ensure your team follows logging protocols; but it's the best system for maintaining an accurate, digital audit trail.