Forma: A 1.7 MB Rust 3D Engine and MCP Server Built to Replace Headless Blender for AI Agents GitHub user wrong-nebula released Forma, an open-source 3D modeling engine written in pure Rust that AI agents can drive through MCP or a shell instead of scripting headless Blender, packaged in a binary of about 1.7 MB. The repository, which had about 1,200 stars and 26 commits when checked, reports 3.49x fewer completion tokens and a 95.5% Pass@3 rate versus 79.1% for stock Blender scripts, though those figures are the author's own measurements on six tasks against one Blender version. Forma offers four MCP tools, a Forma-Pipe declarative language, strict-by-default booleans that roll back non-watertight manifolds, and exports to GLB, STEP, 3MF, STL, OBJ, PNG and SVG under GPL-3.0-or-later. Forma is a new open-source 3D modeling engine, written in pure Rust, that an AI agent can drive through MCP or a shell instead of scripting headless Blender. The wrong-nebula/forma repository https://github.com/wrong-nebula/forma?ref=explainx is new and was trending on GitHub in early December 2026, with about 1,200 stars when we checked. The README pitches it as a replacement for "headless Blender's 3D mesh modeling, boolean, and studio-preview workflow for AI agents" in a binary of about 1.7 MB. The headline numbers are large: 3.49x fewer completion tokens and a 95.5% Pass@3 rate against 79.1% for stock Blender scripts. They are also the author's own measurements on a small task set. This post explains what Forma does, how to try it in about two minutes, and where the claims need independent checking. Forma at a glance | Question | Answer from the README and repo | |---|---| | What is it? | A headless 3D polyhedral modeling engine in Rust, with CLI, WebAssembly build and MCP server | | Who built it? | GitHub user wrong-nebula; 26 commits at the time of writing | | How big is it? | About 1.7 MB native, about 0.8 MB WebAssembly the GitHub description says 1.2 MB | | How do agents use it? | MCP 4 tools , a shell CLI, an Agent Skill file, or constrained decoding with a GBNF grammar | | What can it export? | GLB, faceted STEP, 3MF, STL, OBJ, PNG previews and SVG blueprints | | License | GPL-3.0-or-later | | Biggest caveat | Benchmarks are self-reported, on six tasks, against one Blender version | Why would an agent want something other than Blender? A small cube beside an open box, showing a compact tool replacing a heavy 3D install for Blender-free agent modeling Blender is a full desktop application. Driving it headless means starting a large Python environment, writing bpy scripts, and hoping the script produces a clean mesh. The Forma README puts the stock stack at 953 MB, a peak memory footprint of 223 MB and a cold-start evaluation of 1,306.8 ms. Forma reports about 6 to 14 MB of memory and 16.9 ms for the same step. For an agent, the more important cost is tokens. A bpy script is verbose, and a failed boolean often takes several turns to repair. Forma replaces that with a short declarative language called Forma-Pipe. The README shows one line for a flange plate: a box piped into a cylinder cut. The AGENTS.md file says the language reference is about 355 tokens, and the whole MCP tool schema is 789 tokens by the project's o200k count. This is the same trend we have covered in other agent tooling: small, purpose-built tools that cost fewer tokens than a general application. See how Qwen's BlenderWorld benchmark https://explainx.ai/blog/qwen-blenderworld-benchmark-visual-agents-3d-blender-2026 tests visual agents inside Blender, and how Meshy Skills https://explainx.ai/blog/meshy-skills-hermes-agent-3d-models-text-image-3d-printing-install-guide-2026 lets an agent generate printable 3D models by calling a hosted service. Forma sits at a different point: local, deterministic, and aimed at precise parts rather than generated art. How Forma works: Forma-Pipe, strict mode and transactions Forma-Pipe is a pipe language. You name a shape, then chain operations onto it. The README example is flange = box 4, 2, 0.4 | cut cyl 0.5, 1 . The AGENTS.md guide lists several design choices that matter for agents. - Semantic selectors. Edges and faces are chosen by meaning rather than by index, which removes a common source of broken scripts. - Strict-by-default booleans. In strict mode the engine rolls back any result that is not a watertight manifold, so the agent gets a failure signal instead of a corrupt mesh. - Transactional snapshots. The tx tool supports checkpoint, rollback, undo and reset with copy-on-write state. - Small feedback. Each eval call returns a spatial diff of about 100 tokens: watertight flag, non-manifold count, genus, volume and bounding box. - A built-in renderer. A zero-GPU studio renderer makes a four-view PNG preview in about 4 ms, so the agent can look at the part without Blender. The AGENTS.md file also lists practical pitfalls. Make cutting cylinders slightly taller than the plate, to avoid coplanar faces. Pass several hole positions in a single cut so the engine batches disjoint booleans. Use subsurf 1, crease=true to keep sharp rims on revolved parts. The tradeoff is scope. Forma models polyhedra and does booleans, subdivision and previews. It does not replace Blender's animation, simulation, sculpting or physically based rendering, and its STEP export is faceted planar solids, not analytic CAD geometry. The README calls the file useful for "reference/assembly import" into tools such as SolidWorks, Fusion 360 or FreeCAD, which is a careful way to say it will not give you a parametric CAD model. How to install Forma and connect it to an agent There are three routes. The commands below come straight from the README and AGENTS.md. 1. MCP server through npm. Add this to your MCP client configuration AGENTS.md names Claude Code, Cursor, Codex and Antigravity : { "mcpServers": { "forma": { "command": "npx", "args": "-y", "-p", "forma-3d", "forma-3d-mcp" } } } The server speaks stdio JSON-RPC 2.0 and keeps state between calls. If you are new to the protocol, our guide to the Model Context Protocol https://explainx.ai/blog/what-is-mcp-model-context-protocol-guide explains the moving parts, and the official MCP site https://modelcontextprotocol.io/?ref=explainx holds the specification. 2. Shell CLI. If your agent already has a shell tool, you can skip MCP: forma spec forma eval --strict --out out.glb script.forma forma render --out preview.png script.forma forma draw --out blueprint.svg script.forma 3. JavaScript or TypeScript. The forma-3d npm package is a zero-dependency WebAssembly build with evalPipe , exportMesh and renderPng functions, per the README. To build from source, AGENTS.md says to run cargo build --release and point your MCP client at the compiled binary. For agents that load skills, the repo includes a compact SKILL.md , an llms.txt index and a GBNF grammar at grammar/forma pipe.gbnf , which lets a runtime force the model to emit valid Forma-Pipe. We covered how agent skills work https://explainx.ai/blog/what-are-agent-skills-complete-guide if you want the background. A sensible first test is a part you already model in Blender. Give the agent the forma spec output, ask for the part with exact dimensions, and compare the exported GLB with your reference. What the benchmarks say, and what they do not The README reports a head-to-head test of stock headless Blender 5.3.0 bpy against Forma-Pipe. The tasks are six exact-dimension parts: a flange plate, a pipe tee, a beveled enclosure, a hex nut, a subdivided mug and a pedestal bowl. The author checked results with trimesh and scipy , using Chamfer distance, Hausdorff-99, volumetric IoU, watertightness and a sliceability check. The 12-model cross-lab table covers 67 paired trials, and a separate 12-task suite with four model families runs 144 trials. | Metric README | Blender bpy | Forma | |---|---|---| | Pass rate, Pass@1 / Pass@3 67 paired trials | 55.2% / 79.1% | 67.2% / 95.5% | | Completion tokens, 12 models in total | 294,661 | 84,551 | | Mean volumetric IoU | 0.768 | 0.944 | | Cold start, eval plus GLB export | 1,306.8 ms | 16.9 ms | | Footprint | 953 MB | about 1.7 MB | Several details matter when you read this table. Pass@1 is closer than Pass@3. The aggregate Pass@1 gap is 12 points, not 16. In the per-model table, Forma's first-try pass rate is lower than Blender's for some models: glm-5.4 scored 3 of 6 on Forma against 5 of 6 on bpy , grok-4.7 scored 4 of 6 against 5 of 6, and claude-haiku-5.5 scored 3 of 6 against 4 of 6 at low reasoning. The gains show up after retries, because Forma's feedback is short and its failures are explicit. The biggest gains come from weaker models. The report says tencent/hy4-flash went from 1 of 6 to 3 of 6 on first-try passes with a 14.03x completion token reduction, and deepseek-v4.1-flash moved its mean IoU from 0.167 to 0.661. For strong models such as claude-opus-5.5 the token gain is still large 12.77x on completions , but both tools pass most tasks. See our Opus 5.5 CPython Lean write-up https://explainx.ai/blog/opus-5-5-cpython-lean-formalization-418-bugs-2026 for how that model behaves on exacting work. Some cells are very thin. The README footnote says mistral-large-4-0 completed only one paired task before the provider returned an HTTP 400 error. That single trial produces the "15.47x" token figure, so it should not be read as a typical result. The task set is small and chosen by the author. Six parts are all simple mechanical shapes. The tests also run Blender through scripts the models write, which is the baseline the author picked. A tuned Blender workflow, a CAD kernel such as OpenCascade, or a fine-tuned model may narrow the gap. We have not reproduced any of these numbers. The benchmark code and logs are in the repo bench/ and docs/EXTENDED BENCHMARK REPORT.md , so anyone can rerun them. The reasoning-effort table is more interesting. At none reasoning, the report shows 83.3% Pass@3 for bpy against 91.7% for Forma, with a cost of $0.100 against $0.012 over 12 paired tasks. At high reasoning the Forma advantage in cost is 3.95x. This suggests the language helps most when the model is not allowed to think much, which is relevant for cheap local models. How does Forma compare with other agent-ready 3D and design tools? | Tool | Approach | Best for | Catch | |---|---|---|---| | Forma | Local Rust engine, Forma-Pipe language, MCP | Exact mechanical parts, fast agent loops | Polyhedral only; GPL-3.0; new project | | Headless Blender | Full DCC application with bpy scripts | Rendering, animation, complex scenes | Heavy install, verbose scripts, brittle booleans | | Hosted 3D generators | Cloud text-to-3D | Organic assets, concept models | Not dimensionally exact; API cost | | Three.js code generation | Model writes web 3D code | Interactive web demos | No manifold checks; see Qwen3.5 4B 3D Coder https://explainx.ai/blog/qwen3-5-4b-3d-coder-threejs-open-preview-gguf-apache-2026 | We use the official Blender project https://www.blender.org/?ref=explainx as the baseline name here because that is what the README measures against. Forma does not claim to match its feature set. Risks and open questions License. GPL-3.0-or-later is a strong copyleft license. Running Forma as a separate tool through MCP is a different case from linking its Rust crates or WebAssembly build into a closed product. Check with your own counsel before you embed it. Maturity. The repository is only days old at the time of writing. It has 26 commits, and the README mentions fixes in v0.2 for bevel behavior. Expect rapid change, and pin a version if you build on it. Supply chain. Any MCP server you run through npx -y executes code from npm with your agent's permissions. Pin the package version and read the source before you give a server access on a machine that holds credentials. Numbers. The claims are the author's. Until a third party repeats them, read the 3.49x and 77x to 89x figures as promising, not established. What to do next If you build agent workflows that touch hardware, 3D printing or game assets, Forma is worth an hour. Install the MCP server, run the six benchmark tasks with the model you use, and compare tokens and pass rates with your own Blender scripts. If you only need organic assets or rendered scenes, a hosted generator or Blender itself remains the better fit. Teams that want hands-on practice wiring agents to tools like this can look at the explainx.ai workshops https://explainx.ai/workshops . We will add an update here if an independent benchmark or a maintainer response changes the picture. Related reading Repository details, star counts and benchmark figures are accurate as of December 3, 2026 and come from the project's own README and docs.