Crucible
Cook crisp 3D with your AI. Stop prompting 3D blind. Shape live worlds with your AI.
Documentation
Install
One npm package holds the engine and the MCP server.
npm i @codepawlhq/crucible
MCP server
npx -y --package @codepawlhq/crucible crucible-mcp --backend gpu --memory 192
claude mcp add --transport stdio crucible-scene -- npx -y --package @codepawlhq/crucible crucible-mcp --backend gpu --memory 192
{
"mcpServers": {
"crucible-scene": {
"command": "npx",
"args": [
"-y", "--package", "@codepawlhq/crucible",
"crucible-mcp", "--backend", "gpu", "--memory", "192"
]
}
}
}
A scene in a few lines
Load a glTF model and an HDRI, then render.
import { Glaze } from '@codepawlhq/crucible';
import { loadGltf } from '@codepawlhq/crucible/addons/gltf';
import { loadHdri } from '@codepawlhq/crucible/addons/hdri';
const { parts } = await loadGltf('/airport.glb');
const map = await loadHdri('/sky.hdr');
const renderer = new Glaze(canvas, parts, {
hdr: true,
ground: false,
environment: { map },
});
renderer.render({ eye: [58, 31, 84], target: [-8, 3, -18] });

A cutaway AI data center hall rendered by Crucible from a GLB and an HDRI
Showcase
Built for agents
An agent gets a live scene to edit, draws it with Glaze or Cook, and reviews the result.
npx -y --package @codepawlhq/crucible crucible-mcp --backend gpu --memory 192
Crucible (lit-box)58.8 kB gzip, 2.28× smaller three.js (lit-box)133.8 kB gzip

A monk statue path traced by Cook
Documentation
Guides for the engine, the MCP server and the addons.
Help
Report a bug or ask a question on GitHub.
Sponsors
Crucible is free and MIT licensed. Sponsors pay for GPU time, test hardware and the hours that go into it. Company sponsors get their logo here from $100 a month.