VoxelDraft – AI Voxel Modeling
Create, edit, render, save, and export voxel models with interactive 3D previews.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"voxeldraft": {
"url": "https://voxeldraft.com/api/mcp"
}
}
}Puntos de conexión remotos
https://voxeldraft.com/api/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (8)
🟡create_voxel_model(name, palette, commands)
Create an editable VoxelDraft model from compact commands. Returns a short modelRef for later plugin calls and does not save to Cloud Projects. Use VoxelDraft's compact instruction stream instead of emitting one JSON object per voxel. Coordinates are integers 0..63. Colors are either #RRGGBB or a zero-based palette index. Commands: ["box",x1,y1,z1,x2,y2,z2,color,hollow?] ["ellipsoid",cx,cy,cz,rx,ry,rz,color,hollow?] ["cylinder","x"|"y"|"z",x,y,z,radius,height,color,hollow?] ["line",x1,y1,z1,x2,y2,z2,color] ["roof","x"|"z",x1,y1,z1,x2,y2,z2,color] (gable roof, axis is ridge direction) ["runs","x"|"y"|"z",color,[[x,y,z,length],...]] (preferred exact/freeform representation) ["points",color,[[x,y,z],...]] (sparse details only) ["erase",x1,y1,z1,x2,y2,z2] ["recolor",fromColor,toColor] ["copy",x1,y1,z1,x2,y2,z2,dx,dy,dz] ["repeat",x1,y1,z1,x2,y2,z2,dx,dy,dz,count] ["mirror","x"|"y"|"z",plane,x1,y1,z1,x2,y2,z2] (plane is a grid boundary 0..64) Prefer box/roof/ellipsoid/cylinder for bulk geometry, runs for irregular silhouettes, repeat/mirror for repeated or symmetric parts, and points only for small details. This usually uses far fewer model tokens than raw voxel JSON.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"palette": {
"type": "array",
"maxItems": 64,
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"commands": {
"type": "array",
"maxItems": 512,
"items": {
"type": "array",
"minItems": 1,
"items": {}
}
}
},
"required": [
"commands"
],
"additionalProperties": false
}🟡edit_voxel_model(modelRef, palette, commands)
Edit the temporary model identified by modelRef and return a new modelRef. This does not modify a saved cloud project. Use VoxelDraft's compact instruction stream instead of emitting one JSON object per voxel. Coordinates are integers 0..63. Colors are either #RRGGBB or a zero-based palette index. Commands: ["box",x1,y1,z1,x2,y2,z2,color,hollow?] ["ellipsoid",cx,cy,cz,rx,ry,rz,color,hollow?] ["cylinder","x"|"y"|"z",x,y,z,radius,height,color,hollow?] ["line",x1,y1,z1,x2,y2,z2,color] ["roof","x"|"z",x1,y1,z1,x2,y2,z2,color] (gable roof, axis is ridge direction) ["runs","x"|"y"|"z",color,[[x,y,z,length],...]] (preferred exact/freeform representation) ["points",color,[[x,y,z],...]] (sparse details only) ["erase",x1,y1,z1,x2,y2,z2] ["recolor",fromColor,toColor] ["copy",x1,y1,z1,x2,y2,z2,dx,dy,dz] ["repeat",x1,y1,z1,x2,y2,z2,dx,dy,dz,count] ["mirror","x"|"y"|"z",plane,x1,y1,z1,x2,y2,z2] (plane is a grid boundary 0..64) Prefer box/roof/ellipsoid/cylinder for bulk geometry, runs for irregular silhouettes, repeat/mirror for repeated or symmetric parts, and points only for small details. This usually uses far fewer model tokens than raw voxel JSON.
Esquema de entrada
{
"type": "object",
"properties": {
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
},
"palette": {
"type": "array",
"maxItems": 64,
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"commands": {
"type": "array",
"maxItems": 512,
"items": {
"type": "array",
"minItems": 1,
"items": {}
}
}
},
"required": [
"modelRef",
"commands"
],
"additionalProperties": false
}🟢inspect_voxel_model(modelRef)
Inspect a temporary VoxelDraft modelRef. Returns voxel count, command count, bounds, and colors.
Esquema de entrada
{
"type": "object",
"properties": {
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
}
},
"required": [
"modelRef"
],
"additionalProperties": false
}⚪render_voxel_model(modelRef, language, includeImage, view, imageSize, ...)
Preview a VoxelDraft modelRef. ChatGPT can render an interactive Three.js/WebGL widget; everyone also receives an interactive WebGL URL. Signed-in VoxelDraft Plus users may additionally receive a cached PNG when includeImage is true.
Esquema de entrada
{
"type": "object",
"properties": {
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
},
"language": {
"type": "string",
"enum": [
"en",
"ja",
"zh",
"es"
],
"default": "en"
},
"includeImage": {
"type": "boolean",
"default": true
},
"view": {
"type": "string",
"enum": [
"iso",
"front",
"back",
"left",
"right",
"top",
"bottom"
],
"default": "iso"
},
"imageSize": {
"type": "integer",
"enum": [
256,
512,
1024
],
"default": 512
},
"background": {
"type": "string",
"enum": [
"solid",
"transparent"
],
"default": "solid"
}
},
"required": [
"modelRef"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"model": {
"type": "string"
},
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
},
"name": {
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"voxelCount": {
"type": "integer",
"minimum": 0
},
"commandCount": {
"type": "integer",
"minimum": 0
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"bounds": {
"anyOf": [
{
"type": "object",
"properties": {
"min": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "integer"
}
},
"max": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "integer"
}
},
"size": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "integer"
}
}
},
"required": [
"min",
"max",
"size"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"voxelCount",
"commandCount",
"colors",
"bounds"
],
"additionalProperties": false
},
"renderer": {
"type": "string"
},
"rendererVersion": {
"type": "string"
},
"view": {
"type": "string",
"enum": [
"iso",
"front",
"back",
"left",
"right",
"top",
"bottom"
]
},
"imageSize": {
"type": "integer",
"enum": [
256,
512,
1024
]
},
"background": {
"type": "string",
"enum": [
"solid",
"transparent"
]
},
"editUrl": {
"type": "string"
},
"renderUrl": {
"type": "string"
},
"downloadUrl": {
"type": "string"
},
"imageAvailable": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"imageError": {
"type": "string"
},
"image": {
"type": "object"
},
"quota": {
"type": "object"
}
},
"required": [
"model",
"modelRef",
"name",
"stats",
"renderer",
"rendererVersion",
"view",
"imageSize",
"background",
"editUrl",
"renderUrl"
],
"additionalProperties": false
}🟡export_voxel_model(modelRef, format)
Create direct download URLs for OBJ+MTL or compact VoxelDraft JSON from a modelRef.
Esquema de entrada
{
"type": "object",
"properties": {
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
},
"format": {
"type": "string",
"enum": [
"obj",
"json"
],
"default": "obj"
}
},
"required": [
"modelRef"
],
"additionalProperties": false
}🔴save_voxel_model(modelRef, projectId)
Save the temporary model identified by modelRef to private VoxelDraft Cloud Projects. Requires project-write OAuth scope. Pass projectId to update an existing owned cloud project.
Esquema de entrada
{
"type": "object",
"properties": {
"modelRef": {
"type": "string",
"maxLength": 64,
"description": "Short temporary VoxelDraft model reference returned by model tools"
},
"projectId": {
"type": "string",
"maxLength": 120
}
},
"required": [
"modelRef"
],
"additionalProperties": false
}🟢list_voxel_projects
List private VoxelDraft Cloud Projects. Requires project-read OAuth scope.
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢load_voxel_project(projectId, language)
Load one private Cloud Project and return a short modelRef for later plugin calls. Requires project-read OAuth scope.
Esquema de entrada
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"maxLength": 120
},
"language": {
"type": "string",
"enum": [
"en",
"ja",
"zh",
"es"
],
"default": "en"
}
},
"required": [
"projectId"
],
"additionalProperties": false
}Comunidad
Evidencia