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