VoxelForge
A voxel editor with MCP bridge enabling AI agents to create and edit 3D models, supporting .vox/.obj formats, layers, and a web editor.
README
VoxelForge
VoxelForge คือ voxel editor ของเรา สร้างจากแนวคิด Goxel พร้อม MCP bridge ให้ AI ต่างๆ (Cursor, Claude Desktop, ฯลฯ) สร้างและแก้โมเดล 3D ได้โดยตรง
Goxel ต้นฉบับเป็น GPL-3.0 — VoxelForge เป็น implementation ใหม่ที่ออกแบบ MCP-first ไม่ได้ fork โค้ด C ของ Goxel โดยตรง แต่รองรับไฟล์
.vox/.objที่ใช้ร่วมกันได้
ฟีเจอร์
| ฟีเจอร์ | รายละเอียด |
|---|---|
| 24-bit RGB | พาเลตสีเต็ม |
| Layers | หลาย layer เหมือน Goxel |
| Export | .vox (MagicaVoxel), .obj (Wavefront) |
| Import | .vox จาก Goxel / MagicaVoxel |
| Web Editor | Three.js 3D — คลิกวาง/ลบ voxel |
| MCP | เชื่อม Cursor, Claude, client อื่นๆ |
ติดตั้ง
cd C:\Users\thana\Desktop\voxel-forge
uv sync
cd editor
npm install
เชื่อม MCP
Cursor (~/.cursor/mcp.json)
"VoxelForge": {
"command": "C:\\Users\\thana\\Desktop\\voxel-forge\\run-mcp.bat",
"args": []
}
Claude Desktop
{
"mcpServers": {
"VoxelForge": {
"command": "C:\\Users\\thana\\Desktop\\voxel-forge\\run-mcp.bat",
"args": []
}
}
}
รีสตาร์ท client แล้วตรวจ MCP panel ว่า VoxelForge เป็นสีเขียว
Desktop App (ไม่ใช้เบราว์เซอร์)
รันโปรแกรม
cd C:\Users\thana\Desktop\voxel-forge
.\run-desktop.bat
หรือหลัง uv sync --extra desktop:
uv run voxel-forge
Build เป็น .exe
.\build-desktop.bat
ได้ที่ dist\VoxelForge\VoxelForge.exe — ดับble-click เปิดได้เลย ไม่ต้องมี Python/เบราว์เซอร์
ฟีเจอร์ Desktop
- เปิด/บันทึก scene (JSON)
- Import
.vox/ Export.obj(merged),.vox, Roblox Luau - Create → Build Tree (resolution 1–8)
- 3D view native (Qt3D) — หมุนกล้องด้วยเมาส์กลาง
MCP สำหรับ AI ยังใช้แยก (run-mcp.bat) — สร้าง scene ผ่าน AI แล้วเปิดใน Desktop จาก %USERPROFILE%\.voxel-forge\scenes\
Web Editor (ทางเลือก)
.\run-editor.bat
เปิด http://localhost:5173 — sync กับ MCP ผ่าน WebSocket ws://127.0.0.1:8765
2. สร้างผ่าน AI
ตัวอย่าง prompt:
สร้างบ้าน voxel แบบ Goxel ชื่อ my_house — ฐาน 8x8 สีเทา ตัวบ้าน 6x6x4 สีขาว หลังคาสามเหลี่ยมสีแดง
AI จะเรียก:
voxelforge_create_scenevoxelforge_fill_box/voxelforge_place_manyvoxelforge_previewตรวจรูปทรงvoxelforge_export_voxหรือvoxelforge_export_obj
3. เปิดใน Goxel จริง
Export .vox แล้วเปิดใน Goxel หรือ MagicaVoxel:
%USERPROFILE%\.voxel-forge\exports\my_house.vox
เครื่องมือ MCP หลัก
| Tool | หน้าที่ |
|---|---|
voxelforge_about |
ข้อมูลโปรเจกต์ |
voxelforge_create_scene |
สร้าง scene ใหม่ |
voxelforge_place_many |
วาง voxel จาก JSON |
voxelforge_fill_box |
เติมกล่อง 3D |
voxelforge_add_layer |
เพิ่ม layer |
voxelforge_preview |
ดู ASCII preview |
voxelforge_export_vox |
ส่งออก .vox |
voxelforge_export_obj |
ส่งออก .obj |
voxelforge_import_vox |
นำเข้า .vox |
voxelforge_launch_editor |
เปิด web editor |
voxelforge_save / voxelforge_load |
บันทึก/โหลด scene |
โฟลเดอร์ข้อมูล
- Scenes:
%USERPROFILE%\.voxel-forge\scenes\ - Exports:
%USERPROFILE%\.voxel-forge\exports\
สถาปัตยกรรม
┌─────────────┐ stdio/MCP ┌──────────────┐ WebSocket ┌─────────────┐
│ Cursor AI │ ◄───────────► │ MCP Server │ ◄──────────► │ Web Editor │
│ Claude etc. │ │ (Python) │ │ (Three.js) │
└─────────────┘ └──────────────┘ └─────────────┘
เปรียบเทียบกับ cube-world-voxel-mcp
| VoxelForge | cube-world-voxel-mcp | |
|---|---|---|
| จุดประสงค์ | Editor ทั่วไปแบบ Goxel | Roblox Cube World |
| ขนาด voxel | 1×1×1 | 2×2×2 studs |
| GUI | Three.js editor | ไม่มี (headless) |
| Export | .vox, .obj | Luau → Roblox |
ทั้งสองใช้ MCP คู่กันได้ใน Cursor พร้อมกัน
License
MIT — โค้ด VoxelForge เป็นของเรา
Goxel ต้นฉบับ: GPL-3.0 (https://github.com/guillaumechereau/goxel)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.