Unity-MCP build-cli

Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.

install
source · Clone the upstream repo
git clone https://github.com/IvanMurzak/Unity-MCP
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/IvanMurzak/Unity-MCP "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/build-cli" ~/.claude/skills/ivanmurzak-unity-mcp-build-cli && rm -rf "$T"
manifest: .claude/skills/build-cli/SKILL.md
source content

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.