build-cli
Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.
Save and quit an editor that a CLI session started (`unity-mcp-cli exec`, `open --headless`). Needs the session lease nonce; an editor the user opened is never closed. Used by `unity-mcp-cli close`.
$ npx -y skills add IvanMurzak/Unity-MCP --skill editor-session-quit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/editor-session-quitContext preview
The summary Claude sees to decide when to auto-load this skill.
Save and quit an editor that a CLI session started (`unity-mcp-cli exec`, `open --headless`). Needs the session lease nonce; an editor the user opened is never closed. Used by `unity-mcp-cli close`.
name: editor-session-quit description: Save and quit an editor that a CLI session started (`unity-mcp-cli exec`, `open --headless`). Needs the session lease nonce; an editor the user opened is never closed. Used by `unity-mcp-cli close`. metadata: generated-by: mcp-plugin-dotnet
Save and quit an editor that a CLI session started.
Refuses unless this editor was started by a CLI session (`AIGD_SESSION_OWNER=cli`) with the same nonce. Otherwise answers right away, then saves changed scenes that have a file and changed assets and exits — as the idle shutdown does. Unlike the OS polite-quit signal it also reaches a headless (`-batchmode`) editor. Prefer `unity-mcp-cli close --owned-only` over calling it directly.
unity-mcp-cli run-system-tool editor-session-quit --input '{
"nonce": "string_value"
}'> For complex input (multi-line strings, code), save the JSON to a file and use: > ```bash > unity-mcp-cli run-system-tool editor-session-quit --input-file args.json > ``` > > Or pipe via stdin (recommended): > ```bash > unity-mcp-cli run-system-tool editor-session-quit --input-file - <<'EOF' > {"param": "value"} > EOF > ```
If `unity-mcp-cli` is not found, either install it globally (`npm install -g unity-mcp-cli`) or use `npx unity-mcp-cli` instead. Read the /unity-initial-setup skill for detailed installation instructions.
| Name | Type | Required | Description | |------|------|----------|-------------| | `nonce` | `string` | Yes | The nonce of the project's CLI session lease (.ai-game-dev/session.json). |
{
"type": "object",
"properties": {
"nonce": {
"type": "string"
}
},
"required": [
"nonce"
]
}{
"type": "object",
"properties": {
"result": {
"type": "string"
}
},
"required": [
"result"
]
}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
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.
Install a Unity package from the registry, a Git URL, or a local path. Modifies `manifest.json` and triggers package resolution;…
List all UPM packages installed in the Unity project — name, version, source, description. Optionally filter by source (registry,…
Uninstall a UPM package from the Unity project. Modifies `manifest.json` and may trigger a domain reload — the final result is…
Search Unity's package registry plus locally installed packages (Git, local, embedded sources) by query string. Returns available…