Skip to main content
Glama

three.js ships a release almost every month and removes old APIs. Coding agents learned it from years of code that used THREE.Geometry, outputEncoding, three/examples/js and import paths that no longer exist, and they cannot see the canvas they draw on. Threesmith is the check between the agent and your project: the API of the three version you have installed, a scored review, the assets and decoders the code needs, the live scene in headless Chromium, and safe, undoable edits. Everything runs locally; nothing leaves the machine.

Without and with

Your agent...

On its own

With Threesmith

writes three.js

Geometry, outputEncoding, BoxBufferGeometry, examples/js: old habits

98 rules pinned to the installed release flag each line with the fix; fix does the 23 pure renames

calls an API

guesses a name or an import path from memory

three_api reads node_modules/three: signature, deprecation and the right three/addons/... path

writes a shader

#include <encodings_fragment>, gl_FragColor with GLSL3, a .replace() on a chunk that is gone

includes checked against the installed ShaderChunk, patches that silently do nothing found, renames fixed

loads a model

/models/Car.glb that is a 404 on Linux, Draco without a decoder

three_assets resolves every path like the server does and names the missing decoder setup

says "it works"

never opened the page

three_check opens it headless: errors with causes, blank frames, a screenshot, baselines

gets a black screen

guesses: more light? move the camera?

three_inspect reads the live scene and says why each object is not visible

fixes a bug

cannot show it was there, or that it is gone

three_play runs steps and judges claims frame by frame; three_scenario keeps it as a regression test

makes it fast

changes things and hopes

three_perf counts draw calls, triangles and programs against a budget and the last run; three_leaks names what is never disposed

ships it

builds once, deploys, sees a 404

three_build builds, finds two copies of three, missing assets and sub-path URLs, then opens the built page

needs a 3D model

needs Blender or a placeholder cube

three_model_build makes a clean .glb from one of 110 kinds, then shows it as text views and lints it

does not know the project

reads twenty files

three_scan and three_doctor give the map and the order to fix things in one call

Related MCP server: threejs-devtools-mcp

Quickstart

1. See what is wrong. Nothing to install but the package:

npx -y threesmith doctor          # what is wrong, grouped by cause, most urgent first, with next steps
npx -y threesmith review          # score 0-100, `file:line severity [rule] message Fix: ...`
npx -y threesmith check .         # open the page headless, errors and a screenshot

2. Give it to your agent. In Claude Code:

/plugin marketplace add laaielichter/Threesmith
/plugin install threesmith@threesmith

3. Ask for something. "Find out why the scene is black and fix it." Every three.js file Claude edits is reviewed right after the edit, its errors and broken asset paths go straight back to Claude, and the session starts with a brief of the project.

Install in your agent

Client

How

Claude Code

/plugin install threesmith@threesmith after /plugin marketplace add laaielichter/Threesmith (MCP server, hooks incl. protected paths, 8 skills, 2 subagents, settings for tool sets and read-only)

Claude Code, MCP only

claude mcp add threesmith -- npx -y threesmith mcp

Codex

codex mcp add threesmith -- npx -y threesmith mcp --tier premium

Cursor, VS Code

the buttons at the top

Gemini CLI

gemini extensions install https://github.com/laaielichter/Threesmith

Cline and others

llms-install.md, or { "mcpServers": { "threesmith": { "command": "npx", "args": ["-y", "threesmith", "mcp"] } } }

Docker

Dockerfile

Run the agent from the project folder, or pass --project <path>. Needs Node.js 22.12+ and three installed in the project. The browser tools need playwright-core and a Chromium (npx playwright-core install chromium); threesmith doctor --env shows what is missing.

Made for agents: cheap calls, exact answers

  • Two profiles. --tier cheap (the default) gives short, capped output and numbered step-by-step instructions, so small models follow the right order; --tier premium gives full detail for large models.

  • Tool sets. --tools core loads 14 tools; add run, live, build, model when you need them, or name single tools. A tool list the client pays for in every turn stays small. The server instructions only ever name tools that are loaded.

  • Fix loops that cost less. three_review with only_new: true shows new findings in full, the ones the agent already saw as one short line, and how many are fixed. code + file reviews code before it is saved.

  • Structured results. Review, check and doctor return structuredContent with an output schema next to the text.

  • One line per finding. file:line severity [rule] message Fix: ..., the same in the CLI (--compact), MCP and hooks.

  • Safe writes. Every write (fix, model build, scenario save) is one journal entry that three_undo takes back; a file changed by hand since is left alone. "protect" in threesmith.json (or THREESMITH_PROTECT) names folders no write may touch. --read-only leaves out the tools that always write and refuses write options.

  • It learns, locally. A finding marked as a false alarm with three_feedback is hidden from then on; lessons kept with three_lesson_add come back under the same error. Only hashes, counters and scrubbed text, on this machine.

