# Mushroom Compost Formulation AI Agent Connect

> Calculate precise material proportions, hydration, and nitrogen levels for mushroom compost substrates.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_OTJBq62OCEtGkzax41oEhVUz82xmFFZDUI4pUJAR/ai-agent-connect
- **Tags:** mushroom, compost, substrate, agriculture, biology

## Description

This MCP server provides specialized tools for mushroom compost production. It uses least-cost optimization to determine the exact quantities of carbon and nitrogen sources needed to reach a target C:N ratio. Users can use `calculate_substrate_mix` to find the ideal material proportions and water requirements, `predict_compost_lifecycle` to estimate the duration of Phase I and Phase II composting stages, and `validate_material_safety` to ensure the mix is not toxic to mushroom mycelium.

## Tools

### predict_compost_lifecycle
Estimates the time required to complete the biological phases of composting based on environmental conditions

### validate_material_safety
Checks if a proposed material mix contains any elements or ratios that would be toxic to mushroom mycelium

### calculate_substrate_mix
Determines the exact quantities of available raw materials needed to meet a specific target C:N ratio and moisture level at the lowest possible cost

## Prompt Examples

**Prompt:** 
```
Calculate a substrate mix for 1000kg of compost with a 17:1 C:N ratio and 65% moisture using straw and poultry litter.
```

**Response:** 
```
To produce 1000kg of compost at a 17:1 C:N ratio, you need 845kg of straw and 120kg of poultry litter, plus 35kg of water addition.
```

**Prompt:** 
```
How long will it take for my compost pile to finish Phase I if the initial temperature is 25°C and the ambient temperature is 20°C?
```

**Response:** 
```
Phase I is estimated to last 5 days, and Phase II is estimated to last 12 days, with a total completion date of 2024-06-20.
```

**Prompt:** 
```
Is a mix of 90% straw and 10% poultry litter safe for mushrooms without gypsum?
```

**Response:** 
```
The mix is flagged as unsafe because it lacks gypsum for structural stability in a high-litter substrate.
```

## Frequently Asked Questions

**How do I calculate the right mix for my compost?**
You can use the `calculate_substrate_mix` tool by providing your available materials, target C:N ratio, and desired moisture level.

**Can I predict how long the composting process will take?**
Yes, the `predict_compost_lifecycle` tool estimates the duration of both Phase I and Phase II based on temperature and pile volume.

**How do I know if my substrate is safe for mushrooms?**
Use the `validate_material_safety` tool to check if your material mix contains toxic nitrogen levels or lacks necessary structural conditioners.
