build-cli
Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.
Provides an initial setup for AI Skills, `unity-mcp-cli` command line tool installation and everything else that is helpful to set up at the start of the project. Essential packages, and basic configurations.
$ npx -y skills add IvanMurzak/Unity-MCP --skill unity-initial-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/unity-initial-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Provides an initial setup for AI Skills, `unity-mcp-cli` command line tool installation and everything else that is helpful to set up at the start of the project. Essential packages, and basic configurations.
name: unity-initial-setup description: |- Provides an initial setup for AI Skills, `unity-mcp-cli` command line tool installation and everything else that is helpful to set up at the start of the project. Essential packages, and basic configurations.
This guide walks through installing the `unity-mcp-cli` command-line tool and using it to set up a Unity project with AI Skills and MCP integration.
---
`unity-mcp-cli` requires **Node.js ^20.19.0 || >=22.12.0** (Node 21.x is not supported). If you don't have Node.js installed:
Download the installer from https://nodejs.org/ and run it, or use a package manager:
winget install OpenJS.NodeJS.LTS
After installation, verify both `node` and `npm` are available:
node --version npm --version
---
Install the CLI globally so the `unity-mcp-cli` command is available system-wide:
npm install -g unity-mcp-cli
Verify installation:
unity-mcp-cli --version
> **Alternative**: Run any command without installing globally using `npx`: > ```bash > npx unity-mcp-cli --help > ```
---
Add the plugin to an existing Unity project:
unity-mcp-cli install-plugin /path/to/unity/project
Enable all tools, prompts, and resources:
unity-mcp-cli configure /path/to/unity/project \ --enable-all-tools \ --enable-all-prompts \ --enable-all-resources
Configure MCP integration for your AI agent (e.g., Claude Code, Cursor, Copilot):
unity-mcp-cli setup-mcp claude-code /path/to/unity/project
List all supported agents:
unity-mcp-cli setup-mcp --list
Generate skill files for your AI agent (requires Unity Editor to be running with the plugin):
unity-mcp-cli setup-skills claude-code /path/to/unity/project
unity-mcp-cli open /path/to/unity/project
---
| Command | Description | |---|---| | `unity-mcp-cli install-plugin <path>` | Install Unity-MCP plugin into a project | | `unity-mcp-cli remove-plugin <path>` | Remove Unity-MCP plugin from a project | | `unity-mcp-cli configure <path> --list` | List current MCP configuration | | `unity-mcp-cli setup-mcp <agent> <path>` | Write MCP config for an AI agent | | `unity-mcp-cli setup-skills <agent> <path>` | Generate skill files for an AI agent | | `unity-mcp-cli create-project <path>` | Create a new Unity project | | `unity-mcp-cli install-unity <version>` | Install a Unity Editor version | | `unity-mcp-cli open <path>` | Open a Unity project in the Editor | | `unity-mcp-cli run-tool <tool> <path>` | Execute an MCP tool via HTTP API |
Add `--verbose` to any command for detailed diagnostic output.
---
Get up and running in three steps: Install plugin — download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp Alternative: npx unity-mcp-cli install-plugin ./MyUnityProject — see CLI documentation Pick an AI agent — Claude Code, Claude
Repo: IvanMurzak/Unity-MCP
Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.
Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.
Copy assets at given paths and store them at new paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the source assets first.
Create a new folder under a parent folder inside 'Assets/'. The parent path must start with 'Assets/' and every intermediate folder in it must already exist.…
Delete the assets at the given project paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the assets first.
Search the built-in assets of the Unity Editor (located at Resources/unity_builtin_extra). Filters by name and/or type; built-in assets have no GUID so…