Repository navigation
Local AI Agent (MCP)
OxyBrush features native integration with the Model Context Protocol (MCP), an open industry standard that connects AI assistants directly to local developer and artistic tools.
With OxyBrush's MCP server, AI models (such as Claude Desktop, Antigravity, Cursor, or local LLMs) can inspect your 3D mesh, execute sculpting strokes, generate procedural primitives, perform voxel remeshing, and automate repetitive production tasks in tandem with you.
+------------------------------------+
| AI Assistant |
| (Claude Desktop / Antigravity) |
+-----------------+------------------+
|
JSON-RPC | Model Context Protocol
v
+------------------------------------+
| OxyBrush MCP Server Adapter |
| (crates/oxy-mcp / oxybrush-mcp) |
+-----------------+------------------+
|
Direct Engine| IPC / C-ABI / Memory
v
+------------------------------------+
| OxyBrush 3D Viewport |
| (Multires / Voxel Engine / wgpu) |
+------------------------------------+
The AI assistant acts like a collaborative pair sculptor sitting next to you. It cannot read your screen or tamper with external systems—it interacts strictly through defined, safe tool primitives exposed by the OxyBrush MCP protocol.
To connect Claude Desktop to OxyBrush:
- Open your Claude Desktop configuration file:
-
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json -
Windows:
%APPDATA%\Claude\claude_desktop_config.json -
Linux:
~/.config/Claude/claude_desktop_config.json
-
macOS:
- Add the
oxybrushentry undermcpServers:
{
"mcpServers": {
"oxybrush": {
"command": "oxybrush-mcp",
"args": []
}
}
}Note: Ensure oxybrush-mcp is in your system PATH, or provide the full absolute path to the executable.
- Restart Claude Desktop. You will see the hammer / tool icon with OxyBrush tools available in the prompt bar.
In your project root or user settings:
{
"mcp": {
"servers": {
"oxybrush": {
"command": "/usr/local/bin/oxybrush-mcp"
}
}
}
}The OxyBrush MCP server exposes the following tools to the AI:
Returns active polygon metrics, bounding dimensions, piece count, and current multiresolution level.
- AI Prompt Example: "Can you check the current triangle count of my sculpt?"
Spawns geometric primitives into the active 3D scene.
-
Parameters:
-
primitive_type:"sphere","cube","cylinder". -
position:[x, y, z]coordinates. -
radius: float scaling dimension.
-
- AI Prompt Example: "Add two small ear spheres at [0.6, 1.2, 0.0] and [-0.6, 1.2, 0.0]."
Performs continuous sculpting brush passes along a set of 3D spatial points.
-
Parameters:
-
brush:"Clay","Smooth","Inflate","Draw","Carve". -
points: Array of[x, y, z]3D positions along the trajectory. -
radius: Stroke size. -
strength: Stroke intensity.
-
- AI Prompt Example: "Carve a smile across the lower front of the face."
Executes an OpenVDB-style signed distance field remesh.
-
Parameters:
-
voxel_size: Float spatial resolution (e.g.,0.02).
-
- AI Prompt Example: "Fuse these intersecting primitives together with a clean voxel remesh."
Optimizes polygon count using quadric error metrics.
-
Parameters:
-
target_triangles: Integer target count (e.g.,50000).
-
- AI Prompt Example: "Optimize this 2-million polygon sculpt down to 80,000 triangles for 3D printing."
Saves the scene to disk.
-
Parameters:
-
path: Output file path. -
format:"glb","gltf","obj","stl","ply".
-
- AI Prompt Example: "Export the current mesh as an STL to my Downloads folder."
Here are real-world ways artists use AI agents in OxyBrush:
-
Procedural Anatomy Blockouts:
"Claude, add a ribcage oval, a pelvic sphere, and two cylindrical arm armatures, then run a voxel union so I can begin detailing."
-
Automated LOD Chains for Game Engines:
"Inspect my sculpt, export the full-resolution GLB as hero_lod0.glb, decimate to 50% and export as hero_lod1.glb, and decimate to 10% as hero_lod2.glb."
-
3D Print Watertightness Check:
"Check if my current mesh has self-intersections or open boundary edges, and remesh if necessary before exporting an STL for Bambu Studio."
OxyBrush is an open-source multiresolution digital sculpting tool written in pure Rust with wgpu. Visit the GitHub repository or download the latest version from Releases.
Getting Started
Sculpting & Workflow
- Sculpting & Brushes
- Subdivision Levels
- Topology & Remeshing
- Masking & Face Groups
- Posing & Transform Gizmo
- Vertex Color & Materials
Scripting & Extensibility
Pipeline & Production