Three.js DevTools MCP
MCP server by DmitriyGolub Community
Inspects and edits Three.js scenes in real time through an MCP server with 69 tools. It suits developers debugging 3D scenes or auditing Three.js websites from an AI assistant.
Install Three.js DevTools MCP
Built from the published package, never by AI.
claude mcp add three-js-devtools-mcp -- npx -y threejs-devtools-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"three-js-devtools-mcp": {
"args": [
"-y",
"threejs-devtools-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Three.js DevTools MCP in Claude Desktop
{
"mcpServers": {
"three-js-devtools-mcp": {
"args": [
"-y",
"threejs-devtools-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"three-js-devtools-mcp": {
"args": [
"-y",
"threejs-devtools-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add three-js-devtools-mcp -- npx -y threejs-devtools-mcp{
"mcpServers": {
"three-js-devtools-mcp": {
"args": [
"-y",
"threejs-devtools-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Three.js DevTools MCP in Antigravity CLI
gemini mcp add three-js-devtools-mcp npx -y threejs-devtools-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the three-js-devtools-mcp block.
About
Three.js DevTools MCP is an MCP server for inspecting Three.js scenes while they run. It offers 69 tools covering objects, materials, shaders, textures, animation, performance and memory. Changes can be tried live in the browser and then turned into code. The server talks to the scene through a WebSocket bridge, so the browser tab must stay open. The project needs no changes to existing code and works with vanilla Three.js and React Three Fiber, on WebGLRenderer and WebGPURenderer. It is aimed at developers who want an AI assistant to find problems in a scene, test visual changes, or check a site for performance issues.
Written from the project's README and checked against it.
Tools it gives your assistant
scene_treeShows the scene graph of the running Three.js page.material_detailsReturns the details of a material on an object.set_material_propertyChanges a material property live in the browser without saving it.set_lightChanges a light live in the browser.set_cameraChanges the camera live in the browser.pending_changesLists live-preview changes as before and after values with ready-to-paste code.revert_changesUndoes live-preview changes in the browser.gltf_to_r3fConverts a glTF model into React Three Fiber code.web_auditChecks a Three.js site for blurry canvas, battery drain, heavy textures and more, with fixes.capture_framesRecords a virtual-time frame sequence for smooth 30 or 60 fps clips and gives an ffmpeg command.
What you need
- Node.js, since the server runs through npx
- A Three.js project running on a local dev server
- A browser tab left open for the scene bridge
- ffmpeg to encode MP4 or WebM video output
| Setting | Needed | What it is |
|---|---|---|
DEV_Environment variable | Optional | Dev server port to proxy (auto-detected from package.json if not set) |
BRIDGE_Environment variable | Optional | Bridge proxy port (default: 9222) |
BROWSEREnvironment variable | Optional | Set to 'none' to disable auto-opening browser |
HEADLESSEnvironment variable | Optional | Set to 'true' for headless browser mode (CI) |
CHROME_Environment variable | Optional | Custom Chrome/Edge executable path |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- show me the scene tree
- why is my model invisible?
- audit this site for mobile
Good to know
- Tools stop working when the browser tab is closed.
- Live preview changes are lost on page reload until they are kept in code.
- Video output is a frame sequence; MP4 or WebM needs an ffmpeg command run separately.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Three.js DevTools MCP
All alternatives →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
Compare with Appllama, codesign or Pascal 3D Editor
Three.js DevTools MCP: common questions
Does it change my project code?
Inspection and live preview tools leave your code untouched. Only changes that are kept are written into your source by the AI.
Does it work with React Three Fiber?
Yes. The source says it works with vanilla Three.js and React Three Fiber, on WebGLRenderer and WebGPURenderer.
Can it be used with Playwright or Puppeteer?
Yes. The source describes Playwright and Puppeteer helpers that connect to your own browser, a server-launched Chrome, or your own tests.
How do I install Three.js DevTools MCP?
In Claude Code run claude mcp add three-js-devtools-mcp -- npx -y threejs-devtools-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Three.js DevTools MCP the official server?
Three.js DevTools MCP is a community project by DmitriyGolub, not verified by a company domain.
Is Three.js DevTools MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Three.js DevTools MCP safe to use?
It scores 84 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Three.js DevTools MCP?
Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.
Does Three.js DevTools MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
