# Small Mammal Habitat Planner MCP. AI Agent Connect

> Small Mammal Habitat Planner MCP handles the heavy lifting for enclosure design. It lets your AI client calculate substrate volumes, map out object footprints, and check that everything fits without violating clearance zones or movement requirements. It's a specialized geometry engine for anyone building habitats for small mammals.

## Overview
- **Category:** geometry
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_gaCf25HFXEGqdrcYzZ1Rjfo3NRtAv7eeA76ezNwq/ai-agent-connect
- **Tags:** habitat, enclosure, layout, small-mammal, spatial-math

## Description

You can stop guessing if a wheel or a hide will fit in a new enclosure. This MCP acts as a spatial reasoning engine for your AI client, turning enclosure dimensions and object sizes into valid, safe layouts. It manages the math for substrate depth, object footprints, and those critical clearance zones that keep animals safe. If you try to cram too much into a space, the MCP identifies the collision or the lack of clearance. It can even suggest a different arrangement that actually works. Whether you are calculating how much bedding you need for a specific volume or checking if a specific layout meets maintenance access needs, this tool handles the geometry so you don't have to.

## Tools

### calculate_enclosure_capacity
This tool determines the physical limits and constraints of your enclosure.

### generate_alternative_layout
This tool provides a mathematically valid spatial arrangement if your preferred layout is impossible.

### plan_object_layout
This tool generates specific spatial coordinates for all required habitat objects.

### validate_layout
This tool checks if a proposed layout is physically viable and meets all movement and maintenance requirements.

## Prompt Examples

**Prompt:** 
```
Calculate the substrate volume for a 60x40x40cm enclosure with 10cm of bedding.
```

**Response:** 
```
The total substrate volume required for a 60x40x40cm enclosure with 10cm of bedding is 24,000 cubic centimeters.
```

**Prompt:** 
```
I have a 100x50cm enclosure. Can you plan a layout for a 20x20cm wheel and a 15x15cm hide with a 5cm clearance buffer?
```

**Response:** 
```
The layout has been planned. The wheel is placed at (5, 5) and the hide is placed at (30, 5), both respecting the 5cm clearance buffer.
```

**Prompt:** 
```
Is this layout valid: a 20x20cm object at (0,0) in a 50x50cm enclosure with a 5cm clearance buffer?
```

**Response:** 
```
No, the layout is invalid because the object at (0,0) violates the 5cm clearance buffer requirement.
```

## Capabilities

### Substrate Calculation
Your agent calculates the exact volume of bedding needed based on enclosure dimensions.

### Spatial Mapping
The MCP generates specific coordinates for objects like wheels and hides.

### Collision Detection
The tool identifies when objects overlap or violate required clearance buffers.

### Layout Validation
Your AI client verifies that a design meets movement and maintenance needs.

### Alternative Planning
The MCP suggests new arrangements when a requested layout is physically impossible.

## Use Cases

### New Enclosure Setup
Calculate exactly how much substrate to buy for a specific enclosure size.

### Furniture Arrangement
Determine the best placement for wheels, hides, and bowls within a limited space.

### Safety Auditing
Check if a current layout provides enough clearance for animal movement.

### Troubleshooting Layouts
Find a working arrangement when you realize your planned items won't fit.

## Benefits

- Prevents overcrowding by calculating physical constraints.
- Ensures animal safety through mandatory clearance zone validation.
- Automates the math for substrate and bedding volumes.
- Provides immediate alternatives when a layout fails.

## How It Works

Connect your client to Vinkius and start sending spatial requests immediately.

1. Connect your MCP-compatible client to the Vinkius platform.
2. Provide enclosure dimensions and object sizes to your AI client.
3. Your agent uses the MCP tools to run spatial math and collision checks.
4. Receive validated layouts or volume calculations directly in your chat interface.

## Frequently Asked Questions

**How does this MCP ensure animal safety?**
It uses a validation tool to check that all objects respect mandatory clearance zones and movement requirements.

**Can it help with bedding calculations?**
Yes, it can calculate the exact substrate volume needed for a specific enclosure depth and footprint.

**What happens if my layout doesn't fit?**
The MCP can generate an alternative layout that is mathematically valid if your preferred arrangement is impossible.

**Which clients can I use this with?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP so it is ready to use as soon as you connect.

**How do I calculate the amount of bedding needed?**
You can use the `calculate_enclosure_capacity` tool, which takes the enclosure dimensions and the required bedding depth to return the total substrate volume.

**What happens if my requested layout is impossible?**
If a layout violates clearance or collision rules, you can use `generate_alternative_layout` to find a valid arrangement that respects all constraints.

**Can I check if my objects overlap?**
Yes, the `validate_layout` tool checks for object collisions, perimeter buffer violations, and cleaning access obstructions.
