blender-to-unity
Hand off a model from Blender (via BlenderMCP) into Unity (via MCP for Unity) — export the current Blender model, import it…
Switch MCP for Unity package source in connected Unity projects. Use /mcp-source [main|beta|branch|local] to swap between upstream releases, your remote branch, or local dev checkout.
Claude Code
$ npx -y skills add CoplayDev/unity-mcp --skill mcp-source --agent claude-code
Codex
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a codex -y
Cursor
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a cursor -y
Gemini CLI
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a gemini-cli -y
GitHub Copilot
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a github-copilot -y
OpenCode
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a opencode -y
Windsurf
$ npx skills add CoplayDev/unity-mcp --skill mcp-source -a windsurf -y
name: mcp-source description: Switch MCP for Unity package source in connected Unity projects. Use /mcp-source [main|beta|branch|local] to swap between upstream releases, your remote branch, or local dev checkout.
You are switching the `com.coplaydev.unity-mcp` package source in one or more Unity projects.
Bash, Read, Edit, ReadMcpResourceTool, ListMcpResourcesTool
The user's argument is: `$ARGUMENTS`
Valid values: `main`, `beta`, `branch`, `local`, or empty.
If empty or not one of the four valid values, ask the user to choose:
Run these git commands from the current working directory to find the unity-mcp repo:
git rev-parse --show-toplevel # → repo_root git rev-parse --abbrev-ref HEAD # → branch_name git remote get-url origin # → origin_url
Convert SSH origins to HTTPS: if `origin_url` starts with `git@github.com:`, transform it to `https://github.com/{owner}/{repo}.git`.
Try two approaches to find `Packages/manifest.json` files to update:
**Approach A — MCP resources (preferred):** Read `mcpforunity://project/info` for each connected Unity instance (use `ListMcpResourcesTool` to find available instances). Extract `projectRoot` and use `{projectRoot}/Packages/manifest.json`.
**Approach B — filesystem fallback:** If no MCP instances are connected, search upward from the current working directory for `Packages/manifest.json` files using Bash:
find "$(pwd)" -maxdepth 3 -name "manifest.json" -path "*/Packages/manifest.json" 2>/dev/null
If multiple manifests are found, update all of them (confirming with the user first).
Based on the user's selection, construct the dependency value:
| Selection | URL | |-----------|-----| | `main` | `https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main` | | `beta` | `https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#beta` | | `branch` | `{origin_https}?path=/MCPForUnity#{branch_name}` | | `local` | `file:{repo_root}/MCPForUnity` |
For `branch`: use the HTTPS-normalized origin URL and current git branch name. For `local`: use the absolute path to the repo root with `file:` prefix (no `//`), e.g. `file:/Users/davidsarno/unity-mcp/MCPForUnity`.
For each discovered `manifest.json`:
1. Read the file with the Read tool 2. Find the `"com.coplaydev.unity-mcp"` dependency line 3. Use the Edit tool to replace the old value with the new URL 4. Report what was changed: old value → new value, file path
After updating, tell the user:
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Hand off a model from Blender (via BlenderMCP) into Unity (via MCP for Unity) — export the current Blender model, import it…
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.