Skip to content

Summary

Unity Editor package plus Node.js MCP server by CoderGamester: lets Cursor, Claude Code, Codex, Windsurf and Copilot edit scenes, GameObjects, components, materials and prefabs, run tests, read console logs and control play mode.

Features

  • Create and edit scenes, GameObjects, components, prefabs and materials
  • Run Unity Test Runner tests and read console logs
  • Get and set play mode, including single-frame stepping
  • One-click client configuration from the Unity editor window
  • Adds Unity's package cache to VS Code-style workspaces

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "MCP Unity" tools will be available.
{
  "mcpServers": {
    "mcp-unity-codergamester": {
      "command": "node",
      "args": [
        "ABSOLUTE/PATH/TO/mcp-unity/Server~/build/index.js"
      ]
    }
  }
}

Description

MCP Unity, by GitHub user CoderGamester, is an MCP implementation for the Unity Editor. A Unity package, added through the Package Manager from its Git URL, runs a WebSocket server inside the editor, and a Node.js MCP server bundled in the package connects your AI client to it. The editor window has one-click Configure buttons that write the right entry for Cursor, Claude Code, Codex CLI, Windsurf, GitHub Copilot, Google Antigravity and OpenCode, globally or per project.

The tools work on the open project: execute menu items; select, create, update, duplicate, delete, reparent, move, rotate and scale GameObjects; add or update components; create, load, save and unload scenes; create prefabs and materials and assign them; add packages; recompile scripts; run Unity Test Runner tests; read and write console logs; get and set play mode, including stepping a frame; and batch several operations in one call. Resources expose the menu items, scene hierarchy, GameObject details, logs, packages, assets and tests. It also adds Unity's package cache to VS Code-style workspaces so the IDE and agent can see package source.

Requires Unity 6 or later and Node.js 18+. It is a community project, not made by Unity Technologies. MIT.

Related MCP Servers

See all MCP Unity alternatives

Unity Editor and runtime plugin that connects Claude, Cursor, Copilot and other agents to Unity over MCP, with a query language for scenes and assets, C# execution, tests and screenshots.

New

Coplay's open-source bridge between MCP clients and the Unity Editor: build scenes, edit C# scripts, manage assets, run tests and builds from Claude, Cursor or VS Code.

Python MCP server that gives an AI assistant 123 tools to draw pixel art and animate sprites in Aseprite: layers, palettes, tweens, tilemaps, exports, plus previews the model can see and a raw Lua escape hatch.

MCP server for Unreal Engine 5.0–5.8: a native C++ editor plugin lets Claude, Cursor or VS Code build levels, Blueprints, UMG, materials and Niagara effects through one searchable tool.

Browse all MCP servers →