Agent skill
build-cli
Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.
Install this agent skill to your Project
npx add-skill https://github.com/IvanMurzak/Unity-MCP/tree/main/.claude/skills/build-cli
SKILL.md
Build CLI
Build the unity-mcp-cli TypeScript project and optionally link it globally.
Step 1 — Install Dependencies
cd cli && npm install
Only needed if node_modules/ is missing or package.json changed.
Step 2 — Build TypeScript
cd cli && npm run build
This compiles src/**/*.ts → dist/**/*.js via tsc.
Step 3 — Link Globally (if $ARGUMENTS contains --link or first time)
cd cli && npm link
This creates a global symlink so unity-mcp-cli is available from any terminal. Only needed once — after that, npm run build alone is sufficient.
Step 4 — Verify
unity-mcp-cli --version
Confirm the CLI is accessible and shows the expected version.
Report
Print the version and confirm success. If any step failed, show the error output.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
github-pr-review-fix
Review and resolve PR comments from GitHub. Validates each comment, fixes legitimate issues.
assets-material-create
Create new material asset with default parameters. Creates folders recursively if they do not exist. Provide proper 'shaderName' - use 'assets-shader-list-all' tool to find available shaders.
screenshot-scene-view
Captures a screenshot from the Unity Editor Scene View and returns it as an image. Returns the image directly for visual inspection by the LLM.
editor-application-get-state
Returns available information about 'UnityEditor.EditorApplication'. Use it to get information about the current state of the Unity Editor application. Such as: playmode, paused state, compilation state, etc.
scene-open
Open scene from the project asset file. Use 'assets-find' tool to find the scene asset first.
assets-prefab-save
Save a prefab. Use it when you are in prefab editing mode in Unity Editor. Use 'assets-prefab-open' tool to open a prefab first.
Didn't find tool you were looking for?