babylon-mcp
Drives the Babylon.js Editor (5.5) through its own embedded MCP server, exposing tools for the scene, meshes, materials, lights, scripts, play-testing, and screenshots, so an agent can inspect and modify an open editor project. The plugin keeps the editor's MCP server running on a fixed port with a persistent token, and the stdio server proxies those editor tools to the agent.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
babylon-mcp
Lets any agent on your machine drive the Babylon.js Editor (5.5) through the editor's own MCP server: Claude Code in a terminal or a desktop app, Codex, anything that speaks MCP.
The editor ships an MCP server with tools for the scene, meshes, materials, lights, scripts, play-testing and screenshots, but it only starts it while a session of its AI Assistant panel runs, on a random port with a random token. This package keeps that same server on for as long as the project is open.
How it works
Editor plugin (
babylon-mcp/editor): when the project opens, it starts the editor's MCP server (build/src/mcp/mcp.jsin the editor'sapp.asar) on a fixed port, 3712 by default. It writes the connection to~/.babylonjs-editor-mcp/connection.json: the URL, a token kept across restarts, and where the editor's stdio server lives. The token stays out of the project.Stdio server (
babylon-mcp): what your agent runs. It reads that file and starts the editor's own stdio server with the editor's executable (as Node.js), so the tools are exactly the ones the AI Assistant gets.
Related MCP server: DC-COCO-MCP
Install
In the editor project, from a GitHub release, as a tarball over HTTPS:
npm install --save-dev https://github.com/acronita/babylon-mcp/archive/refs/tags/0.1.0.tar.gzAdd the plugin to project.bjseditor, or in the editor under the project's plugins:
"plugins": [{ "nameOrPath": "babylon-mcp/editor" }]Reopen the project. The editor's console says Babylon MCP: listening on port 3712.
Register the server with your agent. For Claude Code, in the project's .mcp.json:
{
"mcpServers": {
"babylonjs-editor": { "type": "stdio", "command": "node", "args": ["node_modules/babylon-mcp/src/server.mjs"] }
}
}Notes
One editor window at a time: a second window finds the port taken and says so in its console. Set
BABYLON_MCP_PORTin the editor's environment to use another port.The server only accepts requests from local processes that know the token, and rejects requests from web pages (the editor's own checks).
It relies on editor internals (
build/src/mcp/mcp.js,build/mcp/index.mjs). If an editor update moves them, the plugin says so in the console instead of failing silently.Tested with Babylon.js Editor 5.5 on Windows.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
MCP server to assist with JxBrowser development.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityAmaintenanceConnects MCP clients directly to a live Godot editor, enabling AI assistants to build scenes, edit nodes, and control the editor through over 120 operations.473,579MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI clients to control Cocos Creator editor projects, scenes, nodes, components, assets, Prefabs, building, and diagnostics via the MCP protocol.-
- AlicenseBqualityCmaintenanceConnects MCP-capable AI clients to a running Godot 4 editor for scene, node, project, and debug runtime operations via a local-first architecture.361MIT
- AlicenseNot gradedqualityBmaintenanceEnables development assistants to inspect and work with Cocos Creator projects through a local MCP server.3MIT