Babylon.js MCP Servers

Build and edit Babylon.js node materials, geometry, particles, GUIs and graphs through tool calls

Official · Babylon.js JavaScript Local · stdio DesignDeveloper tools

59 popularity score ★ 26k ↓ 1.6k/wk

Connect your client

Local (npm)

Add in one click

Opens the app, which asks before it adds the server.

Or add it by command or config

Claude CodeTerminal
claude mcp add babylon-js-servers -- npx -y @babylonjs/mcp-servers nme
Claude Desktopclaude_desktop_config.json
{
  "mcpServers": {
    "babylon-js-servers": {
      "command": "npx",
      "args": [
        "-y",
        "@babylonjs/mcp-servers",
        "nme"
      ]
    }
  }
}
Cursor~/.cursor/mcp.json
{
  "mcpServers": {
    "babylon-js-servers": {
      "command": "npx",
      "args": [
        "-y",
        "@babylonjs/mcp-servers",
        "nme"
      ]
    }
  }
}
VS Code.vscode/mcp.json
{
  "servers": {
    "babylon-js-servers": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@babylonjs/mcp-servers",
        "nme"
      ]
    }
  }
}
Codex~/.codex/config.toml
[mcp_servers.babylon-js-servers]
command = "npx"
args = ["-y", "@babylonjs/mcp-servers", "nme"]
Gemini CLITerminal
gemini mcp add --scope user babylon-js-servers npx -- -y @babylonjs/mcp-servers nme

What it does

Babylon.js MCP Servers is a single npm package from the Babylon.js project that bundles seven MCP servers, one for each of the Babylon.js visual editors: Node Material Editor (nme), Node Geometry Editor (nge), Node Render Graph Editor (nrge), Node Particle Editor (npe), GUI Editor (gui), Flow Graph Editor (flow-graph) and Smart Filters Editor (smart-filters). Each one is started on its own, either through the dispatcher (npx -y @babylonjs/mcp-servers nme) or through its own binary such as babylonjs-nme-mcp-server.

The servers let an assistant create, edit, validate, import and export Babylon.js authoring graphs held in memory: add blocks, connect ports, set block properties, check the graph for problems and export it as the JSON the Babylon.js editors and runtime load. The Node Material server can also import from and save to Babylon.js snippets.

The graph servers can start a local editor session server and return a session URL. Pasting that URL into the matching Babylon.js editor's MCP session panel shows live updates from the server and pushes editor changes back. It needs Node.js and no account or key.

What it needs

RuntimeNode.js

Tools 45

create_material
Node Material server: create an in-memory Node Material graph.
validate_material
Node Material server: validate a Node Material graph.
export_material_json
Node Material server: export the graph as NME JSON.
create_geometry
Node Geometry server: create a Node Geometry graph.
validate_geometry
Node Geometry server: validate a Node Geometry graph.
export_geometry_json
Node Geometry server: export the graph as JSON.
create_particle_system
Node Particle server: create a node particle system graph.
validate_particle_system
Node Particle server: validate a particle system graph.
export_particle_system_json
Node Particle server: export the particle system as JSON.
create_render_graph
Node Render Graph server: create a render graph.
create_gui
GUI server: create a Babylon.js GUI.
add_control
GUI server: add a control to a GUI.
set_properties
GUI server: set properties on a GUI control.
describe_gui
GUI server: describe the current GUI.
export_gui_json
GUI server: export the GUI as JSON.
create_graph
Flow Graph server: create a flow graph.
connect_data
Flow Graph server: connect data ports between blocks.
connect_signal
Flow Graph server: connect signal ports between blocks.
export_graph_json
Flow Graph and Node Render Graph servers: export the graph as JSON.
stop_session_server
Stop the local live editor session server.
create_filter_graph
Smart Filters server: create a Smart Filter graph.
list_filter_graphs
Smart Filters server: list graphs in memory.
delete_filter_graph
Smart Filters server: delete a graph.
clone_filter_graph
Smart Filters server: clone a graph.
clear_all
Smart Filters server: clear all graphs.
list_block_types
List available block types.
get_block_type_info
Get details on a block type.
list_categories
List block categories.
describe_graph
Describe a graph.
describe_block
Describe one block in a graph.
add_block
Add a block to a graph (used by all graph servers).
add_blocks_batch
Add several blocks at once.
remove_block
Remove a block from a graph.
set_block_properties
Update a block's properties.
get_block_properties
Read a block's properties.
connect_blocks
Connect an output port to an input port.
connect_blocks_batch
Make several connections at once.
disconnect_input
Disconnect a block input.
list_connections
List connections in a graph.
validate_graph
Validate a graph and report problems.
list_issues
List validation issues.
import_filter_graph_json
Import a Smart Filter graph from JSON.
export_filter_graph_json
Export a Smart Filter graph as JSON, optionally to a file.
find_blocks
Search blocks in a graph.
find_block_types
Search block types.

Similar servers