Unified Blender MCP
Connects to a Blender addon over TCP port 9876 to create and edit 3D objects, materials, modifiers, inspect scenes, capture viewport screenshots, execute bpy/bmesh code, check 3D-printability, and export models.
Searches and imports 3D assets from Sketchfab through the search_assets and import_asset tools.
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., "@Unified Blender MCP Create a low-poly mug and export it as STL"
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.
Unified Blender MCP menghubungkan Blender ke Gemini Web, ChatGPT, Claude, Cursor, Antigravity, dan n8n sehingga AI dapat membuat objek 3D, mengatur material, memeriksa kelayakan 3D printing (760 aturan desain FDM offline), mencari asset Poly Haven/Poly Pizza/Sketchfab, hingga mengekspor model (STL/GLB/OBJ/FBX) langsung di Blender.
Proyek ini menggabungkan kapabilitas ahujasid/mcp-for-blender dan seehiong/blender-mcp-bridge dalam satu addon (addon/addon.py), satu port Blender (9876), dan nol telemetry.
Quickstart Developer
Prasyarat: Python 3.10+, uv, Blender 3.x / 4.x, dan cloudflared (hanya untuk koneksi remote web seperti Gemini Web/ChatGPT).
# 1. Clone repo
git clone https://github.com/AdikaRafi/unified-blender-mcp.git
cd unified-blender-mcp
# 2. Verifikasi server tanpa membuka Blender
uv run --with "mcp>=1.26.0,<2" unified_mcp.py --self-test
# Output: UNIFIED_SELF_TEST_OK tools=15 safe_mode=True design_rules=OK
# 3. Install addon/addon.py di Blender -> tekan N -> tab MCP for Blender -> Start MCP Server (port 9876)
# 4. Jalankan Streamable HTTP + Cloudflare Quick Tunnel (Windows)
powershell -ExecutionPolicy Bypass -File start.ps1Untuk client lokal (stdio) seperti Claude Desktop, Cursor, atau Antigravity, langsung lompat ke Koneksi Lokal (stdio).
Related MCP server: Blender-MCP
Panduan Pemula (Windows)
Ikuti langkah 1 sampai 4 secara berurutan. Tidak perlu paham coding dan tidak wajib memasang Git.
Langkah 1: Download Proyek
Cara termudah (tanpa Git): klik tombol hijau Code > Download ZIP, lalu ekstrak
unified-blender-mcp-main.zipke folder mana saja (misalnyaD:\BlenderMCP\).Atau via Git:
git clone https://github.com/AdikaRafi/unified-blender-mcp.git
Langkah 2: Install uv dan cloudflared (Sekali Saja)
Buka PowerShell (Start > ketik PowerShell > Enter), lalu jalankan:
winget install --id astral-sh.uv -e
winget install --id Cloudflare.cloudflared -euvmenjalankan server Python dan dependensimcpotomatis.cloudflaredmembuat URL HTTPS sementara gratis (tanpa akun) agar Gemini Web / ChatGPT bisa terhubung ke Blender lokal.
Setelah kedua instalasi selesai,tutup jendela PowerShell lalu buka jendela PowerShell baru agar perintah uv dan cloudflared terbaca oleh Windows.
winget install --id Ngrok.Ngrok -e
ngrok config add-authtoken <TOKEN_ANDA>Langkah 3: Pasang Addon di Blender (Sekali Saja)
Addon sudah tersedia di addon/addon.py:
Buka Blender > Edit > Preferences > Add-ons.
Install addon:
Blender 4.2+: klik ikon panah kecil di pojok kanan atas panel Add-ons > Install from Disk...
Blender 3.x / 4.1: klik tombol Install... di kanan atas.
Pilih file
addon/addon.pydari folder proyek > klik Install Add-on.Centang Interface: MCP for Blender agar aktif.
Di 3D Viewport, tekan
N> buka tab MCP for Blender > pastikan port9876> klik Start MCP Server.
Langkah 4: Jalankan Bridge & Tunnel
Buka folder proyek di File Explorer, klik address bar, ketik
powershell, lalu tekan Enter.Jalankan:
powershell -ExecutionPolicy Bypass -File start.ps1Tunggu hingga muncul link Cloudflare seperti:
https://contoh-random-kata.trycloudflare.comBiarkan jendela PowerShell tetap terbuka selama memakai AI + Blender. Tekan
Ctrl + Cuntuk berhenti.
Untuk link publik dengan path acak (/mcp-<hex>), jalankan powershell -ExecutionPolicy Bypass -File start.ps1 -SecretPath. Untuk ngrok, gunakan -Provider ngrok.
Koneksi AI Client
A. Gemini Web (gemini.google.com)
Buka gemini.google.com > Setelan / Konektor > + Kustom (Server MCP).
Masukkan URL tunnel dari Langkah 4 dan tambahkan
/mcpdi belakangnya (tanpa garis miring di akhir):https://contoh-random-kata.trycloudflare.com/mcp(Jika memakai
-SecretPath, gunakan path/mcp-xxxxxxxxpersis seperti yang tercetak di PowerShell.)Selesaikan koneksi, lalu uji dengan prompt pertama:
"Cek isi scene Blender saya sekarang, lalu buat meja kayu sederhana dengan 4 kaki dan beri warna cokelat."
B. ChatGPT, n8n, atau Remote MCP Client Lain
Gunakan URL yang sama (https://<domain-tunnel>/mcp) dengan transport Streamable HTTP.
C. Antigravity, Claude Desktop, Claude Code, Cursor, atau Codex (Lokal stdio)
Aplikasi AI di komputer yang sama tidak membutuhkan tunnel. Tambahkan konfigurasi berikut ke file pengaturan MCP client (sesuaikan path folder Anda):
{
"mcpServers": {
"unified-blender": {
"command": "uv",
"args": [
"run",
"--with",
"mcp>=1.26.0,<2",
"D:/BlenderMCP/unified-blender-mcp-main/unified_mcp.py",
"--transport",
"stdio"
]
}
}
}Perbandingan Fitur
Kemampuan |
|
| Unified Blender MCP |
Eksekusi | Ya | Tidak | Ya ( |
Structured modeling, material, 3D-print & export | Tidak | Ya | Ya (lewat port |
760 FDM 3D-print design rules (offline lokal) | Tidak | Ya | Ya ( |
Asset library (Poly Haven, Poly Pizza, Sketchfab) | Ya | Tidak | Ya |
Streamable HTTP | Tidak | Ya | Ya (siap tunnel, bebas |
Native | Ya | Tidak | Ya |
Session command recording ( | Tidak | Ya | Ya |
Jumlah port Blender dibutuhkan | 1 ( | 1 ( | 1 ( |
Telemetry / Supabase | Opt-in | 0 | 0 |
Arsitektur
Seluruh tool terstruktur (create_primitive, transform_object, add_modifier, assign_material, check_3d_print, export_model) berjalan deterministik melalui satu socket TCP addon Blender (127.0.0.1:9876) dengan proteksi thread lock dan timeout respons 180 detik, sehingga cukup satu addon dan satu port saja.
Daftar 15 Tools
Core, Visual & Asset Libraries (berbasis mcp-for-blender)
Tool | Fungsi |
| Ringkasan scene Blender aktif (objek, lampu, kamera, material) |
| Detail transform, mesh, dan material satu objek |
| Eksekusi Python |
| Ambil tangkapan viewport 3D untuk verifikasi visual |
| Cari asset di |
| Unduh & impor asset dari |
| Pass-through ke command addon lain di port |
Structured Modeling, 3D-Print & Knowledge Base (berbasis blender-mcp-bridge)
Tool | Fungsi |
| Buat mesh dasar ( |
| Atur |
| Tambah modifier ( |
| Buat atau update material Principled BSDF dan pasang ke objek |
| Cek manifold/watertight, non-manifold edges, volume, dimensi, dan overhang |
| Ekspor scene atau objek tertentu ke |
| Cari 760 aturan desain FDM 3D printing secara lokal (tanpa membuka Blender) |
| Daftar topik dan jumlah aturan desain 3D printing |
Opsi CLI & Launcher
unified_mcp.py
Flag | Default | Fungsi |
|
| Mode transport MCP ( |
|
| Port HTTP lokal saat |
|
| Endpoint path HTTP MCP |
|
| Gunakan path acak |
|
| Host socket addon Blender |
|
| Port socket addon Blender |
|
| Matikan AST allowlist |
| none | Rekam urutan tool call sesi ke file JSON |
|
| Jalankan verifikasi mandiri tanpa membuka Blender |
start.ps1 (Windows)
Parameter | Default | Fungsi |
|
| Pilih |
|
| Port HTTP lokal |
|
| Port socket addon Blender |
|
| Aktifkan |
|
| Path file JSON untuk merekam sesi |
Keamanan, Privasi & Verifikasi
safe_modeaktif default:execute_blender_codemelewati validator ASTvendor/safe_mode.pyyang memblokiros,sys,subprocess,socket,numpy, dan operator eksekusi skrip.0 Telemetry: Tidak mengirim prompt, UUID, screenshot, atau data scene ke server eksternal mana pun.
Verifikasi cepat (tanpa Blender):
uv run --with "mcp>=1.26.0,<2" unified_mcp.py --self-testOutput yang diharapkan:
Loaded 760 design rules from .../data/design-rules.json UNIFIED_SELF_TEST_OK tools=15 safe_mode=True design_rules=OK
Troubleshooting
Masalah | Penyebab & Solusi |
| Gunakan Download ZIP pada Langkah 1. |
| Tutup PowerShell lalu buka ulang setelah |
| Pastikan tidak ada proses lain memakai port |
AI menjawab | Blender belum terbuka atau addon belum aktif. Tekan |
Gemini Web gagal konek ke URL | Pastikan URL diawali |
| Validator |
Struktur Repositori
unified-blender-mcp/
├── addon/
│ └── addon.py # Addon Blender siap install (TCP port 9876)
├── unified_mcp.py # Server MCP utama (stdio + Streamable HTTP /mcp, 15 tools)
├── start.ps1 # Launcher Windows + Cloudflare Tunnel / ngrok / local
├── pyproject.toml # Metadata paket & dependensi (mcp>=1.26.0,<2)
├── vendor/
│ ├── safe_mode.py # AST allowlist dari ahujasid/mcp-for-blender (GPLv3)
│ └── design_rules.py # Engine query aturan 3D-print dari seehiong/blender-mcp-bridge (MIT)
├── data/
│ └── design-rules.json # 760 aturan desain FDM 3D printing (offline)
├── assets/readme/
│ ├── hero.svg # Header visual README (SVG)
│ └── architecture.svg # Diagram arsitektur 1-port dual-transport (SVG)
├── LICENSE # GPL-3.0-or-later
└── THIRD_PARTY_NOTICES.md # Atribusi lisensi kedua repositori referensiReferensi & Lisensi
Dikembangkan dengan merujuk dan menggabungkan komponen open-source dari dua repositori berikut:
ahujasid/mcp-for-blender (GPL-3.0-or-later): protokol socket TCP addon Blender (
port 9876),addon/addon.py, eksekusibpy, asset library, dan validator ASTsafe_mode.py.seehiong/blender-mcp-bridge (MIT): pola Streamable HTTP
/mcp, structured modeling & 3D-print checks, session recording, sertadesign_rules.pydandata/design-rules.json.
Didistribusikan di bawah lisensi GNU General Public License v3.0 (GPL-3.0-or-later). Lihat LICENSE dan THIRD_PARTY_NOTICES.md.
Available Tools
15 toolsadd_modifierC
Add a Blender modifier (SUBSURF, BEVEL, BOOLEAN, SOLIDIFY, ARRAY, MIRROR, etc.) with optional JSON params.
Inputs: object_name (required), modifier_type (required), name, params_json. Returns: result
assign_materialC
Create or update a Principled BSDF material and assign it to a Blender object.
Inputs: object_name (required), material_name (required), metallic, roughness, +1 more. Returns: result
check_3d_printC
Inspect mesh printability: manifold/watertight check, non-manifold edges, volume, dimensions, and overhangs.
Inputs: object_name (required), overhang_deg. Returns: result
create_primitiveC
Create a 3D mesh primitive: cube, sphere, cylinder, cone, torus, plane, or monkey.
Inputs: primitive_type (required), name, scale, location, +1 more. Returns: result
execute_blender_codeB
Execute Python (bpy/bmesh) code inside Blender (protected by safe_mode AST allowlist by default).
Inputs: code (required). Returns: result
export_modelC
Export scene or a single named object to STL, OBJ, GLB, or FBX.
Inputs: filepath (required), file_format, object_name. Returns: result
get_object_infoB
Get detailed transform, mesh, and material info for a named Blender object.
Inputs: object_name (required). Returns: result
get_scene_infoA
Get current Blender scene summary (objects, lights, camera, materials).
Inputs: no named parameters. Returns: result
get_viewport_screenshotB
Capture current Blender 3D viewport screenshot for visual verification.
Inputs: max_size. Returns: result
import_assetC
Download and import an asset from 'polyhaven', 'polypizza', or 'sketchfab' into Blender.
Inputs: source (required), asset_id (required), asset_type, resolution. Returns: result
list_design_topicsA
List all available 3D-printing design-rule topics and rule counts.
Inputs: no named parameters. Returns: result
query_design_rulesC
Query local FDM 3D-printing design rules (clearances, walls, overhangs, threads, snap-fits).
Inputs: unit, limit, query, topic, +1 more. Returns: result
search_assetsB
Search 3D assets/textures/HDRIs on 'polyhaven', 'polypizza', or 'sketchfab'.
Inputs: query (required), source (required), limit. Returns: result
send_blender_command_rawC
Send any raw command supported by the Blender MCP addon on port 9876.
Inputs: command_type (required), params_json. Returns: result
transform_objectC
Set exact location, rotation (radians), and/or scale on a named Blender object.
Inputs: object_name (required), scale, location, rotation. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools map cleanly to a distinct resource+action (create_primitive, transform_object, add_modifier, assign_material, export_model). The one real overlap is execute_blender_code versus send_blender_command_raw, which are both generic escape hatches for arbitrary operations and could easily be misselected. get_scene_info versus get_object_info are distinguishable by scope.
Every tool follows a consistent snake_case verb_noun pattern (get_scene_info, create_primitive, add_modifier, query_design_rules). No camelCase or bare-noun outliers, and the domain prefixes (check_3d_print, list_design_topics) read naturally.
Fifteen tools for a full 3D modeling/printing server is well-scoped and each tool covers a distinct capability. Nothing appears redundant or padding.
Strong coverage of creation, inspection, materials, assets, and export, but the object lifecycle stops short of deletion/removal and there is no rendering tool (only a viewport screenshot). Both gaps are partially workable via execute_blender_code, but that is a fallback rather than a first-class operation.
Maintenance
Related MCP Connectors
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Cloud Blender for AI agents: build, inspect, render and animate 3D scenes over remote MCP. Keep editable .blend projects and export GLB or STL. Make your first 3D asset free—30 compute minutes per UTC month, no credit card. First 100 eligible Free account owners to use all 30 minutes in one UTC month by December 31, 2026 UTC receive one calendar month of beta free: 4 compute hours per UTC month, 2 concurrent workers per deployment, 2 deployments, 2048×2048 renders at up to 256 samples, and 10 GiB storage. Existing usage counts toward the 4-hour allowance. Limited to 100 rewards; expires January 1, 2027 00:00 UTC. Free resumes afterward without an automatic charge. Examples, eligibility and terms: https://sceneplane.online/launch?utm_source=glama&utm_medium=directory&utm_campaign=first100
Related MCP Servers
- AlicenseBqualityCmaintenanceConnects Blender to AI through the Model Context Protocol to enable prompt-assisted 3D modeling and scene manipulation. It supports object creation, material control, and arbitrary Python code execution directly within the Blender environment.22MIT
- AlicenseAqualityDmaintenanceConnects Blender 3D to AI assistants via the Model Context Protocol, enabling natural language driven 3D scene creation, manipulation, and rendering.15MIT
- FlicenseNot gradedqualityDmaintenanceConnects AI assistants to Blender 3D for natural language 3D modeling, scene inspection, material creation, and rendering.-
- AlicenseNot gradedqualityBmaintenanceConnects an AI agent to Blender 5.2 LTS over stdio, letting it read the scene hierarchy, create and transform primitive meshes, assign Principled BSDF materials, delete objects, save .blend files, and run raw bpy scripts through 12 tools. A two-process socket bridge keeps bpy calls on Blender's main thread, so no pip packages or admin rights are needed inside Blender.MIT