Skip to main content
Glama
scene-editor-mcp

scene-editor-mcp

by VJigouline

scene-editor-mcp

An MCP server that lets AI clients such as Claude Code and Claude Desktop drive a SceneEditor open in the browser: open models from the internet or from disk, list and inspect objects, move, hide and remove them, fit the view, and take screenshots.

SceneEditor runs in a browser tab, so it can't be an MCP server itself. This package is the bridge: the client starts it as a stdio MCP server, and the editor, opened with the link the bridge gives, connects to it over a WebSocket on 127.0.0.1. The design is in CommonDocuments, scene-editor/mcp-bridge.md.

Setting it up

Claude Code:

claude mcp add scene-editor -- npx -y github:VJigouline/scene-editor-mcp

Claude Desktop, in claude_desktop_config.json:

{
  "mcpServers": {
    "scene-editor": { "command": "npx", "args": ["-y", "github:VJigouline/scene-editor-mcp"] }
  }
}

Then ask the assistant to open SceneEditor. Its open_editor tool opens the editor in your default browser, paired with the bridge. A strip at the bottom of the editor says it is controlled by an AI assistant, with a Disconnect button.

Related MCP server: Blender MCP Server

Options

Option

Default

--port <n>

7777, or the next free port up to 7786

Where the editor connects

--editor-url <url>

https://scene.meercad.com/

The SceneEditor open_editor opens, such as http://localhost:4200/

--allow-origin <url>

Another address SceneEditor is served from; may be repeated

--root <folder>

The current folder

A folder load_file may read; may be repeated

Pass them after the package name, as in npx -y github:VJigouline/scene-editor-mcp --root C:\Models.

Tools

Tool

What it does

status

Whether an editor is connected, and the link that opens one

open_editor

Opens SceneEditor in the browser and waits up to a minute for it to connect

load_model

Opens a model from a web address, with the files a glTF or OBJ file references

load_file

Opens a model from disk, with its buffers, materials and textures, or with include_folder, its whole folder

list_objects

The scene tree: names, uuids, types, paths, visibility and bounding boxes

get_object

An object's transform, bounding box, materials, vertex and triangle counts

set_transform

Position, rotation in degrees and scale, absolute or relative

set_visible

Shows or hides an object

remove_object

Removes an object; SceneEditor has no undo

fit_view

Fits the camera to an object or to the whole scene

screenshot

The 3D view as a PNG or JPEG image

Objects are named by { "uuid": … }, { "name": … } or { "path": "Duck/#0" }. A path step is a name, or #n for the nth child when names are missing or repeated.

Security

  • The bridge listens on 127.0.0.1 only.

  • It accepts connections only from SceneEditor's own addresses, plus --editor-url and --allow-origin.

  • Each start makes a new pairing token, which goes in the link's fragment (#mcp=7777:…), never to a web server. The editor removes it from the address bar.

  • After 5 wrong tokens the bridge refuses every new connection until it is restarted.

  • load_file reads only inside the --root folders, following links.

Chrome may ask once whether scene.meercad.com may reach devices on your computer; allow it for the bridge to work. Safari hasn't been tested.

Development

npm install
npm test
npm run build

scripts/e2e.mjs drives a real editor through every tool, as a client would, and saves the screenshots:

node scripts/e2e.mjs --editor-url http://localhost:4300/SceneEditor/ --out screenshots

It prints the link to open, waits for the editor, and exits non-zero if a step fails. --open opens the link itself.

src/protocol.ts holds the messages both sides send. SceneEditor imports it as scene-editor-mcp/protocol, so a change there needs a matching SceneEditor change.

Available Tools

11 tools
fit_viewFit the viewA

Points the camera at one object, or at the whole scene, and zooms to fit it.

Inputs: ref.

get_objectDescribe an objectB
Read-only

An object's transform, world bounding box, materials, and vertex and triangle counts.

Inputs: ref (required).

list_objectsList objectsC
Read-only

The scene tree: each object's name, uuid, type, path, visibility, child count and world bounding box.

Inputs: root, depth.

load_fileOpen a model from diskA

Reads a model file from this computer and opens it in SceneEditor, with the buffers, materials and textures a glTF or OBJ file references. Only files in the bridge's allowed folders can be read.

Inputs: path (required), replace, include_folder.

load_modelOpen a model from the internetA

Opens a model from a web address in SceneEditor, with the files beside it that a glTF or OBJ file references. GitHub file pages work too. The server must allow other sites to read the file (CORS).

Inputs: url (required), replace.

open_editorOpen SceneEditorA

Opens SceneEditor in the user's browser, paired with this bridge, and waits up to a minute for it to connect.

Inputs: url.

remove_objectRemove an objectA
Destructive

Removes an object and everything below it from the scene. SceneEditor has no undo.

Inputs: ref (required).

screenshotScreenshotB
Read-only

Draws SceneEditor's 3D view and returns it as an image.

Inputs: width, format.

set_transformMove, rotate or scaleB

Sets an object's position, rotation (degrees, XYZ order) and scale, relative to its parent. With relative, adds to the position and rotation and multiplies the scale.

Inputs: ref (required), scale, position, relative, +1 more.

set_visibleShow or hideB

Shows or hides an object and everything below it.

Inputs: ref (required), visible (required).

statusBridge statusA
Read-only

Whether a SceneEditor is connected, its address, and the link that opens one.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have clearly distinct resource+action targets (list_objects vs get_object vs set_transform vs set_visible). The main overlap is load_model vs load_file, which both open a model in the editor and differ only by source (URL vs local path), and a mild overlap between status and open_editor since status also returns the link that opens an editor. Descriptions do disambiguate these in practice.

    Naming Consistency4/5

    Nine of eleven tools follow a clean snake_case verb_noun pattern (load_model, list_objects, get_object, set_transform, set_visible, remove_object, fit_view, open_editor). The two outliers, 'screenshot' and 'status', are bare nouns rather than verb_noun, but they are short, conventional, and unambiguous.

    Tool Count5/5

    Eleven tools is well within the ideal 3-15 range and each one maps to a concrete capability: connection lifecycle, scene loading, inspection, manipulation, and capture. Nothing looks like filler or an accidental duplicate.

    Completeness4/5

    The surface covers connection (status/open_editor), ingestion (load_model/load_file), inspection (list_objects/get_object/screenshot/fit_view), and mutation (set_transform/set_visible/remove_object), so core workflows are closed. Gaps remain: no object creation/primitive add, no rename or duplicate, no reparenting, and no material editing despite materials being reported by get_object.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that bridges AI clients with a frontend 3D visualization application to control model properties, lighting, and camera settings via WebSocket. It enables real-time manipulation of 3D scenes through natural language commands for scaling, rotating, and coloring models.
      61
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI clients to control a running Blender instance through the Model Context Protocol, allowing scene inspection, object creation and editing, rendering, and execution of Blender Python. It works locally via a WebSocket bridge between the MCP server and a Blender add-on.
      15
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to interact with a local Blender desktop application through a TCP bridge for scene inspection, rendering, asset export, visual comparison, and controlled mesh operations.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI clients to inspect, model, shade, light, render, animate, and visually verify 3D work through a local bridge with configurable permission and security controls.
      16
      MIT