The 31 tools

Set

Tool

What it does

core

three_doctor

Start here when something is broken: versions and imports, why the scene shows nothing, assets that will not load, removed APIs, colour, performance and cleanup, grouped by cause, most urgent first, with what three_fix does and numbered next steps

core

three_scan

Map the project: bundler and framework, three vs @types/three vs package.json, the libraries around it, pages and import maps, every file that uses three with what it creates and where its loop is, renderer settings, assets

core

three_api

Exact API of a class, member or constant in the installed three: signature, deprecation, import path; did-you-mean for unknown names

core

three_search

Find classes, constants and members by part of a name

core

three_review

Scored review (0-100) with 98 rules pinned to the installed release; code + file for unsaved code, only_new in a fix loop, files to focus

core

three_types

The project's own tsc --noEmit, with each three.js type error answered from the installed release (the member that exists, the real import path)

core

three_fix

The renames that mean exactly the same, dry run first, undoable

core

three_explain

Cause and fix of a console, build or test message (35 kinds), with the right import path for the installed release

core

three_lessons

100 lessons from real three.js and react-three-fiber projects (symptom, cause, fix, test) by error message, words, rule or topic

core

three_lesson_add

Keep a lesson learned here, scrubbed of names, paths and code; it comes back under the same error

core

three_rules

Every review rule with its category, release gating and fix

core

three_feedback

Mark a finding as a false alarm (hidden from then on) or right

core

three_undo

Undo the last Threesmith writes, newest first

core

three_version

Which three release is installed

run

three_check

Headless Chromium (software WebGL 2): console and page errors with causes, shader errors at your file and line, failed requests, no context, lost context, blank frames, screenshot, baselines with a diff, interaction steps

run

three_inspect

The live scene graph, camera, draw calls, GPU memory growth, and why each object is not visible

run

three_play

Steps (click, press, hold, drag, wheel, frames, eval, until), watched values per frame and step, claims judged at the end, any moment or every frame

run

three_scenario

Keep a passing play run as a regression test in .threesmith/scenarios/; ci runs them and writes JUnit

run

three_perf

Draw calls, triangles, programs, geometries, textures (exact) and frame-time percentiles with the slowest frames and their cause, against a budget and the last run

run

three_leaks

Repeat a cycle of steps with garbage collection and report what grows per cycle, down to the GPU resources never disposed, by type

live

three_session

Keep a headless page open between calls (start, status, stop)

live

three_page

Drive that page without reloading: eval JS against the live scene, steps, frames, until, screenshot, inspect, reload, new errors after every answer

build

three_assets

Every asset path resolved like the dev server and a static host: missing files, wrong capitals, decoder folders, glTF decoders the code never sets up, huge textures, unused files

build

three_build

Run the build, check the output (copies of three, missing assets, sub-path URLs, decoders) and open the built page headless

model

three_model_brief

One page before you build a model: the nearest ready-made kind, parts, real size, rules, the order of tools

model

three_model_identify

What a thing is (English or Dutch): parts, pivots, typical size, variants, usual mistakes

model

three_model_spec

The JSON model spec, an example, and the 110 ready-made kinds

model

three_model_build

Build a clean, deterministic .glb from a kind or a spec, and lint it

model

three_model_view

A .glb as text: front, side and top views, parts with sizes, parts that do not touch

model

three_model_lint

Score a .glb for the web (geometry, materials, triangles, draw calls, texture memory, loading), and against what it should be

model

three_model_inspect

What is in a .glb and which loaders and decoders three.js needs, with the setup code, checked against the project's code

