Three.js DevTools MCP server
io.github.DmitriyGolub/threejs-devtools·v0.2.1·109 starsInspect and edit Three.js scenes, materials, shaders, lights in real time from any AI agent
109 stars257 downloads/wk
Reviews
Write oneNobody has reviewed Three.js DevTools MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Three.js DevTools MCP tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
bridge_statusCheck bridge connection and proxy status
gltf_to_r3fConvert a GLTF/GLB file to a ready-to-use React Three Fiber component (like gltfjsx)
set_dev_portChange the dev server port the proxy forwards to
take_screenshotCapture a screenshot of the current Three.js scene
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 173 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evaldist/inject.global.js: …Error('Missing "code" parameter');let i=new Function("scene","renderer","camera","gl",e)(t.sc…
How Three.js DevTools MCP compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 74/100
- higher than 43% of 4,464 AI and agents servers
- Tools
- 4
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 109
- more than 95% of 2,697 AI and agents servers
- Downloads a week
- 257
- more than 78% of 1,515 AI and agents servers with a package
What its tools let an agent do: 3 read · 1 change
Install Three.js DevTools MCP in Claude Code, Cursor or VS Code
Runs npx -y threejs-devtools-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add threejs-devtools -- npx -y threejs-devtools-mcp
What the publisher says
From the Three.js DevTools MCP repository's README, as published. We do not edit it. Read it on GitHub
threejs-devtools-mcp
MCP server for inspecting and modifying Three.js scenes in real time — 59 tools for objects, materials, shaders, textures, animations, performance monitoring, memory diagnostics, and code generation.
Zero changes to your project. Works with vanilla Three.js, React Three Fiber, and any framework.
Setup
1. Add the MCP server
Claude Code
claude mcp add threejs-devtools-mcp -- npx threejs-devtools-mcpClaude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"threejs-devtools-mcp": {
"command": "npx",
"args": ["-y", "threejs-devtools-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"threejs-devtools-mcp": {
"command": "npx",
"args": ["-y", "threejs-devtools-mcp"]
}
}
}Or use the HTTP transport — see Cursor setup guide.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"threejs-devtools-mcp": {
"command": "npx",
"args": ["-y", "threejs-devtools-mcp"]
}
}
}VS Code (Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"threejs-devtools-mcp": {
"command": "npx",
"args": ["-y", "threejs-devtools-mcp"]
}
}
}OpenCode
Add to opencode.json in your project:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"threejs-devtools-mcp": {
"type": "local",
"command": ["npx", "-y", "threejs-devtools-mcp"],
"enabled": true
}
}
}2. Start your dev server and open the browser
Start your Three.js dev server as usual (npm run dev). The MCP server auto-detects the port from package.json and opens a browser at localhost:9222 with the devtools bridge injected.
Keep the browser tab open. The MCP server talks to your scene through a WebSocket bridge. Close the tab = tools stop working.
3. Ask the AI about your scene
"show me the scene tree"
"why is my model invisible?"
"make the car red"
"check for memory leaks"
"what's my FPS?"
"generate a React component from character.glb"In-browser overlay
A built-in devtools panel with live performance stats, interactive scene graph, material editor, and 3D object preview. Activated automatically or via the toggle_overlay tool.
Tip: name your objects
Unnamed objects show as (unnamed) in the scene tree. Named objects are easier to find and modify:
// Three.js
mesh.name = "player";// React Three Fiber
<mesh name="player" geometry={geometry} material={material} />Documentation
- Tools reference — all 59 tools with parameters
- Advanced setup — animations, scene export, configuration, transports
- Cursor setup — step-by-step guide for Cursor
- Token-efficient workflow — best practices for saving context
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Three.js DevTools MCP: common questions
- Is Three.js DevTools MCP server safe?
- Mostly: it is graded B (74/100). Read the Three.js DevTools MCP safety report
- How do I install Three.js DevTools MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Three.js DevTools MCP need an API key?
- No secret keys are declared. It reads 5 settings from the environment.
- Is Three.js DevTools MCP maintained?
- The last commit was 209 days ago (2026-04-07). The latest release is v0.2.1.
- What can I use instead of Three.js DevTools MCP?
- Servers from other publishers that do the same job: agent-device MCP server, Agent-Native Slides MCP server and CHAP Coordinator MCP server.
- How does Three.js DevTools MCP compare with other AI and agents MCP servers?
- safety score 74/100 (higher than 43% of 4,464 AI and agents servers); tools 4 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Three.js DevTools MCP
Same job from other publishers: the closest match first, then the best rated.
- agent-deviceLet AI agents inspect, control, and debug real iOS, Android, desktop, and TV appsnot reviewedWidely usedA
- Agent-Native SlidesAgent-Native Google Slides - generate and edit React presentationsnot reviewedEstablishedA
- CHAP CoordinatorAuditable records of human decisions over AI agent work. Approvals, edits, overrides, escalations.not reviewedEstablishedA
- OpenflowkitArchitecture diagrams for your agent: draw on the live OpenFlowKit canvas or edit diagram files.not reviewedEstablishedA
- three.ws Avatarsthree.ws 3D avatars in your agent: render a live, interactive 3D avatar inline, or get an embed.not reviewedEstablishedA