1. Conduid
  2. Gaming
  3. UnityMCP VRC
MCP server · Gaming

UnityMCP VRC

MCP Server for Unity with help for creating VRChat worlds

Unclaimed gaming
39Low

Scored 6 months ago · breakdown

About UnityMCP VRC

UnityMCP VRC is an MCP server in the Gaming category: mCP Server for Unity with help for creating VRChat worlds.

Install

From source
git clone https://github.com/swax/UnityMCP-VRC

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

clear_logsClears the Editor's buffered console logs (e.g. stale errors from a failed snippet) so later `get_logs` reads aren't ambiguous.

Parameters not published.

execute_editor_commandCompiles and runs LLM-authored C# in the Editor; returns result + logs. Optional `timeoutMs` (default 60s, max 300s) for heavy ops like large imports.

Parameters not published.

get_command_pageFetches later pages of any oversized tool result that was paged — `execute_editor_command`, `get_object_details`, `get_editor_state` (used automatically).

Parameters not published.

get_editor_stateReturns Unity/scene/project state on demand (bounded).

Parameters not published.

get_logsReturns recent Unity console logs.

Parameters not published.

get_object_detailsInspects one GameObject: transform, components, and size info (Renderer bounds, mesh vertex counts, shared mesh/material names).

Parameters not published.

list_unity_instancesLists the Unity Editors currently running (name, project, `instanceId`) so you can pick one.

Parameters not published.

select_unity_instanceChooses which Editor subsequent calls target by default (per session); calls can also override with `instance=`.

Parameters not published.

take_screenshotRenders the Scene view or game camera to a JPEG/PNG image, so Claude can see the result of edits.

Parameters not published.

Ask AI

✦

Ask AI about UnityMCP VRC

Powered by Claude · Grounded in docs

I know everything about UnityMCP VRC. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Forked from Arodoid/UnityMCP see that page for the original README.md

About

This repo has been extensively refactored from the source. I've been testing using Claude/MCP/Unity to create VRChat worlds. Claude has trouble getting UdonSharp scripts to compile so this repo supports MCP resources and helper scripts which improves it's success rate in building VRC worlds

This repo also has a many general improvements that work with normal Unity development. Try it out.

Improvements

Command Execution

  • Changed how code is executed so that the LLM can define the usings, classes, and functions
    • Allows the LLM to execute more complex commands with multiple functions
  • Stack traces eat up a lot of context so just return the first line which is usually enough
  • Incorporated references for various modules:
    • .Net Standard
    • System.Core, System.IO
    • TextMeshPro assembly
    • VRChat assemblies
    • Unity Physics
    • A reference to MCPUnity itself so you can provide helper functions to MCP commands

Unity Editor Integration

  • Added functionality to wait/retry when Unity is not connected to process commands
  • Changed getEditorState to run on demand instead of continuously
  • Implemented waiting for pending compilations when getting editor state and running commands
  • Revised GetAssets to retrieve all content from the Assets/ folder

Manual Script Testing

  • Created a script tester for diagnosing C# script commands
  • Allows manually executing editor commands with detailed logging

MCP Resources

  • Any files added to resources/text will be exposed as a MCP resource

Performance

  • Fixed MCP window high CPU usage by only repainting when changes are detected
  • Enabled support for commands longer than 4KB in Unity
  • Reduced excessive debug logs during reconnection process

Code Refactoring

  • Refactored Unity connection into its own dedicated file
  • Separated MCP server tools into individual files
    • With a common interface to make adding new tools easier
  • Split editor state reporting and command execution into their own files

VRChat Specific features

  • Added a helper script that supports generating UdonSharp asset files from C# files

How to Use

  • Build the MCP Server from unity-mcp-server/

    • npm run install
    • npm run build
  • In Unity

    • Copy over the UnityMCPPlugin/ directory into your Assets folder
    • You should now see a UnityMCP menu in your project
      • Select Debug Window and dock by your projects
  • In Claude Desktop

    • Enable developer mode
    • Add the MCP server in File/Settings
    {
        "mcpServers": {
            "unity": {
                "command": "node",
                "args": [
                    "C:\\git\\UnityMCP\\unity-mcp-server\\build\\index.js"
                ]
            }
        }
    }
    
    • Verify in the UnityMCP Debug Window, the Connection Status is green/connected
    • Enter your prompt
      • Click the attach button below the prompt to add resource artifacts
      • Any file you add to the resources/text folder is exposed as a resource
        • You need to build the project and restart Claude for it to see new resources
    • Run your prompt
      • You should see scripts executing
      • If there are script errors you can diagnose them in Unity
        • The UnityMCP menu has a Script Tester where you can paste in scripts to run them manually

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About UnityMCP VRC

How do I install UnityMCP VRC?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is UnityMCP VRC safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is UnityMCP VRC still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.