RenderBuddy
by harshh0p
README.md
# RenderBuddy MCP โ AI-Connected Render Agent & Gateway
> *"Your Blender render, one message away."*
> Version: **v3.0.1** | Status: **Production Ready** | Tests: **59/59 Passed (100%)**
---
## ๐จ What is RenderBuddy?
**RenderBuddy** is an open-source, AI-connected render agent and gateway platform for **Blender 3.6+ and 5.1+**. It allows 3D artists, studio teams, and developers to monitor and control long Blender render jobs using **natural language** โ via AI assistants (Antigravity, Claude, Cursor), a real-time Web Dashboard, or a Telegram Mobile Bot.
---
## โจ Features at a Glance
* ๐ข **Native Blender Add-on (v3.0.1)**: Runs inside Blender with `@persistent` render handlers and an N-Panel control panel.
* ๐ค **MCP Server (8 Tools)**: Exposes status, frame preview, settings, email dispatch, local upload, render cancellation, and system shutdown tools to AI clients over stdio.
* ๐ **Glassmorphism Web Dashboard**: Live telemetry monitoring completion percentage, frame count, elapsed time, and engine stats in real time.
* ๐ฑ **Telegram Bot Integration**: Monitor progress, request live frame previews (`/preview`), or cancel renders (`/cancel <PIN>`) directly from your phone.
* ๐ **PIN Security Gate**: Destructive actions (render cancellation and system shutdown) are protected by salted SHA-256 PIN authentication.
* ๐ **Zero Cloud Dependency**: Pure Python core (stdlib + MCP SDK). No subscription services required.
---
## ๐๏ธ System Architecture & Gateway Hierarchy
RenderBuddy operates on a decoupled 3-tier architecture:
```
Workstation (Blender + Add-on)
โโ Loopback TCP (Port 7345) โโโบ Local Agent (SQLite DB + REST API 7342)
โ
โผ
Gateway Runner (runner.py)
โโโ API Interface (Agent HTTP 7342 proxy)
โโโ Web Dashboard (web_ui.py - Port 8080)
โโโ Telegram Bot (telegram_bot.py)
โโโ Pairing Service (pairing.py - OTP Manager)
โ
โผ
Public Internet / Remote Clients
(Mobile Web UI / Telegram / MCP / ChatGPT)
```
---
## ๐ Quick Start Guide
### 1. Build & Install the Blender Add-on
```powershell
python build_addon.py
```
In Blender: **Edit โ Preferences โ Add-ons โ Install from Disk...** โ Select `dist/renderbuddy_addon.zip` and enable **RenderBuddy**.
### 2. Configure MCP Client
Add RenderBuddy to your MCP client configuration (`mcp_config.json`):
```json
{
"mcpServers": {
"renderbuddy": {
"command": "python",
"args": [
"D:/MCP_RenderBuddy/main.py"
]
}
}
}
```
### 3. Launch Gateway Services
```powershell
python -m gateway.runner
```
---
## ๐ Complete Documentation Index
For detailed instructions, architecture, presentation guide, and developer documents, consult the full documentation suite:
* ๐ **[Presentation & File Overview Guide](PROJECT_PRESENTATION_GUIDE.md)** โ Exhaustive file-by-file catalog, architectural pitch, and live demo script.
* ๐ **[Installation Guide](HOW_TO_INSTALL.md)** โ Step-by-step setup, Python environment, ngrok tunnel, and MCP registration.
* ๐ **[Operating Manual](HOW_TO_USE.md)** โ N-Panel controls, OTP pairing, Web UI, Telegram bot commands, and MCP natural language prompts.
* ๐ **[Deployment Topology & Diagrams](DEPLOYMENT.md)** โ End-to-end network deployment, security boundaries, and 4 complete UML sequence diagrams.
* ๐ **[Architecture Specification](ARCHITECTURE.md)** โ Technical design, SQLite schema, event bus, and PIN authorization gates.
* ๐ **[What Was Built](WHAT_WAS_BUILT.md)** โ Milestone summary, version evolution, and file map.
---
## ๐งช Test Suite
RenderBuddy includes a full automated test suite covering configuration, event bus, SQLite projections, security gates, and tool handlers.
```powershell
python -m pytest -v
```
```
59 tests collected โ 59 passed in ~1.3s
```
---
## ๐ License
RenderBuddy is released under the **MIT License**. Open-source for artists, studios, and developers worldwide.
This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo issues