mcp-server

unity-cli-loop

Let AI Drive Unity, from Editor to Play Mode.
582 stars+1★ this week49 forksC#Updated 10/22/2026100% free · open source
What it does

Provides a command‑line loop that lets an external AI script control Unity Editor and Play mode without opening the UI.

When to use it
  • •You want to generate game content (scenes, prefabs, scripts) automatically from an LLM and see the results instantly.
  • •You need to run automated play‑testing cycles where AI decides the next action after each frame.
  • •You are building a CI pipeline that must compile, launch, and stop Unity to capture screenshots or logs.
Ready-to-paste prompt
curl -X POST http://localhost:5000/command -H "Content-Type: application/json" -d '{"action":"SpawnEnemy","type":"Orc","location":[5,0,3],"behavior":"Aggressive"}'
Heads up: The tool requires Unity to be installed and reachable via the `Unity` command‑line (e.g., `Unity.exe` on Windows or `unity` on macOS/Linux); if the executable is not on your PATH, `unity-cli-loop` will fail to launch the editor.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/unity-cli-loop && curl -fsSL https://workflowstacks.com/api/skills/unity-cli-loop/claude-skill -o ~/.claude/skills/unity-cli-loop/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

Quick Actions
Details
Creator
hatayama
Language
C#
Category
mcp-server
Published
6/15/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/unity-cli-loop.svg)](https://workflowstacks.com/skills/unity-cli-loop?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.