CLI: threesmith doctor | scan | api | search | review | types | fix | rules | undo | lessons | assets | check | inspect | play | scenario | perf | leaks | build | model <inspect|needs|view|lint|identify|brief|spec|kinds|recipes|build> | explain | ci | hook | mcp. threesmith <command> --help lists the options.

The review

Rules are pinned to the installed release: a removed API is an error on a release that removed it and a warning on an older one; a rule whose replacement does not exist yet in your release stays quiet. The categories:

  • api (28): removed or renamed APIs and their releases, symbols that do not exist in the installed version, TSL names imported from the wrong entry, three/src imports, deprecations read from three's own source.

  • correctness (48): code that renders nothing or the wrong thing — no lights, shadows off, renderer never attached, render(camera, scene), scene.add(gltf), a mixer never updated, getElapsedTime() and getDelta() on one clock, instance and attribute updates without needsUpdate, raycasting with window instead of canvas coordinates, controls bound to document, decoders created but never attached; shaders: #include chunks that do not exist in the installed release, onBeforeCompile patches that do nothing, GLSL3 mistakes, redeclared built-ins, uniforms without { value }, GLSL materials under WebGPU and node materials under WebGL; React Three Fiber: state set in useFrame, objects made in render.

  • performance (10): allocations and heavy objects per frame, scene traversal per frame, uncapped pixel ratio, huge shadow maps, many meshes that should be instanced.

  • lifecycle (3): no resize handling, removed objects never disposed, dispose() without super.dispose().

  • color (8): colour textures without colorSpace, colour management off, EffectComposer without OutputPass or with double gamma, envMapIntensity that has no effect.

It reads text, not types (three_types adds the type checker for TypeScript). The rules are tested against three's own examples and addons for false alarms. If a finding is wrong: three_feedback, --disable <rule>, or // threesmith-disable-next-line <rule> (also -disable-line, -disable-file); an issue with the snippet is the most useful bug report.

GitHub Action

- uses: laaielichter/Threesmith@main
  with:
    min-score: 85
    check: dist          # folder with the built index.html; omit to skip the browser
    baseline: home       # screenshot baseline in .threesmith/baselines/home.png
    comment: true        # post the receipt on the pull request

The receipt (review, check, scenarios) appears in the job summary and optionally as a PR comment. Locally or in any CI: threesmith ci --check dist --junit junit.xml --sarif threesmith.sarif. Commit .threesmith/baselines/ and .threesmith/scenarios/; the rest of .threesmith/ is local state and ignored by its own .gitignore.

Limits

  • WebGL 2 in headless Chromium works in GitHub Actions (SwiftShader software rendering). WebGPU is best effort (--webgpu), depending on the runner having an adapter.

  • Frame times come from software rendering: compare them before and after on the same machine. Draw calls, triangles, programs and resource counts are exact.

  • Baselines should be made in the environment that checks them (CI), with the default tolerance.

  • The API lookup parses the JSDoc in three/src; it is tested on r187, older releases give thinner answers.

  • The review is heuristic; the asset check follows paths written as text, not paths built at run time.

Benchmarks

bench/ has tasks and a deterministic grader for comparing an agent with and without Threesmith. No results are published yet; see bench/README.md for the method.

Sister tools

From the same author, local and open source: ReversePort (reverse engineer and port games between engines), Godotwright (check the Godot code your agent writes), Stashpad (agent memory you can trust) and agentdisk (clean up after agents).

Support the project

If Threesmith is useful to you, a ⭐ on GitHub helps other people find it.

Thanks to everyone who has contributed: @chiragjangiir, @timmiballz22 and @IG-ABHINAV.

Develop

npm ci
npm run check     # typecheck, tests (incl. headless Chromium), build

Try the Claude Code plugin from this checkout, before a release: npm run build && npm run plugin:local, then start Claude Code with the claude --plugin-dir ... line it prints.

See AGENTS.md and CONTRIBUTING.md. Threesmith follows the design of its sister project for Godot, Godotwright. MIT licensed, made by laaielichter.

Available Tools

31 tools
three_apithree.js API lookupA
Read-onlyIdempotent

Exact API of a three.js class, constant or member, read from the three version installed in the project (not from memory): constructor, properties, methods, deprecations and the right import path ('three' or 'three/addons/...'). Use it before writing or changing three.js code you are not sure about. Query: Mesh, WebGLRenderer.setPixelRatio, OrbitControls. Unknown names get did-you-mean suggestions. Read-only.

