Unity VRC MCP
Runs an in-editor HTTP bridge inside the Unity Editor and exposes tools to inspect and drive the project: editor status, console logs, asset refresh, play mode control, menu items and static method invocation, scene hierarchy and object inspection, property setting, blendshape listing, asset search/selection, and viewport capture.
Provides tools for VRChat avatar development: edit-mode avatar and animator inspection (write defaults, parameters/conditions, clip bindings, menus), live Av3Emulator debugging in play mode (state, parameter setting, recording transitions, live menu values), and VRChat SDK operations including status, validation, performance stats, avatar info listing from the VRChat API, local builds, and new-version/multi-platform uploads.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Unity VRC MCP
An MCP server for Claude Code (or any MCP client) that inspects and drives the Unity editor. It is aimed at VRChat avatars: debugging animators, expression parameters and menus, clip bindings and the live state of the Av3Emulator in play mode, and running the VRChat SDK's validation, builds and uploads.
Install
Add to VCC / ALCOM (one click on that page), or add the repository by hand in ALCOM or the VRChat Creator Companion under Settings → Packages → Add Repository:
https://raw.githubusercontent.com/GNimrodG/unity-vrc-mcp/vpm/index.jsonThen:
Add Unity VRC MCP to your avatar project.
Open the project in Unity. The package adds a
unityserver to the project's.mcp.jsonby itself (the menu Tools → Unity VRC MCP → Register in .mcp.json does it again).Start Claude Code in the project folder and approve the
unityMCP server.
Requirements: Unity 2022.3, the VRChat SDK 3.4+, Node.js 18+ on PATH, and an MCP client such as Claude Code. The
Av3Emulator tools need Av3Emulator 3.4+.
A private repository's listing and release files need a GitHub token. Add the repository with the header
Authorization = Bearer <token>, using a fine-grained token limited to that repository with read-only Contents
access. The listing tells ALCOM/VCC to send Accept: application/octet-stream when it downloads the zips.
Related MCP server: VRChat Project MCP
How it works
Editor/is an editor-only assembly that runs a small HTTP bridge inside Unity on127.0.0.1:47811. Requests need the random token inLibrary/UnityVrcMcp/token, which the bridge creates on first load. Because the bridge is its own assembly, it keeps running and reports the errors when the project's other scripts fail to compile.Server~/server.mjsis a dependency-free MCP server (stdio). Claude Code starts it from.mcp.json. It forwards tool calls to the bridge and waits through script compiles and domain reloads.
Unity only compiles changed scripts after its window has had focus at least once, so click into Unity after installing or updating the package.
Tools
Area | Tools |
Editor |
|
Scene and assets |
|
Avatar (edit mode) |
|
Av3Emulator (play mode) |
|
Snapshots |
|
VRChat SDK |
|
Animator fixes |
|
Code and batches |
|
Background jobs |
|
Typical Av3 debugging flow:
play_mode {state: "play"}av3_stateto see inputs, parameters and the current state of every animator layerav3_set {params: {GestureLeft: "Fist"}, observeSeconds: 2}orav3_record {seconds: 3, only: ["Horns*", "FX/Horns"]}to log what changesinspect_animator {path: "<avatar>", avatarLayer: "FX", layer: "Horns", detail: "full"}
In play mode the emulator runs the controllers that VRCFury (and optimizers such as d4rkAvatarOptimizer) build, so layer
and parameter names can differ from the source controllers ([VFnn] layer prefixes, VFnn_ parameters).
VRChat SDK tools
These need the VRChat Avatars SDK (com.vrchat.avatars 3.4+); without it they are left out. They use the SDK's own
builder, validation and API client, so they behave like the SDK Control Panel:
vrc_sdk_status: SDK versions, build target, login state, Control Panel state, scene avatars and their blueprint ids.vrc_validate: the SDK's pre-upload checks (the errors, warnings and stats the Control Panel lists) for the current build target.vrc_performance: PC and mobile performance ratings with the raw stats.vrc_avatar_info,vrc_my_avatars: avatar records from the VRChat API (release status, versions, platforms, dates).vrc_build: a local build, or "Build & Test", for the current build target. Runs VRCFury and other build hooks. Nothing is uploaded.vrc_upload,vrc_update_avatar: upload a new version (or a new avatar), or change name, description, tags or release status. Withoutconfirm: truethey only return a preview of what would happen.
The tools never handle credentials. When the SDK isn't logged in yet, they log in with the credentials the SDK saved,
exactly as the Control Panel does when it opens, so the panel doesn't need to be open. If nothing is saved (or it
expired), log in once in the SDK Control Panel. API calls, builds and uploads run as background jobs: the tool waits
for them, and job_status / job_cancel handle long ones.
Copyright agreement
The SDK asks you to confirm VRChat's ownership agreement once per avatar per Unity session. The vrc_upload preview
says whether it will ask and shows the agreement's text. You can answer it in the chat: when you agree there, the agent
passes agreeCopyright: true and the agreement is recorded with VRChat exactly as the SDK's OK button does, so Unity
doesn't ask. If you'd rather click it in Unity, or the avatar is brand new (it only gets an id during the upload), the
job reports that it is waiting for you, and the agent tells you to click OK in the SDK Control Panel.
Several platforms
Without platforms, vrc_upload uploads for the editor's current build target. With platforms (["all"], or any of
windows, android, ios) it runs the SDK's own multi-platform upload, like the Control Panel's platform selector:
The preview lists which object is built per platform, including the avatar's per-platform overrides (for example a separate Quest version), and whether Unity's build support for each platform is installed.
Unity switches its build target for every other platform. That reloads scripts, and Android/iOS may re-import assets for a long time. At the end it switches back to the platform you started on. Keep the SDK Control Panel open.
The job (
vrc_upload_multi-…) keeps its id across those reloads. When the chain ends it asks the VRChat API which platforms got a new bundle and reports each one.
Fixing animators, running code
edit_animatormakes targeted, undoable edits to a controller: set or add or remove transitions (conditions such as"Toggle","!Toggle","Param > 0.5", exit time, duration, Can Transition To Self, interruption), states (motion, write defaults, speed and time parameters), write defaults for a layer or the whole controller, parameters and layer settings. It refuses generated controllers (VRCFury build output, optimizer copies, package files) because those edits would be lost on the next build, rejects==on Float parameters, and won't remove a parameter that transitions still use. New Any State transitions start with Can Transition To Self off.execute_codecompiles a C# snippet with the compiler Unity ships and runs it in the editor. Nothing is written toAssets/and scripts don't reload, so it also works during play mode and Av3Emulator sessions. The snippet is a method body returning a value;Mcp.Find(path),Mcp.PathOf(obj)andMcp.Log(x)help with scene objects. Unity's bundled compiler only understands older C# (about C# 7).batch_executeruns up to 50 tool calls in one request.
All tools carry MCP annotations (readOnlyHint, destructiveHint, openWorldHint), so clients can tell the
read-only ones from those that change the project or VRChat.
Several projects at once
Each open Unity project needs its own port. Put the number in ProjectSettings/UnityVrcMcpPort.txt; the MCP server
reads the same file. UNITY_MCP_PORT and UNITY_PROJECT_DIR override the port and project folder.
Security
The bridge listens on loopback only, checks the Host header and requires the per-project token, so web pages can't
call it. Anything that can read the project's Library folder can, and the bridge can run editor code
(invoke_static_method, execute_menu_item), so treat that token like a password.
Releasing
Bump version in package.json, add a CHANGELOG.md entry, then push a tag v<version>. The Release workflow
builds the zip and creates the GitHub release; the Listing workflow then rebuilds index.json from all releases and
force-pushes it to the vpm branch. If the repository becomes public, run Listing once (Actions → Listing → Run
workflow) so the zip URLs switch to plain download links that need no token.
Credits
execute_code's compile approach is adapted from MCP for Unity by CoplayDev
(MIT); see THIRD_PARTY_NOTICES.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server for AI.TV creators — delegate account operations to your AI agent over MCP.
Build, test, publish, and run Kovca workflows from AI agents over remote MCP.
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceUnity Editor automation bridge for AI agents and MCP clients, enabling inspection, control, and diagnostics of the Editor.MIT
- AlicenseNot gradedqualityDmaintenanceA Unity editor MCP plugin that exposes 49 tools over HTTP for managing Unity projects and editing VRChat avatars, including expressions, parameters, and performance stats.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access Unity Editor project information, scene hierarchies, object inspection, selection state, and console logs through MCP.MIT
- AlicenseDqualityCmaintenanceEnables AI clients to control and inspect a Unity Editor through MCP tools for scene and play-mode operations, logs, screenshots, assertions, Lua execution, UI interaction, world observation, and bridge management; advanced UI/Lua/world features require project-specific adapters.41MIT