spawn_push
Compile and push Spawn game project to live room, rebuilding it instantly. Automates conflict resolution and team rebasing for collaborative updates.
Instructions
Compile + push the project live (~1s in the creator's browser). Every push rebuilds the live room. On 409 version_conflict, call spawn_latest then merge .theirs receipts and push again. In team mode pushes are serialised and rebased onto head first, so a 409 is rare and a clean teammate push costs you nothing; a rebase that collides stops the push with your work intact. A successful push proves the spec parsed, nothing more — look at spawn_play_screenshot before calling the work done, and if what you pushed is visual and untextured or plainly styled, the missing piece is a skill you did not load (spawn_skill ids: drawn-art, custom-materials, looks, game-ui).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Whole-replace without base-version rail / discard .theirs (destructive) | |
| dryRun | No | ||
| projectDir | No | Absolute path to the Spawn game project (game.json / .env). Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. |