Inputs: query (required), full, path, three, +1 more.

three_assetsCheck the assets the code loadsA
Read-onlyIdempotent

Resolve every model, texture, HDR/EXR, KTX2, sound, font and video path in the code like the dev server and a static host do (public/ served at /, the page's folder, the source file's folder, loader.setPath): missing files (a 404 that GLTFLoader reports as "Unexpected token '<'"), paths that only work on a case-insensitive disk (macOS/Windows) and break on Linux hosts, Draco/KTX2 decoder folders that are not there, glTF files using Draco, meshopt or KTX2 when the code never sets that decoder up, textures above 4096, big uncompressed models, and large asset files nothing refers to. Read-only.

Inputs: path, limit.

three_buildBuild and check what will be deployedA

Run the project's own build script (npm/pnpm/yarn/bun run build; this runs the project's code), then check the output folder: how many copies of three are bundled and its size, assets the bundle or a .gltf refers to that are missing or differ in case, root-absolute URLs that break under a sub-path host such as GitHub Pages (with the base to set), Draco/KTX2 decoder files, then open the built page headless (served under its base). build: false checks the output that is already there. Use it before you call a page ready to deploy.

Inputs: base, path, build, check, +3 more.

three_checkRun a three.js page headlessA

Open the page in headless Chromium (software WebGL 2) and report what a user would see go wrong: console and page errors (each with its likely cause and fix; shader errors point at your file and line), failed requests, no canvas or WebGL context, lost context, blank frames, the three revision, and a screenshot. baseline compares with an approved screenshot (created on first run) and reports the changed share with a diff image. steps interact first. When the frame is blank it also inspects the scene. Run it before you call a change done.

Inputs: target (required), root, wait, entry, +10 more. Returns: ok, url, errors, frames, +7 more

three_doctorWhat is wrong, and in which order to fix itA
Read-onlyIdempotent

Start here in a three.js project you do not know, or when something is broken and you do not know where to begin. From the files alone (no browser): versions and imports, why the scene shows nothing, assets that will not load, removed APIs for the installed release, colour, performance and cleanup — grouped by cause, most urgent first, each with its fix and whether three_fix does it, then numbered next steps. For the page itself use three_check afterwards. Read-only.

Inputs: path, three, detail. Returns: ok, next, score, three, +4 more

three_explainExplain a three.js errorA
Read-onlyIdempotent

Likely cause and fix of a three.js error or warning from the console, a build, a test run or a bug report: missing exports and wrong import paths (with the right path for the installed version), classes that no longer exist, two copies of three, objects used before a model loaded, 404 HTML instead of a model, Draco/KTX2 decoders, NaN geometry, lost contexts, shader compile errors, CORS, file://, WebGPU init. Paste the message as it was printed. Read-only.

Inputs: message (required), path, three.

three_feedbackMark a review finding as wrong or rightA

Tell Threesmith that a review finding is a false alarm you verified (verdict wrong): it is hidden from later reviews on this machine, and a rule that is often wrong here gets a note. verdict right undoes that and counts the rule as useful. Stores only hashes and counters, never code, names or paths ($THREESMITH_HOME; THREESMITH_LEARN=0 turns learning off).

Inputs: file (required), line (required), verdict (required), path, +1 more.

three_fixApply mechanical three.js fixesA

Apply the review fixes that need no decision: renames with exactly the same meaning (BoxBufferGeometry -> BoxGeometry, THREE.Math -> MathUtils, applyMatrix -> applyMatrix4, three/examples/jsm -> three/addons, outputEncoding/encoding -> colorSpace, merged geometry utils) and a capped pixel ratio. Shows what it would change unless write is true; a write is one undoable step (three_undo). Run three_review afterwards; the rest needs a decision.

Inputs: only, path, three, write, +2 more.

three_inspectInspect the live three.js sceneB

Open the page headless and read the running scene through three's devtools hook: the scene graph (types, names, positions, geometry, materials, lights), the camera, renderer stats (draw calls, triangles, geometries, textures) and whether GPU memory keeps growing. Diagnoses why objects are not visible: no lights, camera inside or pointed away, behind the camera, beyond far, zero scale, NaN positions, invisible materials, wrong layers, stretched aspect, shadows switched off. Use it when a scene is black, empty or wrong, before guessing.

