Local3D Studio MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Local3D Studio MCP Serverturn this photo of my dog into a 3D-printable figurine"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π Local3D Studio β Universal 16GB-Safe AI-to-3D Manufacturing & MCP Server
Local3D Studio is an open-source, production-grade 3D generative manufacturing suite and Model Context Protocol (MCP) server. It converts raw text prompts and 2D photos into high-definition, watertight 3D-printable figurines (.stl), modular keyed assemblies (.3mf), and game-ready digital assets (.glb).
Designed as a 100% local-first, zero-cloud alternative to platforms like Meshy AI and Tripo3D, Local3D Studio executes entirely on consumer hardware within a strict 16 GB unified RAM/VRAM budgetβwithout requiring proprietary CUDA compilation flags or mandatory background daemon servers. By using the client AI's native visual generator (or user-provided photos) for 2D concepts, 100% of your 16 GB of RAM/VRAM is dedicated exclusively to 3D neural reconstruction (Hunyuan3D-2) and headless Blender manufacturing.
π Read in Italian / Leggi in Italiano: README_IT.md
ποΈ Architecture Deep-Dive: docs/ARCHITECTURE.md
π MCP Client Setup Guide: docs/MCP_GUIDE.md
π MCP Directories & Community: docs/SUBMISSIONS.md
π Key Feature Highlights
1. Complete Meshy AI Open-Source Alternative (15 Native MCP Tools)
Local3D Studio provides a full local replacement for commercial 3D generation suites:
Direct Image-to-3D (
direct_image_to_3d): 1-click transformation of any 2D concept or photo into a 3D mesh usingsingle_hero_34(isometric props/weapons) ormultiview_turnaround(full 360Β° characters).Auto Split & Assembly Keying (
auto_split_model): Automatically cuts models into keyed parts (Head, Torso, Arms, Legs) with 0.25mm assembly tolerances, manifold watertight capping, exploded.glbview, and native multi-color.3mffor Bambu Studio & OrcaSlicer AMS.Humanoid Pose Guidance (
canonicalize_humanoid_pose): Eliminates limb fusion (mesh webbing) by standardizing character inputs into A-Pose (35Β°-45Β°), T-Pose (90Β°), Action Pose, or Natural Pose with visual vector angle verification overlays.AI Retopology Engine (
retopologize_mesh): Generates clean topology via Quadriflow 100% All-Quad (ready for rigging/subdivision) or Decimate Triangle Collapse (exact polygon budget for game engines).PBR Texture Baking (
bake_pbr_textures): Bakes tangent-space Normal maps and Ambient Occlusion (AO) up to 4096px via headless Blender Cycles, exporting a production PBR.glb.
2. Pure In-Process MCP Execution (Zero Daemons Required)
Unlike systems that require running background FastAPI servers on localhost:8000, Local3D Studio's MCP server (server.py) communicates directly over stdio. Connect it to Google Antigravity, Claude Desktop, Cursor, or Continue.dev simply by pointing your client configuration to server.py or run_mcp.sh.
3. Universal Hardware Auto-Detection & Dynamic Tiering
Automatically inspects system capabilities (psutil + PyTorch device inspection) and selects one of 4 auto-scaling performance tiers:
Apple Silicon (macOS): Native
mpsbackend withtorch.float16.AMD Radeon (Windows / Linux): Native AMD ROCm/HIP (
torch.version.hip) or DirectML (torch-directml), completely free of CUDA lock-in.NVIDIA GeForce / RTX: Native
cudabackend with SDPA attention.Blender Discovery: Autonomously locates Blender across macOS, Windows, and Linux.
Tier | Target Hardware | 3D Engine Configuration | Remesh Resolution & Triangles |
| Mac 16GB / PC VRAM $\le 8$GB or RAM $\le 16$GB | Mini 320p (25 steps) |
|
| Mac 24-36GB / PC 10-12GB VRAM | Mini 320p (25 steps) |
|
| Mac $\ge 48$GB / PC $\ge 15$GB VRAM | Full 1.1B 384p (25 steps) |
|
| PC $\ge 22$GB VRAM / Mac $\ge 64$GB | Full 1.1B 512p (35 steps) |
|
4. Multi-View Turnaround Calibration (tools/multiview_aligner.py)
Eliminates rear-side hallucinations and occlusion:
Connected-Component Isolation: Eliminates adjacent panel bleed-over using alpha mask segmentation (
scipy.ndimage).Y-Bounding-Box Lock: Standardizes character height to 400px on a 512x512 canvas, locking the feet to $Z=0$ ($Y=456$) and crown to $Y=56$.
CLAHE Normal Enhancement: Enhances fine surface relief in albedo textures before 3D reconstruction.
5. Production 3-Step Protocol & Hard Approval Gate
Prompt Compiler (
compile_3d_master_prompt): Generates an ultra-detailed, photogrammetry-grade prompt in the Meshy AI Single-Master 3/4 profile with strict anti-occlusion directives (A-pose, separated limbs, zero smoke, zero auras, zero pedestals).Native Client AI 2D / User Photo (100% RAM Dedicated to 3D): Fully decouples 2D concept generation to the client AI assistant (e.g. Antigravity's native multimodal generator) or user-supplied reference photos. By eliminating local 2D diffusion pipelines, 100% of the 16 GB unified RAM/VRAM budget is dedicated to 3D neural reconstruction (Hunyuan3D-2) and headless Blender manufacturing, completely avoiding system freezes and maximizing polygon fidelity.
Hard Approval Gate: Execution strictly pauses after saving
output/<name>_concept.png. The agent must display the concept and wait for explicit user confirmation before proceeding.Direct 3D Reconstruction (
direct_image_to_3d): Preprocesses the approved image with background removal (rembg_engine.py), CLAHE local contrast, and $Z=0$ ground lock, followed by isolated neural 3D reconstruction and headless Blender manufacturing.Tempfile Hygiene: Intermediate texture slices, masks, and raw neural meshes are kept inside
tempfile.TemporaryDirectory(). Only the final.stl,.glb,.3mf, andlookdev_sheet.pngare written tooutput/.
Related MCP server: tripo-mcp-cn
π Repository Structure
Local3D-Studio/
βββ .env.example # Reference environment configuration
βββ .gitignore # Git ignore for virtualenvs, caches, outputs
βββ LICENSE # MIT Open Source License
βββ CONTRIBUTING.md # Contribution guidelines & code standards
βββ README.md # English Master Documentation
βββ README_IT.md # Italian Master Documentation
βββ requirements.txt # Universal dependencies (zero C++ build flags)
βββ setup_env.py # Universal installer & hardware bootstrapper
βββ server.json # Official MCP Catalog Specification Manifest
βββ run_mcp.sh / .bat # In-process stdio MCP server launchers
βββ update.sh / .bat # One-click automated updater scripts
βββ start_worker.sh / .bat # Optional Web Studio GUI launchers
βββ server.py # Root MCP Server & Unified CLI (15 Native Tools)
βββ worker_api.py # Optional FastAPI Web Studio & Three.js server
β
βββ core/ # Hardware abstraction, diagnostics & client layer
β βββ __init__.py
β βββ config.py # Environment variables & directory paths
β βββ hardware_backend.py # HardwareManager (MPS / ROCm / CUDA / 4 Tiers)
β βββ diagnostics.py # Local3D Doctor diagnostic & health inspection
β βββ client_setup.py # Automated multi-client setup & skill deployment
β βββ updater.py # Automated GitHub release pull & dependency sync
β βββ response_envelope.py # Standardized MCP result and error contracts
β βββ memory.py # VRAM/RAM garbage collector & cache cleaner
β βββ client.py # Unified REST client (optional LAN offload)
β
βββ skills/ # Bundled AI Agent Skills
β βββ local3d-studio/
β βββ SKILL.md # Production 3-Step Protocol for Antigravity
β βββ references/ # Slicer & hardware tier reference guides
β
βββ tools/ # Modular Generative & Manufacturing Engines
β βββ __init__.py
β βββ prompt_enhancer.py # Dynamic style router & Meshy AI prompt compiler
β βββ pose_canonicalizer.py # Humanoid Pose Guidance (A-Pose/T-Pose overlay)
β βββ concept_engine.py # Concept engine & fallback generator
β βββ rembg_engine.py # Pure Python background removal (u2net/ONNX)
β βββ multiview_aligner.py # Anti-bleed & Y-bounding-box lock calibration
β βββ neural_3d_engine.py # Hunyuan3D-2 shape generation (Mini & Full)
β βββ blender_pipeline.py # Blender headless remesh, LookDev, retopo, PBR
β βββ model_splitter.py # Auto Split, watertight capping, 3MF AMS export
β βββ pipeline_engine.py # Master execution pipeline & state gate manager
β
βββ frontend/ # Web Studio Three.js GUI (Optional)
β βββ __init__.py
β βββ web_viewer.py # Three.js 3D viewport, wireframe inspect, telemetry
β
βββ docs/ # In-depth technical guides
β βββ ARCHITECTURE.md # Technical deep-dive & subsystem diagrams
β βββ MCP_GUIDE.md # Client setup (Antigravity, Claude, Cursor)
β
βββ output/ # Production deliverables (.stl, .glb, .3mf)
βββ .gitkeepβ‘ Quickstart Guide
1. Installation
git clone https://github.com/Jaco2308/Local3D_Studio.git
cd Local3D_Studio
# Run the universal installer (auto-detects Apple Silicon, AMD ROCm, NVIDIA CUDA)
python3 setup_env.pysetup_env.py automatically:
Detects your OS and GPU accelerator.
Installs the matching PyTorch wheels (
mps,rocm,cuda, orcpu).Installs requirements (
mcp,trimesh,rembg,scipy,psutil,fastapi,transformers).Autonomously locates your Blender installation.
Initializes your
.envconfiguration file.
2. Universal local3d CLI Suite
Inspired by the REA architecture, Local3D Studio provides a system-wide unified CLI command (local3d):
# 1. Automated Health Diagnostics (Blender, PyTorch, Memory Tiers, MCP Client drift)
local3d doctor
# 2. Automated 1-Click Update (GitHub release sync, pip dependencies, skill refresh)
local3d update
# (or double-click update.bat on Windows / ./update.sh on macOS/Linux)
# 3. 1-Command Automated MCP Client Registration & Skill Deployment
local3d setup --client antigravity
local3d setup --client claude_desktop
local3d setup --client cursor
# 4. View Active Hardware Telemetry & Performance Tier
local3d status
# 5. Start Native Stdio MCP Server
local3d mcp3. Connecting to Your MCP Client
Local3D Studio MCP Server runs 100% locally in-process over stdio.
You can configure your client automatically with:
local3d setup --client antigravity
# Supported clients: antigravity, claude_desktop, cursor, vscode, gemini_cliOr manually add Local3D Studio to your client's configuration file:
{
"mcpServers": {
"local3d": {
"command": "/absolute/path/to/Local3D-Studio/.venv/bin/python",
"args": [
"/absolute/path/to/Local3D-Studio/server.py"
],
"env": {
"PYTHONUNBUFFERED": "1",
"PYTHONIOENCODING": "utf-8"
}
}
}
}For complete configuration examples for Antigravity, Claude Desktop, Cursor, Continue.dev, and Windsurf, see docs/MCP_GUIDE.md.
3. Optional: Interactive Three.js Web Studio GUI
If you want to view models in a web browser with drag & drop uploads, wireframe inspection, and real-time hardware telemetry:
# macOS / Linux:
./start_worker.sh
# Windows:
start_worker.batThen open http://localhost:8000 in your web browser.
π οΈ MCP Tools Reference (Complete 15-Tool Suite)
Tool Name | Arguments | Description |
| (none) | Returns CPU, GPU backend (CUDA/ROCm/MPS), system RAM/VRAM, active Performance Tier (1-4), and Blender binary path. |
|
| Sets active quality mode across the platform ( |
|
| Expands raw prompts into photogrammetry-grade 3D prompts across 5 styles and standard pose angles. |
|
| Compiles an ultra-detailed Meshy AI Single-Master 3/4 prompt for Antigravity native generation with anti-occlusion & zero-effects directives. |
|
| Crops quadrants, isolates main subject via connected components, locks Y-bounding-box, and enhances albedo. |
|
| Hard Approval Gate: Invocable after user confirmation to execute 3D neural reconstruction and Blender pipeline. |
|
| Primary 3D Entry Point: Converts approved 2D concept or user image to 3D with rembg, CLAHE, Hunyuan3D-2, and Blender manufacturing. |
|
| AI Retopology: Converts dense sculpts into clean topology: Quadriflow all-quads (rigging) or fixed tri budget (games). |
|
| PBR Texture Baker: Computes tangent-space Normal maps and Ambient Occlusion (AO) via Blender Cycles, exporting PBR GLB. |
|
| Auto Split & Keying: Bisects models into watertight parts with 0.25mm connector pegs/sockets, exploded GLB, and multi-color 3MF. |
|
| Pose Guidance: Eliminates armpit/crotch webbing by standardizing character inputs with visual vector angle overlay. |
|
| Full end-to-end manufacturing pipeline with automatic Approval Gate validation and 3D print preparation. |
|
| 1-Click recalculation: Re-runs 3D generation on the latest concept using 100k polygon budget and dense remeshing. |
|
| Repairs existing meshes, normalizes scale to millimeters, forces Z=0 bed grounding, and guarantees watertightness. |
|
| Renders a 4-view studio LookDev sheet (Isometric 3/4 Hero, Front Close-Up, Profile, Rear View). |
π¨οΈ Bambu Lab / OrcaSlicer Multi-Color AMS Workflow
When using auto_split_model:
Local3D Studio splits your mesh into anatomical components (Head, Torso, Arms, Legs).
Generates individual watertight
.stlfiles inoutput/<name>_parts/with 0.25mm keyed male/female pins.Automatically writes a unified
.3mffile with pastel vertex color assignments.Drag & drop the generated
<name>_split.3mfdirectly into Bambu Studio or OrcaSlicer:The slicer will ask: "Load these objects as a single object with multiple parts?" -> Click Yes.
Assign filament slots (AMS Slot 1, 2, 3, 4) to each part in one click.
Slice and print without assembly glue or manual painting!
π MCP Directories & Ecosystem
Local3D Studio is built to seamlessly integrate with any standard Model Context Protocol client:
1-Click Install via Smithery.ai
npx -y @smithery/cli install @Jaco2308/Local3D_Studio --client claudeOfficial Registries & Communities
Model Context Protocol Servers: Submitted to modelcontextprotocol/servers community listings.
MCP Servers Directory: Indexed on mcpservers.org.
Smithery Registry: Live on smithery.ai.
Reddit Communities: Join discussions on r/mcp, r/BambuLab, and r/3Dprinting.
Complete launch guides and directory PR templates: docs/SUBMISSIONS.md.
π€ Contributing
We welcome community contributions, bug reports, and pull requests! Please read our CONTRIBUTING.md for architectural guidelines, manifold geometry invariants, and code formatting rules.
π License
Local3D Studio is released under the MIT License. See LICENSE for details. Free for personal, commercial, and research use.
This server cannot be deployed
Maintenance
Related MCP Connectors
3D avatar/asset foundry: text/image -> rigged, validated, engine-ready GLB via x402.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Generate 3D models from images or text with AI, then retexture or convert them to STL, 3MF or OBJ.
Turn text or an image into an animation-ready 3D model (GLB): generate, rig, animate, retexture.
Related MCP Servers
- AlicenseBqualityCmaintenanceAI 3D model generation and post-processing MCP server β text/image/multiview-to-3D via Tripo, retopology, format conversion (GLB/FBX/OBJ/STL/USDZ), and stylization. Single Go binary, 10 tools.295Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to generate 3D models through natural language, including text-to-3D and image-to-3D, with tools for checking balance, refining models, converting formats, and a local 3D viewer that works without external network access.1MIT
- FlicenseAqualityCmaintenanceEnables local image-driven displacement of STL/OBJ meshes, STL/3MF export, and agent-driven texturing workflows without remote services.3-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to model, sculpt, rig, animate and bake particle effects by editing a semantic scene document, with built-in software rendering, measurable critics that flag floating or broken geometry, and game-ready glTF export. It exposes templates, atomic edit batches, motion and effect previews, undo history, and no GPU, browser, or Blender required.23 npmApache 2.0