packages/tools/nme-mcp-server/README.md
MCP server for AI-driven Babylon.js Node Material authoring.
create_material -> add_block -> connect_blocks -> set_block_properties -> validate_material -> export_material_json
For scene integration, export the material JSON and hand it to Scene MCP through add_material.
babylonjs-node-material
npm run build -w @tools/nme-mcp-server
npm run start -w @tools/nme-mcp-server
The exported NME JSON can be handed to the Scene MCP server through add_material, either inline or via nmeJsonFile.
src/index.ts: MCP tool registrationsrc/materialGraph.ts: in-memory graph managersrc/sessionServer.ts: optional live session bridge