Agent Kit for Unity
Make Cursor and Claude Code actually useful on a real Unity game — fewer wrong files, fewer broken compiles, faster answers.
Most AI helpers only see open tabs and a vague chat. Agent Kit for Unity gives both hosts the same project toolkit: skills + MCP that understand your Unity layout — so the agent finds the right script, prefab, and compile path instead of guessing.
Free to install. One Init. No portal for Core. No new IDE. Same free packs whether you live in Cursor chat or Claude Code.
Built for Cursor and Claude Code
Agent Kit is host-friendly by design — not locked to one chat product.
| Host |
How Agent Kit helps |
| Cursor |
Side panel Init Agent Kit (or Command Palette) wires MCP + skills into the Unity folder you already use |
| Claude Code |
Same free packs via init-agent-kit.ps1 / MCP agent_kit_init — long refactors still see your Unity index and compile gate |
| Both on one project |
One Init · shared .cursor skills · switch host without re-learning a different “Unity AI” stack |
Why that matters: studios often mix Cursor for day-to-day edits and Claude Code for deep passes. Agent Kit keeps one Unity-aware toolkit under both.
What you get day-to-day (free)
1. Stop blind search across the whole repo
PKE builds a live index of C# types, modules, and prefab fingerprints. Ask “where is this manager?” or “what references this prefab?” without dumping thousands of lines into context.
2. Safer Unity changes
Unity MCP (bridge) lets the agent ping the Editor, run a compile check, and verify playmode-related paths when Unity is open — so “I fixed it” is backed by a real compile, not vibes.
3. Less setup friction for the whole team
Cursor: one panel → Init. Claude / git: one script. New hires get the same agent toolkit without hunting wiki pages.
4. Better prompts, less token waste
Index + structured tools beat “read every .cs under Assets”. Clearer answers on big games.
5. Capabilities for your agent — not another chatbot
We don’t replace Cursor or Claude. We add Unity-aware MCP + skills so the agent you already pay for works better on this repo.
6. Clear upgrade path when you need content tools
Free covers “understand & verify the project”. VFX catalogs, Builder recipes, Shader Graph, and Figma→HUD unlock on the Agent Kit portal — same workflow, more packs (those MCP modules ship only with their pack).
Concrete jobs it helps with
| Job |
How free Agent Kit helps |
| “Where is battle pass / boot / room UI code?” |
PKE module / type lookup instead of repo-wide grep |
| “Did this C# change even compile?” |
Unity bridge compile / verify from either host |
| “Wire MCP the same on every machine” |
Init → consistent project setup |
| “Dev uses Cursor, lead uses Claude Code” |
Shared free packs — same project map |
| “Onboard a contractor to our Unity repo” |
Init once; agent already has project map |
| “Keep AI from editing the wrong assembly” |
Index-first discipline before wide file reads |
What’s in free Init (offline)
| Pack / piece |
Useful for |
| core |
Tip MCP (agent_kit_*), Cursor + Claude host wiring |
| unity-runtime |
Editor bridge — ping, compile, verify + ISR usage tools |
| pke |
Live C# / prefab / reference index modules |
Not in free (Pro / Studio — separate pack MCP): VFX catalog · Builder · Shader Graph · Figma HUD · Review.
Free Init copies from the bundled free pack — no license web required for Core.
Quick start (Cursor)
- Open your Unity project folder as the workspace (File → Open Folder)
- Install Agent Kit for Unity 0.1.6+ (VSIX or Marketplace/Open VSX)
- Open the side panel: activity bar → Agent Kit for Unity → Init Agent Kit
Or Command Palette (Ctrl+Shift+P) → type Init Agent Kit → run Agent Kit for Unity: Init Agent Kit
- Wait for the progress toast (copies free packs + may run local
npm install)
- Reload MCP · try
agent_kit_client_status · unity_ping · agent_get_index_health
If Command Palette says command not found: extension not installed/enabled, or still on an old build — install 0.1.6 from VSIX. Node.js 18+ must be on PATH.
Claude Code / git
powershell -File agent-kit-client/scripts/init-agent-kit.ps1 -HostName both
Or MCP agent_kit_init with hosts: ["cursor","claude-code"] once tip MCP is available.
Same free packs: agent-kit-client.
Requires: Node.js 18+ on PATH (local npm install once inside bundled MCP folders).
Privacy
- Free Init does not call the network (offline free bundle)
- Optional Open account page only if you set a License API (Pro upgrades)
- No product telemetry from this extension
Links