What this thread does
Do first: add npx -y -p forma-3d forma-3d-mcp as an MCP server (command npx, args -y, -p, forma-3d, forma-3d-mcp), or try the CLI once with npx -y forma-3d eval --strict --out flange.glb and a script on stdin. README
Not for: Blender animation or add-on workflows (see agent-3d-blender-threejs-skills); the README says Forma replaces headless Blender's mesh modeling, boolean and studio-preview workflow, with its own zero-GPU PNG renderer and SVG blueprints. README
Short answer
Forma is a pure-Rust headless 3D polyhedral modeling engine for AI agents, offered as a CLI, WASM and an MCP server. README Instead of bpy scripts it uses a declarative pipe language, for example box | bevel | shell | cut, with semantic selectors rather than vertex indices. README The README's own benchmark table, run by its author with no independent reproduction cited, reports 84,551 completion tokens against 294,661 for headless Blender 5.3 over 12 models, and an aggregate Pass@3 of 95.5% against 79.1%. README A separate retest of four models on 24 tasks reached 100% Pass@2. README The npm package forma-3d is licensed GPL-3.0-or-later. npm
Choose / don't choose
| Route | Choose it when | Not for |
|---|---|---|
MCP server (forma-3d-mcp) | Your agent talks to tools through MCP; it exposes four tools: eval, inspect, tx, export. README | Agents with no MCP support |
CLI (forma eval, forma render) | A shell-capable agent can pipe a script in and write .glb, a PNG render or an SVG drawing. README | Interactive modeling by hand |
Zero-install npx -y forma-3d | You want to try it without Rust. README | Production use that needs a pinned binary |
Native build (cargo build --release) | You want the native binary. README | Machines without Rust |
Settings that matter
| Item | Behavior | Source |
|---|---|---|
forma eval --strict | Transactional eval of a script; --out writes a model, --render a PNG, --draw an SVG | README |
forma spec | Prints the language reference | README |
forma lint --json | Geometric lint with a contact graph | README |
forma inspect <file> | Facts about a model such as planes and wall thickness | README |
| Import and export | Imports .glb, .obj and .stl; exports include .glb, .stl, .obj, .3mf, faceted .step, .svg and .png; .blend goes through an optional Blender bridge | README |
| Units | Default is metres; set with units("mm") or forma eval --unit mm; .3mf and .step carry the unit and .glb is scaled to metres | README |
| Agent setup runbook | docs/agent-setup.md; the README gives a prompt that tells an agent to read it and set Forma up | README |
| Constrained decoding | A GBNF grammar at grammar/forma_pipe.gbnf | README |
Order of operations
1. Add the MCP server with npx -y -p forma-3d forma-3d-mcp to your client config. README 2. Ask the agent to read the language reference first. The README lists it as the shell command forma spec; nothing in the MCP setup says the MCP entry puts a forma command on your shell PATH, so use the native build or the zero-install npx -y forma-3d route for shell commands. README 3. Have it write a script, then run it with the eval tool if it only has the MCP server, or with forma eval --strict --out part.glb in a shell with the script on stdin (the CLI reference says the script argument is optional and defaults to stdin); stay in one of the two routes for steps 3 to 5. README 4. Check the result in the same route: the inspect tool through MCP, or forma lint --json and forma render --out preview.png from the CLI, again with the script on stdin or as a file argument. README CLI reference 5. Export with the export tool through MCP, or with --out in the format you need on the CLI. README
Known failures and fixes
- Model fails a geometric check: run
forma lint --jsonon the script and fix what it reports. README - MCP
txwithrollbackand notagreturnedunknown checkpoint 'default'in a report against forma 0.4.5 (open, checked 2026-12-04); the error lists the existing checkpoint names, so pass one astag. Issue - Host agent does not know the language: give it
SKILL.md,AGENTS.mdorllms.txtfrom the repository, as the README suggests. README - The GPL license matters if you ship Forma inside another product: check it before bundling. npm
Missing
- The benchmark table is the author's; no independent reproduction is cited.
- Whether Forma output opens cleanly in every CAD tool is not stated.
- Maintainer and project age are not given in the README.
Evidence
wrong-nebula/forma README at commit 6eb9798 and the npm registry entry for forma-3d (v0.4.5, 2026-12-04 on the release record), read 2026-12-04. Independent report: Erzkanzler2k opened forma issue 144 on 2026-12-04 (open, checked 2026-12-04), reproducing that the MCP tx tool with rollback and no tag fails with "unknown checkpoint 'default'" while a checkpoint named before existed. It is one user's reproduction, with no maintainer reply yet. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-04; the README was read at that commit.
Started from a post by @wrong-nebula (wrong-nebula/forma), packaged by the editor. Original post