How to build a simple scene from chat with minimal ceremony
Когда использовать: You want a Unity MCP without 100+ tools cluttering your context.
Предварительные требования
- Unity 6 or later — unity.com/download
- Node 18+ — nodejs.org or nvm
- Install package from git URL — Package Manager > + > Add from git URL: https://github.com/CoderGamester/mcp-unity.git
Поток
-
Compose a sceneCreate a new scene 'Playground'. Add a Plane, a Directional Light, and 3 cubes at positions (-2,0,0), (0,0,0), (2,0,0).✓ Скопировано→ Scene appears, objects visible
-
Wire up interactionsAdd a Rigidbody and BoxCollider to each cube. Make cube at origin kinematic.✓ Скопировано→ Components visible on inspect
-
Run testsrun_tests mode=EditMode. Show failures.✓ Скопировано→ Test output
Итог: A working scene + passing tests, all in chat.
Подводные камни
- batch_execute rollback behavior varies — not a real transaction — Assume partial success on error; verify after batch