XUUnity Light Unity

•

Enables safe Unity Editor automation by connecting various AI agents through a lightweight, open-source Model Context Protocol (MCP) server.

XUUnity Light Unity acts as an open-source, lightweight Model Context Protocol (MCP) server designed for secure and validated automation of the Unity Editor. It facilitates integration with AI agents like Cursor, Claude Code, Claude Desktop, Windsurf, and Codex-style agents, allowing them to interact with Unity through a local stdio MCP server and an editor-only Unity package. This tool is ideal for validation-heavy AI workflows, offering capabilities like compile checks, comprehensive EditMode and PlayMode tests, scene management (snapshots, assertions), console tailing, and Game View screenshots, all while ensuring bounded scenario validation and multi-project routing for efficiency without affecting player builds.

Key Features

01Provides compile checks, EditMode and PlayMode tests with normalized results for robust validation
020 GitHub stars
03Supports integration with leading AI agents: Cursor, Claude Code, Claude Desktop, Windsurf, and Codex-style agents
04Offers scene snapshots, scene assertions, console tailing, and Game View screenshots for rich context
05Features an editor-only Unity package with no player-build footprint and explicit per-project enablement for security
06Ensures local-first operation with same-host multi-project routing and bounded scenario validation

Use Cases

01Automating Unity Editor tasks and workflows with AI agents for enhanced productivity
02Implementing validation-heavy AI workflows that require compile, test, and scene integrity checks
03Connecting AI coding assistants to Unity projects for safe code generation, refactoring, and debugging support