Inputs: target (required), root, wait, entry, +3 more.

three_leaksFind what grows per cycleA

Repeat a cycle of steps (open and close a level, add and remove objects: e.g. {"type":"eval","js":"app.load(); app.unload()"}) several times with garbage collection after each, and report what grows per cycle: GPU geometries, textures and programs, scene objects, scenes still alive, JS heap, and the resources that reached the GPU and were never disposed, by type (SphereGeometry, MeshStandardMaterial, Texture robot.png). Fails over the budget (default: no growth). Run it again after the fix to show 0 per cycle.

Inputs: cycle (required), target (required), root, wait, +9 more.

three_lesson_addKeep a lesson learned hereA

Keep a lesson you learned while fixing a three.js problem, so it comes back the next time the same message or question shows up (in three_lessons, three_explain, three_check and the review). Write it in general words: title (the lesson in one line) and fix are required; symptom, cause, test, topic, tags, rules, and error with the exact console or build message. Names, paths, e-mail addresses, links and code are taken out before it is stored, and the file never leaves this machine ($THREESMITH_HOME). The same title updates the lesson.

Inputs: fix (required), title (required), path, tags, +6 more.

three_lessonsLessons from real three.js projectsA

Lessons from real three.js and react-three-fiber projects: symptom, cause, fix and how to test it. Pass error with a console or build message to get the lessons that explain it; rule with a review rule id for why it matters; query with words ('textures washed out', 'shadow cut off', 'model invisible'); topic to list one topic; id for one lesson in full. With id and verdict (helped or wrong) it records whether the lesson fit, which ranks lessons on this machine. Lessons you kept with three_lesson_add are included.

Inputs: id, rule, error, limit, +3 more.

three_model_briefOne page before you build a modelA
Read-onlyIdempotent

Start here before you make a 3D model for a three.js scene: what the thing is (English or Dutch, typos and descriptions work), the nearest ready-made kind to start from, its parts and real size, the rules and usual mistakes, the order of tools and a spec cheat sheet. glTF and three.js agree: +Y up, metres, the model's front is +Z. Read-only.

Inputs: what (required).

three_model_buildBuild a .glb from a kind or a specA

Make a clean .glb without Blender: a ready-made kind (car, tree, house, boat, aircraft, terrain, ... see three_model_spec) with params, or your own spec. Deterministic (the same request gives the same bytes), a node per part with UVs and normals, unique node names as GLTFLoader shows them. Writes out in the project (undoable with three_undo) and returns the size, triangles and the lint. Look at it with three_model_view afterwards.

Inputs: out (required), kind, path, seed, +3 more.

three_model_identifyWhat a thing isB
Read-onlyIdempotent

What a thing is, for building or checking a model of it: the family, the parts that must exist and how they move (pivots of wheels, doors, rotors), a typical size with its source, variants, and the usual mistakes. English or Dutch names and descriptions work. Read-only.

Inputs: what (required).

three_model_inspectWhat is in a model, and how three.js loads itA
Read-onlyIdempotent

What is in a .glb or .gltf without loading it in a browser: nodes, meshes, triangles, materials, textures with sizes, animations, skins, size in metres, glTF extensions, a draw-call estimate, and which loaders and decoders three.js needs for it (DRACOLoader, MeshoptDecoder, KTX2Loader) with the code to set them up. It also checks the project's code sets those decoders up. Read-only.

Inputs: file (required), path, detail.

three_model_lintScore a model for three.jsB
Read-onlyIdempotent

Score a .glb or .gltf for the web: geometry (normals, winding, degenerate triangles), materials, performance (triangles, draw calls, texture memory against web budgets), loading (extensions three.js does not support, decoders needed), size and origin; with archetype (an id or a name such as 'car' or 'helikopter') also whether it is what it should be: parts, pivots, wheel axes, size, direction. Read-only.

Inputs: file (required), path, detail, archetype, +2 more.

three_model_specThe model spec format and the ready-made kindsB
Read-onlyIdempotent

