MCP สำหรับ Blender — ควบคุม Blender ด้วย AIMCP for Blender - Control Blender with AI
MCP สำหรับ Blender เป็น plugin ที่เชื่อม Blender กับ LLM ใดก็ได้
MCP for Blender is a plugin that connects Blender with any LLM.
ไว้ทำอะไร
โครงการนี้ช่วยให้ผู้ใช้ Blender สามารถดำเนินการ 3D modeling โดยใช้คำสั่งผ่านแพลตฟอร์ม AI ที่พวกเขาชื่นชอบ การเชื่อมต่อทำได้ง่ายและช่วยให้ Blender ฟังและเสมือนได้รับคำแนะนำจาก AI เกี่ยวกับการสร้าง และการจัดการ scene
ทำงานอย่างไร
MCP สำหรับ Blender ทำงานผ่านการติดตั้งตัว add-on ซึ่งสร้าง socket server ภายใน Blender สำหรับรับและประมวลผลคำสั่ง โฟลเดอร์ blender_mcp มี Python server ที่ติดตั้ง Model Context Protocol ของ MCP มันเชื่อมต่อกับตัว add-on ที่เปิดใช้งานคำสั่งใน Blender โครงสร้างนี้ทำให้สามารถส่งคำสั่ง AI ไปยัง Blender ได้อย่างราบรื่น เพื่อเปลี่ยนแปลงหรือสร้าง object ใหม่ ๆ ใน workspace โดยในขั้นต้นต้องติดตั้ง 'uv' และ MCP client จะชี้ไปที่ server ที่สามารถรันผ่าน Docker หรือ Local Environment ได้
โครงสร้างโค้ด
- src/blender_mcp — ใช้ในการเชื่อมต่อกับ Blender
- addon.py — สร้าง socket server ภายใน Blender
- main.py — จุดเริ่มต้นของ server
- pyproject.toml — ข้อมูล package และ dependencies
- Dockerfile — ใช้สำหรับรัน server ใน container
เริ่มใช้งาน
bash
macOS
brew install uv
Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uvx mcp-for-blender install-addon
In Blender
Edit → Preferences → Add-ons → enable Interface: MCP for Blender
Connect
In Blender's 3D viewport, press `N` and open the MCP for Blender tab, then click Start MCP Server.
เหมาะกับงานแบบไหน
- การสร้าง object ใหม่ใน Blender โดยใช้ AI
- การปรับเปลี่ยนวัสดุและสีของวัตถุ 3D
- การวิเคราะห์ scene ปัจจุบันและสร้าง scene ใหม
ข้อควรรู้
- การขาดการตรวจสอบสิทธิ์หรือการเข้ารหัสใน server
- แนะนำให้ใช้เฉพาะในเครือข่ายที่เชื่อถือได้
- ใช้ภายใต้ใบอนุญาต MIT
What it is for
This project enables Blender users to perform 3D modeling through commands using their preferred AI platform. The connection is straightforward, allowing Blender to listen and receive guidance from AI on creating and managing scenes.
How it works
MCP for Blender works by installing the add-on that creates a socket server inside Blender to receive and execute commands. The blender_mcp folder contains a Python server that implements the Model Context Protocol of MCP, which connects to the add-on enabling commands in Blender. This architecture allows AI-driven commands to be sent to Blender to modify or create new objects in the workspace. Initially, 'uv' should be installed, and the MCP client points to the server, which can be run via Docker or Local Environment.
Code structure
- src/blender_mcp — Facilitates connection to Blender
- addon.py — Creates a socket server inside Blender
- main.py — Entry point for the server
- pyproject.toml — Package information and dependencies
- Dockerfile — Used to run the server in a container
Getting started
bash
macOS
brew install uv
Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uvx mcp-for-blender install-addon
In Blender
Edit → Preferences → Add-ons → enable Interface: MCP for Blender
Connect
In Blender's 3D viewport, press `N` and open the MCP for Blender tab, then click Start MCP Server.
Good fit for
- Creating new objects in Blender using AI
- Modifying materials and colors of 3D objects
- Inspecting the current scene and generating new scenes
Things to know
- Lack of authentication or encryption in the server
- Recommended to use only on trusted networks
- Licensed under the MIT License
บทวิเคราะห์นี้สร้างจาก README และโค้ดของ repo โดย AI ของ Oneable — ตรวจสอบ license และเอกสารต้นทางก่อนนำไปใช้งานจริงThis breakdown was generated from the repository's README and code by Oneable's AI — check the license and upstream docs before using it in production.