packages/tools/gui-mcp-server/README.md
MCP server for AI-driven Babylon.js GUI layout authoring.
create_gui -> add_control -> set_properties -> describe_gui -> export_gui_json
Grid-based UIs typically also use the row and column management tools before adding child controls.
babylonjs-gui
npm run build -w @tools/gui-mcp-server
npm run start -w @tools/gui-mcp-server
GUI JSON can be attached to the Scene MCP server through attach_gui, either inline or via guiJsonFile.
src/index.ts: MCP tool registrationsrc/guiManager.ts: GUI state and serialization logicsrc/catalog.ts: control catalog and shared property metadata