The JSON model spec that three_model_build reads (a tree of named parts: box, cylinder, ellipsoid, lathe, loft, extrude, roof, tube, with expressions, mirror, repeat, bevels and textured materials), an example, and the ready-made kinds with their parameters. kind returns the full spec of one recipe to edit. Read-only.

Inputs: kind, short.

three_model_viewSee a model as textA
Read-onlyIdempotent

Draw a .glb as text for agents that cannot see pictures: front, side and top views made of letters (one letter per part), a table of the parts with sizes, and the parts that do not touch the rest (a wheel without an axle, a roof above its house). Use it after every build to check shape, proportions and that everything is attached. Read-only.

Inputs: file (required), only, path, width.

three_pageLook at and drive the live pageA

Work with the page three_session started, without reloading it. op eval runs JS in the page and returns the value as compact JSON (vectors as [x,y,z], colours as hex, objects as type/name/position), with scene, camera, renderer (the last ones rendered), $('name') (getObjectByName), $$('Type') and THREE (when global) in scope; a single expression is returned, statements need return. op steps runs interactions (click, press, drag, wheel, wait, wait-for); op frames waits n animation frames; op until waits until a JS expression is true; op screenshot returns the picture; op inspect reads the scene graph and why objects are not visible; op reload loads edited files (state starts over); op errors lists the errors so far. Every answer ends with the new console and page errors.

Inputs: op (required), n, js, name, +3 more.

three_perfMeasure frames, draw calls and GPU resourcesA

Measure a page for some seconds (after optional steps): draw calls and triangles per frame, shader programs, geometries and textures (exact, the same on every GPU), JS heap, and frame-time percentiles with the slowest frames and their cause (shader compile, GPU upload, draw calls, JS). Checks budget and compares with the last run of the same name (kept in .threesmith/perf/). Frame times come from software rendering: use them before/after on the same machine, not as real fps. Measure before and after every performance change.

Inputs: target (required), name, root, save, +9 more.

three_playRun steps and watch the sceneA

Prove that a change does what it should. Open the page headless, run steps (click, press, hold, drag, wheel, wait, frames, eval, until) and read watch expressions in the live scene after every frame and step, with scene, camera, renderer, info (renderer.info), $('name') and $$('Type') in scope (window globals such as app work too). expect claims are judged at the end, at any moment or at every frame, each pass or fail with its value, time, frame and step. Watched values come back only where they changed. Also page and console errors with explanations, and a screenshot. When it passes, keep it with three_scenario op save.

Inputs: target (required), root, wait, entry, +9 more.

three_reviewReview three.js codeA

Scored static review (0-100) of the three.js code, pinned to the installed release: removed or renamed APIs, symbols that do not exist, code that renders nothing (no lights, shadows off, renderer not attached, never rendered), per-frame allocations, resize and dispose, colour management. One line per finding, file:line severity [rule] message Fix: ..., and the same as JSON. code + file reviews code before you save it. only_new: true in a fix loop: new findings in full, the ones you saw as a short line, and how many are fixed. files lists only findings in those files. Run it after every change and fix the errors first. It writes only its memory for only_new (.threesmith/review-last.json).

Inputs: code, file, path, files, +6 more. Returns: ok, grade, score, three, +5 more

three_rulesList the review rulesA
Read-onlyIdempotent

Every three_review rule with its category, severity, release gating and fix. query filters by words in the id or title, category by category. Use it to understand a rule id or to pick ids for disable. Read-only.

Inputs: query, detail, category.

three_scanMap the three.js projectA
Read-onlyIdempotent

Map a three.js project from its files in one call: bundler and framework (Vite, Next, React Three Fiber, plain import map), installed three release vs package.json and @types/three, the libraries around it, pages and how they load three, every file that uses three with what it creates (renderer, cameras, lights, controls, loaders, composer) and where its animation loop is, renderer settings (tone mapping, colour space, shadows, pixel ratio) and the assets the code loads with problems. Call it once before your first edit. detail full adds imports per file, every asset problem and the glTF extensions of each model. Read-only.

Inputs: path, detail.

three_scenarioKeep and run regression scenariosA

Regression tests made from three_play runs, kept in the project as .threesmith/scenarios/.json (commit them; threesmith ci runs them and writes JUnit). op save runs the play once more with the same arguments and keeps it only when it passes (undoable with three_undo); op list shows the kept ones; op run runs one (name) or all, with every failing claim, its value and frame.

