Three.js DevTools MCP
local MCP serverThree.js DevTools MCP is a local MCP server: Inspect and edit Three.js scenes, materials, shaders, lights in real time from any AI agent. Install it from npm as threejs-devtools-mcp.
Installation
Terminal
claude mcp add threejs-devtools -e DEV_PORT=... -e BRIDGE_PORT=... -e BROWSER=... -e HEADLESS=... -e CHROME_PATH=... -- npx -y threejs-devtools-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"threejs-devtools": {
"command": "npx",
"args": [
"-y",
"threejs-devtools-mcp"
],
"env": {
"DEV_PORT": "...",
"BRIDGE_PORT": "...",
"BROWSER": "...",
"HEADLESS": "...",
"CHROME_PATH": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
DEV_PORT,BRIDGE_PORT,BROWSER,HEADLESS,CHROME_PATH
Summary
Inspect and edit Three.js scenes, materials, shaders, lights in real time from any AI agent
Three.js DevTools MCP vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| Three.js DevTools MCP | 109 | Local | Yes | npm |
| three.ws Avatars & Agents | 218 | Hosted | No | None |
| Agent-Native Design | 6,874 | Hosted | No | None |
| Agent Swarm | 835 | Hosted | Yes | None |
| Unity MCP | 327 | Local | Yes | nuget |
Questions
It reads 5 environment variables: DEV_PORT, BRIDGE_PORT, BROWSER, HEADLESS, CHROME_PATH. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
Three.js DevTools MCP is a local MCP server distributed as the npm package threejs-devtools-mcp.
Run: claude mcp add threejs-devtools -e DEV_PORT=... -e BRIDGE_PORT=... -e BROWSER=... -e HEADLESS=... -e CHROME_PATH=... -- npx -y threejs-devtools-mcp
Run: codex mcp add threejs-devtools --env DEV_PORT=... --env BRIDGE_PORT=... --env BROWSER=... --env HEADLESS=... --env CHROME_PATH=... -- npx -y threejs-devtools-mcp
Similar MCP servers
NameStars
- three.ws Avatars & Agentsio.github.nirholas/three.ws218
- Agent-Native Designio.github.BuilderIO/agent-native-design6,874
- Agent Swarmio.github.desplega-ai/agent-swarm835
- Unity MCPdev.shiranui-isuzu/unity-mcp327
- glade-mcpio.github.Glade-tool/glade-mcp223
- three.ws 3D Agent Toolsio.github.nirholas/3d-agent-mcp218
- three.ws Marketplaceio.github.nirholas/marketplace-mcp218
- three.ws Avatarsio.github.nirholas/threews-avatar218