Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 84
  • 141 stars
  • 10k a week
  • MIT
  • Updated

Install Three.js DevTools MCP

Built from the published package, never by AI.

claude mcp add three-js-devtools-mcp -- npx -y threejs-devtools-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Three.js DevTools MCP in Claude Code

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
SettingNeededWhat it is
DEV_PORTEnvironment variableOptionalDev server port to proxy (auto-detected from package.json if not set)
BRIDGE_PORTEnvironment variableOptionalBridge proxy port (default: 9222)
BROWSEREnvironment variableOptionalSet to 'none' to disable auto-opening browser
HEADLESSEnvironment variableOptionalSet to 'true' for headless browser mode (CI)
CHROME_PATHEnvironment variableOptionalCustom 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

A

No 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 →

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.

Three.js DevTools MCP Install

Add to stack

Loading.