Inputs: op (required), name, path, root, +9 more.

three_sessionKeep a three.js page running between callsA

Start a headless page that stays open between tool calls (op start), so a scene that takes long to load or a state that is hard to reach is loaded once; three_page then looks at it and drives it. op status lists the open pages, op stop closes one. It stops by itself after 10 minutes without calls. Several pages can run side by side under different names (default main).

Inputs: op (required), name, root, wait, +5 more.

three_typesType-check a TypeScript three.js projectA
Read-onlyIdempotent

Run the project's own TypeScript (tsc --noEmit) and return the type errors about three.js, each with the answer from the installed release: the member that does exist (did you mean), where a name is really exported from ('three' or 'three/addons/...'), removed paths, and a note when @types/three is a different release than three. all: true lists the other type errors too. Needs typescript and a tsconfig.json in the project; for JavaScript use three_review. Read-only (tsc runs with --noEmit).

Inputs: all, path, limit, three.

three_undoUndo Threesmith writesA
Destructive

Undo the last Threesmith writes in the project (three_fix and other writes), newest first: files are put back as they were, new files removed. A file changed by hand since the write is left alone unless force is true. list: true only shows the journal.

Inputs: list, path, force, steps.

three_versionInstalled three.js versionB
Read-onlyIdempotent

Which three.js release the project has installed (such as r187), and where. Read-only.

Inputs: path, three.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 31 tools

    Disambiguation3/5

    Descriptions are unusually careful, with explicit sequencing cues ("start here", "then call three_api") and cross-references that separate most tools. However, several pairs genuinely overlap: three_check vs three_inspect (both open headless Chromium and explain a blank/black scene), three_play vs three_page (both offer eval/steps/frames/until/screenshot), three_lessons vs three_explain (both diagnose console/build messages), and three_model_brief vs three_model_identify (both answer "what is this thing"). An agent can still pick well by reading closely, but the boundaries are not crisp from names alone.

    Naming Consistency4/5

    All names are lowercase snake_case with a uniform `three_` prefix, and the model tools form a clean `three_model_*` sub-family. The only inconsistency is that some names are bare nouns (three_api, three_rules, three_perf, three_version, three_lessons) while others are verbs (three_check, three_build, three_fix), plus the singular three_lessons vs three_lesson_add pairing. Still highly readable and predictable overall.

    Tool Count3/5

    31 tools is heavy and near the point where an agent must scan a large menu per task. The domain is genuinely broad (static analysis, headless browser testing, performance/leaks, assets/build, and a seven-tool procedural-model authoring suite), so most tools earn their place, but the surface feels stretchy rather than tight.

    Completeness4/5

    Coverage is exceptional: discovery (search, api, version, scan, doctor), review and safe fixes with undo (review, fix, types, feedback), runtime proof (session, page, play, check, inspect, perf, leaks, scenario), assets/build, model authoring, and a self-improving lesson store. Only small gaps remain, e.g. no explicit scenario/test deletion beyond undo, and no direct way to hunt for scenarios or approve baselines outside three_check's implicit first-run creation.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect and edit live Three.js scenes — objects, materials, shaders, lighting, animation and performance — with zero project changes, previewing tweaks in the browser and converting them into ready-to-paste code. It also supports site performance audits, video frame capture, and Playwright/Puppeteer test integration.
      6,808 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect and edit live Three.js scenes in the browser — objects, materials, shaders, textures, lights, animation, performance and memory — with 69 tools covering scene trees, screenshots, website audits and video frame capture. Changes can be previewed live with zero project modifications, then converted into ready-to-paste vanilla Three.js or React Three Fiber code.
      6,808 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect and edit Three.js scenes, materials, shaders, lights, textures, animation, performance, and memory in real time, with live previews convertible into vanilla Three.js or React Three Fiber code. Also supports website audits, video frame capture, and Playwright/Puppeteer workflows.
      6,808 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect live Three.js scenes in the browser, preview material, lighting, and camera changes without touching project files, and then write the approved tweaks back into source code. Its 69 tools also cover shaders, textures, animation, performance and memory debugging, website audits, and smooth frame capture for video clips.
      6,808 npm
      MIT