Three.js DevtoolsBLOCK
Three.js MCP server — inspect and edit scenes, materials, shaders, lights in real time from any AI agent
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.npmjs.com/package/threejs-devtools-mcp) [](LICENSE) [](https://github.com/DmitriyGolub/threejs-devtools-mcp/actions) [](https://mcp-marketplace.io/server/io-github-dmitriygolub-threejs-devtools)
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-mcp
Claude Desktop
Add to claude_desktop_config.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
455dd7a3a480OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add threejs-devtools-mcp -- npx -y [email protected]
Exposed tools (8)
6 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
annotated_screenshot | read | |
bridge_status | read | |
gltf_to_r3f | read | |
scene_export | read | |
set_dev_port | write | |
set_dev_url | write | |
take_screenshot | read | |
texture_preview | read |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (5 observation(s))
- Network
- declared (5 observation(s))
- Shell
- declared (2 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (10)
const fn = new Function('scene', 'renderer', 'camera', 'gl', code);exec(cmd, () => {});.mcpbignore
import type { ThreeContext } from '../../types.js';import type { ThreeContext } from '../../types.js';import type { Handler, ThreeContext } from '../../types.js';import { getCaptured } from '../../discovery/state.js';import type { ThreeContext } from '../../types.js';@modelcontextprotocol/sdk, puppeteer-core, ws, zod, @types/node, @types/ws, tsup, typescript
docs/images/annotated.png
Gates applied: no_behavioural_pass.
455dd7a3a480full audit observations/trust-audit/mcp-server/dmitriygolub__three-js-devtools.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 455dd7a3a480 | BLOCK | D | 69 | first audit |
Questions
What is the Three.js Devtools MCP server?
Three.js MCP server — inspect and edit scenes, materials, shaders, lights in real time from any AI agent
What tools does Three.js Devtools expose?
8 in total: 6 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Three.js Devtools safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Three.js Devtools need?
No credential environment variables were found in its source, so it appears to need none.
How does Three.js Devtools run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as threejs-devtools-mcp at 0.4.1.
How current is this page?
The grade is for one exact copy of the source (455dd7a3a480), read on 2026-10-07. The repository is watched and re-audited when it changes.