Unity Editor

v1.0.0Developer Toolsstable

An MCP server and client for LLMs to interact with Unity Projects

game-developmentgame-enginemcpmcp-clientmcp-server
Share:
28
Stars
0
Downloads
0
Weekly
0/5

What is Unity Editor?

Unity Editor is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server and client for llms to interact with unity projects

An MCP server and client for LLMs to interact with Unity Projects

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server and client for LLMs to interact with Unity Pro

Use Cases

Enable AI agents to interact with Unity game projects.
Automate game development workflows and asset management.
Debug Unity projects with Claude integration.
ozankasikci

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedMay 12, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx unity-editor

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Unity Editor

Unity Editor MCP is a server and client bridge that lets large language models interact directly with Unity projects through the Model Context Protocol. It enables AI agents connected via Claude Desktop or other MCP clients to inspect scene hierarchies, create and modify GameObjects, manage assets, run scripts, and trigger editor operations — all through natural language without leaving the AI chat interface. Game developers use it to accelerate Unity workflows by delegating repetitive editor tasks and prototyping to an AI assistant that has direct programmatic access to the engine.

Prerequisites

  • Unity Editor 2022 LTS or later installed on your development machine
  • Node.js 18 or later for running the MCP server
  • An MCP client such as Claude Desktop or Cursor
  • The Unity project must have the MCP client package installed from the Unity Package Manager
1

Install the Unity MCP client package

Open your Unity project, go to Window > Package Manager, click the + button, choose 'Add package from git URL', and enter the package URL from the unity-editor-mcp repository.

2

Start the Unity Editor and enable the MCP connection

With your Unity project open, the MCP client package will expose a local socket or HTTP endpoint. Verify it is running by checking the Unity Console for a connection-ready message.

3

Install the MCP server via npx

The Node.js MCP server acts as the bridge between your AI client and the Unity Editor. Run it with npx to start without a global installation.

npx unity-editor
4

Configure your MCP client

Add the unity-editor server to your MCP client configuration file so it is launched automatically when the client starts.

5

Verify the connection in your AI client

Restart your MCP client and ask it to list available Unity tools. You should see tools for scene management, asset operations, and GameObject manipulation appear.

Unity Editor Examples

Client configuration

Claude Desktop configuration for the Unity Editor MCP server.

{
  "mcpServers": {
    "unity-editor": {
      "command": "npx",
      "args": ["unity-editor"]
    }
  }
}

Prompts to try

Example prompts for interacting with Unity through the MCP server.

- "List all GameObjects in the current Unity scene"
- "Create a new cube at position (0, 1, 0) and name it 'Platform'"
- "Find all materials in the Assets folder and list their names"
- "Add a Rigidbody component to the Player GameObject"
- "Run the unit tests in the Unity test runner and show results"

Troubleshooting Unity Editor

MCP server cannot connect to Unity Editor

Ensure the Unity project is open and the MCP client package is installed and enabled. Check the Unity Console for error messages. The server and editor must be running on the same machine for the default localhost connection.

npx unity-editor fails with package not found

Verify your Node.js version with node --version (18+ required). Clear the npx cache with npx clear-npx-cache and try again. As an alternative, clone the repository and run the server directly with node.

GameObjects are not found or scene appears empty

Make sure a scene is open in the Unity Editor (not just the project window). The MCP tools operate on the currently active scene. Open your scene via File > Open Scene before issuing commands.

Frequently Asked Questions about Unity Editor

What is Unity Editor?

Unity Editor is a Model Context Protocol (MCP) server that mcp server and client for llms to interact with unity projects It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Unity Editor?

Follow the installation instructions on the Unity Editor GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Unity Editor?

Unity Editor works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Unity Editor free to use?

Yes, Unity Editor is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "unity-editor": { "command": "npx", "args": ["-y", "unity-editor"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Unity Editor?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides