OlympHill
mcp-unity logo

mcp-unityThis MCP server connects AI coding assistants directly to the Unity game editor. You can build scenes, move objects, change materials, and run tests by simply typing instructions, which saves time and

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

MCP Unity is a bridge between Unity and a Node.js server implementing the Model Context Protocol (MCP), enabling AI assistants to interact with Unity projects. It allows users to build scenes, move objects, change materials, and run tests by typing instructions, which can save time and improve productivity. MCP Unity supports integration with various AI coding assistants like Cursor, Windsurf, and Claude Code. The tool provides features such as IDE integration, package cache access, and MCP server tools for manipulating and querying Unity scenes and GameObjects.

Key features

  • IDE Integration
  • Package Cache Access
  • execute_menu_item
  • select_gameobject
  • update_gameobject
  • update_component

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

Game Development

MCP Unity can be used to speed up game development by allowing developers to interact with the Unity Editor using text instructions, reducing the need for manual navigation and clicks.

AI-assisted Coding

MCP Unity enables AI coding assistants to execute operations within the Unity Editor, making it easier to automate repetitive tasks and improve productivity.

Pros & Cons

Pros

  • Improves code intelligence for Unity packages
  • Enables better autocompletion and type information for Unity packages
  • Allows AI coding assistants to execute operations within the Unity Editor
  • Saves time by enabling users to interact with Unity projects using text instructions

Cons

  • Limited information on compatibility with all AI coding assistants
  • Dependent on Node.js server implementation of MCP protocol

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

Why do some clients fail with KeyError: 'position' during tool initialization?

Some MCP clients may fail while parsing tool schemas when they contain local JSON pointer references such as #/properties/position. MCP Unity avoids this by registering transform tool inputs (set_transform, move_gameobject, rotate_gameobject, scale_gameobject) with fresh nested vector schemas per field, so the generated schema does not rely on local #/properties/... references. If you still see this error: update your MCP client to the latest version, rebuild the Node server (cd Server~ && npm run build), confirm your package version includes this compatibility fix.

Asked by Winifred Adeyemi · Jul 31, 2026

Why do I get a connection failed error when running Play Mode tests?

The run_tests tool returns the following response: Error: Connection failed: Unknown error This error occurs because the bridge connection is lost when the domain reloads upon switching to Play Mode. The workaround is to turn off Reload Domain in Edit > Project Settings > Editor > "Enter Play Mode Settings".

Asked by Rania Nasser · Jul 27, 2026

Why won't the MCP Unity server start?

Check the Unity Console for error messages Ensure Node.js is properly installed and accessible in your PATH Verify that all dependencies are installed in the Server directory

Asked by Frank Müller · Jul 24, 2026

Why am I unable to connect to MCP Unity?

Ensure the WebSocket server is running (check the Server Window in Unity) Send a console log message from MCP client to force a reconnection between MCP client and Unity server Change the port number in the Unity Editor MCP Server window. (Tools > MCP Unity > Server Window)

Asked by Valentina Marino · May 28, 2026

Is MCP Unity free to use?

Yes, MCP Unity is an open-source project distributed under the MIT License. You are free to use, modify, and distribute it according to the license terms.

Asked by Sanjay Gupta · Apr 27, 2026

Ask a question

MCP Servers alternatives