qmetrics.net

MCP for Unity

MCP bridge between AI clients and the Unity Editor

MCP for Unity screenshot

MCP for Unity links Model Context Protocol clients to the Unity Editor. AI assistants can manage scenes, scripts, assets, tests, and builds through many tools.

Overview

MCP for Unity sits between an MCP client such as Claude, Cursor, or VS Code and a running Unity Editor. A Python server routes protocol traffic to a C# editor plugin that executes commands on the Unity main thread and returns structured results.

Clients gain dozens of tool entrypoints grouped for scenes, GameObjects, scripts, assets, materials, tests, profiling, and builds. Multi-instance routing lets one session target a specific Editor when several projects are open. Transport can use HTTP for remote or shared setups or stdio for single-client desktops.

Install the package through Unity Package Manager from a git URL, then configure detected MCP clients from the editor window. Requirements include Unity 2021.3 LTS through Unity 6 and Python 3.10 or newer via uv. Tool groups can be enabled per session to limit exposed capabilities.

Custom tools can register through C# attributes, and documentation is generated from the tool registry. The project is distributed under MIT and is not affiliated with Unity Technologies; a separate commercial Aura product is mentioned as related but distinct.

Key features

  • Fifty MCP tools for Editor control
  • Python FastMCP server routing
  • Unity Editor C# plugin
  • Multi-instance Editor routing
  • HTTP or stdio MCP transport
  • Per-session tool group visibility
  • Auto-configure common MCP clients
  • Extensible custom tool registration

Use cases

  • AI-driven scene setup
  • Natural-language Editor automation
  • Script and asset edits via LLM
  • Running Unity tests from agents
  • Game dev workflow automation

Tags

Similar software

PixiJS

HTML5 WebGL and WebGPU 2D graphics library

PixiJS is a browser library for fast 2D rendering with WebGPU or WebGL. It targets games, ads, apps, and interactive sites.

  • WebGPU and WebGL 2D rendering
  • Spritesheets and asset loader
  • Filters and custom shaders
TypeScriptWeb, CLIDetails →
★ 49k⟳ 4 days agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

  • Bundled dependencies in one library
  • OpenGL and software render paths
  • 2D, 3D, audio, and input modules
CLinux, macOS, Windows, AndroidDetails →
★ 35.9k⟳ yesterdayZlib

Babylon.js

Browser JavaScript engine for WebGL and WebGPU 3D

Babylon.js is a web 3D engine for building games, configurators, digital twins, and XR experiences in the browser with TypeScript-friendly npm packages.

  • WebGL, WebGL2, and WebGPU rendering
  • WebXR and Web Audio integration
  • Typed npm and ES module packages
TypeScriptWebDetails →
★ 26.6k⟳ todayApache-2.0
Open Source Alternative to:Unity

WaveFunctionCollapse

Procedural bitmap and tilemap generator from one example

WaveFunctionCollapse builds output images that reuse only local pixel patterns found in a sample input. It supports bitmap synthesis and tile-based level layouts for games and art.

  • Bitmap generation from one sample image
  • Tilemap model with adjacency constraints
  • Observation and propagation collapse cycle
C#Web, Linux, macOS, WindowsDetails →
★ 25.6k⟳ 8 months agoMIT

ML-Agents

Unity toolkit for training agents in games and simulations

Unity ML-Agents turns games and simulations into training environments for intelligent agents using deep reinforcement learning and imitation learning, installed as a Unity package with Python tooling.

  • Reinforcement learning training environments
  • Imitation learning support
  • Unity editor integration
C#Details →
★ 19.9k⟳ 1 month agoApache-2.0

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

  • Rigid and compound bodies
  • Concave and convex collision shapes
  • Constraints and gravity
JavaScriptWebDetails →
★ 18.7k⟳ 2 months agoMIT