threejs-editor-mcp
Provides tools for creating, editing, running, and inspecting Three.js game projects, including scene hierarchy management, transform controls, asset import (GLB/PNG/JPEG), and project export.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@threejs-editor-mcpCreate a new Three.js project with a rotating cube"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
threejs-editor-mcp
English | 简体中文
Create, edit, run, and inspect small Three.js games inside a DeepSeek Harness
chat card. One npm package provides the stdio MCP Server, model tools, app-only
tools, and the bundled ui://threejs-editor/app MCP App.

Architecture
flowchart LR
Agent["Harness Agent"] -->|"model-visible tools"| Host["dsh-mcp-apps"]
Host --> Server["threejs-editor-mcp<br/>stdio server"]
Server --> Store["project.json<br/>diagnostics.json<br/>assets/"]
Server -->|"resources/read"| App["MCP App Sandbox<br/>Three.js Editor"]
App -->|"app-only tools"| Host
Human["Human"] --> AppThe Editor uses the official three npm package. It is a product-owned,
lightweight editor inspired by the official Three.js Editor; no Editor source
is vendored and no separate web service is required.
Related MCP server: threlte-mcp
Install and Run with npm
Install the MCP Apps Host and this MCP Server:
dsh plugin --profile web add @creative-dswork/dsh-mcp-apps
npm install --global threejs-editor-mcp@0.1.0
threejs-editor-mcp --root /absolute/path/to/threejs-projectsOr run the Server without a global install:
npx --yes threejs-editor-mcp@0.1.0 --root /absolute/path/to/threejs-projectsFor a global install, configure the mcp-apps row in the Harness Web profile:
- id: mcp-apps
config:
maxBodyBytes: 2097152
servers:
- serverName: threejs
transport: stdio
command: threejs-editor-mcp
args:
- --root
- /absolute/path/to/threejs-projectsTo let npm resolve the package directly, use npx in the same configuration:
- id: mcp-apps
config:
maxBodyBytes: 2097152
servers:
- serverName: threejs
transport: stdio
command: npx
args:
- --yes
- threejs-editor-mcp@0.1.0
- --root
- /absolute/path/to/threejs-projectsThe root can also be provided with THREEJS_EDITOR_PROJECT_ROOT.
Capabilities
emptyand playablepongproject templates;hierarchy, viewport picking, transform controls, Inspector, undo/redo;
one
start/update/disposegame script with keyboard and pointer input;revision-checked human saves and model changes;
revision-bound Play diagnostics;
GLB, PNG, and JPEG import plus self-contained project export;
clean reload and dirty conflict preservation.
Model-visible tools:
list_projects, create_project, open_editor, inspect_project,
apply_scene_changes, and check_project.
App-only tools:
pull_project, push_project, save_project_copy, report_diagnostics,
put_asset, and export_project.
Asset Limits
Assets are local only. Each file is limited to 256 KiB, each project to eight
files and 512 KiB total. The Server validates names, MIME types, signatures,
GLB 2.0 headers, and rejects external GLB resource URIs. Supported extensions
are .glb, .png, .jpg, and .jpeg.
The JSON export contains the saved project, exact revision, and base64 copies of its original assets. The MCP Apps Host mediates the download because direct downloads are blocked inside the Sandbox.
Development
Requires Node.js 22.19 or newer and pnpm 10.25.
pnpm install
pnpm run check
pnpm run test:packRun the server directly:
pnpm run build
node dist/server.js --root .tmp/projectsThe complete design and phased evidence are in DESIGN.md and
reports/.
Security
Projects and assets are confined to the configured root. Project writes are size-bounded, revision-checked, serialized per project, and committed with temporary-file rename. Project paths, asset paths, symlinks, stale revisions, oversized payloads, mismatched file types, and external asset URLs are rejected. Game scripts run only in the existing different-origin double iframe Sandbox.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP server that enables LLMs to 'see' what's happening in browser-based games and applications through vectorized canvas visualization and debug information.11054MIT
- Alicense-qualityDmaintenanceAn MCP server for inspecting and manipulating Three.js/Threlte scenes in real-time.108MIT
- Alicense-qualityCmaintenanceAn MCP server that lets an LLM build, inspect and drive a running BrowserCard deck live in the browser.MIT
- Alicense-qualityAmaintenanceAn AI-native game engine MCP server that enables AI agents to create, modify, and run games using 53 tools for scene creation, physics, audio, 3D rendering, and AI-generated images and music.1MIT
Related MCP Connectors
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/creativedswork/threejs-editor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server