Repository navigation
Look now vs. change the code
Every tool now has exactly one mode, shown to the AI as a label, so it is always clear what touches your files:
| Mode | What it does |
|---|---|
[INSPECT] |
Reads the scene, changes nothing |
[LIVE PREVIEW] |
Changes the scene in the browser only, lost on reload |
[DEBUG VISUAL] |
Temporary helpers: wireframe, bounding boxes, overlay |
[FOR CODE] |
Output meant to be written into your source |
[CONNECTION] |
Configures the devtools server |
- Change journal: every live-preview change is recorded.
pending_changesreturns before → after with ready-to-paste code for vanilla Three.js and React Three Fiber, plus where to find each target in your project.revert_changesundoes previews. - The AI no longer asks "preview or code?" before every change. "Try it in red" means a preview, "make it red" means a code edit, "keep it" writes the preview into your source.
New
web_audit: website health check covering pixel ratio, canvas resize, idle/off-screen rendering, antialias cost, oversized or uncompressed textures, shadows, color space and draw calls, each with a concrete fixcapture_frames: smooth frame sequences for videos and promo clips. Time is virtualised, so frames are exactly 1/fps apart even when rendering is slow; returns ffmpeg commands for MP4 and WebM- Skills (MCP prompts):
inspect-scene,try-look,apply-to-code,web-perf-audit,prepare-video,debug-invisible,playwright-setup - Playwright & Puppeteer:
threejs-devtools-mcp/playwrightwithattachDevtools,waitForSceneandthreeCallfor e2e tests;CDP_PORTlets Playwright MCP share the browser; headless mode adds software-WebGL flags for CI - Modern Three.js: WebGPURenderer discovery and backend reporting, NodeMaterial/TSL slots, MeshPhysicalMaterial properties (clearcoat, transmission, sheen, iridescence, dispersion…)
- From the unreleased 0.4.2:
batched_mesh_details,clipping_details/set_clipping,draw_call_breakdown,set_postprocessing
Fixes
set_animationcould target a different mixer than the one listed byanimation_detailsoverlay_selected,annotated_screenshotandperf_monitornow report errors as errors- Server version is read from package.json
Breaking
- Requires Node.js 22.18+
- Tool descriptions and annotations changed;
set_*tools are no longer marked destructive
Install
claude mcp add threejs-devtools-mcp -- npx threejs-devtools-mcp69 tools in total. Docs: tools by mode · Playwright guide